Add -D_GLIBCXX_ASSERTIONS to DEBUG_FLAGS
[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 get_gcc_base_ver
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 EXTRA_CFLAGS
615 CPU_OPT_BITS_RANDOM
616 CPU_OPT_EXT_RANDOM
617 ERROR_CONSTANTS_SRCDIR
618 OS_INC_SRCDIR
619 ABI_TWEAKS_SRCDIR
620 CPU_DEFINES_SRCDIR
621 ATOMIC_FLAGS
622 ATOMIC_WORD_SRCDIR
623 ATOMICITY_SRCDIR
624 INCLUDE_DIR_NOTPARALLEL_FALSE
625 INCLUDE_DIR_NOTPARALLEL_TRUE
626 BUILD_PDF_FALSE
627 BUILD_PDF_TRUE
628 PDFLATEX
629 DBLATEX
630 BUILD_MAN_FALSE
631 BUILD_MAN_TRUE
632 BUILD_HTML_FALSE
633 BUILD_HTML_TRUE
634 BUILD_XML_FALSE
635 BUILD_XML_TRUE
636 BUILD_EPUB_FALSE
637 BUILD_EPUB_TRUE
638 XSL_STYLE_DIR
639 XMLLINT
640 XSLTPROC
641 DOT
642 DOXYGEN
643 BUILD_INFO_FALSE
644 BUILD_INFO_TRUE
645 ENABLE_FILESYSTEM_TS_FALSE
646 ENABLE_FILESYSTEM_TS_TRUE
647 baseline_subdir_switch
648 baseline_dir
649 HWCAP_CFLAGS
650 GLIBCXX_LDBL_COMPAT_FALSE
651 GLIBCXX_LDBL_COMPAT_TRUE
652 LONG_DOUBLE_COMPAT_FLAGS
653 ENABLE_CXX11_ABI_FALSE
654 ENABLE_CXX11_ABI_TRUE
655 glibcxx_cxx98_abi
656 ENABLE_DUAL_ABI_FALSE
657 ENABLE_DUAL_ABI_TRUE
658 ENABLE_VISIBILITY_FALSE
659 ENABLE_VISIBILITY_TRUE
660 libtool_VERSION
661 ENABLE_SYMVERS_SUN_FALSE
662 ENABLE_SYMVERS_SUN_TRUE
663 ENABLE_SYMVERS_DARWIN_FALSE
664 ENABLE_SYMVERS_DARWIN_TRUE
665 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
666 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
667 ENABLE_SYMVERS_GNU_FALSE
668 ENABLE_SYMVERS_GNU_TRUE
669 ENABLE_SYMVERS_FALSE
670 ENABLE_SYMVERS_TRUE
671 port_specific_symbol_files
672 SYMVER_FILE
673 CXXFILT
674 LTLIBICONV
675 LIBICONV
676 OPT_LDFLAGS
677 SECTION_LDFLAGS
678 GLIBCXX_LIBS
679 ENABLE_VTABLE_VERIFY_FALSE
680 ENABLE_VTABLE_VERIFY_TRUE
681 VTV_CYGMIN_FALSE
682 VTV_CYGMIN_TRUE
683 VTV_CXXLINKFLAGS
684 VTV_PCH_CXXFLAGS
685 VTV_CXXFLAGS
686 ENABLE_WERROR_FALSE
687 ENABLE_WERROR_TRUE
688 ENABLE_PYTHONDIR_FALSE
689 ENABLE_PYTHONDIR_TRUE
690 python_mod_dir
691 ENABLE_EXTERN_TEMPLATE_FALSE
692 ENABLE_EXTERN_TEMPLATE_TRUE
693 EXTRA_CXX_FLAGS
694 GLIBCXX_BUILD_DEBUG_FALSE
695 GLIBCXX_BUILD_DEBUG_TRUE
696 DEBUG_FLAGS
697 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
698 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
699 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
700 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
701 GLIBCXX_C_HEADERS_C_STD_FALSE
702 GLIBCXX_C_HEADERS_C_STD_TRUE
703 GLIBCXX_C_HEADERS_C_FALSE
704 GLIBCXX_C_HEADERS_C_TRUE
705 C_INCLUDE_DIR
706 ALLOCATOR_NAME
707 ALLOCATOR_H
708 ENABLE_ALLOCATOR_NEW_FALSE
709 ENABLE_ALLOCATOR_NEW_TRUE
710 CLOCALE_INTERNAL_H
711 CLOCALE_CC
712 CTIME_CC
713 CTIME_H
714 CNUMERIC_CC
715 CMONEY_CC
716 CMESSAGES_CC
717 CCTYPE_CC
718 CCOLLATE_CC
719 CCODECVT_CC
720 CMESSAGES_H
721 CLOCALE_H
722 USE_NLS
723 glibcxx_localedir
724 glibcxx_POFILES
725 glibcxx_MOFILES
726 check_msgfmt
727 BASIC_FILE_CC
728 BASIC_FILE_H
729 CSTDIO_H
730 SECTION_FLAGS
731 ENABLE_FLOAT128_FALSE
732 ENABLE_FLOAT128_TRUE
733 thread_header
734 glibcxx_PCHFLAGS
735 GLIBCXX_BUILD_PCH_FALSE
736 GLIBCXX_BUILD_PCH_TRUE
737 GLIBCXX_HOSTED_FALSE
738 GLIBCXX_HOSTED_TRUE
739 glibcxx_compiler_shared_flag
740 glibcxx_compiler_pic_flag
741 glibcxx_lt_pic_flag
742 enable_static
743 enable_shared
744 lt_host_flags
745 CXXCPP
746 OTOOL64
747 OTOOL
748 LIPO
749 NMEDIT
750 DSYMUTIL
751 OBJDUMP
752 NM
753 ac_ct_DUMPBIN
754 DUMPBIN
755 LD
756 FGREP
757 SED
758 LIBTOOL
759 EGREP
760 GREP
761 CPP
762 MAINT
763 MAINTAINER_MODE_FALSE
764 MAINTAINER_MODE_TRUE
765 RANLIB
766 AR
767 AS
768 LN_S
769 toplevel_srcdir
770 toplevel_builddir
771 glibcxx_srcdir
772 glibcxx_builddir
773 ac_ct_CXX
774 CXXFLAGS
775 CXX
776 OBJEXT
777 EXEEXT
778 ac_ct_CC
779 CPPFLAGS
780 LDFLAGS
781 CFLAGS
782 CC
783 am__untar
784 am__tar
785 AMTAR
786 am__leading_dot
787 SET_MAKE
788 AWK
789 mkdir_p
790 MKDIR_P
791 INSTALL_STRIP_PROGRAM
792 STRIP
793 install_sh
794 MAKEINFO
795 AUTOHEADER
796 AUTOMAKE
797 AUTOCONF
798 ACLOCAL
799 VERSION
800 PACKAGE
801 CYGPATH_W
802 am__isrc
803 INSTALL_DATA
804 INSTALL_SCRIPT
805 INSTALL_PROGRAM
806 target_os
807 target_vendor
808 target_cpu
809 target
810 host_os
811 host_vendor
812 host_cpu
813 host
814 build_os
815 build_vendor
816 build_cpu
817 build
818 multi_basedir
819 target_alias
820 host_alias
821 build_alias
822 LIBS
823 ECHO_T
824 ECHO_N
825 ECHO_C
826 DEFS
827 mandir
828 localedir
829 libdir
830 psdir
831 pdfdir
832 dvidir
833 htmldir
834 infodir
835 docdir
836 oldincludedir
837 includedir
838 localstatedir
839 sharedstatedir
840 sysconfdir
841 datadir
842 datarootdir
843 libexecdir
844 sbindir
845 bindir
846 program_transform_name
847 prefix
848 exec_prefix
849 PACKAGE_URL
850 PACKAGE_BUGREPORT
851 PACKAGE_STRING
852 PACKAGE_VERSION
853 PACKAGE_TARNAME
854 PACKAGE_NAME
855 PATH_SEPARATOR
856 SHELL'
857 ac_subst_files=''
858 ac_user_opts='
859 enable_option_checking
860 enable_multilib
861 with_target_subdir
862 with_cross_host
863 with_newlib
864 enable_maintainer_mode
865 enable_shared
866 enable_static
867 with_pic
868 enable_fast_install
869 with_gnu_ld
870 enable_libtool_lock
871 enable_hosted_libstdcxx
872 enable_libstdcxx_verbose
873 enable_libstdcxx_pch
874 enable_cstdio
875 enable_clocale
876 enable_nls
877 enable_libstdcxx_allocator
878 enable_cheaders
879 enable_long_long
880 enable_wchar_t
881 enable_c99
882 enable_concept_checks
883 enable_libstdcxx_debug_flags
884 enable_libstdcxx_debug
885 enable_cxx_flags
886 enable_fully_dynamic_string
887 enable_extern_template
888 with_python_dir
889 enable_werror
890 enable_vtable_verify
891 enable_libstdcxx_time
892 enable_tls
893 enable_rpath
894 with_libiconv_prefix
895 with_system_libunwind
896 enable_linux_futex
897 enable_symvers
898 enable_libstdcxx_visibility
899 enable_libstdcxx_dual_abi
900 with_default_libstdcxx_abi
901 enable_libstdcxx_threads
902 enable_libstdcxx_filesystem_ts
903 enable_cet
904 with_gxx_include_dir
905 enable_version_specific_runtime_libs
906 with_gcc_major_version_only
907 '
908 ac_precious_vars='build_alias
909 host_alias
910 target_alias
911 CC
912 CFLAGS
913 LDFLAGS
914 LIBS
915 CPPFLAGS
916 CXX
917 CXXFLAGS
918 CCC
919 CPP
920 CXXCPP
921 CXXFILT'
922
923
924 # Initialize some variables set by options.
925 ac_init_help=
926 ac_init_version=false
927 ac_unrecognized_opts=
928 ac_unrecognized_sep=
929 # The variables have the same names as the options, with
930 # dashes changed to underlines.
931 cache_file=/dev/null
932 exec_prefix=NONE
933 no_create=
934 no_recursion=
935 prefix=NONE
936 program_prefix=NONE
937 program_suffix=NONE
938 program_transform_name=s,x,x,
939 silent=
940 site=
941 srcdir=
942 verbose=
943 x_includes=NONE
944 x_libraries=NONE
945
946 # Installation directory options.
947 # These are left unexpanded so users can "make install exec_prefix=/foo"
948 # and all the variables that are supposed to be based on exec_prefix
949 # by default will actually change.
950 # Use braces instead of parens because sh, perl, etc. also accept them.
951 # (The list follows the same order as the GNU Coding Standards.)
952 bindir='${exec_prefix}/bin'
953 sbindir='${exec_prefix}/sbin'
954 libexecdir='${exec_prefix}/libexec'
955 datarootdir='${prefix}/share'
956 datadir='${datarootdir}'
957 sysconfdir='${prefix}/etc'
958 sharedstatedir='${prefix}/com'
959 localstatedir='${prefix}/var'
960 includedir='${prefix}/include'
961 oldincludedir='/usr/include'
962 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
963 infodir='${datarootdir}/info'
964 htmldir='${docdir}'
965 dvidir='${docdir}'
966 pdfdir='${docdir}'
967 psdir='${docdir}'
968 libdir='${exec_prefix}/lib'
969 localedir='${datarootdir}/locale'
970 mandir='${datarootdir}/man'
971
972 ac_prev=
973 ac_dashdash=
974 for ac_option
975 do
976 # If the previous option needs an argument, assign it.
977 if test -n "$ac_prev"; then
978 eval $ac_prev=\$ac_option
979 ac_prev=
980 continue
981 fi
982
983 case $ac_option in
984 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
985 *) ac_optarg=yes ;;
986 esac
987
988 # Accept the important Cygnus configure options, so we can diagnose typos.
989
990 case $ac_dashdash$ac_option in
991 --)
992 ac_dashdash=yes ;;
993
994 -bindir | --bindir | --bindi | --bind | --bin | --bi)
995 ac_prev=bindir ;;
996 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
997 bindir=$ac_optarg ;;
998
999 -build | --build | --buil | --bui | --bu)
1000 ac_prev=build_alias ;;
1001 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1002 build_alias=$ac_optarg ;;
1003
1004 -cache-file | --cache-file | --cache-fil | --cache-fi \
1005 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1006 ac_prev=cache_file ;;
1007 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1008 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1009 cache_file=$ac_optarg ;;
1010
1011 --config-cache | -C)
1012 cache_file=config.cache ;;
1013
1014 -datadir | --datadir | --datadi | --datad)
1015 ac_prev=datadir ;;
1016 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1017 datadir=$ac_optarg ;;
1018
1019 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1020 | --dataroo | --dataro | --datar)
1021 ac_prev=datarootdir ;;
1022 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1023 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1024 datarootdir=$ac_optarg ;;
1025
1026 -disable-* | --disable-*)
1027 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 as_fn_error "invalid feature name: $ac_useropt"
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1034 *"
1035 "enable_$ac_useropt"
1036 "*) ;;
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1039 esac
1040 eval enable_$ac_useropt=no ;;
1041
1042 -docdir | --docdir | --docdi | --doc | --do)
1043 ac_prev=docdir ;;
1044 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1045 docdir=$ac_optarg ;;
1046
1047 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1048 ac_prev=dvidir ;;
1049 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1050 dvidir=$ac_optarg ;;
1051
1052 -enable-* | --enable-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error "invalid feature name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1060 *"
1061 "enable_$ac_useropt"
1062 "*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval enable_$ac_useropt=\$ac_optarg ;;
1067
1068 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1069 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1070 | --exec | --exe | --ex)
1071 ac_prev=exec_prefix ;;
1072 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1073 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1074 | --exec=* | --exe=* | --ex=*)
1075 exec_prefix=$ac_optarg ;;
1076
1077 -gas | --gas | --ga | --g)
1078 # Obsolete; use --with-gas.
1079 with_gas=yes ;;
1080
1081 -help | --help | --hel | --he | -h)
1082 ac_init_help=long ;;
1083 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1084 ac_init_help=recursive ;;
1085 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1086 ac_init_help=short ;;
1087
1088 -host | --host | --hos | --ho)
1089 ac_prev=host_alias ;;
1090 -host=* | --host=* | --hos=* | --ho=*)
1091 host_alias=$ac_optarg ;;
1092
1093 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1094 ac_prev=htmldir ;;
1095 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1096 | --ht=*)
1097 htmldir=$ac_optarg ;;
1098
1099 -includedir | --includedir | --includedi | --included | --include \
1100 | --includ | --inclu | --incl | --inc)
1101 ac_prev=includedir ;;
1102 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1103 | --includ=* | --inclu=* | --incl=* | --inc=*)
1104 includedir=$ac_optarg ;;
1105
1106 -infodir | --infodir | --infodi | --infod | --info | --inf)
1107 ac_prev=infodir ;;
1108 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1109 infodir=$ac_optarg ;;
1110
1111 -libdir | --libdir | --libdi | --libd)
1112 ac_prev=libdir ;;
1113 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1114 libdir=$ac_optarg ;;
1115
1116 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1117 | --libexe | --libex | --libe)
1118 ac_prev=libexecdir ;;
1119 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1120 | --libexe=* | --libex=* | --libe=*)
1121 libexecdir=$ac_optarg ;;
1122
1123 -localedir | --localedir | --localedi | --localed | --locale)
1124 ac_prev=localedir ;;
1125 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1126 localedir=$ac_optarg ;;
1127
1128 -localstatedir | --localstatedir | --localstatedi | --localstated \
1129 | --localstate | --localstat | --localsta | --localst | --locals)
1130 ac_prev=localstatedir ;;
1131 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1132 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1133 localstatedir=$ac_optarg ;;
1134
1135 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1136 ac_prev=mandir ;;
1137 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1138 mandir=$ac_optarg ;;
1139
1140 -nfp | --nfp | --nf)
1141 # Obsolete; use --without-fp.
1142 with_fp=no ;;
1143
1144 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1145 | --no-cr | --no-c | -n)
1146 no_create=yes ;;
1147
1148 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1149 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1150 no_recursion=yes ;;
1151
1152 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1153 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1154 | --oldin | --oldi | --old | --ol | --o)
1155 ac_prev=oldincludedir ;;
1156 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1157 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1158 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1159 oldincludedir=$ac_optarg ;;
1160
1161 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1162 ac_prev=prefix ;;
1163 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1164 prefix=$ac_optarg ;;
1165
1166 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1167 | --program-pre | --program-pr | --program-p)
1168 ac_prev=program_prefix ;;
1169 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1170 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1171 program_prefix=$ac_optarg ;;
1172
1173 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1174 | --program-suf | --program-su | --program-s)
1175 ac_prev=program_suffix ;;
1176 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1177 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1178 program_suffix=$ac_optarg ;;
1179
1180 -program-transform-name | --program-transform-name \
1181 | --program-transform-nam | --program-transform-na \
1182 | --program-transform-n | --program-transform- \
1183 | --program-transform | --program-transfor \
1184 | --program-transfo | --program-transf \
1185 | --program-trans | --program-tran \
1186 | --progr-tra | --program-tr | --program-t)
1187 ac_prev=program_transform_name ;;
1188 -program-transform-name=* | --program-transform-name=* \
1189 | --program-transform-nam=* | --program-transform-na=* \
1190 | --program-transform-n=* | --program-transform-=* \
1191 | --program-transform=* | --program-transfor=* \
1192 | --program-transfo=* | --program-transf=* \
1193 | --program-trans=* | --program-tran=* \
1194 | --progr-tra=* | --program-tr=* | --program-t=*)
1195 program_transform_name=$ac_optarg ;;
1196
1197 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1198 ac_prev=pdfdir ;;
1199 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1200 pdfdir=$ac_optarg ;;
1201
1202 -psdir | --psdir | --psdi | --psd | --ps)
1203 ac_prev=psdir ;;
1204 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1205 psdir=$ac_optarg ;;
1206
1207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1208 | -silent | --silent | --silen | --sile | --sil)
1209 silent=yes ;;
1210
1211 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1212 ac_prev=sbindir ;;
1213 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1214 | --sbi=* | --sb=*)
1215 sbindir=$ac_optarg ;;
1216
1217 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1218 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1219 | --sharedst | --shareds | --shared | --share | --shar \
1220 | --sha | --sh)
1221 ac_prev=sharedstatedir ;;
1222 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1223 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1224 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1225 | --sha=* | --sh=*)
1226 sharedstatedir=$ac_optarg ;;
1227
1228 -site | --site | --sit)
1229 ac_prev=site ;;
1230 -site=* | --site=* | --sit=*)
1231 site=$ac_optarg ;;
1232
1233 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1234 ac_prev=srcdir ;;
1235 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1236 srcdir=$ac_optarg ;;
1237
1238 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1239 | --syscon | --sysco | --sysc | --sys | --sy)
1240 ac_prev=sysconfdir ;;
1241 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1242 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1243 sysconfdir=$ac_optarg ;;
1244
1245 -target | --target | --targe | --targ | --tar | --ta | --t)
1246 ac_prev=target_alias ;;
1247 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1248 target_alias=$ac_optarg ;;
1249
1250 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1251 verbose=yes ;;
1252
1253 -version | --version | --versio | --versi | --vers | -V)
1254 ac_init_version=: ;;
1255
1256 -with-* | --with-*)
1257 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1258 # Reject names that are not valid shell variable names.
1259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1260 as_fn_error "invalid package name: $ac_useropt"
1261 ac_useropt_orig=$ac_useropt
1262 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1263 case $ac_user_opts in
1264 *"
1265 "with_$ac_useropt"
1266 "*) ;;
1267 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1268 ac_unrecognized_sep=', ';;
1269 esac
1270 eval with_$ac_useropt=\$ac_optarg ;;
1271
1272 -without-* | --without-*)
1273 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276 as_fn_error "invalid package name: $ac_useropt"
1277 ac_useropt_orig=$ac_useropt
1278 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279 case $ac_user_opts in
1280 *"
1281 "with_$ac_useropt"
1282 "*) ;;
1283 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1284 ac_unrecognized_sep=', ';;
1285 esac
1286 eval with_$ac_useropt=no ;;
1287
1288 --x)
1289 # Obsolete; use --with-x.
1290 with_x=yes ;;
1291
1292 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1293 | --x-incl | --x-inc | --x-in | --x-i)
1294 ac_prev=x_includes ;;
1295 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1296 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1297 x_includes=$ac_optarg ;;
1298
1299 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1300 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1301 ac_prev=x_libraries ;;
1302 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1303 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1304 x_libraries=$ac_optarg ;;
1305
1306 -*) as_fn_error "unrecognized option: \`$ac_option'
1307 Try \`$0 --help' for more information."
1308 ;;
1309
1310 *=*)
1311 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1312 # Reject names that are not valid shell variable names.
1313 case $ac_envvar in #(
1314 '' | [0-9]* | *[!_$as_cr_alnum]* )
1315 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1316 esac
1317 eval $ac_envvar=\$ac_optarg
1318 export $ac_envvar ;;
1319
1320 *)
1321 # FIXME: should be removed in autoconf 3.0.
1322 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1323 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1324 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1325 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1326 ;;
1327
1328 esac
1329 done
1330
1331 if test -n "$ac_prev"; then
1332 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1333 as_fn_error "missing argument to $ac_option"
1334 fi
1335
1336 if test -n "$ac_unrecognized_opts"; then
1337 case $enable_option_checking in
1338 no) ;;
1339 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1340 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1341 esac
1342 fi
1343
1344 # Check all directory arguments for consistency.
1345 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1346 datadir sysconfdir sharedstatedir localstatedir includedir \
1347 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1348 libdir localedir mandir
1349 do
1350 eval ac_val=\$$ac_var
1351 # Remove trailing slashes.
1352 case $ac_val in
1353 */ )
1354 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1355 eval $ac_var=\$ac_val;;
1356 esac
1357 # Be sure to have absolute directory names.
1358 case $ac_val in
1359 [\\/$]* | ?:[\\/]* ) continue;;
1360 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1361 esac
1362 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1363 done
1364
1365 # There might be people who depend on the old broken behavior: `$host'
1366 # used to hold the argument of --host etc.
1367 # FIXME: To remove some day.
1368 build=$build_alias
1369 host=$host_alias
1370 target=$target_alias
1371
1372 # FIXME: To remove some day.
1373 if test "x$host_alias" != x; then
1374 if test "x$build_alias" = x; then
1375 cross_compiling=maybe
1376 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1377 If a cross compiler is detected then cross compile mode will be used." >&2
1378 elif test "x$build_alias" != "x$host_alias"; then
1379 cross_compiling=yes
1380 fi
1381 fi
1382
1383 ac_tool_prefix=
1384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1385
1386 test "$silent" = yes && exec 6>/dev/null
1387
1388
1389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1390 ac_ls_di=`ls -di .` &&
1391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1392 as_fn_error "working directory cannot be determined"
1393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1394 as_fn_error "pwd does not report name of working directory"
1395
1396
1397 # Find the source files, if location was not specified.
1398 if test -z "$srcdir"; then
1399 ac_srcdir_defaulted=yes
1400 # Try the directory containing this script, then the parent directory.
1401 ac_confdir=`$as_dirname -- "$as_myself" ||
1402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1403 X"$as_myself" : 'X\(//\)[^/]' \| \
1404 X"$as_myself" : 'X\(//\)$' \| \
1405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1406 $as_echo X"$as_myself" |
1407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1408 s//\1/
1409 q
1410 }
1411 /^X\(\/\/\)[^/].*/{
1412 s//\1/
1413 q
1414 }
1415 /^X\(\/\/\)$/{
1416 s//\1/
1417 q
1418 }
1419 /^X\(\/\).*/{
1420 s//\1/
1421 q
1422 }
1423 s/.*/./; q'`
1424 srcdir=$ac_confdir
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426 srcdir=..
1427 fi
1428 else
1429 ac_srcdir_defaulted=no
1430 fi
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1433 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1434 fi
1435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1436 ac_abs_confdir=`(
1437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1438 pwd)`
1439 # When building in place, set srcdir=.
1440 if test "$ac_abs_confdir" = "$ac_pwd"; then
1441 srcdir=.
1442 fi
1443 # Remove unnecessary trailing slashes from srcdir.
1444 # Double slashes in file names in object file debugging info
1445 # mess up M-x gdb in Emacs.
1446 case $srcdir in
1447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1448 esac
1449 for ac_var in $ac_precious_vars; do
1450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1451 eval ac_env_${ac_var}_value=\$${ac_var}
1452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1454 done
1455
1456 #
1457 # Report the --help message.
1458 #
1459 if test "$ac_init_help" = "long"; then
1460 # Omit some internal or obsolete options to make the list less imposing.
1461 # This message is too long to be a string in the A/UX 3.1 sh.
1462 cat <<_ACEOF
1463 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1464
1465 Usage: $0 [OPTION]... [VAR=VALUE]...
1466
1467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1468 VAR=VALUE. See below for descriptions of some of the useful variables.
1469
1470 Defaults for the options are specified in brackets.
1471
1472 Configuration:
1473 -h, --help display this help and exit
1474 --help=short display options specific to this package
1475 --help=recursive display the short help of all the included packages
1476 -V, --version display version information and exit
1477 -q, --quiet, --silent do not print \`checking...' messages
1478 --cache-file=FILE cache test results in FILE [disabled]
1479 -C, --config-cache alias for \`--cache-file=config.cache'
1480 -n, --no-create do not create output files
1481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1482
1483 Installation directories:
1484 --prefix=PREFIX install architecture-independent files in PREFIX
1485 [$ac_default_prefix]
1486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487 [PREFIX]
1488
1489 By default, \`make install' will install all the files in
1490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1492 for instance \`--prefix=\$HOME'.
1493
1494 For better control, use the options below.
1495
1496 Fine tuning of the installation directories:
1497 --bindir=DIR user executables [EPREFIX/bin]
1498 --sbindir=DIR system admin executables [EPREFIX/sbin]
1499 --libexecdir=DIR program executables [EPREFIX/libexec]
1500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1503 --libdir=DIR object code libraries [EPREFIX/lib]
1504 --includedir=DIR C header files [PREFIX/include]
1505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1508 --infodir=DIR info documentation [DATAROOTDIR/info]
1509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1510 --mandir=DIR man documentation [DATAROOTDIR/man]
1511 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1512 --htmldir=DIR html documentation [DOCDIR]
1513 --dvidir=DIR dvi documentation [DOCDIR]
1514 --pdfdir=DIR pdf documentation [DOCDIR]
1515 --psdir=DIR ps documentation [DOCDIR]
1516 _ACEOF
1517
1518 cat <<\_ACEOF
1519
1520 Program names:
1521 --program-prefix=PREFIX prepend PREFIX to installed program names
1522 --program-suffix=SUFFIX append SUFFIX to installed program names
1523 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1524
1525 System types:
1526 --build=BUILD configure for building on BUILD [guessed]
1527 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1528 --target=TARGET configure for building compilers for TARGET [HOST]
1529 _ACEOF
1530 fi
1531
1532 if test -n "$ac_init_help"; then
1533 case $ac_init_help in
1534 short | recursive ) echo "Configuration of package-unused version-unused:";;
1535 esac
1536 cat <<\_ACEOF
1537
1538 Optional Features:
1539 --disable-option-checking ignore unrecognized --enable/--with options
1540 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1541 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1542 --enable-multilib build many library versions (default)
1543 --enable-maintainer-mode enable make rules and dependencies not useful
1544 (and sometimes confusing) to the casual installer
1545 --enable-shared[=PKGS] build shared libraries [default=yes]
1546 --enable-static[=PKGS] build static libraries [default=yes]
1547 --enable-fast-install[=PKGS]
1548 optimize for fast installation [default=yes]
1549 --disable-libtool-lock avoid locking (might break parallel builds)
1550 --disable-hosted-libstdcxx
1551 only build freestanding C++ runtime support
1552 --disable-libstdcxx-verbose
1553 disable termination messages to standard error
1554 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1555 [default=$is_hosted]
1556 --enable-cstdio[=PACKAGE]
1557 use target-specific I/O package [default=stdio]
1558 --enable-clocale[=MODEL]
1559 use MODEL for target locale package [default=auto]
1560 --enable-nls use Native Language Support (default)
1561 --enable-libstdcxx-allocator[=KIND]
1562 use KIND for target std::allocator base
1563 [default=auto]
1564 --enable-cheaders[=KIND]
1565 construct "C" headers for g++ [default=$c_model]
1566 --enable-long-long enable template specializations for 'long long'
1567 [default=yes]
1568 --enable-wchar_t enable template specializations for 'wchar_t'
1569 [default=yes]
1570 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1571 --enable-concept-checks use Boost-derived template checks [default=no]
1572 --enable-libstdcxx-debug-flags=FLAGS
1573 pass compiler FLAGS when building debug library
1574 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1575 --enable-libstdcxx-debug
1576 build extra debug library [default=no]
1577 --enable-cxx-flags=FLAGS
1578 pass compiler FLAGS when building library [default=]
1579 --enable-fully-dynamic-string
1580 do not put empty strings in per-process static
1581 memory [default=no]
1582 --enable-extern-template
1583 enable extern template [default=yes]
1584 --enable-werror turns on -Werror [default=no]
1585 --enable-vtable-verify enable vtable verify [default=no]
1586 --enable-libstdcxx-time[=KIND]
1587 use KIND for check type [default=auto]
1588 --enable-tls Use thread-local storage [default=yes]
1589 --disable-rpath do not hardcode runtime library paths
1590 --enable-linux-futex use the Linux futex system call [default=default]
1591 --enable-symvers[=STYLE]
1592 enables symbol versioning of the shared library
1593 [default=yes]
1594 --enable-libstdcxx-visibility
1595 enables visibility safe usage [default=yes]
1596 --enable-libstdcxx-dual-abi
1597 support two versions of std::string [default=yes]
1598 --enable-libstdcxx-threads
1599 enable C++11 threads support [default=auto]
1600 --enable-libstdcxx-filesystem-ts
1601 turns on ISO/IEC TS 18822 support [default=auto]
1602 --enable-cet enable Intel CET in target libraries [default=no]
1603 --enable-version-specific-runtime-libs
1604 Specify that runtime libraries should be installed
1605 in a compiler-specific directory
1606
1607 Optional Packages:
1608 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1609 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1610 --with-target-subdir=SUBDIR
1611 configuring in a subdirectory
1612 --with-cross-host=HOST configuring with a cross compiler
1613 --with-newlib assume newlib as a system C library
1614 --with-pic try to use only PIC/non-PIC objects [default=use
1615 both]
1616 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1617 --with-python-dir the location to install Python modules. This path is
1618 relative starting from the prefix.
1619 --with-gnu-ld assume the C compiler uses GNU ld default=no
1620 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1621 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1622 --with-system-libunwind use installed libunwind
1623 --with-default-libstdcxx-abi
1624 set the std::string ABI to use by default
1625 --with-gxx-include-dir=DIR
1626 installation directory for include files
1627 --with-gcc-major-version-only
1628 use only GCC major number in filesystem paths
1629
1630 Some influential environment variables:
1631 CC C compiler command
1632 CFLAGS C compiler flags
1633 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1634 nonstandard directory <lib dir>
1635 LIBS libraries to pass to the linker, e.g. -l<library>
1636 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1637 you have headers in a nonstandard directory <include dir>
1638 CXX C++ compiler command
1639 CXXFLAGS C++ compiler flags
1640 CPP C preprocessor
1641 CXXCPP C++ preprocessor
1642 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1643 `c++filt', `gc++filt' on PATH.
1644
1645 Use these variables to override the choices made by `configure' or to help
1646 it to find libraries and programs with nonstandard names/locations.
1647
1648 Report bugs to the package provider.
1649 _ACEOF
1650 ac_status=$?
1651 fi
1652
1653 if test "$ac_init_help" = "recursive"; then
1654 # If there are subdirs, report their specific --help.
1655 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1656 test -d "$ac_dir" ||
1657 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1658 continue
1659 ac_builddir=.
1660
1661 case "$ac_dir" in
1662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663 *)
1664 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1665 # A ".." for each directory in $ac_dir_suffix.
1666 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1667 case $ac_top_builddir_sub in
1668 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1669 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1670 esac ;;
1671 esac
1672 ac_abs_top_builddir=$ac_pwd
1673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1674 # for backward compatibility:
1675 ac_top_builddir=$ac_top_build_prefix
1676
1677 case $srcdir in
1678 .) # We are building in place.
1679 ac_srcdir=.
1680 ac_top_srcdir=$ac_top_builddir_sub
1681 ac_abs_top_srcdir=$ac_pwd ;;
1682 [\\/]* | ?:[\\/]* ) # Absolute name.
1683 ac_srcdir=$srcdir$ac_dir_suffix;
1684 ac_top_srcdir=$srcdir
1685 ac_abs_top_srcdir=$srcdir ;;
1686 *) # Relative name.
1687 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1688 ac_top_srcdir=$ac_top_build_prefix$srcdir
1689 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1690 esac
1691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1692
1693 cd "$ac_dir" || { ac_status=$?; continue; }
1694 # Check for guested configure.
1695 if test -f "$ac_srcdir/configure.gnu"; then
1696 echo &&
1697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1698 elif test -f "$ac_srcdir/configure"; then
1699 echo &&
1700 $SHELL "$ac_srcdir/configure" --help=recursive
1701 else
1702 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1703 fi || ac_status=$?
1704 cd "$ac_pwd" || { ac_status=$?; break; }
1705 done
1706 fi
1707
1708 test -n "$ac_init_help" && exit $ac_status
1709 if $ac_init_version; then
1710 cat <<\_ACEOF
1711 package-unused configure version-unused
1712 generated by GNU Autoconf 2.64
1713
1714 Copyright (C) 2009 Free Software Foundation, Inc.
1715 This configure script is free software; the Free Software Foundation
1716 gives unlimited permission to copy, distribute and modify it.
1717 _ACEOF
1718 exit
1719 fi
1720
1721 ## ------------------------ ##
1722 ## Autoconf initialization. ##
1723 ## ------------------------ ##
1724
1725 # ac_fn_c_try_compile LINENO
1726 # --------------------------
1727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_c_try_compile ()
1729 {
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 rm -f conftest.$ac_objext
1732 if { { ac_try="$ac_compile"
1733 case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_compile") 2>conftest.err
1740 ac_status=$?
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1745 fi
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest.$ac_objext; then :
1751 ac_retval=0
1752 else
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1755
1756 ac_retval=1
1757 fi
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759 return $ac_retval
1760
1761 } # ac_fn_c_try_compile
1762
1763 # ac_fn_cxx_try_compile LINENO
1764 # ----------------------------
1765 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_cxx_try_compile ()
1767 {
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 rm -f conftest.$ac_objext
1770 if { { ac_try="$ac_compile"
1771 case "(($ac_try" in
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_compile") 2>conftest.err
1778 ac_status=$?
1779 if test -s conftest.err; then
1780 grep -v '^ *+' conftest.err >conftest.er1
1781 cat conftest.er1 >&5
1782 mv -f conftest.er1 conftest.err
1783 fi
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_cxx_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest.$ac_objext; then :
1789 ac_retval=0
1790 else
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1793
1794 ac_retval=1
1795 fi
1796 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 return $ac_retval
1798
1799 } # ac_fn_cxx_try_compile
1800
1801 # ac_fn_c_try_cpp LINENO
1802 # ----------------------
1803 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_c_try_cpp ()
1805 {
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 if { { ac_try="$ac_cpp conftest.$ac_ext"
1808 case "(($ac_try" in
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1815 ac_status=$?
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1820 fi
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } >/dev/null && {
1823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 }; then :
1826 ac_retval=0
1827 else
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1830
1831 ac_retval=1
1832 fi
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 return $ac_retval
1835
1836 } # ac_fn_c_try_cpp
1837
1838 # ac_fn_c_try_link LINENO
1839 # -----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_c_try_link ()
1842 {
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext conftest$ac_exeext
1845 if { { ac_try="$ac_link"
1846 case "(($ac_try" in
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1849 esac
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1853 ac_status=$?
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1858 fi
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 $as_test_x conftest$ac_exeext
1866 }; then :
1867 ac_retval=0
1868 else
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1871
1872 ac_retval=1
1873 fi
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880 return $ac_retval
1881
1882 } # ac_fn_c_try_link
1883
1884 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1885 # -------------------------------------------------------
1886 # Tests whether HEADER exists and can be compiled using the include files in
1887 # INCLUDES, setting the cache variable VAR accordingly.
1888 ac_fn_c_check_header_compile ()
1889 {
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1894 $as_echo_n "(cached) " >&6
1895 else
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1898 $4
1899 #include <$2>
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 eval "$3=yes"
1903 else
1904 eval "$3=no"
1905 fi
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 fi
1908 eval ac_res=\$$3
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912
1913 } # ac_fn_c_check_header_compile
1914
1915 # ac_fn_c_try_run LINENO
1916 # ----------------------
1917 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1918 # that executables *can* be run.
1919 ac_fn_c_try_run ()
1920 {
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 if { { ac_try="$ac_link"
1923 case "(($ac_try" in
1924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925 *) ac_try_echo=$ac_try;;
1926 esac
1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928 $as_echo "$ac_try_echo"; } >&5
1929 (eval "$ac_link") 2>&5
1930 ac_status=$?
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1933 { { case "(($ac_try" in
1934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1935 *) ac_try_echo=$ac_try;;
1936 esac
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_try") 2>&5
1940 ac_status=$?
1941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test $ac_status = 0; }; }; then :
1943 ac_retval=0
1944 else
1945 $as_echo "$as_me: program exited with status $ac_status" >&5
1946 $as_echo "$as_me: failed program was:" >&5
1947 sed 's/^/| /' conftest.$ac_ext >&5
1948
1949 ac_retval=$ac_status
1950 fi
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1953 return $ac_retval
1954
1955 } # ac_fn_c_try_run
1956
1957 # ac_fn_c_check_func LINENO FUNC VAR
1958 # ----------------------------------
1959 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1960 ac_fn_c_check_func ()
1961 {
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1966 $as_echo_n "(cached) " >&6
1967 else
1968 if test x$gcc_no_link = xyes; then
1969 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1970 fi
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1973 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1975 #define $2 innocuous_$2
1976
1977 /* System header to define __stub macros and hopefully few prototypes,
1978 which can conflict with char $2 (); below.
1979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1980 <limits.h> exists even on freestanding compilers. */
1981
1982 #ifdef __STDC__
1983 # include <limits.h>
1984 #else
1985 # include <assert.h>
1986 #endif
1987
1988 #undef $2
1989
1990 /* Override any GCC internal prototype to avoid an error.
1991 Use char because int might match the return type of a GCC
1992 builtin and then its argument prototype would still apply. */
1993 #ifdef __cplusplus
1994 extern "C"
1995 #endif
1996 char $2 ();
1997 /* The GNU C library defines this for functions which it implements
1998 to always fail with ENOSYS. Some functions are actually named
1999 something starting with __ and the normal name is an alias. */
2000 #if defined __stub_$2 || defined __stub___$2
2001 choke me
2002 #endif
2003
2004 int
2005 main ()
2006 {
2007 return $2 ();
2008 ;
2009 return 0;
2010 }
2011 _ACEOF
2012 if ac_fn_c_try_link "$LINENO"; then :
2013 eval "$3=yes"
2014 else
2015 eval "$3=no"
2016 fi
2017 rm -f core conftest.err conftest.$ac_objext \
2018 conftest$ac_exeext conftest.$ac_ext
2019 fi
2020 eval ac_res=\$$3
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2023 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2024
2025 } # ac_fn_c_check_func
2026
2027 # ac_fn_cxx_try_cpp LINENO
2028 # ------------------------
2029 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2030 ac_fn_cxx_try_cpp ()
2031 {
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 if { { ac_try="$ac_cpp conftest.$ac_ext"
2034 case "(($ac_try" in
2035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2036 *) ac_try_echo=$ac_try;;
2037 esac
2038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2039 $as_echo "$ac_try_echo"; } >&5
2040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2041 ac_status=$?
2042 if test -s conftest.err; then
2043 grep -v '^ *+' conftest.err >conftest.er1
2044 cat conftest.er1 >&5
2045 mv -f conftest.er1 conftest.err
2046 fi
2047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2048 test $ac_status = 0; } >/dev/null && {
2049 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2050 test ! -s conftest.err
2051 }; then :
2052 ac_retval=0
2053 else
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2056
2057 ac_retval=1
2058 fi
2059 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060 return $ac_retval
2061
2062 } # ac_fn_cxx_try_cpp
2063
2064 # ac_fn_cxx_try_link LINENO
2065 # -------------------------
2066 # Try to link conftest.$ac_ext, and return whether this succeeded.
2067 ac_fn_cxx_try_link ()
2068 {
2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070 rm -f conftest.$ac_objext conftest$ac_exeext
2071 if { { ac_try="$ac_link"
2072 case "(($ac_try" in
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2075 esac
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_link") 2>conftest.err
2079 ac_status=$?
2080 if test -s conftest.err; then
2081 grep -v '^ *+' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2083 mv -f conftest.er1 conftest.err
2084 fi
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; } && {
2087 test -z "$ac_cxx_werror_flag" ||
2088 test ! -s conftest.err
2089 } && test -s conftest$ac_exeext && {
2090 test "$cross_compiling" = yes ||
2091 $as_test_x conftest$ac_exeext
2092 }; then :
2093 ac_retval=0
2094 else
2095 $as_echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2097
2098 ac_retval=1
2099 fi
2100 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2101 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2102 # interfere with the next link command; also delete a directory that is
2103 # left behind by Apple's compiler. We do this before executing the actions.
2104 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106 return $ac_retval
2107
2108 } # ac_fn_cxx_try_link
2109
2110 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2111 # -------------------------------------------------------
2112 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2113 # the include files in INCLUDES and setting the cache variable VAR
2114 # accordingly.
2115 ac_fn_c_check_header_mongrel ()
2116 {
2117 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2118 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120 $as_echo_n "checking for $2... " >&6; }
2121 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2122 $as_echo_n "(cached) " >&6
2123 fi
2124 eval ac_res=\$$3
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126 $as_echo "$ac_res" >&6; }
2127 else
2128 # Is the header compilable?
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2130 $as_echo_n "checking $2 usability... " >&6; }
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2132 /* end confdefs.h. */
2133 $4
2134 #include <$2>
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137 ac_header_compiler=yes
2138 else
2139 ac_header_compiler=no
2140 fi
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2143 $as_echo "$ac_header_compiler" >&6; }
2144
2145 # Is the header present?
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2147 $as_echo_n "checking $2 presence... " >&6; }
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2150 #include <$2>
2151 _ACEOF
2152 if ac_fn_c_try_cpp "$LINENO"; then :
2153 ac_header_preproc=yes
2154 else
2155 ac_header_preproc=no
2156 fi
2157 rm -f conftest.err conftest.$ac_ext
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2159 $as_echo "$ac_header_preproc" >&6; }
2160
2161 # So? What about this header?
2162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2163 yes:no: )
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2165 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2167 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2168 ;;
2169 no:yes:* )
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2171 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2173 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2175 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2177 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2179 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2180 ;;
2181 esac
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2183 $as_echo_n "checking for $2... " >&6; }
2184 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2185 $as_echo_n "(cached) " >&6
2186 else
2187 eval "$3=\$ac_header_compiler"
2188 fi
2189 eval ac_res=\$$3
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191 $as_echo "$ac_res" >&6; }
2192 fi
2193 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2194
2195 } # ac_fn_c_check_header_mongrel
2196
2197 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2198 # ---------------------------------------------------------
2199 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2200 # the include files in INCLUDES and setting the cache variable VAR
2201 # accordingly.
2202 ac_fn_cxx_check_header_mongrel ()
2203 {
2204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2205 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2207 $as_echo_n "checking for $2... " >&6; }
2208 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2209 $as_echo_n "(cached) " >&6
2210 fi
2211 eval ac_res=\$$3
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2213 $as_echo "$ac_res" >&6; }
2214 else
2215 # Is the header compilable?
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2217 $as_echo_n "checking $2 usability... " >&6; }
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2220 $4
2221 #include <$2>
2222 _ACEOF
2223 if ac_fn_cxx_try_compile "$LINENO"; then :
2224 ac_header_compiler=yes
2225 else
2226 ac_header_compiler=no
2227 fi
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2230 $as_echo "$ac_header_compiler" >&6; }
2231
2232 # Is the header present?
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2234 $as_echo_n "checking $2 presence... " >&6; }
2235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h. */
2237 #include <$2>
2238 _ACEOF
2239 if ac_fn_cxx_try_cpp "$LINENO"; then :
2240 ac_header_preproc=yes
2241 else
2242 ac_header_preproc=no
2243 fi
2244 rm -f conftest.err conftest.$ac_ext
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2246 $as_echo "$ac_header_preproc" >&6; }
2247
2248 # So? What about this header?
2249 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2250 yes:no: )
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2252 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2254 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2255 ;;
2256 no:yes:* )
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2258 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2260 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2262 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2264 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2266 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2267 ;;
2268 esac
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2270 $as_echo_n "checking for $2... " >&6; }
2271 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2272 $as_echo_n "(cached) " >&6
2273 else
2274 eval "$3=\$ac_header_compiler"
2275 fi
2276 eval ac_res=\$$3
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278 $as_echo "$ac_res" >&6; }
2279 fi
2280 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2281
2282 } # ac_fn_cxx_check_header_mongrel
2283
2284 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2285 # --------------------------------------------
2286 # Tries to find the compile-time value of EXPR in a program that includes
2287 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2288 # computed
2289 ac_fn_c_compute_int ()
2290 {
2291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2292 if test "$cross_compiling" = yes; then
2293 # Depending upon the size, compute the lo and hi bounds.
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2296 $4
2297 int
2298 main ()
2299 {
2300 static int test_array [1 - 2 * !(($2) >= 0)];
2301 test_array [0] = 0
2302
2303 ;
2304 return 0;
2305 }
2306 _ACEOF
2307 if ac_fn_c_try_compile "$LINENO"; then :
2308 ac_lo=0 ac_mid=0
2309 while :; do
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */
2312 $4
2313 int
2314 main ()
2315 {
2316 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2317 test_array [0] = 0
2318
2319 ;
2320 return 0;
2321 }
2322 _ACEOF
2323 if ac_fn_c_try_compile "$LINENO"; then :
2324 ac_hi=$ac_mid; break
2325 else
2326 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2327 if test $ac_lo -le $ac_mid; then
2328 ac_lo= ac_hi=
2329 break
2330 fi
2331 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2332 fi
2333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 done
2335 else
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2338 $4
2339 int
2340 main ()
2341 {
2342 static int test_array [1 - 2 * !(($2) < 0)];
2343 test_array [0] = 0
2344
2345 ;
2346 return 0;
2347 }
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 ac_hi=-1 ac_mid=-1
2351 while :; do
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_lo=$ac_mid; break
2367 else
2368 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2369 if test $ac_mid -le $ac_hi; then
2370 ac_lo= ac_hi=
2371 break
2372 fi
2373 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2374 fi
2375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2376 done
2377 else
2378 ac_lo= ac_hi=
2379 fi
2380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2381 fi
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 # Binary search between lo and hi bounds.
2384 while test "x$ac_lo" != "x$ac_hi"; do
2385 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2388 $4
2389 int
2390 main ()
2391 {
2392 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2393 test_array [0] = 0
2394
2395 ;
2396 return 0;
2397 }
2398 _ACEOF
2399 if ac_fn_c_try_compile "$LINENO"; then :
2400 ac_hi=$ac_mid
2401 else
2402 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2403 fi
2404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2405 done
2406 case $ac_lo in #((
2407 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2408 '') ac_retval=1 ;;
2409 esac
2410 else
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2413 $4
2414 static long int longval () { return $2; }
2415 static unsigned long int ulongval () { return $2; }
2416 #include <stdio.h>
2417 #include <stdlib.h>
2418 int
2419 main ()
2420 {
2421
2422 FILE *f = fopen ("conftest.val", "w");
2423 if (! f)
2424 return 1;
2425 if (($2) < 0)
2426 {
2427 long int i = longval ();
2428 if (i != ($2))
2429 return 1;
2430 fprintf (f, "%ld", i);
2431 }
2432 else
2433 {
2434 unsigned long int i = ulongval ();
2435 if (i != ($2))
2436 return 1;
2437 fprintf (f, "%lu", i);
2438 }
2439 /* Do not output a trailing newline, as this causes \r\n confusion
2440 on some platforms. */
2441 return ferror (f) || fclose (f) != 0;
2442
2443 ;
2444 return 0;
2445 }
2446 _ACEOF
2447 if ac_fn_c_try_run "$LINENO"; then :
2448 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2449 else
2450 ac_retval=1
2451 fi
2452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2453 conftest.$ac_objext conftest.beam conftest.$ac_ext
2454 rm -f conftest.val
2455
2456 fi
2457 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2458 return $ac_retval
2459
2460 } # ac_fn_c_compute_int
2461
2462 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2463 # -------------------------------------------
2464 # Tests whether TYPE exists after having included INCLUDES, setting cache
2465 # variable VAR accordingly.
2466 ac_fn_c_check_type ()
2467 {
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2470 $as_echo_n "checking for $2... " >&6; }
2471 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2472 $as_echo_n "(cached) " >&6
2473 else
2474 eval "$3=no"
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2477 $4
2478 int
2479 main ()
2480 {
2481 if (sizeof ($2))
2482 return 0;
2483 ;
2484 return 0;
2485 }
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2490 $4
2491 int
2492 main ()
2493 {
2494 if (sizeof (($2)))
2495 return 0;
2496 ;
2497 return 0;
2498 }
2499 _ACEOF
2500 if ac_fn_c_try_compile "$LINENO"; then :
2501
2502 else
2503 eval "$3=yes"
2504 fi
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 fi
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 fi
2509 eval ac_res=\$$3
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2511 $as_echo "$ac_res" >&6; }
2512 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2513
2514 } # ac_fn_c_check_type
2515
2516 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2517 # ---------------------------------------------
2518 # Tests whether TYPE exists after having included INCLUDES, setting cache
2519 # variable VAR accordingly.
2520 ac_fn_cxx_check_type ()
2521 {
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2526 $as_echo_n "(cached) " >&6
2527 else
2528 eval "$3=no"
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2531 $4
2532 int
2533 main ()
2534 {
2535 if (sizeof ($2))
2536 return 0;
2537 ;
2538 return 0;
2539 }
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2543 /* end confdefs.h. */
2544 $4
2545 int
2546 main ()
2547 {
2548 if (sizeof (($2)))
2549 return 0;
2550 ;
2551 return 0;
2552 }
2553 _ACEOF
2554 if ac_fn_cxx_try_compile "$LINENO"; then :
2555
2556 else
2557 eval "$3=yes"
2558 fi
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2560 fi
2561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2562 fi
2563 eval ac_res=\$$3
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2565 $as_echo "$ac_res" >&6; }
2566 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2567
2568 } # ac_fn_cxx_check_type
2569 cat >config.log <<_ACEOF
2570 This file contains any messages produced by compilers while
2571 running configure, to aid debugging if configure makes a mistake.
2572
2573 It was created by package-unused $as_me version-unused, which was
2574 generated by GNU Autoconf 2.64. Invocation command line was
2575
2576 $ $0 $@
2577
2578 _ACEOF
2579 exec 5>>config.log
2580 {
2581 cat <<_ASUNAME
2582 ## --------- ##
2583 ## Platform. ##
2584 ## --------- ##
2585
2586 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2587 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2588 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2589 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2590 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2591
2592 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2593 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2594
2595 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2596 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2597 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2598 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2599 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2600 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2601 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2602
2603 _ASUNAME
2604
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 for as_dir in $PATH
2607 do
2608 IFS=$as_save_IFS
2609 test -z "$as_dir" && as_dir=.
2610 $as_echo "PATH: $as_dir"
2611 done
2612 IFS=$as_save_IFS
2613
2614 } >&5
2615
2616 cat >&5 <<_ACEOF
2617
2618
2619 ## ----------- ##
2620 ## Core tests. ##
2621 ## ----------- ##
2622
2623 _ACEOF
2624
2625
2626 # Keep a trace of the command line.
2627 # Strip out --no-create and --no-recursion so they do not pile up.
2628 # Strip out --silent because we don't want to record it for future runs.
2629 # Also quote any args containing shell meta-characters.
2630 # Make two passes to allow for proper duplicate-argument suppression.
2631 ac_configure_args=
2632 ac_configure_args0=
2633 ac_configure_args1=
2634 ac_must_keep_next=false
2635 for ac_pass in 1 2
2636 do
2637 for ac_arg
2638 do
2639 case $ac_arg in
2640 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2642 | -silent | --silent | --silen | --sile | --sil)
2643 continue ;;
2644 *\'*)
2645 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2646 esac
2647 case $ac_pass in
2648 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2649 2)
2650 as_fn_append ac_configure_args1 " '$ac_arg'"
2651 if test $ac_must_keep_next = true; then
2652 ac_must_keep_next=false # Got value, back to normal.
2653 else
2654 case $ac_arg in
2655 *=* | --config-cache | -C | -disable-* | --disable-* \
2656 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2657 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2658 | -with-* | --with-* | -without-* | --without-* | --x)
2659 case "$ac_configure_args0 " in
2660 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2661 esac
2662 ;;
2663 -* ) ac_must_keep_next=true ;;
2664 esac
2665 fi
2666 as_fn_append ac_configure_args " '$ac_arg'"
2667 ;;
2668 esac
2669 done
2670 done
2671 { ac_configure_args0=; unset ac_configure_args0;}
2672 { ac_configure_args1=; unset ac_configure_args1;}
2673
2674 # When interrupted or exit'd, cleanup temporary files, and complete
2675 # config.log. We remove comments because anyway the quotes in there
2676 # would cause problems or look ugly.
2677 # WARNING: Use '\'' to represent an apostrophe within the trap.
2678 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2679 trap 'exit_status=$?
2680 # Save into config.log some information that might help in debugging.
2681 {
2682 echo
2683
2684 cat <<\_ASBOX
2685 ## ---------------- ##
2686 ## Cache variables. ##
2687 ## ---------------- ##
2688 _ASBOX
2689 echo
2690 # The following way of writing the cache mishandles newlines in values,
2691 (
2692 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2693 eval ac_val=\$$ac_var
2694 case $ac_val in #(
2695 *${as_nl}*)
2696 case $ac_var in #(
2697 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2699 esac
2700 case $ac_var in #(
2701 _ | IFS | as_nl) ;; #(
2702 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2703 *) { eval $ac_var=; unset $ac_var;} ;;
2704 esac ;;
2705 esac
2706 done
2707 (set) 2>&1 |
2708 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2709 *${as_nl}ac_space=\ *)
2710 sed -n \
2711 "s/'\''/'\''\\\\'\'''\''/g;
2712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2713 ;; #(
2714 *)
2715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2716 ;;
2717 esac |
2718 sort
2719 )
2720 echo
2721
2722 cat <<\_ASBOX
2723 ## ----------------- ##
2724 ## Output variables. ##
2725 ## ----------------- ##
2726 _ASBOX
2727 echo
2728 for ac_var in $ac_subst_vars
2729 do
2730 eval ac_val=\$$ac_var
2731 case $ac_val in
2732 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2733 esac
2734 $as_echo "$ac_var='\''$ac_val'\''"
2735 done | sort
2736 echo
2737
2738 if test -n "$ac_subst_files"; then
2739 cat <<\_ASBOX
2740 ## ------------------- ##
2741 ## File substitutions. ##
2742 ## ------------------- ##
2743 _ASBOX
2744 echo
2745 for ac_var in $ac_subst_files
2746 do
2747 eval ac_val=\$$ac_var
2748 case $ac_val in
2749 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2750 esac
2751 $as_echo "$ac_var='\''$ac_val'\''"
2752 done | sort
2753 echo
2754 fi
2755
2756 if test -s confdefs.h; then
2757 cat <<\_ASBOX
2758 ## ----------- ##
2759 ## confdefs.h. ##
2760 ## ----------- ##
2761 _ASBOX
2762 echo
2763 cat confdefs.h
2764 echo
2765 fi
2766 test "$ac_signal" != 0 &&
2767 $as_echo "$as_me: caught signal $ac_signal"
2768 $as_echo "$as_me: exit $exit_status"
2769 } >&5
2770 rm -f core *.core core.conftest.* &&
2771 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2772 exit $exit_status
2773 ' 0
2774 for ac_signal in 1 2 13 15; do
2775 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2776 done
2777 ac_signal=0
2778
2779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2780 rm -f -r conftest* confdefs.h
2781
2782 $as_echo "/* confdefs.h */" > confdefs.h
2783
2784 # Predefined preprocessor variables.
2785
2786 cat >>confdefs.h <<_ACEOF
2787 #define PACKAGE_NAME "$PACKAGE_NAME"
2788 _ACEOF
2789
2790 cat >>confdefs.h <<_ACEOF
2791 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2792 _ACEOF
2793
2794 cat >>confdefs.h <<_ACEOF
2795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2796 _ACEOF
2797
2798 cat >>confdefs.h <<_ACEOF
2799 #define PACKAGE_STRING "$PACKAGE_STRING"
2800 _ACEOF
2801
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2804 _ACEOF
2805
2806 cat >>confdefs.h <<_ACEOF
2807 #define PACKAGE_URL "$PACKAGE_URL"
2808 _ACEOF
2809
2810
2811 # Let the site file select an alternate cache file if it wants to.
2812 # Prefer an explicitly selected file to automatically selected ones.
2813 ac_site_file1=NONE
2814 ac_site_file2=NONE
2815 if test -n "$CONFIG_SITE"; then
2816 ac_site_file1=$CONFIG_SITE
2817 elif test "x$prefix" != xNONE; then
2818 ac_site_file1=$prefix/share/config.site
2819 ac_site_file2=$prefix/etc/config.site
2820 else
2821 ac_site_file1=$ac_default_prefix/share/config.site
2822 ac_site_file2=$ac_default_prefix/etc/config.site
2823 fi
2824 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2825 do
2826 test "x$ac_site_file" = xNONE && continue
2827 if test -r "$ac_site_file"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2829 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2830 sed 's/^/| /' "$ac_site_file" >&5
2831 . "$ac_site_file"
2832 fi
2833 done
2834
2835 if test -r "$cache_file"; then
2836 # Some versions of bash will fail to source /dev/null (special
2837 # files actually), so we avoid doing that.
2838 if test -f "$cache_file"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2840 $as_echo "$as_me: loading cache $cache_file" >&6;}
2841 case $cache_file in
2842 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2843 *) . "./$cache_file";;
2844 esac
2845 fi
2846 else
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2848 $as_echo "$as_me: creating cache $cache_file" >&6;}
2849 >$cache_file
2850 fi
2851
2852 # Check that the precious variables saved in the cache have kept the same
2853 # value.
2854 ac_cache_corrupted=false
2855 for ac_var in $ac_precious_vars; do
2856 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2857 eval ac_new_set=\$ac_env_${ac_var}_set
2858 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2859 eval ac_new_val=\$ac_env_${ac_var}_value
2860 case $ac_old_set,$ac_new_set in
2861 set,)
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2863 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2864 ac_cache_corrupted=: ;;
2865 ,set)
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2867 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2868 ac_cache_corrupted=: ;;
2869 ,);;
2870 *)
2871 if test "x$ac_old_val" != "x$ac_new_val"; then
2872 # differences in whitespace do not lead to failure.
2873 ac_old_val_w=`echo x $ac_old_val`
2874 ac_new_val_w=`echo x $ac_new_val`
2875 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2877 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2878 ac_cache_corrupted=:
2879 else
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2881 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2882 eval $ac_var=\$ac_old_val
2883 fi
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2885 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2887 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2888 fi;;
2889 esac
2890 # Pass precious variables to config.status.
2891 if test "$ac_new_set" = set; then
2892 case $ac_new_val in
2893 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2894 *) ac_arg=$ac_var=$ac_new_val ;;
2895 esac
2896 case " $ac_configure_args " in
2897 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2898 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2899 esac
2900 fi
2901 done
2902 if $ac_cache_corrupted; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2906 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2907 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2908 fi
2909 ## -------------------- ##
2910 ## Main body of script. ##
2911 ## -------------------- ##
2912
2913 ac_ext=c
2914 ac_cpp='$CPP $CPPFLAGS'
2915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2918
2919
2920
2921
2922
2923
2924 ac_config_headers="$ac_config_headers config.h"
2925
2926
2927 # This works around the fact that libtool configuration may change LD
2928 # for this particular configuration, but some shells, instead of
2929 # keeping the changes in LD private, export them just because LD is
2930 # exported. Only used at the end of this file.
2931 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2932
2933 # Find the rest of the source tree framework.
2934 # Default to --enable-multilib
2935 # Check whether --enable-multilib was given.
2936 if test "${enable_multilib+set}" = set; then :
2937 enableval=$enable_multilib; case "$enableval" in
2938 yes) multilib=yes ;;
2939 no) multilib=no ;;
2940 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2941 esac
2942 else
2943 multilib=yes
2944 fi
2945
2946
2947 # We may get other options which we leave undocumented:
2948 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2949 # See config-ml.in if you want the gory details.
2950
2951 if test "$srcdir" = "."; then
2952 if test "$with_target_subdir" != "."; then
2953 multi_basedir="$srcdir/$with_multisrctop../.."
2954 else
2955 multi_basedir="$srcdir/$with_multisrctop.."
2956 fi
2957 else
2958 multi_basedir="$srcdir/.."
2959 fi
2960
2961
2962 # Even if the default multilib is not a cross compilation,
2963 # it may be that some of the other multilibs are.
2964 if test $cross_compiling = no && test $multilib = yes \
2965 && test "x${with_multisubdir}" != x ; then
2966 cross_compiling=maybe
2967 fi
2968
2969 ac_config_commands="$ac_config_commands default-1"
2970
2971
2972 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2973 #
2974 # You will slowly go insane if you do not grok the following fact: when
2975 # building v3 as part of the compiler, the top-level /target/ becomes the
2976 # library's /host/. configure then causes --target to default to --host,
2977 # exactly like any other package using autoconf. Therefore, 'target' and
2978 # 'host' will always be the same. This makes sense both for native and
2979 # cross compilers, just think about it for a little while. :-)
2980 #
2981 # Also, if v3 is being configured as part of a cross compiler, the top-level
2982 # configure script will pass the "real" host as $with_cross_host.
2983 #
2984 # Do not delete or change the following two lines. For why, see
2985 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2986 ac_aux_dir=
2987 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2988 for ac_t in install-sh install.sh shtool; do
2989 if test -f "$ac_dir/$ac_t"; then
2990 ac_aux_dir=$ac_dir
2991 ac_install_sh="$ac_aux_dir/$ac_t -c"
2992 break 2
2993 fi
2994 done
2995 done
2996 if test -z "$ac_aux_dir"; then
2997 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2998 fi
2999
3000 # These three variables are undocumented and unsupported,
3001 # and are intended to be withdrawn in a future Autoconf release.
3002 # They can cause serious problems if a builder's source tree is in a directory
3003 # whose full name contains unusual characters.
3004 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3005 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3006 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3007
3008
3009 # Make sure we can run config.sub.
3010 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3011 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3012
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3014 $as_echo_n "checking build system type... " >&6; }
3015 if test "${ac_cv_build+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3017 else
3018 ac_build_alias=$build_alias
3019 test "x$ac_build_alias" = x &&
3020 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3021 test "x$ac_build_alias" = x &&
3022 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3023 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3024 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3025
3026 fi
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3028 $as_echo "$ac_cv_build" >&6; }
3029 case $ac_cv_build in
3030 *-*-*) ;;
3031 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3032 esac
3033 build=$ac_cv_build
3034 ac_save_IFS=$IFS; IFS='-'
3035 set x $ac_cv_build
3036 shift
3037 build_cpu=$1
3038 build_vendor=$2
3039 shift; shift
3040 # Remember, the first character of IFS is used to create $*,
3041 # except with old shells:
3042 build_os=$*
3043 IFS=$ac_save_IFS
3044 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3045
3046
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3048 $as_echo_n "checking host system type... " >&6; }
3049 if test "${ac_cv_host+set}" = set; then :
3050 $as_echo_n "(cached) " >&6
3051 else
3052 if test "x$host_alias" = x; then
3053 ac_cv_host=$ac_cv_build
3054 else
3055 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3056 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3057 fi
3058
3059 fi
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3061 $as_echo "$ac_cv_host" >&6; }
3062 case $ac_cv_host in
3063 *-*-*) ;;
3064 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3065 esac
3066 host=$ac_cv_host
3067 ac_save_IFS=$IFS; IFS='-'
3068 set x $ac_cv_host
3069 shift
3070 host_cpu=$1
3071 host_vendor=$2
3072 shift; shift
3073 # Remember, the first character of IFS is used to create $*,
3074 # except with old shells:
3075 host_os=$*
3076 IFS=$ac_save_IFS
3077 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3078
3079
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3081 $as_echo_n "checking target system type... " >&6; }
3082 if test "${ac_cv_target+set}" = set; then :
3083 $as_echo_n "(cached) " >&6
3084 else
3085 if test "x$target_alias" = x; then
3086 ac_cv_target=$ac_cv_host
3087 else
3088 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3089 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3090 fi
3091
3092 fi
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3094 $as_echo "$ac_cv_target" >&6; }
3095 case $ac_cv_target in
3096 *-*-*) ;;
3097 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3098 esac
3099 target=$ac_cv_target
3100 ac_save_IFS=$IFS; IFS='-'
3101 set x $ac_cv_target
3102 shift
3103 target_cpu=$1
3104 target_vendor=$2
3105 shift; shift
3106 # Remember, the first character of IFS is used to create $*,
3107 # except with old shells:
3108 target_os=$*
3109 IFS=$ac_save_IFS
3110 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3111
3112
3113 # The aliases save the names the user supplied, while $host etc.
3114 # will get canonicalized.
3115 test -n "$target_alias" &&
3116 test "$program_prefix$program_suffix$program_transform_name" = \
3117 NONENONEs,x,x, &&
3118 program_prefix=${target_alias}-
3119
3120 target_alias=${target_alias-$host_alias}
3121
3122 # Handy for debugging:
3123 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3124
3125 if test "$build" != "$host"; then
3126 # We are being configured with some form of cross compiler.
3127 GLIBCXX_IS_NATIVE=false
3128 case "$host","$target" in
3129 # Darwin crosses can use the host system's libraries and headers,
3130 # because of the fat library support. Of course, it must be the
3131 # same version of Darwin on both sides. Allow the user to
3132 # just say --target=foo-darwin without a version number to mean
3133 # "the version on this system".
3134 *-*-darwin*,*-*-darwin*)
3135 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3136 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3137 if test $hostos = $targetos -o $targetos = darwin ; then
3138 GLIBCXX_IS_NATIVE=true
3139 fi
3140 ;;
3141
3142 *)
3143
3144 ;;
3145 esac
3146 else
3147 GLIBCXX_IS_NATIVE=true
3148 fi
3149
3150 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3151 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3152 # 1.x: minimum required version
3153 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3154 # of other PACKAGE_* variables will, however, and there's nothing
3155 # we can do about that; they come from AC_INIT).
3156 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3157 # file in the top srcdir, etc, etc), so stop complaining.
3158 # no-dependencies: turns off auto dependency generation (just for now)
3159 # no-dist: we don't want 'dist' and related rules.
3160 # -Wall: turns on all automake warnings...
3161 # -Wno-portability: ...except this one, since GNU make is now required.
3162 am__api_version='1.11'
3163
3164 # Find a good install program. We prefer a C program (faster),
3165 # so one script is as good as another. But avoid the broken or
3166 # incompatible versions:
3167 # SysV /etc/install, /usr/sbin/install
3168 # SunOS /usr/etc/install
3169 # IRIX /sbin/install
3170 # AIX /bin/install
3171 # AmigaOS /C/install, which installs bootblocks on floppy discs
3172 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3173 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3174 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3175 # OS/2's system install, which has a completely different semantic
3176 # ./install, which can be erroneously created by make from ./install.sh.
3177 # Reject install programs that cannot install multiple files.
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3179 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3180 if test -z "$INSTALL"; then
3181 if test "${ac_cv_path_install+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3183 else
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH
3186 do
3187 IFS=$as_save_IFS
3188 test -z "$as_dir" && as_dir=.
3189 # Account for people who put trailing slashes in PATH elements.
3190 case $as_dir/ in #((
3191 ./ | .// | /[cC]/* | \
3192 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3193 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3194 /usr/ucb/* ) ;;
3195 *)
3196 # OSF1 and SCO ODT 3.0 have their own names for install.
3197 # Don't use installbsd from OSF since it installs stuff as root
3198 # by default.
3199 for ac_prog in ginstall scoinst install; do
3200 for ac_exec_ext in '' $ac_executable_extensions; do
3201 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3202 if test $ac_prog = install &&
3203 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3204 # AIX install. It has an incompatible calling convention.
3205 :
3206 elif test $ac_prog = install &&
3207 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3208 # program-specific install script used by HP pwplus--don't use.
3209 :
3210 else
3211 rm -rf conftest.one conftest.two conftest.dir
3212 echo one > conftest.one
3213 echo two > conftest.two
3214 mkdir conftest.dir
3215 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3216 test -s conftest.one && test -s conftest.two &&
3217 test -s conftest.dir/conftest.one &&
3218 test -s conftest.dir/conftest.two
3219 then
3220 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3221 break 3
3222 fi
3223 fi
3224 fi
3225 done
3226 done
3227 ;;
3228 esac
3229
3230 done
3231 IFS=$as_save_IFS
3232
3233 rm -rf conftest.one conftest.two conftest.dir
3234
3235 fi
3236 if test "${ac_cv_path_install+set}" = set; then
3237 INSTALL=$ac_cv_path_install
3238 else
3239 # As a last resort, use the slow shell script. Don't cache a
3240 # value for INSTALL within a source directory, because that will
3241 # break other packages using the cache if that directory is
3242 # removed, or if the value is a relative name.
3243 INSTALL=$ac_install_sh
3244 fi
3245 fi
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3247 $as_echo "$INSTALL" >&6; }
3248
3249 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3250 # It thinks the first close brace ends the variable substitution.
3251 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3252
3253 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3254
3255 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3256
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3258 $as_echo_n "checking whether build environment is sane... " >&6; }
3259 # Just in case
3260 sleep 1
3261 echo timestamp > conftest.file
3262 # Reject unsafe characters in $srcdir or the absolute working directory
3263 # name. Accept space and tab only in the latter.
3264 am_lf='
3265 '
3266 case `pwd` in
3267 *[\\\"\#\$\&\'\`$am_lf]*)
3268 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3269 esac
3270 case $srcdir in
3271 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3272 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3273 esac
3274
3275 # Do `set' in a subshell so we don't clobber the current shell's
3276 # arguments. Must try -L first in case configure is actually a
3277 # symlink; some systems play weird games with the mod time of symlinks
3278 # (eg FreeBSD returns the mod time of the symlink's containing
3279 # directory).
3280 if (
3281 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3282 if test "$*" = "X"; then
3283 # -L didn't work.
3284 set X `ls -t "$srcdir/configure" conftest.file`
3285 fi
3286 rm -f conftest.file
3287 if test "$*" != "X $srcdir/configure conftest.file" \
3288 && test "$*" != "X conftest.file $srcdir/configure"; then
3289
3290 # If neither matched, then we have a broken ls. This can happen
3291 # if, for instance, CONFIG_SHELL is bash and it inherits a
3292 # broken ls alias from the environment. This has actually
3293 # happened. Such a system could not be considered "sane".
3294 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3295 alias in your environment" "$LINENO" 5
3296 fi
3297
3298 test "$2" = conftest.file
3299 )
3300 then
3301 # Ok.
3302 :
3303 else
3304 as_fn_error "newly created file is older than distributed files!
3305 Check your system clock" "$LINENO" 5
3306 fi
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3308 $as_echo "yes" >&6; }
3309 test "$program_prefix" != NONE &&
3310 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3311 # Use a double $ so make ignores it.
3312 test "$program_suffix" != NONE &&
3313 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3314 # Double any \ or $.
3315 # By default was `s,x,x', remove it if useless.
3316 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3317 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3318
3319 # expand $ac_aux_dir to an absolute path
3320 am_aux_dir=`cd $ac_aux_dir && pwd`
3321
3322 if test x"${MISSING+set}" != xset; then
3323 case $am_aux_dir in
3324 *\ * | *\ *)
3325 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3326 *)
3327 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3328 esac
3329 fi
3330 # Use eval to expand $SHELL
3331 if eval "$MISSING --run true"; then
3332 am_missing_run="$MISSING --run "
3333 else
3334 am_missing_run=
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3336 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3337 fi
3338
3339 if test x"${install_sh}" != xset; then
3340 case $am_aux_dir in
3341 *\ * | *\ *)
3342 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3343 *)
3344 install_sh="\${SHELL} $am_aux_dir/install-sh"
3345 esac
3346 fi
3347
3348 # Installed binaries are usually stripped using `strip' when the user
3349 # run `make install-strip'. However `strip' might not be the right
3350 # tool to use in cross-compilation environments, therefore Automake
3351 # will honor the `STRIP' environment variable to overrule this program.
3352 if test "$cross_compiling" != no; then
3353 if test -n "$ac_tool_prefix"; then
3354 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3355 set dummy ${ac_tool_prefix}strip; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if test "${ac_cv_prog_STRIP+set}" = set; then :
3359 $as_echo_n "(cached) " >&6
3360 else
3361 if test -n "$STRIP"; then
3362 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3363 else
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 for as_dir in $PATH
3366 do
3367 IFS=$as_save_IFS
3368 test -z "$as_dir" && as_dir=.
3369 for ac_exec_ext in '' $ac_executable_extensions; do
3370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 break 2
3374 fi
3375 done
3376 done
3377 IFS=$as_save_IFS
3378
3379 fi
3380 fi
3381 STRIP=$ac_cv_prog_STRIP
3382 if test -n "$STRIP"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3384 $as_echo "$STRIP" >&6; }
3385 else
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3388 fi
3389
3390
3391 fi
3392 if test -z "$ac_cv_prog_STRIP"; then
3393 ac_ct_STRIP=$STRIP
3394 # Extract the first word of "strip", so it can be a program name with args.
3395 set dummy strip; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 if test -n "$ac_ct_STRIP"; then
3402 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3403 else
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3406 do
3407 IFS=$as_save_IFS
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_ac_ct_STRIP="strip"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 break 2
3414 fi
3415 done
3416 done
3417 IFS=$as_save_IFS
3418
3419 fi
3420 fi
3421 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3422 if test -n "$ac_ct_STRIP"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3424 $as_echo "$ac_ct_STRIP" >&6; }
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 fi
3429
3430 if test "x$ac_ct_STRIP" = x; then
3431 STRIP=":"
3432 else
3433 case $cross_compiling:$ac_tool_warned in
3434 yes:)
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3437 ac_tool_warned=yes ;;
3438 esac
3439 STRIP=$ac_ct_STRIP
3440 fi
3441 else
3442 STRIP="$ac_cv_prog_STRIP"
3443 fi
3444
3445 fi
3446 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3447
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3449 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3450 if test -z "$MKDIR_P"; then
3451 if test "${ac_cv_path_mkdir+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3453 else
3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3456 do
3457 IFS=$as_save_IFS
3458 test -z "$as_dir" && as_dir=.
3459 for ac_prog in mkdir gmkdir; do
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3462 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3463 'mkdir (GNU coreutils) '* | \
3464 'mkdir (coreutils) '* | \
3465 'mkdir (fileutils) '4.1*)
3466 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3467 break 3;;
3468 esac
3469 done
3470 done
3471 done
3472 IFS=$as_save_IFS
3473
3474 fi
3475
3476 if test "${ac_cv_path_mkdir+set}" = set; then
3477 MKDIR_P="$ac_cv_path_mkdir -p"
3478 else
3479 # As a last resort, use the slow shell script. Don't cache a
3480 # value for MKDIR_P within a source directory, because that will
3481 # break other packages using the cache if that directory is
3482 # removed, or if the value is a relative name.
3483 test -d ./--version && rmdir ./--version
3484 MKDIR_P="$ac_install_sh -d"
3485 fi
3486 fi
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3488 $as_echo "$MKDIR_P" >&6; }
3489
3490 mkdir_p="$MKDIR_P"
3491 case $mkdir_p in
3492 [\\/$]* | ?:[\\/]*) ;;
3493 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3494 esac
3495
3496 for ac_prog in gawk mawk nawk awk
3497 do
3498 # Extract the first word of "$ac_prog", so it can be a program name with args.
3499 set dummy $ac_prog; ac_word=$2
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3501 $as_echo_n "checking for $ac_word... " >&6; }
3502 if test "${ac_cv_prog_AWK+set}" = set; then :
3503 $as_echo_n "(cached) " >&6
3504 else
3505 if test -n "$AWK"; then
3506 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3510 do
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3515 ac_cv_prog_AWK="$ac_prog"
3516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 break 2
3518 fi
3519 done
3520 done
3521 IFS=$as_save_IFS
3522
3523 fi
3524 fi
3525 AWK=$ac_cv_prog_AWK
3526 if test -n "$AWK"; then
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3528 $as_echo "$AWK" >&6; }
3529 else
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3532 fi
3533
3534
3535 test -n "$AWK" && break
3536 done
3537
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3539 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3540 set x ${MAKE-make}
3541 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3542 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3543 $as_echo_n "(cached) " >&6
3544 else
3545 cat >conftest.make <<\_ACEOF
3546 SHELL = /bin/sh
3547 all:
3548 @echo '@@@%%%=$(MAKE)=@@@%%%'
3549 _ACEOF
3550 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3551 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3552 *@@@%%%=?*=@@@%%%*)
3553 eval ac_cv_prog_make_${ac_make}_set=yes;;
3554 *)
3555 eval ac_cv_prog_make_${ac_make}_set=no;;
3556 esac
3557 rm -f conftest.make
3558 fi
3559 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3561 $as_echo "yes" >&6; }
3562 SET_MAKE=
3563 else
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3566 SET_MAKE="MAKE=${MAKE-make}"
3567 fi
3568
3569 rm -rf .tst 2>/dev/null
3570 mkdir .tst 2>/dev/null
3571 if test -d .tst; then
3572 am__leading_dot=.
3573 else
3574 am__leading_dot=_
3575 fi
3576 rmdir .tst 2>/dev/null
3577
3578 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3579 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3580 # is not polluted with repeated "-I."
3581 am__isrc=' -I$(srcdir)'
3582 # test to see if srcdir already configured
3583 if test -f $srcdir/config.status; then
3584 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3585 fi
3586 fi
3587
3588 # test whether we have cygpath
3589 if test -z "$CYGPATH_W"; then
3590 if (cygpath --version) >/dev/null 2>/dev/null; then
3591 CYGPATH_W='cygpath -w'
3592 else
3593 CYGPATH_W=echo
3594 fi
3595 fi
3596
3597
3598 # Define the identity of the package.
3599 PACKAGE='libstdc++'
3600 VERSION='version-unused'
3601
3602
3603 # Some tools Automake needs.
3604
3605 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3606
3607
3608 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3609
3610
3611 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3612
3613
3614 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3615
3616
3617 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3618
3619 # We need awk for the "check" target. The system "awk" is bad on
3620 # some platforms.
3621 # Always define AMTAR for backward compatibility. Yes, it's still used
3622 # in the wild :-( We should find a proper way to deprecate it ...
3623 AMTAR='$${TAR-tar}'
3624
3625 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3626
3627
3628
3629
3630
3631
3632
3633
3634 # -fno-builtin must be present here so that a non-conflicting form of
3635 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3636
3637 save_CXXFLAGS="$CXXFLAGS"
3638 CXXFLAGS="$CXXFLAGS -fno-builtin"
3639 ac_ext=c
3640 ac_cpp='$CPP $CPPFLAGS'
3641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3644 if test -n "$ac_tool_prefix"; then
3645 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3646 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test "${ac_cv_prog_CC+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3651 else
3652 if test -n "$CC"; then
3653 ac_cv_prog_CC="$CC" # Let the user override the test.
3654 else
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3657 do
3658 IFS=$as_save_IFS
3659 test -z "$as_dir" && as_dir=.
3660 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 break 2
3665 fi
3666 done
3667 done
3668 IFS=$as_save_IFS
3669
3670 fi
3671 fi
3672 CC=$ac_cv_prog_CC
3673 if test -n "$CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3676 else
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3679 fi
3680
3681
3682 fi
3683 if test -z "$ac_cv_prog_CC"; then
3684 ac_ct_CC=$CC
3685 # Extract the first word of "gcc", so it can be a program name with args.
3686 set dummy gcc; ac_word=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3690 $as_echo_n "(cached) " >&6
3691 else
3692 if test -n "$ac_ct_CC"; then
3693 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3694 else
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 for as_dir in $PATH
3697 do
3698 IFS=$as_save_IFS
3699 test -z "$as_dir" && as_dir=.
3700 for ac_exec_ext in '' $ac_executable_extensions; do
3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3702 ac_cv_prog_ac_ct_CC="gcc"
3703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 break 2
3705 fi
3706 done
3707 done
3708 IFS=$as_save_IFS
3709
3710 fi
3711 fi
3712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3713 if test -n "$ac_ct_CC"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3715 $as_echo "$ac_ct_CC" >&6; }
3716 else
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3718 $as_echo "no" >&6; }
3719 fi
3720
3721 if test "x$ac_ct_CC" = x; then
3722 CC=""
3723 else
3724 case $cross_compiling:$ac_tool_warned in
3725 yes:)
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3728 ac_tool_warned=yes ;;
3729 esac
3730 CC=$ac_ct_CC
3731 fi
3732 else
3733 CC="$ac_cv_prog_CC"
3734 fi
3735
3736 if test -z "$CC"; then
3737 if test -n "$ac_tool_prefix"; then
3738 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3739 set dummy ${ac_tool_prefix}cc; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_CC+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3750 do
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_CC="${ac_tool_prefix}cc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 break 2
3758 fi
3759 done
3760 done
3761 IFS=$as_save_IFS
3762
3763 fi
3764 fi
3765 CC=$ac_cv_prog_CC
3766 if test -n "$CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3768 $as_echo "$CC" >&6; }
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3772 fi
3773
3774
3775 fi
3776 fi
3777 if test -z "$CC"; then
3778 # Extract the first word of "cc", so it can be a program name with args.
3779 set dummy cc; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_CC+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3784 else
3785 if test -n "$CC"; then
3786 ac_cv_prog_CC="$CC" # Let the user override the test.
3787 else
3788 ac_prog_rejected=no
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3791 do
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3797 ac_prog_rejected=yes
3798 continue
3799 fi
3800 ac_cv_prog_CC="cc"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 break 2
3803 fi
3804 done
3805 done
3806 IFS=$as_save_IFS
3807
3808 if test $ac_prog_rejected = yes; then
3809 # We found a bogon in the path, so make sure we never use it.
3810 set dummy $ac_cv_prog_CC
3811 shift
3812 if test $# != 0; then
3813 # We chose a different compiler from the bogus one.
3814 # However, it has the same basename, so the bogon will be chosen
3815 # first if we set CC to just the basename; use the full file name.
3816 shift
3817 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3818 fi
3819 fi
3820 fi
3821 fi
3822 CC=$ac_cv_prog_CC
3823 if test -n "$CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3826 else
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3829 fi
3830
3831
3832 fi
3833 if test -z "$CC"; then
3834 if test -n "$ac_tool_prefix"; then
3835 for ac_prog in cl.exe
3836 do
3837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if test "${ac_cv_prog_CC+set}" = set; then :
3842 $as_echo_n "(cached) " >&6
3843 else
3844 if test -n "$CC"; then
3845 ac_cv_prog_CC="$CC" # Let the user override the test.
3846 else
3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 for as_dir in $PATH
3849 do
3850 IFS=$as_save_IFS
3851 test -z "$as_dir" && as_dir=.
3852 for ac_exec_ext in '' $ac_executable_extensions; do
3853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3854 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 break 2
3857 fi
3858 done
3859 done
3860 IFS=$as_save_IFS
3861
3862 fi
3863 fi
3864 CC=$ac_cv_prog_CC
3865 if test -n "$CC"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3867 $as_echo "$CC" >&6; }
3868 else
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3871 fi
3872
3873
3874 test -n "$CC" && break
3875 done
3876 fi
3877 if test -z "$CC"; then
3878 ac_ct_CC=$CC
3879 for ac_prog in cl.exe
3880 do
3881 # Extract the first word of "$ac_prog", so it can be a program name with args.
3882 set dummy $ac_prog; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3886 $as_echo_n "(cached) " >&6
3887 else
3888 if test -n "$ac_ct_CC"; then
3889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3890 else
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 for as_dir in $PATH
3893 do
3894 IFS=$as_save_IFS
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3898 ac_cv_prog_ac_ct_CC="$ac_prog"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3901 fi
3902 done
3903 done
3904 IFS=$as_save_IFS
3905
3906 fi
3907 fi
3908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3909 if test -n "$ac_ct_CC"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3911 $as_echo "$ac_ct_CC" >&6; }
3912 else
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3915 fi
3916
3917
3918 test -n "$ac_ct_CC" && break
3919 done
3920
3921 if test "x$ac_ct_CC" = x; then
3922 CC=""
3923 else
3924 case $cross_compiling:$ac_tool_warned in
3925 yes:)
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3928 ac_tool_warned=yes ;;
3929 esac
3930 CC=$ac_ct_CC
3931 fi
3932 fi
3933
3934 fi
3935
3936
3937 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error "no acceptable C compiler found in \$PATH
3940 See \`config.log' for more details." "$LINENO" 5; }
3941
3942 # Provide some information about the compiler.
3943 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3944 set X $ac_compile
3945 ac_compiler=$2
3946 for ac_option in --version -v -V -qversion; do
3947 { { ac_try="$ac_compiler $ac_option >&5"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3955 ac_status=$?
3956 if test -s conftest.err; then
3957 sed '10a\
3958 ... rest of stderr output deleted ...
3959 10q' conftest.err >conftest.er1
3960 cat conftest.er1 >&5
3961 rm -f conftest.er1 conftest.err
3962 fi
3963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964 test $ac_status = 0; }
3965 done
3966
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3969
3970 int
3971 main ()
3972 {
3973
3974 ;
3975 return 0;
3976 }
3977 _ACEOF
3978 # FIXME: Cleanup?
3979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3980 (eval $ac_link) 2>&5
3981 ac_status=$?
3982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3983 test $ac_status = 0; }; then :
3984 gcc_no_link=no
3985 else
3986 gcc_no_link=yes
3987 fi
3988 if test x$gcc_no_link = xyes; then
3989 # Setting cross_compile will disable run tests; it will
3990 # also disable AC_CHECK_FILE but that's generally
3991 # correct if we can't link.
3992 cross_compiling=yes
3993 EXEEXT=
3994 else
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
3997
3998 int
3999 main ()
4000 {
4001
4002 ;
4003 return 0;
4004 }
4005 _ACEOF
4006 ac_clean_files_save=$ac_clean_files
4007 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4008 # Try to create an executable without -o first, disregard a.out.
4009 # It will help us diagnose broken compilers, and finding out an intuition
4010 # of exeext.
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4012 $as_echo_n "checking for C compiler default output file name... " >&6; }
4013 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4014
4015 # The possible output files:
4016 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4017
4018 ac_rmfiles=
4019 for ac_file in $ac_files
4020 do
4021 case $ac_file in
4022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4023 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4024 esac
4025 done
4026 rm -f $ac_rmfiles
4027
4028 if { { ac_try="$ac_link_default"
4029 case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link_default") 2>&5
4036 ac_status=$?
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4040 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4041 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4042 # so that the user can short-circuit this test for compilers unknown to
4043 # Autoconf.
4044 for ac_file in $ac_files ''
4045 do
4046 test -f "$ac_file" || continue
4047 case $ac_file in
4048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4049 ;;
4050 [ab].out )
4051 # We found the default executable, but exeext='' is most
4052 # certainly right.
4053 break;;
4054 *.* )
4055 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4056 then :; else
4057 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4058 fi
4059 # We set ac_cv_exeext here because the later test for it is not
4060 # safe: cross compilers may not add the suffix if given an `-o'
4061 # argument, so we may need to know it at that point already.
4062 # Even if this section looks crufty: it has the advantage of
4063 # actually working.
4064 break;;
4065 * )
4066 break;;
4067 esac
4068 done
4069 test "$ac_cv_exeext" = no && ac_cv_exeext=
4070
4071 else
4072 ac_file=''
4073 fi
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4075 $as_echo "$ac_file" >&6; }
4076 if test -z "$ac_file"; then :
4077 $as_echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.$ac_ext >&5
4079
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 { as_fn_set_status 77
4083 as_fn_error "C compiler cannot create executables
4084 See \`config.log' for more details." "$LINENO" 5; }; }
4085 fi
4086 ac_exeext=$ac_cv_exeext
4087
4088 # Check that the compiler produces executables we can run. If not, either
4089 # the compiler is broken, or we cross compile.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4091 $as_echo_n "checking whether the C compiler works... " >&6; }
4092 # If not cross compiling, check that we can run a simple program.
4093 if test "$cross_compiling" != yes; then
4094 if { ac_try='./$ac_file'
4095 { { case "(($ac_try" in
4096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097 *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101 (eval "$ac_try") 2>&5
4102 ac_status=$?
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }; }; then
4105 cross_compiling=no
4106 else
4107 if test "$cross_compiling" = maybe; then
4108 cross_compiling=yes
4109 else
4110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error "cannot run C compiled programs.
4113 If you meant to cross compile, use \`--host'.
4114 See \`config.log' for more details." "$LINENO" 5; }
4115 fi
4116 fi
4117 fi
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4119 $as_echo "yes" >&6; }
4120
4121 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4122 ac_clean_files=$ac_clean_files_save
4123 # Check that the compiler produces executables we can run. If not, either
4124 # the compiler is broken, or we cross compile.
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4126 $as_echo_n "checking whether we are cross compiling... " >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4128 $as_echo "$cross_compiling" >&6; }
4129
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4131 $as_echo_n "checking for suffix of executables... " >&6; }
4132 if { { ac_try="$ac_link"
4133 case "(($ac_try" in
4134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4136 esac
4137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$ac_try_echo"; } >&5
4139 (eval "$ac_link") 2>&5
4140 ac_status=$?
4141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4142 test $ac_status = 0; }; then :
4143 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4144 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4145 # work properly (i.e., refer to `conftest.exe'), while it won't with
4146 # `rm'.
4147 for ac_file in conftest.exe conftest conftest.*; do
4148 test -f "$ac_file" || continue
4149 case $ac_file in
4150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4151 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4152 break;;
4153 * ) break;;
4154 esac
4155 done
4156 else
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error "cannot compute suffix of executables: cannot compile and link
4160 See \`config.log' for more details." "$LINENO" 5; }
4161 fi
4162 rm -f conftest$ac_cv_exeext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4164 $as_echo "$ac_cv_exeext" >&6; }
4165
4166 rm -f conftest.$ac_ext
4167 EXEEXT=$ac_cv_exeext
4168 ac_exeext=$EXEEXT
4169 fi
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4171 $as_echo_n "checking for suffix of object files... " >&6; }
4172 if test "${ac_cv_objext+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4177
4178 int
4179 main ()
4180 {
4181
4182 ;
4183 return 0;
4184 }
4185 _ACEOF
4186 rm -f conftest.o conftest.obj
4187 if { { ac_try="$ac_compile"
4188 case "(($ac_try" in
4189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4190 *) ac_try_echo=$ac_try;;
4191 esac
4192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4193 $as_echo "$ac_try_echo"; } >&5
4194 (eval "$ac_compile") 2>&5
4195 ac_status=$?
4196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4197 test $ac_status = 0; }; then :
4198 for ac_file in conftest.o conftest.obj conftest.*; do
4199 test -f "$ac_file" || continue;
4200 case $ac_file in
4201 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4202 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4203 break;;
4204 esac
4205 done
4206 else
4207 $as_echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4209
4210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4212 as_fn_error "cannot compute suffix of object files: cannot compile
4213 See \`config.log' for more details." "$LINENO" 5; }
4214 fi
4215 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4216 fi
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4218 $as_echo "$ac_cv_objext" >&6; }
4219 OBJEXT=$ac_cv_objext
4220 ac_objext=$OBJEXT
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4222 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4223 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4224 $as_echo_n "(cached) " >&6
4225 else
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4228
4229 int
4230 main ()
4231 {
4232 #ifndef __GNUC__
4233 choke me
4234 #endif
4235
4236 ;
4237 return 0;
4238 }
4239 _ACEOF
4240 if ac_fn_c_try_compile "$LINENO"; then :
4241 ac_compiler_gnu=yes
4242 else
4243 ac_compiler_gnu=no
4244 fi
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4247
4248 fi
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4250 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4251 if test $ac_compiler_gnu = yes; then
4252 GCC=yes
4253 else
4254 GCC=
4255 fi
4256 ac_test_CFLAGS=${CFLAGS+set}
4257 ac_save_CFLAGS=$CFLAGS
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4259 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4260 if test "${ac_cv_prog_cc_g+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4262 else
4263 ac_save_c_werror_flag=$ac_c_werror_flag
4264 ac_c_werror_flag=yes
4265 ac_cv_prog_cc_g=no
4266 CFLAGS="-g"
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4269
4270 int
4271 main ()
4272 {
4273
4274 ;
4275 return 0;
4276 }
4277 _ACEOF
4278 if ac_fn_c_try_compile "$LINENO"; then :
4279 ac_cv_prog_cc_g=yes
4280 else
4281 CFLAGS=""
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4284
4285 int
4286 main ()
4287 {
4288
4289 ;
4290 return 0;
4291 }
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4294
4295 else
4296 ac_c_werror_flag=$ac_save_c_werror_flag
4297 CFLAGS="-g"
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4300
4301 int
4302 main ()
4303 {
4304
4305 ;
4306 return 0;
4307 }
4308 _ACEOF
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310 ac_cv_prog_cc_g=yes
4311 fi
4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4313 fi
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 fi
4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317 ac_c_werror_flag=$ac_save_c_werror_flag
4318 fi
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4320 $as_echo "$ac_cv_prog_cc_g" >&6; }
4321 if test "$ac_test_CFLAGS" = set; then
4322 CFLAGS=$ac_save_CFLAGS
4323 elif test $ac_cv_prog_cc_g = yes; then
4324 if test "$GCC" = yes; then
4325 CFLAGS="-g -O2"
4326 else
4327 CFLAGS="-g"
4328 fi
4329 else
4330 if test "$GCC" = yes; then
4331 CFLAGS="-O2"
4332 else
4333 CFLAGS=
4334 fi
4335 fi
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4337 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4338 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 ac_cv_prog_cc_c89=no
4342 ac_save_CC=$CC
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4345 #include <stdarg.h>
4346 #include <stdio.h>
4347 #include <sys/types.h>
4348 #include <sys/stat.h>
4349 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4350 struct buf { int x; };
4351 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4352 static char *e (p, i)
4353 char **p;
4354 int i;
4355 {
4356 return p[i];
4357 }
4358 static char *f (char * (*g) (char **, int), char **p, ...)
4359 {
4360 char *s;
4361 va_list v;
4362 va_start (v,p);
4363 s = g (p, va_arg (v,int));
4364 va_end (v);
4365 return s;
4366 }
4367
4368 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4369 function prototypes and stuff, but not '\xHH' hex character constants.
4370 These don't provoke an error unfortunately, instead are silently treated
4371 as 'x'. The following induces an error, until -std is added to get
4372 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4373 array size at least. It's necessary to write '\x00'==0 to get something
4374 that's true only with -std. */
4375 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4376
4377 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4378 inside strings and character constants. */
4379 #define FOO(x) 'x'
4380 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4381
4382 int test (int i, double x);
4383 struct s1 {int (*f) (int a);};
4384 struct s2 {int (*f) (double a);};
4385 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4386 int argc;
4387 char **argv;
4388 int
4389 main ()
4390 {
4391 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4392 ;
4393 return 0;
4394 }
4395 _ACEOF
4396 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4397 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4398 do
4399 CC="$ac_save_CC $ac_arg"
4400 if ac_fn_c_try_compile "$LINENO"; then :
4401 ac_cv_prog_cc_c89=$ac_arg
4402 fi
4403 rm -f core conftest.err conftest.$ac_objext
4404 test "x$ac_cv_prog_cc_c89" != "xno" && break
4405 done
4406 rm -f conftest.$ac_ext
4407 CC=$ac_save_CC
4408
4409 fi
4410 # AC_CACHE_VAL
4411 case "x$ac_cv_prog_cc_c89" in
4412 x)
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4414 $as_echo "none needed" >&6; } ;;
4415 xno)
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4417 $as_echo "unsupported" >&6; } ;;
4418 *)
4419 CC="$CC $ac_cv_prog_cc_c89"
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4421 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4422 esac
4423 if test "x$ac_cv_prog_cc_c89" != xno; then :
4424
4425 fi
4426
4427 ac_ext=c
4428 ac_cpp='$CPP $CPPFLAGS'
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4432
4433 ac_ext=cpp
4434 ac_cpp='$CXXCPP $CPPFLAGS'
4435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4438 if test -z "$CXX"; then
4439 if test -n "$CCC"; then
4440 CXX=$CCC
4441 else
4442 if test -n "$ac_tool_prefix"; then
4443 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4444 do
4445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if test "${ac_cv_prog_CXX+set}" = set; then :
4450 $as_echo_n "(cached) " >&6
4451 else
4452 if test -n "$CXX"; then
4453 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4454 else
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 for as_dir in $PATH
4457 do
4458 IFS=$as_save_IFS
4459 test -z "$as_dir" && as_dir=.
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 break 2
4465 fi
4466 done
4467 done
4468 IFS=$as_save_IFS
4469
4470 fi
4471 fi
4472 CXX=$ac_cv_prog_CXX
4473 if test -n "$CXX"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4475 $as_echo "$CXX" >&6; }
4476 else
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4479 fi
4480
4481
4482 test -n "$CXX" && break
4483 done
4484 fi
4485 if test -z "$CXX"; then
4486 ac_ct_CXX=$CXX
4487 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4488 do
4489 # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy $ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4494 $as_echo_n "(cached) " >&6
4495 else
4496 if test -n "$ac_ct_CXX"; then
4497 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4498 else
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4501 do
4502 IFS=$as_save_IFS
4503 test -z "$as_dir" && as_dir=.
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4506 ac_cv_prog_ac_ct_CXX="$ac_prog"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 break 2
4509 fi
4510 done
4511 done
4512 IFS=$as_save_IFS
4513
4514 fi
4515 fi
4516 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4517 if test -n "$ac_ct_CXX"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4519 $as_echo "$ac_ct_CXX" >&6; }
4520 else
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4523 fi
4524
4525
4526 test -n "$ac_ct_CXX" && break
4527 done
4528
4529 if test "x$ac_ct_CXX" = x; then
4530 CXX="g++"
4531 else
4532 case $cross_compiling:$ac_tool_warned in
4533 yes:)
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4536 ac_tool_warned=yes ;;
4537 esac
4538 CXX=$ac_ct_CXX
4539 fi
4540 fi
4541
4542 fi
4543 fi
4544 # Provide some information about the compiler.
4545 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4546 set X $ac_compile
4547 ac_compiler=$2
4548 for ac_option in --version -v -V -qversion; do
4549 { { ac_try="$ac_compiler $ac_option >&5"
4550 case "(($ac_try" in
4551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4552 *) ac_try_echo=$ac_try;;
4553 esac
4554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4555 $as_echo "$ac_try_echo"; } >&5
4556 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4557 ac_status=$?
4558 if test -s conftest.err; then
4559 sed '10a\
4560 ... rest of stderr output deleted ...
4561 10q' conftest.err >conftest.er1
4562 cat conftest.er1 >&5
4563 rm -f conftest.er1 conftest.err
4564 fi
4565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4566 test $ac_status = 0; }
4567 done
4568
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4570 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4571 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4572 $as_echo_n "(cached) " >&6
4573 else
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4576
4577 int
4578 main ()
4579 {
4580 #ifndef __GNUC__
4581 choke me
4582 #endif
4583
4584 ;
4585 return 0;
4586 }
4587 _ACEOF
4588 if ac_fn_cxx_try_compile "$LINENO"; then :
4589 ac_compiler_gnu=yes
4590 else
4591 ac_compiler_gnu=no
4592 fi
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4595
4596 fi
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4598 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4599 if test $ac_compiler_gnu = yes; then
4600 GXX=yes
4601 else
4602 GXX=
4603 fi
4604 ac_test_CXXFLAGS=${CXXFLAGS+set}
4605 ac_save_CXXFLAGS=$CXXFLAGS
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4607 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4608 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4609 $as_echo_n "(cached) " >&6
4610 else
4611 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4612 ac_cxx_werror_flag=yes
4613 ac_cv_prog_cxx_g=no
4614 CXXFLAGS="-g"
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4617
4618 int
4619 main ()
4620 {
4621
4622 ;
4623 return 0;
4624 }
4625 _ACEOF
4626 if ac_fn_cxx_try_compile "$LINENO"; then :
4627 ac_cv_prog_cxx_g=yes
4628 else
4629 CXXFLAGS=""
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4632
4633 int
4634 main ()
4635 {
4636
4637 ;
4638 return 0;
4639 }
4640 _ACEOF
4641 if ac_fn_cxx_try_compile "$LINENO"; then :
4642
4643 else
4644 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4645 CXXFLAGS="-g"
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648
4649 int
4650 main ()
4651 {
4652
4653 ;
4654 return 0;
4655 }
4656 _ACEOF
4657 if ac_fn_cxx_try_compile "$LINENO"; then :
4658 ac_cv_prog_cxx_g=yes
4659 fi
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 fi
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 fi
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4666 fi
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4668 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4669 if test "$ac_test_CXXFLAGS" = set; then
4670 CXXFLAGS=$ac_save_CXXFLAGS
4671 elif test $ac_cv_prog_cxx_g = yes; then
4672 if test "$GXX" = yes; then
4673 CXXFLAGS="-g -O2"
4674 else
4675 CXXFLAGS="-g"
4676 fi
4677 else
4678 if test "$GXX" = yes; then
4679 CXXFLAGS="-O2"
4680 else
4681 CXXFLAGS=
4682 fi
4683 fi
4684 ac_ext=c
4685 ac_cpp='$CPP $CPPFLAGS'
4686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4689
4690 CXXFLAGS="$save_CXXFLAGS"
4691
4692 # Runs configure.host, and assorted other critical bits. Sets
4693 # up critical shell variables.
4694
4695 ac_ext=c
4696 ac_cpp='$CPP $CPPFLAGS'
4697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4701 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4702 # On Suns, sometimes $CPP names a directory.
4703 if test -n "$CPP" && test -d "$CPP"; then
4704 CPP=
4705 fi
4706 if test -z "$CPP"; then
4707 if test "${ac_cv_prog_CPP+set}" = set; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 # Double quotes because CPP needs to be expanded
4711 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4712 do
4713 ac_preproc_ok=false
4714 for ac_c_preproc_warn_flag in '' yes
4715 do
4716 # Use a header file that comes with gcc, so configuring glibc
4717 # with a fresh cross-compiler works.
4718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4719 # <limits.h> exists even on freestanding compilers.
4720 # On the NeXT, cc -E runs the code through the compiler's parser,
4721 # not just through cpp. "Syntax error" is here to catch this case.
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4724 #ifdef __STDC__
4725 # include <limits.h>
4726 #else
4727 # include <assert.h>
4728 #endif
4729 Syntax error
4730 _ACEOF
4731 if ac_fn_c_try_cpp "$LINENO"; then :
4732
4733 else
4734 # Broken: fails on valid input.
4735 continue
4736 fi
4737 rm -f conftest.err conftest.$ac_ext
4738
4739 # OK, works on sane cases. Now check whether nonexistent headers
4740 # can be detected and how.
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 #include <ac_nonexistent.h>
4744 _ACEOF
4745 if ac_fn_c_try_cpp "$LINENO"; then :
4746 # Broken: success on invalid input.
4747 continue
4748 else
4749 # Passes both tests.
4750 ac_preproc_ok=:
4751 break
4752 fi
4753 rm -f conftest.err conftest.$ac_ext
4754
4755 done
4756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4757 rm -f conftest.err conftest.$ac_ext
4758 if $ac_preproc_ok; then :
4759 break
4760 fi
4761
4762 done
4763 ac_cv_prog_CPP=$CPP
4764
4765 fi
4766 CPP=$ac_cv_prog_CPP
4767 else
4768 ac_cv_prog_CPP=$CPP
4769 fi
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4771 $as_echo "$CPP" >&6; }
4772 ac_preproc_ok=false
4773 for ac_c_preproc_warn_flag in '' yes
4774 do
4775 # Use a header file that comes with gcc, so configuring glibc
4776 # with a fresh cross-compiler works.
4777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778 # <limits.h> exists even on freestanding compilers.
4779 # On the NeXT, cc -E runs the code through the compiler's parser,
4780 # not just through cpp. "Syntax error" is here to catch this case.
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4783 #ifdef __STDC__
4784 # include <limits.h>
4785 #else
4786 # include <assert.h>
4787 #endif
4788 Syntax error
4789 _ACEOF
4790 if ac_fn_c_try_cpp "$LINENO"; then :
4791
4792 else
4793 # Broken: fails on valid input.
4794 continue
4795 fi
4796 rm -f conftest.err conftest.$ac_ext
4797
4798 # OK, works on sane cases. Now check whether nonexistent headers
4799 # can be detected and how.
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 #include <ac_nonexistent.h>
4803 _ACEOF
4804 if ac_fn_c_try_cpp "$LINENO"; then :
4805 # Broken: success on invalid input.
4806 continue
4807 else
4808 # Passes both tests.
4809 ac_preproc_ok=:
4810 break
4811 fi
4812 rm -f conftest.err conftest.$ac_ext
4813
4814 done
4815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4816 rm -f conftest.err conftest.$ac_ext
4817 if $ac_preproc_ok; then :
4818
4819 else
4820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4822 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4823 See \`config.log' for more details." "$LINENO" 5; }
4824 fi
4825
4826 ac_ext=c
4827 ac_cpp='$CPP $CPPFLAGS'
4828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4831
4832
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4834 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4835 if test "${ac_cv_path_GREP+set}" = set; then :
4836 $as_echo_n "(cached) " >&6
4837 else
4838 if test -z "$GREP"; then
4839 ac_path_GREP_found=false
4840 # Loop through the user's path and test for each of PROGNAME-LIST
4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4843 do
4844 IFS=$as_save_IFS
4845 test -z "$as_dir" && as_dir=.
4846 for ac_prog in grep ggrep; do
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4849 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4850 # Check for GNU ac_path_GREP and select it if it is found.
4851 # Check for GNU $ac_path_GREP
4852 case `"$ac_path_GREP" --version 2>&1` in
4853 *GNU*)
4854 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4855 *)
4856 ac_count=0
4857 $as_echo_n 0123456789 >"conftest.in"
4858 while :
4859 do
4860 cat "conftest.in" "conftest.in" >"conftest.tmp"
4861 mv "conftest.tmp" "conftest.in"
4862 cp "conftest.in" "conftest.nl"
4863 $as_echo 'GREP' >> "conftest.nl"
4864 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4865 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4866 as_fn_arith $ac_count + 1 && ac_count=$as_val
4867 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4868 # Best one so far, save it but keep looking for a better one
4869 ac_cv_path_GREP="$ac_path_GREP"
4870 ac_path_GREP_max=$ac_count
4871 fi
4872 # 10*(2^10) chars as input seems more than enough
4873 test $ac_count -gt 10 && break
4874 done
4875 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4876 esac
4877
4878 $ac_path_GREP_found && break 3
4879 done
4880 done
4881 done
4882 IFS=$as_save_IFS
4883 if test -z "$ac_cv_path_GREP"; then
4884 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4885 fi
4886 else
4887 ac_cv_path_GREP=$GREP
4888 fi
4889
4890 fi
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4892 $as_echo "$ac_cv_path_GREP" >&6; }
4893 GREP="$ac_cv_path_GREP"
4894
4895
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4897 $as_echo_n "checking for egrep... " >&6; }
4898 if test "${ac_cv_path_EGREP+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4902 then ac_cv_path_EGREP="$GREP -E"
4903 else
4904 if test -z "$EGREP"; then
4905 ac_path_EGREP_found=false
4906 # Loop through the user's path and test for each of PROGNAME-LIST
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4909 do
4910 IFS=$as_save_IFS
4911 test -z "$as_dir" && as_dir=.
4912 for ac_prog in egrep; do
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4915 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4916 # Check for GNU ac_path_EGREP and select it if it is found.
4917 # Check for GNU $ac_path_EGREP
4918 case `"$ac_path_EGREP" --version 2>&1` in
4919 *GNU*)
4920 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4921 *)
4922 ac_count=0
4923 $as_echo_n 0123456789 >"conftest.in"
4924 while :
4925 do
4926 cat "conftest.in" "conftest.in" >"conftest.tmp"
4927 mv "conftest.tmp" "conftest.in"
4928 cp "conftest.in" "conftest.nl"
4929 $as_echo 'EGREP' >> "conftest.nl"
4930 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4931 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4932 as_fn_arith $ac_count + 1 && ac_count=$as_val
4933 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4934 # Best one so far, save it but keep looking for a better one
4935 ac_cv_path_EGREP="$ac_path_EGREP"
4936 ac_path_EGREP_max=$ac_count
4937 fi
4938 # 10*(2^10) chars as input seems more than enough
4939 test $ac_count -gt 10 && break
4940 done
4941 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4942 esac
4943
4944 $ac_path_EGREP_found && break 3
4945 done
4946 done
4947 done
4948 IFS=$as_save_IFS
4949 if test -z "$ac_cv_path_EGREP"; then
4950 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4951 fi
4952 else
4953 ac_cv_path_EGREP=$EGREP
4954 fi
4955
4956 fi
4957 fi
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4959 $as_echo "$ac_cv_path_EGREP" >&6; }
4960 EGREP="$ac_cv_path_EGREP"
4961
4962
4963
4964 # Keep these sync'd with the list in Makefile.am. The first provides an
4965 # expandable list at autoconf time; the second provides an expandable list
4966 # (i.e., shell variable) at configure time.
4967
4968 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
4969
4970 # These need to be absolute paths, yet at the same time need to
4971 # canonicalize only relative paths, because then amd will not unmount
4972 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4973 glibcxx_builddir=`${PWDCMD-pwd}`
4974 case $srcdir in
4975 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4976 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4977 esac
4978 toplevel_builddir=${glibcxx_builddir}/..
4979 toplevel_srcdir=${glibcxx_srcdir}/..
4980
4981
4982
4983
4984
4985 # We use these options to decide which functions to include. They are
4986 # set from the top level.
4987
4988 # Check whether --with-target-subdir was given.
4989 if test "${with_target_subdir+set}" = set; then :
4990 withval=$with_target_subdir;
4991 fi
4992
4993
4994
4995 # Check whether --with-cross-host was given.
4996 if test "${with_cross_host+set}" = set; then :
4997 withval=$with_cross_host;
4998 fi
4999
5000
5001
5002 # Check whether --with-newlib was given.
5003 if test "${with_newlib+set}" = set; then :
5004 withval=$with_newlib;
5005 fi
5006
5007
5008 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5009 # available). Uncomment the next line to force a particular method.
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5011 $as_echo_n "checking whether ln -s works... " >&6; }
5012 LN_S=$as_ln_s
5013 if test "$LN_S" = "ln -s"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5015 $as_echo "yes" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5018 $as_echo "no, using $LN_S" >&6; }
5019 fi
5020
5021 #LN_S='cp -p'
5022
5023 if test -n "$ac_tool_prefix"; then
5024 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5025 set dummy ${ac_tool_prefix}as; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_AS+set}" = set; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 if test -n "$AS"; then
5032 ac_cv_prog_AS="$AS" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5036 do
5037 IFS=$as_save_IFS
5038 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_AS="${ac_tool_prefix}as"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 break 2
5044 fi
5045 done
5046 done
5047 IFS=$as_save_IFS
5048
5049 fi
5050 fi
5051 AS=$ac_cv_prog_AS
5052 if test -n "$AS"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5054 $as_echo "$AS" >&6; }
5055 else
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5058 fi
5059
5060
5061 fi
5062 if test -z "$ac_cv_prog_AS"; then
5063 ac_ct_AS=$AS
5064 # Extract the first word of "as", so it can be a program name with args.
5065 set dummy as; ac_word=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5069 $as_echo_n "(cached) " >&6
5070 else
5071 if test -n "$ac_ct_AS"; then
5072 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5073 else
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 for as_dir in $PATH
5076 do
5077 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_prog_ac_ct_AS="as"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2
5084 fi
5085 done
5086 done
5087 IFS=$as_save_IFS
5088
5089 fi
5090 fi
5091 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5092 if test -n "$ac_ct_AS"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5094 $as_echo "$ac_ct_AS" >&6; }
5095 else
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5098 fi
5099
5100 if test "x$ac_ct_AS" = x; then
5101 AS=""
5102 else
5103 case $cross_compiling:$ac_tool_warned in
5104 yes:)
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5107 ac_tool_warned=yes ;;
5108 esac
5109 AS=$ac_ct_AS
5110 fi
5111 else
5112 AS="$ac_cv_prog_AS"
5113 fi
5114
5115 if test -n "$ac_tool_prefix"; then
5116 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5117 set dummy ${ac_tool_prefix}ar; ac_word=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_AR+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5122 else
5123 if test -n "$AR"; then
5124 ac_cv_prog_AR="$AR" # Let the user override the test.
5125 else
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5128 do
5129 IFS=$as_save_IFS
5130 test -z "$as_dir" && as_dir=.
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 ac_cv_prog_AR="${ac_tool_prefix}ar"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 break 2
5136 fi
5137 done
5138 done
5139 IFS=$as_save_IFS
5140
5141 fi
5142 fi
5143 AR=$ac_cv_prog_AR
5144 if test -n "$AR"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5146 $as_echo "$AR" >&6; }
5147 else
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5150 fi
5151
5152
5153 fi
5154 if test -z "$ac_cv_prog_AR"; then
5155 ac_ct_AR=$AR
5156 # Extract the first word of "ar", so it can be a program name with args.
5157 set dummy ar; ac_word=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 if test -n "$ac_ct_AR"; then
5164 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5165 else
5166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 for as_dir in $PATH
5168 do
5169 IFS=$as_save_IFS
5170 test -z "$as_dir" && as_dir=.
5171 for ac_exec_ext in '' $ac_executable_extensions; do
5172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5173 ac_cv_prog_ac_ct_AR="ar"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 break 2
5176 fi
5177 done
5178 done
5179 IFS=$as_save_IFS
5180
5181 fi
5182 fi
5183 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5184 if test -n "$ac_ct_AR"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5186 $as_echo "$ac_ct_AR" >&6; }
5187 else
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5190 fi
5191
5192 if test "x$ac_ct_AR" = x; then
5193 AR=""
5194 else
5195 case $cross_compiling:$ac_tool_warned in
5196 yes:)
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5199 ac_tool_warned=yes ;;
5200 esac
5201 AR=$ac_ct_AR
5202 fi
5203 else
5204 AR="$ac_cv_prog_AR"
5205 fi
5206
5207 if test -n "$ac_tool_prefix"; then
5208 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5209 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5213 $as_echo_n "(cached) " >&6
5214 else
5215 if test -n "$RANLIB"; then
5216 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5217 else
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 for as_dir in $PATH
5220 do
5221 IFS=$as_save_IFS
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 break 2
5228 fi
5229 done
5230 done
5231 IFS=$as_save_IFS
5232
5233 fi
5234 fi
5235 RANLIB=$ac_cv_prog_RANLIB
5236 if test -n "$RANLIB"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5238 $as_echo "$RANLIB" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5242 fi
5243
5244
5245 fi
5246 if test -z "$ac_cv_prog_RANLIB"; then
5247 ac_ct_RANLIB=$RANLIB
5248 # Extract the first word of "ranlib", so it can be a program name with args.
5249 set dummy ranlib; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 if test -n "$ac_ct_RANLIB"; then
5256 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5257 else
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 for as_dir in $PATH
5260 do
5261 IFS=$as_save_IFS
5262 test -z "$as_dir" && as_dir=.
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265 ac_cv_prog_ac_ct_RANLIB="ranlib"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 break 2
5268 fi
5269 done
5270 done
5271 IFS=$as_save_IFS
5272
5273 fi
5274 fi
5275 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5276 if test -n "$ac_ct_RANLIB"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5278 $as_echo "$ac_ct_RANLIB" >&6; }
5279 else
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5282 fi
5283
5284 if test "x$ac_ct_RANLIB" = x; then
5285 RANLIB="ranlib-not-found-in-path-error"
5286 else
5287 case $cross_compiling:$ac_tool_warned in
5288 yes:)
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5291 ac_tool_warned=yes ;;
5292 esac
5293 RANLIB=$ac_ct_RANLIB
5294 fi
5295 else
5296 RANLIB="$ac_cv_prog_RANLIB"
5297 fi
5298
5299
5300
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5302 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5303 # Check whether --enable-maintainer-mode was given.
5304 if test "${enable_maintainer_mode+set}" = set; then :
5305 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5306 else
5307 USE_MAINTAINER_MODE=no
5308 fi
5309
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5311 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5312 if test $USE_MAINTAINER_MODE = yes; then
5313 MAINTAINER_MODE_TRUE=
5314 MAINTAINER_MODE_FALSE='#'
5315 else
5316 MAINTAINER_MODE_TRUE='#'
5317 MAINTAINER_MODE_FALSE=
5318 fi
5319
5320 MAINT=$MAINTAINER_MODE_TRUE
5321
5322
5323
5324 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5325 # which are themselves conditionally expanded.
5326 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5327 ## other macros from doing the same. This should be automated.) -pme
5328
5329 # Check for C library flavor since GNU/Linux platforms use different
5330 # configuration directories depending on the C library in use.
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5333
5334 #include <stdio.h>
5335 #if __UCLIBC__
5336 _using_uclibc
5337 #endif
5338
5339 _ACEOF
5340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5341 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5342 uclibc=yes
5343 else
5344 uclibc=no
5345 fi
5346 rm -f conftest*
5347
5348
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5351
5352 #include <stdio.h>
5353 #if __BIONIC__
5354 _using_bionic
5355 #endif
5356
5357 _ACEOF
5358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5359 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5360 bionic=yes
5361 else
5362 bionic=no
5363 fi
5364 rm -f conftest*
5365
5366
5367 # Find platform-specific directories containing configuration info.
5368 # Also possibly modify flags used elsewhere, as needed by the platform.
5369
5370 . $glibcxx_srcdir/configure.host
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5372 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5374 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5375
5376
5377
5378 # Libtool setup.
5379 if test "x${with_newlib}" != "xyes"; then
5380 enable_dlopen=yes
5381
5382
5383
5384 fi
5385 case `pwd` in
5386 *\ * | *\ *)
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5388 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5389 esac
5390
5391
5392
5393 macro_version='2.2.7a'
5394 macro_revision='1.3134'
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408 ltmain="$ac_aux_dir/ltmain.sh"
5409
5410 # Backslashify metacharacters that are still active within
5411 # double-quoted strings.
5412 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5413
5414 # Same as above, but do not quote variable references.
5415 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5416
5417 # Sed substitution to delay expansion of an escaped shell variable in a
5418 # double_quote_subst'ed string.
5419 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5420
5421 # Sed substitution to delay expansion of an escaped single quote.
5422 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5423
5424 # Sed substitution to avoid accidental globbing in evaled expressions
5425 no_glob_subst='s/\*/\\\*/g'
5426
5427 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5428 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5429 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5430
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5432 $as_echo_n "checking how to print strings... " >&6; }
5433 # Test print first, because it will be a builtin if present.
5434 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5435 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5436 ECHO='print -r --'
5437 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5438 ECHO='printf %s\n'
5439 else
5440 # Use this function as a fallback that always works.
5441 func_fallback_echo ()
5442 {
5443 eval 'cat <<_LTECHO_EOF
5444 $1
5445 _LTECHO_EOF'
5446 }
5447 ECHO='func_fallback_echo'
5448 fi
5449
5450 # func_echo_all arg...
5451 # Invoke $ECHO with all args, space-separated.
5452 func_echo_all ()
5453 {
5454 $ECHO ""
5455 }
5456
5457 case "$ECHO" in
5458 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5459 $as_echo "printf" >&6; } ;;
5460 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5461 $as_echo "print -r" >&6; } ;;
5462 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5463 $as_echo "cat" >&6; } ;;
5464 esac
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5480 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5481 if test "${ac_cv_path_SED+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5485 for ac_i in 1 2 3 4 5 6 7; do
5486 ac_script="$ac_script$as_nl$ac_script"
5487 done
5488 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5489 { ac_script=; unset ac_script;}
5490 if test -z "$SED"; then
5491 ac_path_SED_found=false
5492 # Loop through the user's path and test for each of PROGNAME-LIST
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5495 do
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_prog in sed gsed; do
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5501 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5502 # Check for GNU ac_path_SED and select it if it is found.
5503 # Check for GNU $ac_path_SED
5504 case `"$ac_path_SED" --version 2>&1` in
5505 *GNU*)
5506 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5507 *)
5508 ac_count=0
5509 $as_echo_n 0123456789 >"conftest.in"
5510 while :
5511 do
5512 cat "conftest.in" "conftest.in" >"conftest.tmp"
5513 mv "conftest.tmp" "conftest.in"
5514 cp "conftest.in" "conftest.nl"
5515 $as_echo '' >> "conftest.nl"
5516 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5518 as_fn_arith $ac_count + 1 && ac_count=$as_val
5519 if test $ac_count -gt ${ac_path_SED_max-0}; then
5520 # Best one so far, save it but keep looking for a better one
5521 ac_cv_path_SED="$ac_path_SED"
5522 ac_path_SED_max=$ac_count
5523 fi
5524 # 10*(2^10) chars as input seems more than enough
5525 test $ac_count -gt 10 && break
5526 done
5527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5528 esac
5529
5530 $ac_path_SED_found && break 3
5531 done
5532 done
5533 done
5534 IFS=$as_save_IFS
5535 if test -z "$ac_cv_path_SED"; then
5536 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5537 fi
5538 else
5539 ac_cv_path_SED=$SED
5540 fi
5541
5542 fi
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5544 $as_echo "$ac_cv_path_SED" >&6; }
5545 SED="$ac_cv_path_SED"
5546 rm -f conftest.sed
5547
5548 test -z "$SED" && SED=sed
5549 Xsed="$SED -e 1s/^X//"
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5562 $as_echo_n "checking for fgrep... " >&6; }
5563 if test "${ac_cv_path_FGREP+set}" = set; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5567 then ac_cv_path_FGREP="$GREP -F"
5568 else
5569 if test -z "$FGREP"; then
5570 ac_path_FGREP_found=false
5571 # Loop through the user's path and test for each of PROGNAME-LIST
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5574 do
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_prog in fgrep; do
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5580 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5581 # Check for GNU ac_path_FGREP and select it if it is found.
5582 # Check for GNU $ac_path_FGREP
5583 case `"$ac_path_FGREP" --version 2>&1` in
5584 *GNU*)
5585 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5586 *)
5587 ac_count=0
5588 $as_echo_n 0123456789 >"conftest.in"
5589 while :
5590 do
5591 cat "conftest.in" "conftest.in" >"conftest.tmp"
5592 mv "conftest.tmp" "conftest.in"
5593 cp "conftest.in" "conftest.nl"
5594 $as_echo 'FGREP' >> "conftest.nl"
5595 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5597 as_fn_arith $ac_count + 1 && ac_count=$as_val
5598 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5599 # Best one so far, save it but keep looking for a better one
5600 ac_cv_path_FGREP="$ac_path_FGREP"
5601 ac_path_FGREP_max=$ac_count
5602 fi
5603 # 10*(2^10) chars as input seems more than enough
5604 test $ac_count -gt 10 && break
5605 done
5606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5607 esac
5608
5609 $ac_path_FGREP_found && break 3
5610 done
5611 done
5612 done
5613 IFS=$as_save_IFS
5614 if test -z "$ac_cv_path_FGREP"; then
5615 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5616 fi
5617 else
5618 ac_cv_path_FGREP=$FGREP
5619 fi
5620
5621 fi
5622 fi
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5624 $as_echo "$ac_cv_path_FGREP" >&6; }
5625 FGREP="$ac_cv_path_FGREP"
5626
5627
5628 test -z "$GREP" && GREP=grep
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648 # Check whether --with-gnu-ld was given.
5649 if test "${with_gnu_ld+set}" = set; then :
5650 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5651 else
5652 with_gnu_ld=no
5653 fi
5654
5655 ac_prog=ld
5656 if test "$GCC" = yes; then
5657 # Check if gcc -print-prog-name=ld gives a path.
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5659 $as_echo_n "checking for ld used by $CC... " >&6; }
5660 case $host in
5661 *-*-mingw*)
5662 # gcc leaves a trailing carriage return which upsets mingw
5663 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5664 *)
5665 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5666 esac
5667 case $ac_prog in
5668 # Accept absolute paths.
5669 [\\/]* | ?:[\\/]*)
5670 re_direlt='/[^/][^/]*/\.\./'
5671 # Canonicalize the pathname of ld
5672 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5673 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5674 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5675 done
5676 test -z "$LD" && LD="$ac_prog"
5677 ;;
5678 "")
5679 # If it fails, then pretend we aren't using GCC.
5680 ac_prog=ld
5681 ;;
5682 *)
5683 # If it is relative, then search for the first ld in PATH.
5684 with_gnu_ld=unknown
5685 ;;
5686 esac
5687 elif test "$with_gnu_ld" = yes; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5689 $as_echo_n "checking for GNU ld... " >&6; }
5690 else
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5692 $as_echo_n "checking for non-GNU ld... " >&6; }
5693 fi
5694 if test "${lt_cv_path_LD+set}" = set; then :
5695 $as_echo_n "(cached) " >&6
5696 else
5697 if test -z "$LD"; then
5698 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5699 for ac_dir in $PATH; do
5700 IFS="$lt_save_ifs"
5701 test -z "$ac_dir" && ac_dir=.
5702 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5703 lt_cv_path_LD="$ac_dir/$ac_prog"
5704 # Check to see if the program is GNU ld. I'd rather use --version,
5705 # but apparently some variants of GNU ld only accept -v.
5706 # Break only if it was the GNU/non-GNU ld that we prefer.
5707 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5708 *GNU* | *'with BFD'*)
5709 test "$with_gnu_ld" != no && break
5710 ;;
5711 *)
5712 test "$with_gnu_ld" != yes && break
5713 ;;
5714 esac
5715 fi
5716 done
5717 IFS="$lt_save_ifs"
5718 else
5719 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5720 fi
5721 fi
5722
5723 LD="$lt_cv_path_LD"
5724 if test -n "$LD"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5726 $as_echo "$LD" >&6; }
5727 else
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5730 fi
5731 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5733 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5734 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5738 case `$LD -v 2>&1 </dev/null` in
5739 *GNU* | *'with BFD'*)
5740 lt_cv_prog_gnu_ld=yes
5741 ;;
5742 *)
5743 lt_cv_prog_gnu_ld=no
5744 ;;
5745 esac
5746 fi
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5748 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5749 with_gnu_ld=$lt_cv_prog_gnu_ld
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5760 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5761 if test "${lt_cv_path_NM+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5763 else
5764 if test -n "$NM"; then
5765 # Let the user override the test.
5766 lt_cv_path_NM="$NM"
5767 else
5768 lt_nm_to_check="${ac_tool_prefix}nm"
5769 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5770 lt_nm_to_check="$lt_nm_to_check nm"
5771 fi
5772 for lt_tmp_nm in $lt_nm_to_check; do
5773 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5774 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5775 IFS="$lt_save_ifs"
5776 test -z "$ac_dir" && ac_dir=.
5777 tmp_nm="$ac_dir/$lt_tmp_nm"
5778 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5779 # Check to see if the nm accepts a BSD-compat flag.
5780 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5781 # nm: unknown option "B" ignored
5782 # Tru64's nm complains that /dev/null is an invalid object file
5783 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5784 */dev/null* | *'Invalid file or object type'*)
5785 lt_cv_path_NM="$tmp_nm -B"
5786 break
5787 ;;
5788 *)
5789 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5790 */dev/null*)
5791 lt_cv_path_NM="$tmp_nm -p"
5792 break
5793 ;;
5794 *)
5795 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5796 continue # so that we can try to find one that supports BSD flags
5797 ;;
5798 esac
5799 ;;
5800 esac
5801 fi
5802 done
5803 IFS="$lt_save_ifs"
5804 done
5805 : ${lt_cv_path_NM=no}
5806 fi
5807 fi
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5809 $as_echo "$lt_cv_path_NM" >&6; }
5810 if test "$lt_cv_path_NM" != "no"; then
5811 NM="$lt_cv_path_NM"
5812 else
5813 # Didn't find any BSD compatible name lister, look for dumpbin.
5814 if test -n "$DUMPBIN"; then :
5815 # Let the user override the test.
5816 else
5817 if test -n "$ac_tool_prefix"; then
5818 for ac_prog in dumpbin "link -dump"
5819 do
5820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$DUMPBIN"; then
5828 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5832 do
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5837 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5840 fi
5841 done
5842 done
5843 IFS=$as_save_IFS
5844
5845 fi
5846 fi
5847 DUMPBIN=$ac_cv_prog_DUMPBIN
5848 if test -n "$DUMPBIN"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5850 $as_echo "$DUMPBIN" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5854 fi
5855
5856
5857 test -n "$DUMPBIN" && break
5858 done
5859 fi
5860 if test -z "$DUMPBIN"; then
5861 ac_ct_DUMPBIN=$DUMPBIN
5862 for ac_prog in dumpbin "link -dump"
5863 do
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$ac_ct_DUMPBIN"; then
5872 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5876 do
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5881 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5884 fi
5885 done
5886 done
5887 IFS=$as_save_IFS
5888
5889 fi
5890 fi
5891 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5892 if test -n "$ac_ct_DUMPBIN"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5894 $as_echo "$ac_ct_DUMPBIN" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5898 fi
5899
5900
5901 test -n "$ac_ct_DUMPBIN" && break
5902 done
5903
5904 if test "x$ac_ct_DUMPBIN" = x; then
5905 DUMPBIN=":"
5906 else
5907 case $cross_compiling:$ac_tool_warned in
5908 yes:)
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5912 esac
5913 DUMPBIN=$ac_ct_DUMPBIN
5914 fi
5915 fi
5916
5917 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5918 *COFF*)
5919 DUMPBIN="$DUMPBIN -symbols"
5920 ;;
5921 *)
5922 DUMPBIN=:
5923 ;;
5924 esac
5925 fi
5926
5927 if test "$DUMPBIN" != ":"; then
5928 NM="$DUMPBIN"
5929 fi
5930 fi
5931 test -z "$NM" && NM=nm
5932
5933
5934
5935
5936
5937
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5939 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5940 if test "${lt_cv_nm_interface+set}" = set; then :
5941 $as_echo_n "(cached) " >&6
5942 else
5943 lt_cv_nm_interface="BSD nm"
5944 echo "int some_variable = 0;" > conftest.$ac_ext
5945 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5946 (eval "$ac_compile" 2>conftest.err)
5947 cat conftest.err >&5
5948 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5949 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5950 cat conftest.err >&5
5951 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5952 cat conftest.out >&5
5953 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5954 lt_cv_nm_interface="MS dumpbin"
5955 fi
5956 rm -f conftest*
5957 fi
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5959 $as_echo "$lt_cv_nm_interface" >&6; }
5960
5961 # find the maximum length of command line arguments
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5963 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5964 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 i=0
5968 teststring="ABCD"
5969
5970 case $build_os in
5971 msdosdjgpp*)
5972 # On DJGPP, this test can blow up pretty badly due to problems in libc
5973 # (any single argument exceeding 2000 bytes causes a buffer overrun
5974 # during glob expansion). Even if it were fixed, the result of this
5975 # check would be larger than it should be.
5976 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5977 ;;
5978
5979 gnu*)
5980 # Under GNU Hurd, this test is not required because there is
5981 # no limit to the length of command line arguments.
5982 # Libtool will interpret -1 as no limit whatsoever
5983 lt_cv_sys_max_cmd_len=-1;
5984 ;;
5985
5986 cygwin* | mingw* | cegcc*)
5987 # On Win9x/ME, this test blows up -- it succeeds, but takes
5988 # about 5 minutes as the teststring grows exponentially.
5989 # Worse, since 9x/ME are not pre-emptively multitasking,
5990 # you end up with a "frozen" computer, even though with patience
5991 # the test eventually succeeds (with a max line length of 256k).
5992 # Instead, let's just punt: use the minimum linelength reported by
5993 # all of the supported platforms: 8192 (on NT/2K/XP).
5994 lt_cv_sys_max_cmd_len=8192;
5995 ;;
5996
5997 mint*)
5998 # On MiNT this can take a long time and run out of memory.
5999 lt_cv_sys_max_cmd_len=8192;
6000 ;;
6001
6002 amigaos*)
6003 # On AmigaOS with pdksh, this test takes hours, literally.
6004 # So we just punt and use a minimum line length of 8192.
6005 lt_cv_sys_max_cmd_len=8192;
6006 ;;
6007
6008 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6009 # This has been around since 386BSD, at least. Likely further.
6010 if test -x /sbin/sysctl; then
6011 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6012 elif test -x /usr/sbin/sysctl; then
6013 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6014 else
6015 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6016 fi
6017 # And add a safety zone
6018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6020 ;;
6021
6022 interix*)
6023 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6024 lt_cv_sys_max_cmd_len=196608
6025 ;;
6026
6027 osf*)
6028 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6029 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6030 # nice to cause kernel panics so lets avoid the loop below.
6031 # First set a reasonable default.
6032 lt_cv_sys_max_cmd_len=16384
6033 #
6034 if test -x /sbin/sysconfig; then
6035 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6036 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6037 esac
6038 fi
6039 ;;
6040 sco3.2v5*)
6041 lt_cv_sys_max_cmd_len=102400
6042 ;;
6043 sysv5* | sco5v6* | sysv4.2uw2*)
6044 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6045 if test -n "$kargmax"; then
6046 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6047 else
6048 lt_cv_sys_max_cmd_len=32768
6049 fi
6050 ;;
6051 *)
6052 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6053 if test -n "$lt_cv_sys_max_cmd_len"; then
6054 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6055 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6056 else
6057 # Make teststring a little bigger before we do anything with it.
6058 # a 1K string should be a reasonable start.
6059 for i in 1 2 3 4 5 6 7 8 ; do
6060 teststring=$teststring$teststring
6061 done
6062 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6063 # If test is not a shell built-in, we'll probably end up computing a
6064 # maximum length that is only half of the actual maximum length, but
6065 # we can't tell.
6066 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6067 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6068 test $i != 17 # 1/2 MB should be enough
6069 do
6070 i=`expr $i + 1`
6071 teststring=$teststring$teststring
6072 done
6073 # Only check the string length outside the loop.
6074 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6075 teststring=
6076 # Add a significant safety factor because C++ compilers can tack on
6077 # massive amounts of additional arguments before passing them to the
6078 # linker. It appears as though 1/2 is a usable value.
6079 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6080 fi
6081 ;;
6082 esac
6083
6084 fi
6085
6086 if test -n $lt_cv_sys_max_cmd_len ; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6088 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6091 $as_echo "none" >&6; }
6092 fi
6093 max_cmd_len=$lt_cv_sys_max_cmd_len
6094
6095
6096
6097
6098
6099
6100 : ${CP="cp -f"}
6101 : ${MV="mv -f"}
6102 : ${RM="rm -f"}
6103
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6105 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6106 # Try some XSI features
6107 xsi_shell=no
6108 ( _lt_dummy="a/b/c"
6109 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6110 = c,a/b,, \
6111 && eval 'test $(( 1 + 1 )) -eq 2 \
6112 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6113 && xsi_shell=yes
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6115 $as_echo "$xsi_shell" >&6; }
6116
6117
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6119 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6120 lt_shell_append=no
6121 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6122 >/dev/null 2>&1 \
6123 && lt_shell_append=yes
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6125 $as_echo "$lt_shell_append" >&6; }
6126
6127
6128 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6129 lt_unset=unset
6130 else
6131 lt_unset=false
6132 fi
6133
6134
6135
6136
6137
6138 # test EBCDIC or ASCII
6139 case `echo X|tr X '\101'` in
6140 A) # ASCII based system
6141 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6142 lt_SP2NL='tr \040 \012'
6143 lt_NL2SP='tr \015\012 \040\040'
6144 ;;
6145 *) # EBCDIC based system
6146 lt_SP2NL='tr \100 \n'
6147 lt_NL2SP='tr \r\n \100\100'
6148 ;;
6149 esac
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6160 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6161 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 lt_cv_ld_reload_flag='-r'
6165 fi
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6167 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6168 reload_flag=$lt_cv_ld_reload_flag
6169 case $reload_flag in
6170 "" | " "*) ;;
6171 *) reload_flag=" $reload_flag" ;;
6172 esac
6173 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6174 case $host_os in
6175 darwin*)
6176 if test "$GCC" = yes; then
6177 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6178 else
6179 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6180 fi
6181 ;;
6182 esac
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192 if test -n "$ac_tool_prefix"; then
6193 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6194 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; }
6197 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6198 $as_echo_n "(cached) " >&6
6199 else
6200 if test -n "$OBJDUMP"; then
6201 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6202 else
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 for as_dir in $PATH
6205 do
6206 IFS=$as_save_IFS
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6212 break 2
6213 fi
6214 done
6215 done
6216 IFS=$as_save_IFS
6217
6218 fi
6219 fi
6220 OBJDUMP=$ac_cv_prog_OBJDUMP
6221 if test -n "$OBJDUMP"; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6223 $as_echo "$OBJDUMP" >&6; }
6224 else
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6227 fi
6228
6229
6230 fi
6231 if test -z "$ac_cv_prog_OBJDUMP"; then
6232 ac_ct_OBJDUMP=$OBJDUMP
6233 # Extract the first word of "objdump", so it can be a program name with args.
6234 set dummy objdump; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236 $as_echo_n "checking for $ac_word... " >&6; }
6237 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6238 $as_echo_n "(cached) " >&6
6239 else
6240 if test -n "$ac_ct_OBJDUMP"; then
6241 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6242 else
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 for as_dir in $PATH
6245 do
6246 IFS=$as_save_IFS
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6250 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 break 2
6253 fi
6254 done
6255 done
6256 IFS=$as_save_IFS
6257
6258 fi
6259 fi
6260 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6261 if test -n "$ac_ct_OBJDUMP"; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6263 $as_echo "$ac_ct_OBJDUMP" >&6; }
6264 else
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 $as_echo "no" >&6; }
6267 fi
6268
6269 if test "x$ac_ct_OBJDUMP" = x; then
6270 OBJDUMP="false"
6271 else
6272 case $cross_compiling:$ac_tool_warned in
6273 yes:)
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6276 ac_tool_warned=yes ;;
6277 esac
6278 OBJDUMP=$ac_ct_OBJDUMP
6279 fi
6280 else
6281 OBJDUMP="$ac_cv_prog_OBJDUMP"
6282 fi
6283
6284 test -z "$OBJDUMP" && OBJDUMP=objdump
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6295 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6296 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6297 $as_echo_n "(cached) " >&6
6298 else
6299 lt_cv_file_magic_cmd='$MAGIC_CMD'
6300 lt_cv_file_magic_test_file=
6301 lt_cv_deplibs_check_method='unknown'
6302 # Need to set the preceding variable on all platforms that support
6303 # interlibrary dependencies.
6304 # 'none' -- dependencies not supported.
6305 # `unknown' -- same as none, but documents that we really don't know.
6306 # 'pass_all' -- all dependencies passed with no checks.
6307 # 'test_compile' -- check by making test program.
6308 # 'file_magic [[regex]]' -- check by looking for files in library path
6309 # which responds to the $file_magic_cmd with a given extended regex.
6310 # If you have `file' or equivalent on your system and you're not sure
6311 # whether `pass_all' will *always* work, you probably want this one.
6312
6313 case $host_os in
6314 aix[4-9]*)
6315 lt_cv_deplibs_check_method=pass_all
6316 ;;
6317
6318 beos*)
6319 lt_cv_deplibs_check_method=pass_all
6320 ;;
6321
6322 bsdi[45]*)
6323 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6324 lt_cv_file_magic_cmd='/usr/bin/file -L'
6325 lt_cv_file_magic_test_file=/shlib/libc.so
6326 ;;
6327
6328 cygwin*)
6329 # func_win32_libid is a shell function defined in ltmain.sh
6330 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6331 lt_cv_file_magic_cmd='func_win32_libid'
6332 ;;
6333
6334 mingw* | pw32*)
6335 # Base MSYS/MinGW do not provide the 'file' command needed by
6336 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6337 # unless we find 'file', for example because we are cross-compiling.
6338 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6339 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6340 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6341 lt_cv_file_magic_cmd='func_win32_libid'
6342 else
6343 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6344 lt_cv_file_magic_cmd='$OBJDUMP -f'
6345 fi
6346 ;;
6347
6348 cegcc*)
6349 # use the weaker test based on 'objdump'. See mingw*.
6350 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6351 lt_cv_file_magic_cmd='$OBJDUMP -f'
6352 ;;
6353
6354 darwin* | rhapsody*)
6355 lt_cv_deplibs_check_method=pass_all
6356 ;;
6357
6358 freebsd* | dragonfly*)
6359 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6360 case $host_cpu in
6361 i*86 )
6362 # Not sure whether the presence of OpenBSD here was a mistake.
6363 # Let's accept both of them until this is cleared up.
6364 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6365 lt_cv_file_magic_cmd=/usr/bin/file
6366 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6367 ;;
6368 esac
6369 else
6370 lt_cv_deplibs_check_method=pass_all
6371 fi
6372 ;;
6373
6374 gnu*)
6375 lt_cv_deplibs_check_method=pass_all
6376 ;;
6377
6378 haiku*)
6379 lt_cv_deplibs_check_method=pass_all
6380 ;;
6381
6382 hpux10.20* | hpux11*)
6383 lt_cv_file_magic_cmd=/usr/bin/file
6384 case $host_cpu in
6385 ia64*)
6386 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6387 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6388 ;;
6389 hppa*64*)
6390 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]'
6391 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6392 ;;
6393 *)
6394 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6395 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6396 ;;
6397 esac
6398 ;;
6399
6400 interix[3-9]*)
6401 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6403 ;;
6404
6405 irix5* | irix6* | nonstopux*)
6406 case $LD in
6407 *-32|*"-32 ") libmagic=32-bit;;
6408 *-n32|*"-n32 ") libmagic=N32;;
6409 *-64|*"-64 ") libmagic=64-bit;;
6410 *) libmagic=never-match;;
6411 esac
6412 lt_cv_deplibs_check_method=pass_all
6413 ;;
6414
6415 # This must be Linux ELF.
6416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6417 lt_cv_deplibs_check_method=pass_all
6418 ;;
6419
6420 netbsd*)
6421 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6422 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6423 else
6424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6425 fi
6426 ;;
6427
6428 newos6*)
6429 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6430 lt_cv_file_magic_cmd=/usr/bin/file
6431 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6432 ;;
6433
6434 *nto* | *qnx*)
6435 lt_cv_deplibs_check_method=pass_all
6436 ;;
6437
6438 openbsd*)
6439 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6441 else
6442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6443 fi
6444 ;;
6445
6446 osf3* | osf4* | osf5*)
6447 lt_cv_deplibs_check_method=pass_all
6448 ;;
6449
6450 rdos*)
6451 lt_cv_deplibs_check_method=pass_all
6452 ;;
6453
6454 solaris*)
6455 lt_cv_deplibs_check_method=pass_all
6456 ;;
6457
6458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6459 lt_cv_deplibs_check_method=pass_all
6460 ;;
6461
6462 sysv4 | sysv4.3*)
6463 case $host_vendor in
6464 motorola)
6465 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]'
6466 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6467 ;;
6468 ncr)
6469 lt_cv_deplibs_check_method=pass_all
6470 ;;
6471 sequent)
6472 lt_cv_file_magic_cmd='/bin/file'
6473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6474 ;;
6475 sni)
6476 lt_cv_file_magic_cmd='/bin/file'
6477 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6478 lt_cv_file_magic_test_file=/lib/libc.so
6479 ;;
6480 siemens)
6481 lt_cv_deplibs_check_method=pass_all
6482 ;;
6483 pc)
6484 lt_cv_deplibs_check_method=pass_all
6485 ;;
6486 esac
6487 ;;
6488
6489 tpf*)
6490 lt_cv_deplibs_check_method=pass_all
6491 ;;
6492 esac
6493
6494 fi
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6496 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6497 file_magic_cmd=$lt_cv_file_magic_cmd
6498 deplibs_check_method=$lt_cv_deplibs_check_method
6499 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}ar; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_AR+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 if test -n "$AR"; then
6521 ac_cv_prog_AR="$AR" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6525 do
6526 IFS=$as_save_IFS
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_AR="${ac_tool_prefix}ar"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 break 2
6533 fi
6534 done
6535 done
6536 IFS=$as_save_IFS
6537
6538 fi
6539 fi
6540 AR=$ac_cv_prog_AR
6541 if test -n "$AR"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6543 $as_echo "$AR" >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6547 fi
6548
6549
6550 fi
6551 if test -z "$ac_cv_prog_AR"; then
6552 ac_ct_AR=$AR
6553 # Extract the first word of "ar", so it can be a program name with args.
6554 set dummy ar; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$ac_ct_AR"; then
6561 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6565 do
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_AR="ar"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6573 fi
6574 done
6575 done
6576 IFS=$as_save_IFS
6577
6578 fi
6579 fi
6580 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6581 if test -n "$ac_ct_AR"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6583 $as_echo "$ac_ct_AR" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6587 fi
6588
6589 if test "x$ac_ct_AR" = x; then
6590 AR="false"
6591 else
6592 case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598 AR=$ac_ct_AR
6599 fi
6600 else
6601 AR="$ac_cv_prog_AR"
6602 fi
6603
6604 test -z "$AR" && AR=ar
6605 test -z "$AR_FLAGS" && AR_FLAGS=cru
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617 if test -n "$ac_tool_prefix"; then
6618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6619 set dummy ${ac_tool_prefix}strip; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if test "${ac_cv_prog_STRIP+set}" = set; then :
6623 $as_echo_n "(cached) " >&6
6624 else
6625 if test -n "$STRIP"; then
6626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6630 do
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6635 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6638 fi
6639 done
6640 done
6641 IFS=$as_save_IFS
6642
6643 fi
6644 fi
6645 STRIP=$ac_cv_prog_STRIP
6646 if test -n "$STRIP"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6648 $as_echo "$STRIP" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6652 fi
6653
6654
6655 fi
6656 if test -z "$ac_cv_prog_STRIP"; then
6657 ac_ct_STRIP=$STRIP
6658 # Extract the first word of "strip", so it can be a program name with args.
6659 set dummy strip; ac_word=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6663 $as_echo_n "(cached) " >&6
6664 else
6665 if test -n "$ac_ct_STRIP"; then
6666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6667 else
6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 for as_dir in $PATH
6670 do
6671 IFS=$as_save_IFS
6672 test -z "$as_dir" && as_dir=.
6673 for ac_exec_ext in '' $ac_executable_extensions; do
6674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675 ac_cv_prog_ac_ct_STRIP="strip"
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677 break 2
6678 fi
6679 done
6680 done
6681 IFS=$as_save_IFS
6682
6683 fi
6684 fi
6685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6686 if test -n "$ac_ct_STRIP"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6688 $as_echo "$ac_ct_STRIP" >&6; }
6689 else
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6692 fi
6693
6694 if test "x$ac_ct_STRIP" = x; then
6695 STRIP=":"
6696 else
6697 case $cross_compiling:$ac_tool_warned in
6698 yes:)
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701 ac_tool_warned=yes ;;
6702 esac
6703 STRIP=$ac_ct_STRIP
6704 fi
6705 else
6706 STRIP="$ac_cv_prog_STRIP"
6707 fi
6708
6709 test -z "$STRIP" && STRIP=:
6710
6711
6712
6713
6714
6715
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6718 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 if test -n "$RANLIB"; then
6725 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6726 else
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 for as_dir in $PATH
6729 do
6730 IFS=$as_save_IFS
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 break 2
6737 fi
6738 done
6739 done
6740 IFS=$as_save_IFS
6741
6742 fi
6743 fi
6744 RANLIB=$ac_cv_prog_RANLIB
6745 if test -n "$RANLIB"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6747 $as_echo "$RANLIB" >&6; }
6748 else
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6751 fi
6752
6753
6754 fi
6755 if test -z "$ac_cv_prog_RANLIB"; then
6756 ac_ct_RANLIB=$RANLIB
6757 # Extract the first word of "ranlib", so it can be a program name with args.
6758 set dummy ranlib; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6762 $as_echo_n "(cached) " >&6
6763 else
6764 if test -n "$ac_ct_RANLIB"; then
6765 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6766 else
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 for as_dir in $PATH
6769 do
6770 IFS=$as_save_IFS
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_ac_ct_RANLIB="ranlib"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 break 2
6777 fi
6778 done
6779 done
6780 IFS=$as_save_IFS
6781
6782 fi
6783 fi
6784 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6785 if test -n "$ac_ct_RANLIB"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6787 $as_echo "$ac_ct_RANLIB" >&6; }
6788 else
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6791 fi
6792
6793 if test "x$ac_ct_RANLIB" = x; then
6794 RANLIB=":"
6795 else
6796 case $cross_compiling:$ac_tool_warned in
6797 yes:)
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6801 esac
6802 RANLIB=$ac_ct_RANLIB
6803 fi
6804 else
6805 RANLIB="$ac_cv_prog_RANLIB"
6806 fi
6807
6808 test -z "$RANLIB" && RANLIB=:
6809
6810
6811
6812
6813
6814
6815 # Determine commands to create old-style static archives.
6816 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6817 old_postinstall_cmds='chmod 644 $oldlib'
6818 old_postuninstall_cmds=
6819
6820 if test -n "$RANLIB"; then
6821 case $host_os in
6822 openbsd*)
6823 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6824 ;;
6825 *)
6826 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6827 ;;
6828 esac
6829 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6830 fi
6831
6832 case $host_os in
6833 darwin*)
6834 lock_old_archive_extraction=yes ;;
6835 *)
6836 lock_old_archive_extraction=no ;;
6837 esac
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877 # If no C compiler was specified, use CC.
6878 LTCC=${LTCC-"$CC"}
6879
6880 # If no C compiler flags were specified, use CFLAGS.
6881 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6882
6883 # Allow CC to be a program name with arguments.
6884 compiler=$CC
6885
6886
6887 # Check for command to grab the raw symbol name followed by C symbol from nm.
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6889 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6890 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6891 $as_echo_n "(cached) " >&6
6892 else
6893
6894 # These are sane defaults that work on at least a few old systems.
6895 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6896
6897 # Character class describing NM global symbol codes.
6898 symcode='[BCDEGRST]'
6899
6900 # Regexp to match symbols that can be accessed directly from C.
6901 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6902
6903 # Define system-specific variables.
6904 case $host_os in
6905 aix*)
6906 symcode='[BCDT]'
6907 ;;
6908 cygwin* | mingw* | pw32* | cegcc*)
6909 symcode='[ABCDGISTW]'
6910 ;;
6911 hpux*)
6912 if test "$host_cpu" = ia64; then
6913 symcode='[ABCDEGRST]'
6914 fi
6915 ;;
6916 irix* | nonstopux*)
6917 symcode='[BCDEGRST]'
6918 ;;
6919 osf*)
6920 symcode='[BCDEGQRST]'
6921 ;;
6922 solaris*)
6923 symcode='[BDRT]'
6924 ;;
6925 sco3.2v5*)
6926 symcode='[DT]'
6927 ;;
6928 sysv4.2uw2*)
6929 symcode='[DT]'
6930 ;;
6931 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6932 symcode='[ABDT]'
6933 ;;
6934 sysv4)
6935 symcode='[DFNSTU]'
6936 ;;
6937 esac
6938
6939 # If we're using GNU nm, then use its standard symbol codes.
6940 case `$NM -V 2>&1` in
6941 *GNU* | *'with BFD'*)
6942 symcode='[ABCDGIRSTW]' ;;
6943 esac
6944
6945 # Transform an extracted symbol line into a proper C declaration.
6946 # Some systems (esp. on ia64) link data and code symbols differently,
6947 # so use this general approach.
6948 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6949
6950 # Transform an extracted symbol line into symbol name and symbol address
6951 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6952 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'"
6953
6954 # Handle CRLF in mingw tool chain
6955 opt_cr=
6956 case $build_os in
6957 mingw*)
6958 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6959 ;;
6960 esac
6961
6962 # Try without a prefix underscore, then with it.
6963 for ac_symprfx in "" "_"; do
6964
6965 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6966 symxfrm="\\1 $ac_symprfx\\2 \\2"
6967
6968 # Write the raw and C identifiers.
6969 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6970 # Fake it for dumpbin and say T for any non-static function
6971 # and D for any global variable.
6972 # Also find C++ and __fastcall symbols from MSVC++,
6973 # which start with @ or ?.
6974 lt_cv_sys_global_symbol_pipe="$AWK '"\
6975 " {last_section=section; section=\$ 3};"\
6976 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6977 " \$ 0!~/External *\|/{next};"\
6978 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6979 " {if(hide[section]) next};"\
6980 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6981 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6982 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6983 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6984 " ' prfx=^$ac_symprfx"
6985 else
6986 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6987 fi
6988
6989 # Check to see that the pipe works correctly.
6990 pipe_works=no
6991
6992 rm -f conftest*
6993 cat > conftest.$ac_ext <<_LT_EOF
6994 #ifdef __cplusplus
6995 extern "C" {
6996 #endif
6997 char nm_test_var;
6998 void nm_test_func(void);
6999 void nm_test_func(void){}
7000 #ifdef __cplusplus
7001 }
7002 #endif
7003 int main(){nm_test_var='a';nm_test_func();return(0);}
7004 _LT_EOF
7005
7006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7007 (eval $ac_compile) 2>&5
7008 ac_status=$?
7009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7010 test $ac_status = 0; }; then
7011 # Now try to grab the symbols.
7012 nlist=conftest.nm
7013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7014 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7015 ac_status=$?
7016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017 test $ac_status = 0; } && test -s "$nlist"; then
7018 # Try sorting and uniquifying the output.
7019 if sort "$nlist" | uniq > "$nlist"T; then
7020 mv -f "$nlist"T "$nlist"
7021 else
7022 rm -f "$nlist"T
7023 fi
7024
7025 # Make sure that we snagged all the symbols we need.
7026 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7027 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7028 cat <<_LT_EOF > conftest.$ac_ext
7029 #ifdef __cplusplus
7030 extern "C" {
7031 #endif
7032
7033 _LT_EOF
7034 # Now generate the symbol file.
7035 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7036
7037 cat <<_LT_EOF >> conftest.$ac_ext
7038
7039 /* The mapping between symbol names and symbols. */
7040 const struct {
7041 const char *name;
7042 void *address;
7043 }
7044 lt__PROGRAM__LTX_preloaded_symbols[] =
7045 {
7046 { "@PROGRAM@", (void *) 0 },
7047 _LT_EOF
7048 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7049 cat <<\_LT_EOF >> conftest.$ac_ext
7050 {0, (void *) 0}
7051 };
7052
7053 /* This works around a problem in FreeBSD linker */
7054 #ifdef FREEBSD_WORKAROUND
7055 static const void *lt_preloaded_setup() {
7056 return lt__PROGRAM__LTX_preloaded_symbols;
7057 }
7058 #endif
7059
7060 #ifdef __cplusplus
7061 }
7062 #endif
7063 _LT_EOF
7064 # Now try linking the two files.
7065 mv conftest.$ac_objext conftstm.$ac_objext
7066 lt_save_LIBS="$LIBS"
7067 lt_save_CFLAGS="$CFLAGS"
7068 LIBS="conftstm.$ac_objext"
7069 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7071 (eval $ac_link) 2>&5
7072 ac_status=$?
7073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7074 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7075 pipe_works=yes
7076 fi
7077 LIBS="$lt_save_LIBS"
7078 CFLAGS="$lt_save_CFLAGS"
7079 else
7080 echo "cannot find nm_test_func in $nlist" >&5
7081 fi
7082 else
7083 echo "cannot find nm_test_var in $nlist" >&5
7084 fi
7085 else
7086 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7087 fi
7088 else
7089 echo "$progname: failed program was:" >&5
7090 cat conftest.$ac_ext >&5
7091 fi
7092 rm -rf conftest* conftst*
7093
7094 # Do not use the global_symbol_pipe unless it works.
7095 if test "$pipe_works" = yes; then
7096 break
7097 else
7098 lt_cv_sys_global_symbol_pipe=
7099 fi
7100 done
7101
7102 fi
7103
7104 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7105 lt_cv_sys_global_symbol_to_cdecl=
7106 fi
7107 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7109 $as_echo "failed" >&6; }
7110 else
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7112 $as_echo "ok" >&6; }
7113 fi
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136 # Check whether --enable-libtool-lock was given.
7137 if test "${enable_libtool_lock+set}" = set; then :
7138 enableval=$enable_libtool_lock;
7139 fi
7140
7141 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7142
7143 # Some flags need to be propagated to the compiler or linker for good
7144 # libtool support.
7145 case $host in
7146 ia64-*-hpux*)
7147 # Find out which ABI we are using.
7148 echo 'int i;' > conftest.$ac_ext
7149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150 (eval $ac_compile) 2>&5
7151 ac_status=$?
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153 test $ac_status = 0; }; then
7154 case `/usr/bin/file conftest.$ac_objext` in
7155 *ELF-32*)
7156 HPUX_IA64_MODE="32"
7157 ;;
7158 *ELF-64*)
7159 HPUX_IA64_MODE="64"
7160 ;;
7161 esac
7162 fi
7163 rm -rf conftest*
7164 ;;
7165 *-*-irix6*)
7166 # Find out which ABI we are using.
7167 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7169 (eval $ac_compile) 2>&5
7170 ac_status=$?
7171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7172 test $ac_status = 0; }; then
7173 if test "$lt_cv_prog_gnu_ld" = yes; then
7174 case `/usr/bin/file conftest.$ac_objext` in
7175 *32-bit*)
7176 LD="${LD-ld} -melf32bsmip"
7177 ;;
7178 *N32*)
7179 LD="${LD-ld} -melf32bmipn32"
7180 ;;
7181 *64-bit*)
7182 LD="${LD-ld} -melf64bmip"
7183 ;;
7184 esac
7185 else
7186 case `/usr/bin/file conftest.$ac_objext` in
7187 *32-bit*)
7188 LD="${LD-ld} -32"
7189 ;;
7190 *N32*)
7191 LD="${LD-ld} -n32"
7192 ;;
7193 *64-bit*)
7194 LD="${LD-ld} -64"
7195 ;;
7196 esac
7197 fi
7198 fi
7199 rm -rf conftest*
7200 ;;
7201
7202 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7203 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7204 # Find out which ABI we are using.
7205 echo 'int i;' > conftest.$ac_ext
7206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7207 (eval $ac_compile) 2>&5
7208 ac_status=$?
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210 test $ac_status = 0; }; then
7211 case `/usr/bin/file conftest.o` in
7212 *32-bit*)
7213 case $host in
7214 x86_64-*kfreebsd*-gnu)
7215 LD="${LD-ld} -m elf_i386_fbsd"
7216 ;;
7217 x86_64-*linux*)
7218 case `/usr/bin/file conftest.o` in
7219 *x86-64*)
7220 LD="${LD-ld} -m elf32_x86_64"
7221 ;;
7222 *)
7223 LD="${LD-ld} -m elf_i386"
7224 ;;
7225 esac
7226 ;;
7227 powerpc64le-*linux*)
7228 LD="${LD-ld} -m elf32lppclinux"
7229 ;;
7230 powerpc64-*linux*)
7231 LD="${LD-ld} -m elf32ppclinux"
7232 ;;
7233 s390x-*linux*)
7234 LD="${LD-ld} -m elf_s390"
7235 ;;
7236 sparc64-*linux*)
7237 LD="${LD-ld} -m elf32_sparc"
7238 ;;
7239 esac
7240 ;;
7241 *64-bit*)
7242 case $host in
7243 x86_64-*kfreebsd*-gnu)
7244 LD="${LD-ld} -m elf_x86_64_fbsd"
7245 ;;
7246 x86_64-*linux*)
7247 LD="${LD-ld} -m elf_x86_64"
7248 ;;
7249 powerpcle-*linux*)
7250 LD="${LD-ld} -m elf64lppc"
7251 ;;
7252 powerpc-*linux*)
7253 LD="${LD-ld} -m elf64ppc"
7254 ;;
7255 s390*-*linux*|s390*-*tpf*)
7256 LD="${LD-ld} -m elf64_s390"
7257 ;;
7258 sparc*-*linux*)
7259 LD="${LD-ld} -m elf64_sparc"
7260 ;;
7261 esac
7262 ;;
7263 esac
7264 fi
7265 rm -rf conftest*
7266 ;;
7267
7268 *-*-sco3.2v5*)
7269 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7270 SAVE_CFLAGS="$CFLAGS"
7271 CFLAGS="$CFLAGS -belf"
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7273 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7274 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 ac_ext=c
7278 ac_cpp='$CPP $CPPFLAGS'
7279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7282
7283 if test x$gcc_no_link = xyes; then
7284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7285 fi
7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7288
7289 int
7290 main ()
7291 {
7292
7293 ;
7294 return 0;
7295 }
7296 _ACEOF
7297 if ac_fn_c_try_link "$LINENO"; then :
7298 lt_cv_cc_needs_belf=yes
7299 else
7300 lt_cv_cc_needs_belf=no
7301 fi
7302 rm -f core conftest.err conftest.$ac_objext \
7303 conftest$ac_exeext conftest.$ac_ext
7304 ac_ext=c
7305 ac_cpp='$CPP $CPPFLAGS'
7306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7309
7310 fi
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7312 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7313 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7314 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7315 CFLAGS="$SAVE_CFLAGS"
7316 fi
7317 ;;
7318 sparc*-*solaris*)
7319 # Find out which ABI we are using.
7320 echo 'int i;' > conftest.$ac_ext
7321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7322 (eval $ac_compile) 2>&5
7323 ac_status=$?
7324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7325 test $ac_status = 0; }; then
7326 case `/usr/bin/file conftest.o` in
7327 *64-bit*)
7328 case $lt_cv_prog_gnu_ld in
7329 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7330 *)
7331 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7332 LD="${LD-ld} -64"
7333 fi
7334 ;;
7335 esac
7336 ;;
7337 esac
7338 fi
7339 rm -rf conftest*
7340 ;;
7341 esac
7342
7343 need_locks="$enable_libtool_lock"
7344
7345
7346 case $host_os in
7347 rhapsody* | darwin*)
7348 if test -n "$ac_tool_prefix"; then
7349 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7350 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7354 $as_echo_n "(cached) " >&6
7355 else
7356 if test -n "$DSYMUTIL"; then
7357 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7358 else
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 for as_dir in $PATH
7361 do
7362 IFS=$as_save_IFS
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 break 2
7369 fi
7370 done
7371 done
7372 IFS=$as_save_IFS
7373
7374 fi
7375 fi
7376 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7377 if test -n "$DSYMUTIL"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7379 $as_echo "$DSYMUTIL" >&6; }
7380 else
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7383 fi
7384
7385
7386 fi
7387 if test -z "$ac_cv_prog_DSYMUTIL"; then
7388 ac_ct_DSYMUTIL=$DSYMUTIL
7389 # Extract the first word of "dsymutil", so it can be a program name with args.
7390 set dummy dsymutil; ac_word=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7394 $as_echo_n "(cached) " >&6
7395 else
7396 if test -n "$ac_ct_DSYMUTIL"; then
7397 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7401 do
7402 IFS=$as_save_IFS
7403 test -z "$as_dir" && as_dir=.
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7406 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 break 2
7409 fi
7410 done
7411 done
7412 IFS=$as_save_IFS
7413
7414 fi
7415 fi
7416 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7417 if test -n "$ac_ct_DSYMUTIL"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7419 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7420 else
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7423 fi
7424
7425 if test "x$ac_ct_DSYMUTIL" = x; then
7426 DSYMUTIL=":"
7427 else
7428 case $cross_compiling:$ac_tool_warned in
7429 yes:)
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7432 ac_tool_warned=yes ;;
7433 esac
7434 DSYMUTIL=$ac_ct_DSYMUTIL
7435 fi
7436 else
7437 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7438 fi
7439
7440 if test -n "$ac_tool_prefix"; then
7441 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7442 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7446 $as_echo_n "(cached) " >&6
7447 else
7448 if test -n "$NMEDIT"; then
7449 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7450 else
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 for as_dir in $PATH
7453 do
7454 IFS=$as_save_IFS
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7458 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 break 2
7461 fi
7462 done
7463 done
7464 IFS=$as_save_IFS
7465
7466 fi
7467 fi
7468 NMEDIT=$ac_cv_prog_NMEDIT
7469 if test -n "$NMEDIT"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7471 $as_echo "$NMEDIT" >&6; }
7472 else
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7475 fi
7476
7477
7478 fi
7479 if test -z "$ac_cv_prog_NMEDIT"; then
7480 ac_ct_NMEDIT=$NMEDIT
7481 # Extract the first word of "nmedit", so it can be a program name with args.
7482 set dummy nmedit; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7487 else
7488 if test -n "$ac_ct_NMEDIT"; then
7489 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7490 else
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 for as_dir in $PATH
7493 do
7494 IFS=$as_save_IFS
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 break 2
7501 fi
7502 done
7503 done
7504 IFS=$as_save_IFS
7505
7506 fi
7507 fi
7508 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7509 if test -n "$ac_ct_NMEDIT"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7511 $as_echo "$ac_ct_NMEDIT" >&6; }
7512 else
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7515 fi
7516
7517 if test "x$ac_ct_NMEDIT" = x; then
7518 NMEDIT=":"
7519 else
7520 case $cross_compiling:$ac_tool_warned in
7521 yes:)
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7524 ac_tool_warned=yes ;;
7525 esac
7526 NMEDIT=$ac_ct_NMEDIT
7527 fi
7528 else
7529 NMEDIT="$ac_cv_prog_NMEDIT"
7530 fi
7531
7532 if test -n "$ac_tool_prefix"; then
7533 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7534 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if test "${ac_cv_prog_LIPO+set}" = set; then :
7538 $as_echo_n "(cached) " >&6
7539 else
7540 if test -n "$LIPO"; then
7541 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7542 else
7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 for as_dir in $PATH
7545 do
7546 IFS=$as_save_IFS
7547 test -z "$as_dir" && as_dir=.
7548 for ac_exec_ext in '' $ac_executable_extensions; do
7549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7550 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552 break 2
7553 fi
7554 done
7555 done
7556 IFS=$as_save_IFS
7557
7558 fi
7559 fi
7560 LIPO=$ac_cv_prog_LIPO
7561 if test -n "$LIPO"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7563 $as_echo "$LIPO" >&6; }
7564 else
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7567 fi
7568
7569
7570 fi
7571 if test -z "$ac_cv_prog_LIPO"; then
7572 ac_ct_LIPO=$LIPO
7573 # Extract the first word of "lipo", so it can be a program name with args.
7574 set dummy lipo; ac_word=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7578 $as_echo_n "(cached) " >&6
7579 else
7580 if test -n "$ac_ct_LIPO"; then
7581 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7582 else
7583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 for as_dir in $PATH
7585 do
7586 IFS=$as_save_IFS
7587 test -z "$as_dir" && as_dir=.
7588 for ac_exec_ext in '' $ac_executable_extensions; do
7589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590 ac_cv_prog_ac_ct_LIPO="lipo"
7591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 break 2
7593 fi
7594 done
7595 done
7596 IFS=$as_save_IFS
7597
7598 fi
7599 fi
7600 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7601 if test -n "$ac_ct_LIPO"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7603 $as_echo "$ac_ct_LIPO" >&6; }
7604 else
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7607 fi
7608
7609 if test "x$ac_ct_LIPO" = x; then
7610 LIPO=":"
7611 else
7612 case $cross_compiling:$ac_tool_warned in
7613 yes:)
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7616 ac_tool_warned=yes ;;
7617 esac
7618 LIPO=$ac_ct_LIPO
7619 fi
7620 else
7621 LIPO="$ac_cv_prog_LIPO"
7622 fi
7623
7624 if test -n "$ac_tool_prefix"; then
7625 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7626 set dummy ${ac_tool_prefix}otool; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7630 $as_echo_n "(cached) " >&6
7631 else
7632 if test -n "$OTOOL"; then
7633 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7634 else
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH
7637 do
7638 IFS=$as_save_IFS
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 break 2
7645 fi
7646 done
7647 done
7648 IFS=$as_save_IFS
7649
7650 fi
7651 fi
7652 OTOOL=$ac_cv_prog_OTOOL
7653 if test -n "$OTOOL"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7655 $as_echo "$OTOOL" >&6; }
7656 else
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7659 fi
7660
7661
7662 fi
7663 if test -z "$ac_cv_prog_OTOOL"; then
7664 ac_ct_OTOOL=$OTOOL
7665 # Extract the first word of "otool", so it can be a program name with args.
7666 set dummy otool; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7670 $as_echo_n "(cached) " >&6
7671 else
7672 if test -n "$ac_ct_OTOOL"; then
7673 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7674 else
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 for as_dir in $PATH
7677 do
7678 IFS=$as_save_IFS
7679 test -z "$as_dir" && as_dir=.
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682 ac_cv_prog_ac_ct_OTOOL="otool"
7683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684 break 2
7685 fi
7686 done
7687 done
7688 IFS=$as_save_IFS
7689
7690 fi
7691 fi
7692 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7693 if test -n "$ac_ct_OTOOL"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7695 $as_echo "$ac_ct_OTOOL" >&6; }
7696 else
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7699 fi
7700
7701 if test "x$ac_ct_OTOOL" = x; then
7702 OTOOL=":"
7703 else
7704 case $cross_compiling:$ac_tool_warned in
7705 yes:)
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7708 ac_tool_warned=yes ;;
7709 esac
7710 OTOOL=$ac_ct_OTOOL
7711 fi
7712 else
7713 OTOOL="$ac_cv_prog_OTOOL"
7714 fi
7715
7716 if test -n "$ac_tool_prefix"; then
7717 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7718 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7722 $as_echo_n "(cached) " >&6
7723 else
7724 if test -n "$OTOOL64"; then
7725 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7726 else
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 for as_dir in $PATH
7729 do
7730 IFS=$as_save_IFS
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7734 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736 break 2
7737 fi
7738 done
7739 done
7740 IFS=$as_save_IFS
7741
7742 fi
7743 fi
7744 OTOOL64=$ac_cv_prog_OTOOL64
7745 if test -n "$OTOOL64"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7747 $as_echo "$OTOOL64" >&6; }
7748 else
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7751 fi
7752
7753
7754 fi
7755 if test -z "$ac_cv_prog_OTOOL64"; then
7756 ac_ct_OTOOL64=$OTOOL64
7757 # Extract the first word of "otool64", so it can be a program name with args.
7758 set dummy otool64; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7762 $as_echo_n "(cached) " >&6
7763 else
7764 if test -n "$ac_ct_OTOOL64"; then
7765 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7766 else
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 for as_dir in $PATH
7769 do
7770 IFS=$as_save_IFS
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774 ac_cv_prog_ac_ct_OTOOL64="otool64"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 break 2
7777 fi
7778 done
7779 done
7780 IFS=$as_save_IFS
7781
7782 fi
7783 fi
7784 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7785 if test -n "$ac_ct_OTOOL64"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7787 $as_echo "$ac_ct_OTOOL64" >&6; }
7788 else
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7791 fi
7792
7793 if test "x$ac_ct_OTOOL64" = x; then
7794 OTOOL64=":"
7795 else
7796 case $cross_compiling:$ac_tool_warned in
7797 yes:)
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7800 ac_tool_warned=yes ;;
7801 esac
7802 OTOOL64=$ac_ct_OTOOL64
7803 fi
7804 else
7805 OTOOL64="$ac_cv_prog_OTOOL64"
7806 fi
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7835 $as_echo_n "checking for -single_module linker flag... " >&6; }
7836 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7837 $as_echo_n "(cached) " >&6
7838 else
7839 lt_cv_apple_cc_single_mod=no
7840 if test -z "${LT_MULTI_MODULE}"; then
7841 # By default we will add the -single_module flag. You can override
7842 # by either setting the environment variable LT_MULTI_MODULE
7843 # non-empty at configure time, or by adding -multi_module to the
7844 # link flags.
7845 rm -rf libconftest.dylib*
7846 echo "int foo(void){return 1;}" > conftest.c
7847 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7848 -dynamiclib -Wl,-single_module conftest.c" >&5
7849 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7850 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7851 _lt_result=$?
7852 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7853 lt_cv_apple_cc_single_mod=yes
7854 else
7855 cat conftest.err >&5
7856 fi
7857 rm -rf libconftest.dylib*
7858 rm -f conftest.*
7859 fi
7860 fi
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7862 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7864 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7865 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7866 $as_echo_n "(cached) " >&6
7867 else
7868 lt_cv_ld_exported_symbols_list=no
7869 save_LDFLAGS=$LDFLAGS
7870 echo "_main" > conftest.sym
7871 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7872 if test x$gcc_no_link = xyes; then
7873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7874 fi
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7877
7878 int
7879 main ()
7880 {
7881
7882 ;
7883 return 0;
7884 }
7885 _ACEOF
7886 if ac_fn_c_try_link "$LINENO"; then :
7887 lt_cv_ld_exported_symbols_list=yes
7888 else
7889 lt_cv_ld_exported_symbols_list=no
7890 fi
7891 rm -f core conftest.err conftest.$ac_objext \
7892 conftest$ac_exeext conftest.$ac_ext
7893 LDFLAGS="$save_LDFLAGS"
7894
7895 fi
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7897 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7899 $as_echo_n "checking for -force_load linker flag... " >&6; }
7900 if test "${lt_cv_ld_force_load+set}" = set; then :
7901 $as_echo_n "(cached) " >&6
7902 else
7903 lt_cv_ld_force_load=no
7904 cat > conftest.c << _LT_EOF
7905 int forced_loaded() { return 2;}
7906 _LT_EOF
7907 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7908 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7909 echo "$AR cru libconftest.a conftest.o" >&5
7910 $AR cru libconftest.a conftest.o 2>&5
7911 cat > conftest.c << _LT_EOF
7912 int main() { return 0;}
7913 _LT_EOF
7914 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7915 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7916 _lt_result=$?
7917 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7918 lt_cv_ld_force_load=yes
7919 else
7920 cat conftest.err >&5
7921 fi
7922 rm -f conftest.err libconftest.a conftest conftest.c
7923 rm -rf conftest.dSYM
7924
7925 fi
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7927 $as_echo "$lt_cv_ld_force_load" >&6; }
7928 case $host_os in
7929 rhapsody* | darwin1.[012])
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7931 darwin1.*)
7932 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7933 darwin*) # darwin 5.x on
7934 # if running on 10.5 or later, the deployment target defaults
7935 # to the OS version, if on x86, and 10.4, the deployment
7936 # target defaults to 10.4. Don't you love it?
7937 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7938 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7939 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7940 10.[012][,.]*)
7941 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7942 10.*)
7943 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7944 esac
7945 ;;
7946 esac
7947 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7948 _lt_dar_single_mod='$single_module'
7949 fi
7950 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7951 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7952 else
7953 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7954 fi
7955 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7956 _lt_dsymutil='~$DSYMUTIL $lib || :'
7957 else
7958 _lt_dsymutil=
7959 fi
7960 ;;
7961 esac
7962
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7964 $as_echo_n "checking for ANSI C header files... " >&6; }
7965 if test "${ac_cv_header_stdc+set}" = set; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7970 #include <stdlib.h>
7971 #include <stdarg.h>
7972 #include <string.h>
7973 #include <float.h>
7974
7975 int
7976 main ()
7977 {
7978
7979 ;
7980 return 0;
7981 }
7982 _ACEOF
7983 if ac_fn_c_try_compile "$LINENO"; then :
7984 ac_cv_header_stdc=yes
7985 else
7986 ac_cv_header_stdc=no
7987 fi
7988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7989
7990 if test $ac_cv_header_stdc = yes; then
7991 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7993 /* end confdefs.h. */
7994 #include <string.h>
7995
7996 _ACEOF
7997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7998 $EGREP "memchr" >/dev/null 2>&1; then :
7999
8000 else
8001 ac_cv_header_stdc=no
8002 fi
8003 rm -f conftest*
8004
8005 fi
8006
8007 if test $ac_cv_header_stdc = yes; then
8008 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8010 /* end confdefs.h. */
8011 #include <stdlib.h>
8012
8013 _ACEOF
8014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8015 $EGREP "free" >/dev/null 2>&1; then :
8016
8017 else
8018 ac_cv_header_stdc=no
8019 fi
8020 rm -f conftest*
8021
8022 fi
8023
8024 if test $ac_cv_header_stdc = yes; then
8025 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8026 if test "$cross_compiling" = yes; then :
8027 :
8028 else
8029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8031 #include <ctype.h>
8032 #include <stdlib.h>
8033 #if ((' ' & 0x0FF) == 0x020)
8034 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8035 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8036 #else
8037 # define ISLOWER(c) \
8038 (('a' <= (c) && (c) <= 'i') \
8039 || ('j' <= (c) && (c) <= 'r') \
8040 || ('s' <= (c) && (c) <= 'z'))
8041 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8042 #endif
8043
8044 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8045 int
8046 main ()
8047 {
8048 int i;
8049 for (i = 0; i < 256; i++)
8050 if (XOR (islower (i), ISLOWER (i))
8051 || toupper (i) != TOUPPER (i))
8052 return 2;
8053 return 0;
8054 }
8055 _ACEOF
8056 if ac_fn_c_try_run "$LINENO"; then :
8057
8058 else
8059 ac_cv_header_stdc=no
8060 fi
8061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8062 conftest.$ac_objext conftest.beam conftest.$ac_ext
8063 fi
8064
8065 fi
8066 fi
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8068 $as_echo "$ac_cv_header_stdc" >&6; }
8069 if test $ac_cv_header_stdc = yes; then
8070
8071 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8072
8073 fi
8074
8075 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8076 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8077 inttypes.h stdint.h unistd.h
8078 do :
8079 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8080 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8081 "
8082 eval as_val=\$$as_ac_Header
8083 if test "x$as_val" = x""yes; then :
8084 cat >>confdefs.h <<_ACEOF
8085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086 _ACEOF
8087
8088 fi
8089
8090 done
8091
8092
8093 for ac_header in dlfcn.h
8094 do :
8095 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8096 "
8097 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8098 cat >>confdefs.h <<_ACEOF
8099 #define HAVE_DLFCN_H 1
8100 _ACEOF
8101
8102 fi
8103
8104 done
8105
8106
8107
8108
8109
8110
8111 # Set options
8112
8113
8114
8115
8116 enable_win32_dll=no
8117
8118
8119 # Check whether --enable-shared was given.
8120 if test "${enable_shared+set}" = set; then :
8121 enableval=$enable_shared; p=${PACKAGE-default}
8122 case $enableval in
8123 yes) enable_shared=yes ;;
8124 no) enable_shared=no ;;
8125 *)
8126 enable_shared=no
8127 # Look at the argument we got. We use all the common list separators.
8128 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8129 for pkg in $enableval; do
8130 IFS="$lt_save_ifs"
8131 if test "X$pkg" = "X$p"; then
8132 enable_shared=yes
8133 fi
8134 done
8135 IFS="$lt_save_ifs"
8136 ;;
8137 esac
8138 else
8139 enable_shared=yes
8140 fi
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150 # Check whether --enable-static was given.
8151 if test "${enable_static+set}" = set; then :
8152 enableval=$enable_static; p=${PACKAGE-default}
8153 case $enableval in
8154 yes) enable_static=yes ;;
8155 no) enable_static=no ;;
8156 *)
8157 enable_static=no
8158 # Look at the argument we got. We use all the common list separators.
8159 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8160 for pkg in $enableval; do
8161 IFS="$lt_save_ifs"
8162 if test "X$pkg" = "X$p"; then
8163 enable_static=yes
8164 fi
8165 done
8166 IFS="$lt_save_ifs"
8167 ;;
8168 esac
8169 else
8170 enable_static=yes
8171 fi
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182 # Check whether --with-pic was given.
8183 if test "${with_pic+set}" = set; then :
8184 withval=$with_pic; pic_mode="$withval"
8185 else
8186 pic_mode=default
8187 fi
8188
8189
8190 test -z "$pic_mode" && pic_mode=default
8191
8192
8193
8194
8195
8196
8197
8198 # Check whether --enable-fast-install was given.
8199 if test "${enable_fast_install+set}" = set; then :
8200 enableval=$enable_fast_install; p=${PACKAGE-default}
8201 case $enableval in
8202 yes) enable_fast_install=yes ;;
8203 no) enable_fast_install=no ;;
8204 *)
8205 enable_fast_install=no
8206 # Look at the argument we got. We use all the common list separators.
8207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8208 for pkg in $enableval; do
8209 IFS="$lt_save_ifs"
8210 if test "X$pkg" = "X$p"; then
8211 enable_fast_install=yes
8212 fi
8213 done
8214 IFS="$lt_save_ifs"
8215 ;;
8216 esac
8217 else
8218 enable_fast_install=yes
8219 fi
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231 # This can be used to rebuild libtool when needed
8232 LIBTOOL_DEPS="$ltmain"
8233
8234 # Always use our own libtool.
8235 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262 test -z "$LN_S" && LN_S="ln -s"
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277 if test -n "${ZSH_VERSION+set}" ; then
8278 setopt NO_GLOB_SUBST
8279 fi
8280
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8282 $as_echo_n "checking for objdir... " >&6; }
8283 if test "${lt_cv_objdir+set}" = set; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 rm -f .libs 2>/dev/null
8287 mkdir .libs 2>/dev/null
8288 if test -d .libs; then
8289 lt_cv_objdir=.libs
8290 else
8291 # MS-DOS does not allow filenames that begin with a dot.
8292 lt_cv_objdir=_libs
8293 fi
8294 rmdir .libs 2>/dev/null
8295 fi
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8297 $as_echo "$lt_cv_objdir" >&6; }
8298 objdir=$lt_cv_objdir
8299
8300
8301
8302
8303
8304 cat >>confdefs.h <<_ACEOF
8305 #define LT_OBJDIR "$lt_cv_objdir/"
8306 _ACEOF
8307
8308
8309
8310
8311 case $host_os in
8312 aix3*)
8313 # AIX sometimes has problems with the GCC collect2 program. For some
8314 # reason, if we set the COLLECT_NAMES environment variable, the problems
8315 # vanish in a puff of smoke.
8316 if test "X${COLLECT_NAMES+set}" != Xset; then
8317 COLLECT_NAMES=
8318 export COLLECT_NAMES
8319 fi
8320 ;;
8321 esac
8322
8323 # Global variables:
8324 ofile=libtool
8325 can_build_shared=yes
8326
8327 # All known linkers require a `.a' archive for static linking (except MSVC,
8328 # which needs '.lib').
8329 libext=a
8330
8331 with_gnu_ld="$lt_cv_prog_gnu_ld"
8332
8333 old_CC="$CC"
8334 old_CFLAGS="$CFLAGS"
8335
8336 # Set sane defaults for various variables
8337 test -z "$CC" && CC=cc
8338 test -z "$LTCC" && LTCC=$CC
8339 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8340 test -z "$LD" && LD=ld
8341 test -z "$ac_objext" && ac_objext=o
8342
8343 for cc_temp in $compiler""; do
8344 case $cc_temp in
8345 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8346 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8347 \-*) ;;
8348 *) break;;
8349 esac
8350 done
8351 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8352
8353
8354 # Only perform the check for file, if the check method requires it
8355 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8356 case $deplibs_check_method in
8357 file_magic*)
8358 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8360 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8361 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 case $MAGIC_CMD in
8365 [\\/*] | ?:[\\/]*)
8366 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8367 ;;
8368 *)
8369 lt_save_MAGIC_CMD="$MAGIC_CMD"
8370 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8371 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8372 for ac_dir in $ac_dummy; do
8373 IFS="$lt_save_ifs"
8374 test -z "$ac_dir" && ac_dir=.
8375 if test -f $ac_dir/${ac_tool_prefix}file; then
8376 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8377 if test -n "$file_magic_test_file"; then
8378 case $deplibs_check_method in
8379 "file_magic "*)
8380 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8382 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8383 $EGREP "$file_magic_regex" > /dev/null; then
8384 :
8385 else
8386 cat <<_LT_EOF 1>&2
8387
8388 *** Warning: the command libtool uses to detect shared libraries,
8389 *** $file_magic_cmd, produces output that libtool cannot recognize.
8390 *** The result is that libtool may fail to recognize shared libraries
8391 *** as such. This will affect the creation of libtool libraries that
8392 *** depend on shared libraries, but programs linked with such libtool
8393 *** libraries will work regardless of this problem. Nevertheless, you
8394 *** may want to report the problem to your system manager and/or to
8395 *** bug-libtool@gnu.org
8396
8397 _LT_EOF
8398 fi ;;
8399 esac
8400 fi
8401 break
8402 fi
8403 done
8404 IFS="$lt_save_ifs"
8405 MAGIC_CMD="$lt_save_MAGIC_CMD"
8406 ;;
8407 esac
8408 fi
8409
8410 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8411 if test -n "$MAGIC_CMD"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8413 $as_echo "$MAGIC_CMD" >&6; }
8414 else
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8417 fi
8418
8419
8420
8421
8422
8423 if test -z "$lt_cv_path_MAGIC_CMD"; then
8424 if test -n "$ac_tool_prefix"; then
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8426 $as_echo_n "checking for file... " >&6; }
8427 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 case $MAGIC_CMD in
8431 [\\/*] | ?:[\\/]*)
8432 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8433 ;;
8434 *)
8435 lt_save_MAGIC_CMD="$MAGIC_CMD"
8436 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8437 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8438 for ac_dir in $ac_dummy; do
8439 IFS="$lt_save_ifs"
8440 test -z "$ac_dir" && ac_dir=.
8441 if test -f $ac_dir/file; then
8442 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8443 if test -n "$file_magic_test_file"; then
8444 case $deplibs_check_method in
8445 "file_magic "*)
8446 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8447 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8448 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8449 $EGREP "$file_magic_regex" > /dev/null; then
8450 :
8451 else
8452 cat <<_LT_EOF 1>&2
8453
8454 *** Warning: the command libtool uses to detect shared libraries,
8455 *** $file_magic_cmd, produces output that libtool cannot recognize.
8456 *** The result is that libtool may fail to recognize shared libraries
8457 *** as such. This will affect the creation of libtool libraries that
8458 *** depend on shared libraries, but programs linked with such libtool
8459 *** libraries will work regardless of this problem. Nevertheless, you
8460 *** may want to report the problem to your system manager and/or to
8461 *** bug-libtool@gnu.org
8462
8463 _LT_EOF
8464 fi ;;
8465 esac
8466 fi
8467 break
8468 fi
8469 done
8470 IFS="$lt_save_ifs"
8471 MAGIC_CMD="$lt_save_MAGIC_CMD"
8472 ;;
8473 esac
8474 fi
8475
8476 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8477 if test -n "$MAGIC_CMD"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8479 $as_echo "$MAGIC_CMD" >&6; }
8480 else
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8483 fi
8484
8485
8486 else
8487 MAGIC_CMD=:
8488 fi
8489 fi
8490
8491 fi
8492 ;;
8493 esac
8494
8495 # Use C for the default configuration in the libtool script
8496
8497 lt_save_CC="$CC"
8498 ac_ext=c
8499 ac_cpp='$CPP $CPPFLAGS'
8500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8503
8504
8505 # Source file extension for C test sources.
8506 ac_ext=c
8507
8508 # Object file extension for compiled C test sources.
8509 objext=o
8510 objext=$objext
8511
8512 # Code to be used in simple compile tests
8513 lt_simple_compile_test_code="int some_variable = 0;"
8514
8515 # Code to be used in simple link tests
8516 lt_simple_link_test_code='int main(){return(0);}'
8517
8518
8519
8520
8521
8522
8523
8524 # If no C compiler was specified, use CC.
8525 LTCC=${LTCC-"$CC"}
8526
8527 # If no C compiler flags were specified, use CFLAGS.
8528 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8529
8530 # Allow CC to be a program name with arguments.
8531 compiler=$CC
8532
8533 # Save the default compiler, since it gets overwritten when the other
8534 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8535 compiler_DEFAULT=$CC
8536
8537 # save warnings/boilerplate of simple test code
8538 ac_outfile=conftest.$ac_objext
8539 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8540 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8541 _lt_compiler_boilerplate=`cat conftest.err`
8542 $RM conftest*
8543
8544 ac_outfile=conftest.$ac_objext
8545 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8546 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8547 _lt_linker_boilerplate=`cat conftest.err`
8548 $RM -r conftest*
8549
8550
8551 ## CAVEAT EMPTOR:
8552 ## There is no encapsulation within the following macros, do not change
8553 ## the running order or otherwise move them around unless you know exactly
8554 ## what you are doing...
8555 if test -n "$compiler"; then
8556
8557 lt_prog_compiler_no_builtin_flag=
8558
8559 if test "$GCC" = yes; then
8560 case $cc_basename in
8561 nvcc*)
8562 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8563 *)
8564 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8565 esac
8566
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8568 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8569 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8570 $as_echo_n "(cached) " >&6
8571 else
8572 lt_cv_prog_compiler_rtti_exceptions=no
8573 ac_outfile=conftest.$ac_objext
8574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8575 lt_compiler_flag="-fno-rtti -fno-exceptions"
8576 # Insert the option either (1) after the last *FLAGS variable, or
8577 # (2) before a word containing "conftest.", or (3) at the end.
8578 # Note that $ac_compile itself does not contain backslashes and begins
8579 # with a dollar sign (not a hyphen), so the echo should work correctly.
8580 # The option is referenced via a variable to avoid confusing sed.
8581 lt_compile=`echo "$ac_compile" | $SED \
8582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8584 -e 's:$: $lt_compiler_flag:'`
8585 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8586 (eval "$lt_compile" 2>conftest.err)
8587 ac_status=$?
8588 cat conftest.err >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 if (exit $ac_status) && test -s "$ac_outfile"; then
8591 # The compiler can only warn and ignore the option if not recognized
8592 # So say no if there are warnings other than the usual output.
8593 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8595 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8596 lt_cv_prog_compiler_rtti_exceptions=yes
8597 fi
8598 fi
8599 $RM conftest*
8600
8601 fi
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8603 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8604
8605 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8606 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8607 else
8608 :
8609 fi
8610
8611 fi
8612
8613
8614
8615
8616
8617
8618 lt_prog_compiler_wl=
8619 lt_prog_compiler_pic=
8620 lt_prog_compiler_static=
8621
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8623 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8624
8625 if test "$GCC" = yes; then
8626 lt_prog_compiler_wl='-Wl,'
8627 lt_prog_compiler_static='-static'
8628
8629 case $host_os in
8630 aix*)
8631 # All AIX code is PIC.
8632 if test "$host_cpu" = ia64; then
8633 # AIX 5 now supports IA64 processor
8634 lt_prog_compiler_static='-Bstatic'
8635 fi
8636 lt_prog_compiler_pic='-fPIC'
8637 ;;
8638
8639 amigaos*)
8640 case $host_cpu in
8641 powerpc)
8642 # see comment about AmigaOS4 .so support
8643 lt_prog_compiler_pic='-fPIC'
8644 ;;
8645 m68k)
8646 # FIXME: we need at least 68020 code to build shared libraries, but
8647 # adding the `-m68020' flag to GCC prevents building anything better,
8648 # like `-m68040'.
8649 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8650 ;;
8651 esac
8652 ;;
8653
8654 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8655 # PIC is the default for these OSes.
8656 ;;
8657
8658 mingw* | cygwin* | pw32* | os2* | cegcc*)
8659 # This hack is so that the source file can tell whether it is being
8660 # built for inclusion in a dll (and should export symbols for example).
8661 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8662 # (--disable-auto-import) libraries
8663 lt_prog_compiler_pic='-DDLL_EXPORT'
8664 ;;
8665
8666 darwin* | rhapsody*)
8667 # PIC is the default on this platform
8668 # Common symbols not allowed in MH_DYLIB files
8669 lt_prog_compiler_pic='-fno-common'
8670 ;;
8671
8672 haiku*)
8673 # PIC is the default for Haiku.
8674 # The "-static" flag exists, but is broken.
8675 lt_prog_compiler_static=
8676 ;;
8677
8678 hpux*)
8679 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8680 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8681 # sets the default TLS model and affects inlining.
8682 case $host_cpu in
8683 hppa*64*)
8684 # +Z the default
8685 ;;
8686 *)
8687 lt_prog_compiler_pic='-fPIC'
8688 ;;
8689 esac
8690 ;;
8691
8692 interix[3-9]*)
8693 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8694 # Instead, we relocate shared libraries at runtime.
8695 ;;
8696
8697 msdosdjgpp*)
8698 # Just because we use GCC doesn't mean we suddenly get shared libraries
8699 # on systems that don't support them.
8700 lt_prog_compiler_can_build_shared=no
8701 enable_shared=no
8702 ;;
8703
8704 *nto* | *qnx*)
8705 # QNX uses GNU C++, but need to define -shared option too, otherwise
8706 # it will coredump.
8707 lt_prog_compiler_pic='-fPIC -shared'
8708 ;;
8709
8710 sysv4*MP*)
8711 if test -d /usr/nec; then
8712 lt_prog_compiler_pic=-Kconform_pic
8713 fi
8714 ;;
8715
8716 *)
8717 lt_prog_compiler_pic='-fPIC'
8718 ;;
8719 esac
8720
8721 case $cc_basename in
8722 nvcc*) # Cuda Compiler Driver 2.2
8723 lt_prog_compiler_wl='-Xlinker '
8724 lt_prog_compiler_pic='-Xcompiler -fPIC'
8725 ;;
8726 esac
8727 else
8728 # PORTME Check for flag to pass linker flags through the system compiler.
8729 case $host_os in
8730 aix*)
8731 lt_prog_compiler_wl='-Wl,'
8732 if test "$host_cpu" = ia64; then
8733 # AIX 5 now supports IA64 processor
8734 lt_prog_compiler_static='-Bstatic'
8735 else
8736 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8737 fi
8738 ;;
8739
8740 mingw* | cygwin* | pw32* | os2* | cegcc*)
8741 # This hack is so that the source file can tell whether it is being
8742 # built for inclusion in a dll (and should export symbols for example).
8743 lt_prog_compiler_pic='-DDLL_EXPORT'
8744 ;;
8745
8746 hpux9* | hpux10* | hpux11*)
8747 lt_prog_compiler_wl='-Wl,'
8748 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8749 # not for PA HP-UX.
8750 case $host_cpu in
8751 hppa*64*|ia64*)
8752 # +Z the default
8753 ;;
8754 *)
8755 lt_prog_compiler_pic='+Z'
8756 ;;
8757 esac
8758 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8759 lt_prog_compiler_static='${wl}-a ${wl}archive'
8760 ;;
8761
8762 irix5* | irix6* | nonstopux*)
8763 lt_prog_compiler_wl='-Wl,'
8764 # PIC (with -KPIC) is the default.
8765 lt_prog_compiler_static='-non_shared'
8766 ;;
8767
8768 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8769 case $cc_basename in
8770 # old Intel for x86_64 which still supported -KPIC.
8771 ecc*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='-KPIC'
8774 lt_prog_compiler_static='-static'
8775 ;;
8776 # icc used to be incompatible with GCC.
8777 # ICC 10 doesn't accept -KPIC any more.
8778 icc* | ifort*)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fPIC'
8781 lt_prog_compiler_static='-static'
8782 ;;
8783 # Lahey Fortran 8.1.
8784 lf95*)
8785 lt_prog_compiler_wl='-Wl,'
8786 lt_prog_compiler_pic='--shared'
8787 lt_prog_compiler_static='--static'
8788 ;;
8789 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8790 # Portland Group compilers (*not* the Pentium gcc compiler,
8791 # which looks to be a dead project)
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_pic='-fpic'
8794 lt_prog_compiler_static='-Bstatic'
8795 ;;
8796 ccc*)
8797 lt_prog_compiler_wl='-Wl,'
8798 # All Alpha code is PIC.
8799 lt_prog_compiler_static='-non_shared'
8800 ;;
8801 xl* | bgxl* | bgf* | mpixl*)
8802 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_pic='-qpic'
8805 lt_prog_compiler_static='-qstaticlink'
8806 ;;
8807 *)
8808 case `$CC -V 2>&1 | sed 5q` in
8809 *Sun\ F* | *Sun*Fortran*)
8810 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8811 lt_prog_compiler_pic='-KPIC'
8812 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_wl=''
8814 ;;
8815 *Sun\ C*)
8816 # Sun C 5.9
8817 lt_prog_compiler_pic='-KPIC'
8818 lt_prog_compiler_static='-Bstatic'
8819 lt_prog_compiler_wl='-Wl,'
8820 ;;
8821 esac
8822 ;;
8823 esac
8824 ;;
8825
8826 newsos6)
8827 lt_prog_compiler_pic='-KPIC'
8828 lt_prog_compiler_static='-Bstatic'
8829 ;;
8830
8831 *nto* | *qnx*)
8832 # QNX uses GNU C++, but need to define -shared option too, otherwise
8833 # it will coredump.
8834 lt_prog_compiler_pic='-fPIC -shared'
8835 ;;
8836
8837 osf3* | osf4* | osf5*)
8838 lt_prog_compiler_wl='-Wl,'
8839 # All OSF/1 code is PIC.
8840 lt_prog_compiler_static='-non_shared'
8841 ;;
8842
8843 rdos*)
8844 lt_prog_compiler_static='-non_shared'
8845 ;;
8846
8847 solaris*)
8848 lt_prog_compiler_pic='-KPIC'
8849 lt_prog_compiler_static='-Bstatic'
8850 case $cc_basename in
8851 f77* | f90* | f95*)
8852 lt_prog_compiler_wl='-Qoption ld ';;
8853 *)
8854 lt_prog_compiler_wl='-Wl,';;
8855 esac
8856 ;;
8857
8858 sunos4*)
8859 lt_prog_compiler_wl='-Qoption ld '
8860 lt_prog_compiler_pic='-PIC'
8861 lt_prog_compiler_static='-Bstatic'
8862 ;;
8863
8864 sysv4 | sysv4.2uw2* | sysv4.3*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8868 ;;
8869
8870 sysv4*MP*)
8871 if test -d /usr/nec ;then
8872 lt_prog_compiler_pic='-Kconform_pic'
8873 lt_prog_compiler_static='-Bstatic'
8874 fi
8875 ;;
8876
8877 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8878 lt_prog_compiler_wl='-Wl,'
8879 lt_prog_compiler_pic='-KPIC'
8880 lt_prog_compiler_static='-Bstatic'
8881 ;;
8882
8883 unicos*)
8884 lt_prog_compiler_wl='-Wl,'
8885 lt_prog_compiler_can_build_shared=no
8886 ;;
8887
8888 uts4*)
8889 lt_prog_compiler_pic='-pic'
8890 lt_prog_compiler_static='-Bstatic'
8891 ;;
8892
8893 *)
8894 lt_prog_compiler_can_build_shared=no
8895 ;;
8896 esac
8897 fi
8898
8899 case $host_os in
8900 # For platforms which do not support PIC, -DPIC is meaningless:
8901 *djgpp*)
8902 lt_prog_compiler_pic=
8903 ;;
8904 *)
8905 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8906 ;;
8907 esac
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8909 $as_echo "$lt_prog_compiler_pic" >&6; }
8910
8911
8912
8913
8914
8915
8916 #
8917 # Check to make sure the PIC flag actually works.
8918 #
8919 if test -n "$lt_prog_compiler_pic"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8921 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8922 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 lt_cv_prog_compiler_pic_works=no
8926 ac_outfile=conftest.$ac_objext
8927 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8929 # Insert the option either (1) after the last *FLAGS variable, or
8930 # (2) before a word containing "conftest.", or (3) at the end.
8931 # Note that $ac_compile itself does not contain backslashes and begins
8932 # with a dollar sign (not a hyphen), so the echo should work correctly.
8933 # The option is referenced via a variable to avoid confusing sed.
8934 lt_compile=`echo "$ac_compile" | $SED \
8935 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8937 -e 's:$: $lt_compiler_flag:'`
8938 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8939 (eval "$lt_compile" 2>conftest.err)
8940 ac_status=$?
8941 cat conftest.err >&5
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943 if (exit $ac_status) && test -s "$ac_outfile"; then
8944 # The compiler can only warn and ignore the option if not recognized
8945 # So say no if there are warnings other than the usual output.
8946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8947 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8948 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8949 lt_cv_prog_compiler_pic_works=yes
8950 fi
8951 fi
8952 $RM conftest*
8953
8954 fi
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8956 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8957
8958 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8959 case $lt_prog_compiler_pic in
8960 "" | " "*) ;;
8961 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8962 esac
8963 else
8964 lt_prog_compiler_pic=
8965 lt_prog_compiler_can_build_shared=no
8966 fi
8967
8968 fi
8969
8970
8971
8972
8973
8974
8975 #
8976 # Check to make sure the static flag actually works.
8977 #
8978 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8980 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8981 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8982 $as_echo_n "(cached) " >&6
8983 else
8984 lt_cv_prog_compiler_static_works=no
8985 save_LDFLAGS="$LDFLAGS"
8986 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8987 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8988 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8989 # The linker can only warn and ignore the option if not recognized
8990 # So say no if there are warnings
8991 if test -s conftest.err; then
8992 # Append any errors to the config.log.
8993 cat conftest.err 1>&5
8994 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8995 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8996 if diff conftest.exp conftest.er2 >/dev/null; then
8997 lt_cv_prog_compiler_static_works=yes
8998 fi
8999 else
9000 lt_cv_prog_compiler_static_works=yes
9001 fi
9002 fi
9003 $RM -r conftest*
9004 LDFLAGS="$save_LDFLAGS"
9005
9006 fi
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9008 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9009
9010 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9011 :
9012 else
9013 lt_prog_compiler_static=
9014 fi
9015
9016
9017
9018
9019
9020
9021
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9023 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9024 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9025 $as_echo_n "(cached) " >&6
9026 else
9027 lt_cv_prog_compiler_c_o=no
9028 $RM -r conftest 2>/dev/null
9029 mkdir conftest
9030 cd conftest
9031 mkdir out
9032 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9033
9034 lt_compiler_flag="-o out/conftest2.$ac_objext"
9035 # Insert the option either (1) after the last *FLAGS variable, or
9036 # (2) before a word containing "conftest.", or (3) at the end.
9037 # Note that $ac_compile itself does not contain backslashes and begins
9038 # with a dollar sign (not a hyphen), so the echo should work correctly.
9039 lt_compile=`echo "$ac_compile" | $SED \
9040 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9041 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9042 -e 's:$: $lt_compiler_flag:'`
9043 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9044 (eval "$lt_compile" 2>out/conftest.err)
9045 ac_status=$?
9046 cat out/conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9049 then
9050 # The compiler can only warn and ignore the option if not recognized
9051 # So say no if there are warnings
9052 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9053 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9054 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9055 lt_cv_prog_compiler_c_o=yes
9056 fi
9057 fi
9058 chmod u+w . 2>&5
9059 $RM conftest*
9060 # SGI C++ compiler will create directory out/ii_files/ for
9061 # template instantiation
9062 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9063 $RM out/* && rmdir out
9064 cd ..
9065 $RM -r conftest
9066 $RM conftest*
9067
9068 fi
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9070 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9071
9072
9073
9074
9075
9076
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9078 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9079 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 lt_cv_prog_compiler_c_o=no
9083 $RM -r conftest 2>/dev/null
9084 mkdir conftest
9085 cd conftest
9086 mkdir out
9087 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9088
9089 lt_compiler_flag="-o out/conftest2.$ac_objext"
9090 # Insert the option either (1) after the last *FLAGS variable, or
9091 # (2) before a word containing "conftest.", or (3) at the end.
9092 # Note that $ac_compile itself does not contain backslashes and begins
9093 # with a dollar sign (not a hyphen), so the echo should work correctly.
9094 lt_compile=`echo "$ac_compile" | $SED \
9095 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9096 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9097 -e 's:$: $lt_compiler_flag:'`
9098 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9099 (eval "$lt_compile" 2>out/conftest.err)
9100 ac_status=$?
9101 cat out/conftest.err >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9104 then
9105 # The compiler can only warn and ignore the option if not recognized
9106 # So say no if there are warnings
9107 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9108 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9109 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9110 lt_cv_prog_compiler_c_o=yes
9111 fi
9112 fi
9113 chmod u+w . 2>&5
9114 $RM conftest*
9115 # SGI C++ compiler will create directory out/ii_files/ for
9116 # template instantiation
9117 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9118 $RM out/* && rmdir out
9119 cd ..
9120 $RM -r conftest
9121 $RM conftest*
9122
9123 fi
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9125 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9126
9127
9128
9129
9130 hard_links="nottested"
9131 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9132 # do not overwrite the value of need_locks provided by the user
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9134 $as_echo_n "checking if we can lock with hard links... " >&6; }
9135 hard_links=yes
9136 $RM conftest*
9137 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9138 touch conftest.a
9139 ln conftest.a conftest.b 2>&5 || hard_links=no
9140 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9142 $as_echo "$hard_links" >&6; }
9143 if test "$hard_links" = no; then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9145 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9146 need_locks=warn
9147 fi
9148 else
9149 need_locks=no
9150 fi
9151
9152
9153
9154
9155
9156
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9158 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9159
9160 runpath_var=
9161 allow_undefined_flag=
9162 always_export_symbols=no
9163 archive_cmds=
9164 archive_expsym_cmds=
9165 compiler_needs_object=no
9166 enable_shared_with_static_runtimes=no
9167 export_dynamic_flag_spec=
9168 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9169 hardcode_automatic=no
9170 hardcode_direct=no
9171 hardcode_direct_absolute=no
9172 hardcode_libdir_flag_spec=
9173 hardcode_libdir_flag_spec_ld=
9174 hardcode_libdir_separator=
9175 hardcode_minus_L=no
9176 hardcode_shlibpath_var=unsupported
9177 inherit_rpath=no
9178 link_all_deplibs=unknown
9179 module_cmds=
9180 module_expsym_cmds=
9181 old_archive_from_new_cmds=
9182 old_archive_from_expsyms_cmds=
9183 thread_safe_flag_spec=
9184 whole_archive_flag_spec=
9185 # include_expsyms should be a list of space-separated symbols to be *always*
9186 # included in the symbol list
9187 include_expsyms=
9188 # exclude_expsyms can be an extended regexp of symbols to exclude
9189 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9190 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9191 # as well as any symbol that contains `d'.
9192 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9193 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9194 # platforms (ab)use it in PIC code, but their linkers get confused if
9195 # the symbol is explicitly referenced. Since portable code cannot
9196 # rely on this symbol name, it's probably fine to never include it in
9197 # preloaded symbol tables.
9198 # Exclude shared library initialization/finalization symbols.
9199 extract_expsyms_cmds=
9200
9201 case $host_os in
9202 cygwin* | mingw* | pw32* | cegcc*)
9203 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9204 # When not using gcc, we currently assume that we are using
9205 # Microsoft Visual C++.
9206 if test "$GCC" != yes; then
9207 with_gnu_ld=no
9208 fi
9209 ;;
9210 interix*)
9211 # we just hope/assume this is gcc and not c89 (= MSVC++)
9212 with_gnu_ld=yes
9213 ;;
9214 openbsd*)
9215 with_gnu_ld=no
9216 ;;
9217 esac
9218
9219 ld_shlibs=yes
9220
9221 # On some targets, GNU ld is compatible enough with the native linker
9222 # that we're better off using the native interface for both.
9223 lt_use_gnu_ld_interface=no
9224 if test "$with_gnu_ld" = yes; then
9225 case $host_os in
9226 aix*)
9227 # The AIX port of GNU ld has always aspired to compatibility
9228 # with the native linker. However, as the warning in the GNU ld
9229 # block says, versions before 2.19.5* couldn't really create working
9230 # shared libraries, regardless of the interface used.
9231 case `$LD -v 2>&1` in
9232 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9233 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9234 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9235 *)
9236 lt_use_gnu_ld_interface=yes
9237 ;;
9238 esac
9239 ;;
9240 *)
9241 lt_use_gnu_ld_interface=yes
9242 ;;
9243 esac
9244 fi
9245
9246 if test "$lt_use_gnu_ld_interface" = yes; then
9247 # If archive_cmds runs LD, not CC, wlarc should be empty
9248 wlarc='${wl}'
9249
9250 # Set some defaults for GNU ld with shared library support. These
9251 # are reset later if shared libraries are not supported. Putting them
9252 # here allows them to be overridden if necessary.
9253 runpath_var=LD_RUN_PATH
9254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9255 export_dynamic_flag_spec='${wl}--export-dynamic'
9256 # ancient GNU ld didn't support --whole-archive et. al.
9257 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9258 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9259 else
9260 whole_archive_flag_spec=
9261 fi
9262 supports_anon_versioning=no
9263 case `$LD -v 2>&1` in
9264 *GNU\ gold*) supports_anon_versioning=yes ;;
9265 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9266 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9267 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9268 *\ 2.11.*) ;; # other 2.11 versions
9269 *) supports_anon_versioning=yes ;;
9270 esac
9271
9272 # See if GNU ld supports shared libraries.
9273 case $host_os in
9274 aix[3-9]*)
9275 # On AIX/PPC, the GNU linker is very broken
9276 if test "$host_cpu" != ia64; then
9277 ld_shlibs=no
9278 cat <<_LT_EOF 1>&2
9279
9280 *** Warning: the GNU linker, at least up to release 2.19, is reported
9281 *** to be unable to reliably create shared libraries on AIX.
9282 *** Therefore, libtool is disabling shared libraries support. If you
9283 *** really care for shared libraries, you may want to install binutils
9284 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9285 *** You will then need to restart the configuration process.
9286
9287 _LT_EOF
9288 fi
9289 ;;
9290
9291 amigaos*)
9292 case $host_cpu in
9293 powerpc)
9294 # see comment about AmigaOS4 .so support
9295 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296 archive_expsym_cmds=''
9297 ;;
9298 m68k)
9299 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)'
9300 hardcode_libdir_flag_spec='-L$libdir'
9301 hardcode_minus_L=yes
9302 ;;
9303 esac
9304 ;;
9305
9306 beos*)
9307 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9308 allow_undefined_flag=unsupported
9309 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9310 # support --undefined. This deserves some investigation. FIXME
9311 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9312 else
9313 ld_shlibs=no
9314 fi
9315 ;;
9316
9317 cygwin* | mingw* | pw32* | cegcc*)
9318 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9319 # as there is no search path for DLLs.
9320 hardcode_libdir_flag_spec='-L$libdir'
9321 export_dynamic_flag_spec='${wl}--export-all-symbols'
9322 allow_undefined_flag=unsupported
9323 always_export_symbols=no
9324 enable_shared_with_static_runtimes=yes
9325 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9326
9327 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9329 # If the export-symbols file already is a .def file (1st line
9330 # is EXPORTS), use it as is; otherwise, prepend...
9331 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9332 cp $export_symbols $output_objdir/$soname.def;
9333 else
9334 echo EXPORTS > $output_objdir/$soname.def;
9335 cat $export_symbols >> $output_objdir/$soname.def;
9336 fi~
9337 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9338 else
9339 ld_shlibs=no
9340 fi
9341 ;;
9342
9343 haiku*)
9344 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345 link_all_deplibs=yes
9346 ;;
9347
9348 interix[3-9]*)
9349 hardcode_direct=no
9350 hardcode_shlibpath_var=no
9351 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9352 export_dynamic_flag_spec='${wl}-E'
9353 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9354 # Instead, shared libraries are loaded at an image base (0x10000000 by
9355 # default) and relocated if they conflict, which is a slow very memory
9356 # consuming and fragmenting process. To avoid this, we pick a random,
9357 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9358 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9359 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9360 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'
9361 ;;
9362
9363 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9364 tmp_diet=no
9365 if test "$host_os" = linux-dietlibc; then
9366 case $cc_basename in
9367 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9368 esac
9369 fi
9370 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9371 && test "$tmp_diet" = no
9372 then
9373 tmp_addflag=' $pic_flag'
9374 tmp_sharedflag='-shared'
9375 case $cc_basename,$host_cpu in
9376 pgcc*) # Portland Group C compiler
9377 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'
9378 tmp_addflag=' $pic_flag'
9379 ;;
9380 pgf77* | pgf90* | pgf95* | pgfortran*)
9381 # Portland Group f77 and f90 compilers
9382 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'
9383 tmp_addflag=' $pic_flag -Mnomain' ;;
9384 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9385 tmp_addflag=' -i_dynamic' ;;
9386 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9387 tmp_addflag=' -i_dynamic -nofor_main' ;;
9388 ifc* | ifort*) # Intel Fortran compiler
9389 tmp_addflag=' -nofor_main' ;;
9390 lf95*) # Lahey Fortran 8.1
9391 whole_archive_flag_spec=
9392 tmp_sharedflag='--shared' ;;
9393 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9394 tmp_sharedflag='-qmkshrobj'
9395 tmp_addflag= ;;
9396 nvcc*) # Cuda Compiler Driver 2.2
9397 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'
9398 compiler_needs_object=yes
9399 ;;
9400 esac
9401 case `$CC -V 2>&1 | sed 5q` in
9402 *Sun\ C*) # Sun C 5.9
9403 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'
9404 compiler_needs_object=yes
9405 tmp_sharedflag='-G' ;;
9406 *Sun\ F*) # Sun Fortran 8.3
9407 tmp_sharedflag='-G' ;;
9408 esac
9409 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410
9411 if test "x$supports_anon_versioning" = xyes; then
9412 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9413 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9414 echo "local: *; };" >> $output_objdir/$libname.ver~
9415 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9416 fi
9417
9418 case $cc_basename in
9419 xlf* | bgf* | bgxlf* | mpixlf*)
9420 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9421 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9422 hardcode_libdir_flag_spec=
9423 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9424 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9425 if test "x$supports_anon_versioning" = xyes; then
9426 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9427 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9428 echo "local: *; };" >> $output_objdir/$libname.ver~
9429 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9430 fi
9431 ;;
9432 esac
9433 else
9434 ld_shlibs=no
9435 fi
9436 ;;
9437
9438 netbsd*)
9439 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9440 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9441 wlarc=
9442 else
9443 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9444 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9445 fi
9446 ;;
9447
9448 solaris*)
9449 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9450 ld_shlibs=no
9451 cat <<_LT_EOF 1>&2
9452
9453 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9454 *** create shared libraries on Solaris systems. Therefore, libtool
9455 *** is disabling shared libraries support. We urge you to upgrade GNU
9456 *** binutils to release 2.9.1 or newer. Another option is to modify
9457 *** your PATH or compiler configuration so that the native linker is
9458 *** used, and then restart.
9459
9460 _LT_EOF
9461 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9462 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9463 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9464 else
9465 ld_shlibs=no
9466 fi
9467 ;;
9468
9469 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9470 case `$LD -v 2>&1` in
9471 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9472 ld_shlibs=no
9473 cat <<_LT_EOF 1>&2
9474
9475 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9476 *** reliably create shared libraries on SCO systems. Therefore, libtool
9477 *** is disabling shared libraries support. We urge you to upgrade GNU
9478 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9479 *** your PATH or compiler configuration so that the native linker is
9480 *** used, and then restart.
9481
9482 _LT_EOF
9483 ;;
9484 *)
9485 # For security reasons, it is highly recommended that you always
9486 # use absolute paths for naming shared libraries, and exclude the
9487 # DT_RUNPATH tag from executables and libraries. But doing so
9488 # requires that you compile everything twice, which is a pain.
9489 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9490 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9493 else
9494 ld_shlibs=no
9495 fi
9496 ;;
9497 esac
9498 ;;
9499
9500 sunos4*)
9501 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9502 wlarc=
9503 hardcode_direct=yes
9504 hardcode_shlibpath_var=no
9505 ;;
9506
9507 *)
9508 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9509 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9510 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9511 else
9512 ld_shlibs=no
9513 fi
9514 ;;
9515 esac
9516
9517 if test "$ld_shlibs" = no; then
9518 runpath_var=
9519 hardcode_libdir_flag_spec=
9520 export_dynamic_flag_spec=
9521 whole_archive_flag_spec=
9522 fi
9523 else
9524 # PORTME fill in a description of your system's linker (not GNU ld)
9525 case $host_os in
9526 aix3*)
9527 allow_undefined_flag=unsupported
9528 always_export_symbols=yes
9529 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'
9530 # Note: this linker hardcodes the directories in LIBPATH if there
9531 # are no directories specified by -L.
9532 hardcode_minus_L=yes
9533 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9534 # Neither direct hardcoding nor static linking is supported with a
9535 # broken collect2.
9536 hardcode_direct=unsupported
9537 fi
9538 ;;
9539
9540 aix[4-9]*)
9541 if test "$host_cpu" = ia64; then
9542 # On IA64, the linker does run time linking by default, so we don't
9543 # have to do anything special.
9544 aix_use_runtimelinking=no
9545 exp_sym_flag='-Bexport'
9546 no_entry_flag=""
9547 else
9548 # If we're using GNU nm, then we don't want the "-C" option.
9549 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9550 # Also, AIX nm treats weak defined symbols like other global
9551 # defined symbols, whereas GNU nm marks them as "W".
9552 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9553 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'
9554 else
9555 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9556 fi
9557 aix_use_runtimelinking=no
9558
9559 # Test if we are trying to use run time linking or normal
9560 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9561 # need to do runtime linking.
9562 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9563 for ld_flag in $LDFLAGS; do
9564 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9565 aix_use_runtimelinking=yes
9566 break
9567 fi
9568 done
9569 ;;
9570 esac
9571
9572 exp_sym_flag='-bexport'
9573 no_entry_flag='-bnoentry'
9574 fi
9575
9576 # When large executables or shared objects are built, AIX ld can
9577 # have problems creating the table of contents. If linking a library
9578 # or program results in "error TOC overflow" add -mminimal-toc to
9579 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9580 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9581
9582 archive_cmds=''
9583 hardcode_direct=yes
9584 hardcode_direct_absolute=yes
9585 hardcode_libdir_separator=':'
9586 link_all_deplibs=yes
9587 file_list_spec='${wl}-f,'
9588
9589 if test "$GCC" = yes; then
9590 case $host_os in aix4.[012]|aix4.[012].*)
9591 # We only want to do this on AIX 4.2 and lower, the check
9592 # below for broken collect2 doesn't work under 4.3+
9593 collect2name=`${CC} -print-prog-name=collect2`
9594 if test -f "$collect2name" &&
9595 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9596 then
9597 # We have reworked collect2
9598 :
9599 else
9600 # We have old collect2
9601 hardcode_direct=unsupported
9602 # It fails to find uninstalled libraries when the uninstalled
9603 # path is not listed in the libpath. Setting hardcode_minus_L
9604 # to unsupported forces relinking
9605 hardcode_minus_L=yes
9606 hardcode_libdir_flag_spec='-L$libdir'
9607 hardcode_libdir_separator=
9608 fi
9609 ;;
9610 esac
9611 shared_flag='-shared'
9612 if test "$aix_use_runtimelinking" = yes; then
9613 shared_flag="$shared_flag "'${wl}-G'
9614 fi
9615 else
9616 # not using gcc
9617 if test "$host_cpu" = ia64; then
9618 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9619 # chokes on -Wl,-G. The following line is correct:
9620 shared_flag='-G'
9621 else
9622 if test "$aix_use_runtimelinking" = yes; then
9623 shared_flag='${wl}-G'
9624 else
9625 shared_flag='${wl}-bM:SRE'
9626 fi
9627 fi
9628 fi
9629
9630 export_dynamic_flag_spec='${wl}-bexpall'
9631 # It seems that -bexpall does not export symbols beginning with
9632 # underscore (_), so it is better to generate a list of symbols to export.
9633 always_export_symbols=yes
9634 if test "$aix_use_runtimelinking" = yes; then
9635 # Warning - without using the other runtime loading flags (-brtl),
9636 # -berok will link without error, but may produce a broken library.
9637 allow_undefined_flag='-berok'
9638 # Determine the default libpath from the value encoded in an
9639 # empty executable.
9640 if test x$gcc_no_link = xyes; then
9641 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9642 fi
9643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9644 /* end confdefs.h. */
9645
9646 int
9647 main ()
9648 {
9649
9650 ;
9651 return 0;
9652 }
9653 _ACEOF
9654 if ac_fn_c_try_link "$LINENO"; then :
9655
9656 lt_aix_libpath_sed='
9657 /Import File Strings/,/^$/ {
9658 /^0/ {
9659 s/^0 *\(.*\)$/\1/
9660 p
9661 }
9662 }'
9663 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9664 # Check for a 64-bit object if we didn't find anything.
9665 if test -z "$aix_libpath"; then
9666 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9667 fi
9668 fi
9669 rm -f core conftest.err conftest.$ac_objext \
9670 conftest$ac_exeext conftest.$ac_ext
9671 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9672
9673 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9674 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"
9675 else
9676 if test "$host_cpu" = ia64; then
9677 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9678 allow_undefined_flag="-z nodefs"
9679 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"
9680 else
9681 # Determine the default libpath from the value encoded in an
9682 # empty executable.
9683 if test x$gcc_no_link = xyes; then
9684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9685 fi
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9688
9689 int
9690 main ()
9691 {
9692
9693 ;
9694 return 0;
9695 }
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698
9699 lt_aix_libpath_sed='
9700 /Import File Strings/,/^$/ {
9701 /^0/ {
9702 s/^0 *\(.*\)$/\1/
9703 p
9704 }
9705 }'
9706 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707 # Check for a 64-bit object if we didn't find anything.
9708 if test -z "$aix_libpath"; then
9709 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9710 fi
9711 fi
9712 rm -f core conftest.err conftest.$ac_objext \
9713 conftest$ac_exeext conftest.$ac_ext
9714 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9715
9716 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9717 # Warning - without using the other run time loading flags,
9718 # -berok will link without error, but may produce a broken library.
9719 no_undefined_flag=' ${wl}-bernotok'
9720 allow_undefined_flag=' ${wl}-berok'
9721 if test "$with_gnu_ld" = yes; then
9722 # We only use this code for GNU lds that support --whole-archive.
9723 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9724 else
9725 # Exported symbols can be pulled into shared objects from archives
9726 whole_archive_flag_spec='$convenience'
9727 fi
9728 archive_cmds_need_lc=yes
9729 # This is similar to how AIX traditionally builds its shared libraries.
9730 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'
9731 fi
9732 fi
9733 ;;
9734
9735 amigaos*)
9736 case $host_cpu in
9737 powerpc)
9738 # see comment about AmigaOS4 .so support
9739 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9740 archive_expsym_cmds=''
9741 ;;
9742 m68k)
9743 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)'
9744 hardcode_libdir_flag_spec='-L$libdir'
9745 hardcode_minus_L=yes
9746 ;;
9747 esac
9748 ;;
9749
9750 bsdi[45]*)
9751 export_dynamic_flag_spec=-rdynamic
9752 ;;
9753
9754 cygwin* | mingw* | pw32* | cegcc*)
9755 # When not using gcc, we currently assume that we are using
9756 # Microsoft Visual C++.
9757 # hardcode_libdir_flag_spec is actually meaningless, as there is
9758 # no search path for DLLs.
9759 hardcode_libdir_flag_spec=' '
9760 allow_undefined_flag=unsupported
9761 # Tell ltmain to make .lib files, not .a files.
9762 libext=lib
9763 # Tell ltmain to make .dll files, not .so files.
9764 shrext_cmds=".dll"
9765 # FIXME: Setting linknames here is a bad hack.
9766 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9767 # The linker will automatically build a .lib file if we build a DLL.
9768 old_archive_from_new_cmds='true'
9769 # FIXME: Should let the user specify the lib program.
9770 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9771 fix_srcfile_path='`cygpath -w "$srcfile"`'
9772 enable_shared_with_static_runtimes=yes
9773 ;;
9774
9775 darwin* | rhapsody*)
9776
9777
9778 archive_cmds_need_lc=no
9779 hardcode_direct=no
9780 hardcode_automatic=yes
9781 hardcode_shlibpath_var=unsupported
9782 if test "$lt_cv_ld_force_load" = "yes"; then
9783 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\"`'
9784 else
9785 whole_archive_flag_spec=''
9786 fi
9787 link_all_deplibs=yes
9788 allow_undefined_flag="$_lt_dar_allow_undefined"
9789 case $cc_basename in
9790 ifort*) _lt_dar_can_shared=yes ;;
9791 *) _lt_dar_can_shared=$GCC ;;
9792 esac
9793 if test "$_lt_dar_can_shared" = "yes"; then
9794 output_verbose_link_cmd=func_echo_all
9795 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9796 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9797 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}"
9798 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}"
9799
9800 else
9801 ld_shlibs=no
9802 fi
9803
9804 ;;
9805
9806 dgux*)
9807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808 hardcode_libdir_flag_spec='-L$libdir'
9809 hardcode_shlibpath_var=no
9810 ;;
9811
9812 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9813 # support. Future versions do this automatically, but an explicit c++rt0.o
9814 # does not break anything, and helps significantly (at the cost of a little
9815 # extra space).
9816 freebsd2.2*)
9817 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9818 hardcode_libdir_flag_spec='-R$libdir'
9819 hardcode_direct=yes
9820 hardcode_shlibpath_var=no
9821 ;;
9822
9823 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9824 freebsd2.*)
9825 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9826 hardcode_direct=yes
9827 hardcode_minus_L=yes
9828 hardcode_shlibpath_var=no
9829 ;;
9830
9831 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9832 freebsd* | dragonfly*)
9833 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9834 hardcode_libdir_flag_spec='-R$libdir'
9835 hardcode_direct=yes
9836 hardcode_shlibpath_var=no
9837 ;;
9838
9839 hpux9*)
9840 if test "$GCC" = yes; then
9841 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'
9842 else
9843 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'
9844 fi
9845 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9846 hardcode_libdir_separator=:
9847 hardcode_direct=yes
9848
9849 # hardcode_minus_L: Not really in the search PATH,
9850 # but as the default location of the library.
9851 hardcode_minus_L=yes
9852 export_dynamic_flag_spec='${wl}-E'
9853 ;;
9854
9855 hpux10*)
9856 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9857 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858 else
9859 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9860 fi
9861 if test "$with_gnu_ld" = no; then
9862 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9863 hardcode_libdir_flag_spec_ld='+b $libdir'
9864 hardcode_libdir_separator=:
9865 hardcode_direct=yes
9866 hardcode_direct_absolute=yes
9867 export_dynamic_flag_spec='${wl}-E'
9868 # hardcode_minus_L: Not really in the search PATH,
9869 # but as the default location of the library.
9870 hardcode_minus_L=yes
9871 fi
9872 ;;
9873
9874 hpux11*)
9875 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9876 case $host_cpu in
9877 hppa*64*)
9878 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 ;;
9880 ia64*)
9881 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9882 ;;
9883 *)
9884 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9885 ;;
9886 esac
9887 else
9888 case $host_cpu in
9889 hppa*64*)
9890 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9891 ;;
9892 ia64*)
9893 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9894 ;;
9895 *)
9896
9897 # Older versions of the 11.00 compiler do not understand -b yet
9898 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9900 $as_echo_n "checking if $CC understands -b... " >&6; }
9901 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 lt_cv_prog_compiler__b=no
9905 save_LDFLAGS="$LDFLAGS"
9906 LDFLAGS="$LDFLAGS -b"
9907 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9908 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9909 # The linker can only warn and ignore the option if not recognized
9910 # So say no if there are warnings
9911 if test -s conftest.err; then
9912 # Append any errors to the config.log.
9913 cat conftest.err 1>&5
9914 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9916 if diff conftest.exp conftest.er2 >/dev/null; then
9917 lt_cv_prog_compiler__b=yes
9918 fi
9919 else
9920 lt_cv_prog_compiler__b=yes
9921 fi
9922 fi
9923 $RM -r conftest*
9924 LDFLAGS="$save_LDFLAGS"
9925
9926 fi
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9928 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9929
9930 if test x"$lt_cv_prog_compiler__b" = xyes; then
9931 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9932 else
9933 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9934 fi
9935
9936 ;;
9937 esac
9938 fi
9939 if test "$with_gnu_ld" = no; then
9940 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9941 hardcode_libdir_separator=:
9942
9943 case $host_cpu in
9944 hppa*64*|ia64*)
9945 hardcode_direct=no
9946 hardcode_shlibpath_var=no
9947 ;;
9948 *)
9949 hardcode_direct=yes
9950 hardcode_direct_absolute=yes
9951 export_dynamic_flag_spec='${wl}-E'
9952
9953 # hardcode_minus_L: Not really in the search PATH,
9954 # but as the default location of the library.
9955 hardcode_minus_L=yes
9956 ;;
9957 esac
9958 fi
9959 ;;
9960
9961 irix5* | irix6* | nonstopux*)
9962 if test "$GCC" = yes; then
9963 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'
9964 # Try to use the -exported_symbol ld option, if it does not
9965 # work, assume that -exports_file does not work either and
9966 # implicitly export all symbols.
9967 save_LDFLAGS="$LDFLAGS"
9968 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9969 if test x$gcc_no_link = xyes; then
9970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9971 fi
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int foo(void) {}
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 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'
9978
9979 fi
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 LDFLAGS="$save_LDFLAGS"
9983 else
9984 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'
9985 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'
9986 fi
9987 archive_cmds_need_lc='no'
9988 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9989 hardcode_libdir_separator=:
9990 inherit_rpath=yes
9991 link_all_deplibs=yes
9992 ;;
9993
9994 netbsd*)
9995 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9996 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9997 else
9998 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9999 fi
10000 hardcode_libdir_flag_spec='-R$libdir'
10001 hardcode_direct=yes
10002 hardcode_shlibpath_var=no
10003 ;;
10004
10005 newsos6)
10006 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007 hardcode_direct=yes
10008 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10009 hardcode_libdir_separator=:
10010 hardcode_shlibpath_var=no
10011 ;;
10012
10013 *nto* | *qnx*)
10014 ;;
10015
10016 openbsd*)
10017 if test -f /usr/libexec/ld.so; then
10018 hardcode_direct=yes
10019 hardcode_shlibpath_var=no
10020 hardcode_direct_absolute=yes
10021 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10024 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025 export_dynamic_flag_spec='${wl}-E'
10026 else
10027 case $host_os in
10028 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10029 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10030 hardcode_libdir_flag_spec='-R$libdir'
10031 ;;
10032 *)
10033 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10034 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10035 ;;
10036 esac
10037 fi
10038 else
10039 ld_shlibs=no
10040 fi
10041 ;;
10042
10043 os2*)
10044 hardcode_libdir_flag_spec='-L$libdir'
10045 hardcode_minus_L=yes
10046 allow_undefined_flag=unsupported
10047 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'
10048 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10049 ;;
10050
10051 osf3*)
10052 if test "$GCC" = yes; then
10053 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054 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'
10055 else
10056 allow_undefined_flag=' -expect_unresolved \*'
10057 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'
10058 fi
10059 archive_cmds_need_lc='no'
10060 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10061 hardcode_libdir_separator=:
10062 ;;
10063
10064 osf4* | osf5*) # as osf3* with the addition of -msym flag
10065 if test "$GCC" = yes; then
10066 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10067 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'
10068 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10069 else
10070 allow_undefined_flag=' -expect_unresolved \*'
10071 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'
10072 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~
10073 $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'
10074
10075 # Both c and cxx compiler support -rpath directly
10076 hardcode_libdir_flag_spec='-rpath $libdir'
10077 fi
10078 archive_cmds_need_lc='no'
10079 hardcode_libdir_separator=:
10080 ;;
10081
10082 solaris*)
10083 no_undefined_flag=' -z defs'
10084 if test "$GCC" = yes; then
10085 wlarc='${wl}'
10086 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10089 else
10090 case `$CC -V 2>&1` in
10091 *"Compilers 5.0"*)
10092 wlarc=''
10093 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10095 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10096 ;;
10097 *)
10098 wlarc='${wl}'
10099 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10101 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10102 ;;
10103 esac
10104 fi
10105 hardcode_libdir_flag_spec='-R$libdir'
10106 hardcode_shlibpath_var=no
10107 case $host_os in
10108 solaris2.[0-5] | solaris2.[0-5].*) ;;
10109 *)
10110 # The compiler driver will combine and reorder linker options,
10111 # but understands `-z linker_flag'. GCC discards it without `$wl',
10112 # but is careful enough not to reorder.
10113 # Supported since Solaris 2.6 (maybe 2.5.1?)
10114 if test "$GCC" = yes; then
10115 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10116 else
10117 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10118 fi
10119 ;;
10120 esac
10121 link_all_deplibs=yes
10122 ;;
10123
10124 sunos4*)
10125 if test "x$host_vendor" = xsequent; then
10126 # Use $CC to link under sequent, because it throws in some extra .o
10127 # files that make .init and .fini sections work.
10128 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10129 else
10130 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10131 fi
10132 hardcode_libdir_flag_spec='-L$libdir'
10133 hardcode_direct=yes
10134 hardcode_minus_L=yes
10135 hardcode_shlibpath_var=no
10136 ;;
10137
10138 sysv4)
10139 case $host_vendor in
10140 sni)
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_direct=yes # is this really true???
10143 ;;
10144 siemens)
10145 ## LD is ld it makes a PLAMLIB
10146 ## CC just makes a GrossModule.
10147 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10148 reload_cmds='$CC -r -o $output$reload_objs'
10149 hardcode_direct=no
10150 ;;
10151 motorola)
10152 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10153 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10154 ;;
10155 esac
10156 runpath_var='LD_RUN_PATH'
10157 hardcode_shlibpath_var=no
10158 ;;
10159
10160 sysv4.3*)
10161 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10162 hardcode_shlibpath_var=no
10163 export_dynamic_flag_spec='-Bexport'
10164 ;;
10165
10166 sysv4*MP*)
10167 if test -d /usr/nec; then
10168 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10169 hardcode_shlibpath_var=no
10170 runpath_var=LD_RUN_PATH
10171 hardcode_runpath_var=yes
10172 ld_shlibs=yes
10173 fi
10174 ;;
10175
10176 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10177 no_undefined_flag='${wl}-z,text'
10178 archive_cmds_need_lc=no
10179 hardcode_shlibpath_var=no
10180 runpath_var='LD_RUN_PATH'
10181
10182 if test "$GCC" = yes; then
10183 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 else
10186 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188 fi
10189 ;;
10190
10191 sysv5* | sco3.2v5* | sco5v6*)
10192 # Note: We can NOT use -z defs as we might desire, because we do not
10193 # link with -lc, and that would cause any symbols used from libc to
10194 # always be unresolved, which means just about no library would
10195 # ever link correctly. If we're not using GNU ld we use -z text
10196 # though, which does catch some bad symbols but isn't as heavy-handed
10197 # as -z defs.
10198 no_undefined_flag='${wl}-z,text'
10199 allow_undefined_flag='${wl}-z,nodefs'
10200 archive_cmds_need_lc=no
10201 hardcode_shlibpath_var=no
10202 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10203 hardcode_libdir_separator=':'
10204 link_all_deplibs=yes
10205 export_dynamic_flag_spec='${wl}-Bexport'
10206 runpath_var='LD_RUN_PATH'
10207
10208 if test "$GCC" = yes; then
10209 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10210 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 else
10212 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10213 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214 fi
10215 ;;
10216
10217 uts4*)
10218 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10219 hardcode_libdir_flag_spec='-L$libdir'
10220 hardcode_shlibpath_var=no
10221 ;;
10222
10223 *)
10224 ld_shlibs=no
10225 ;;
10226 esac
10227
10228 if test x$host_vendor = xsni; then
10229 case $host in
10230 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10231 export_dynamic_flag_spec='${wl}-Blargedynsym'
10232 ;;
10233 esac
10234 fi
10235 fi
10236
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10238 $as_echo "$ld_shlibs" >&6; }
10239 test "$ld_shlibs" = no && can_build_shared=no
10240
10241 with_gnu_ld=$with_gnu_ld
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257 #
10258 # Do we need to explicitly link libc?
10259 #
10260 case "x$archive_cmds_need_lc" in
10261 x|xyes)
10262 # Assume -lc should be added
10263 archive_cmds_need_lc=yes
10264
10265 if test "$enable_shared" = yes && test "$GCC" = yes; then
10266 case $archive_cmds in
10267 *'~'*)
10268 # FIXME: we may have to deal with multi-command sequences.
10269 ;;
10270 '$CC '*)
10271 # Test whether the compiler implicitly links with -lc since on some
10272 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10273 # to ld, don't add -lc before -lgcc.
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10275 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10276 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10277 $as_echo_n "(cached) " >&6
10278 else
10279 $RM conftest*
10280 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10281
10282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10283 (eval $ac_compile) 2>&5
10284 ac_status=$?
10285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10286 test $ac_status = 0; } 2>conftest.err; then
10287 soname=conftest
10288 lib=conftest
10289 libobjs=conftest.$ac_objext
10290 deplibs=
10291 wl=$lt_prog_compiler_wl
10292 pic_flag=$lt_prog_compiler_pic
10293 compiler_flags=-v
10294 linker_flags=-v
10295 verstring=
10296 output_objdir=.
10297 libname=conftest
10298 lt_save_allow_undefined_flag=$allow_undefined_flag
10299 allow_undefined_flag=
10300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10301 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10302 ac_status=$?
10303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10304 test $ac_status = 0; }
10305 then
10306 lt_cv_archive_cmds_need_lc=no
10307 else
10308 lt_cv_archive_cmds_need_lc=yes
10309 fi
10310 allow_undefined_flag=$lt_save_allow_undefined_flag
10311 else
10312 cat conftest.err 1>&5
10313 fi
10314 $RM conftest*
10315
10316 fi
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10318 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10319 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10320 ;;
10321 esac
10322 fi
10323 ;;
10324 esac
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10483 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10484
10485 if test "$GCC" = yes; then
10486 case $host_os in
10487 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10488 *) lt_awk_arg="/^libraries:/" ;;
10489 esac
10490 case $host_os in
10491 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10492 *) lt_sed_strip_eq="s,=/,/,g" ;;
10493 esac
10494 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10495 case $lt_search_path_spec in
10496 *\;*)
10497 # if the path contains ";" then we assume it to be the separator
10498 # otherwise default to the standard path separator (i.e. ":") - it is
10499 # assumed that no part of a normal pathname contains ";" but that should
10500 # okay in the real world where ";" in dirpaths is itself problematic.
10501 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10502 ;;
10503 *)
10504 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10505 ;;
10506 esac
10507 # Ok, now we have the path, separated by spaces, we can step through it
10508 # and add multilib dir if necessary.
10509 lt_tmp_lt_search_path_spec=
10510 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10511 for lt_sys_path in $lt_search_path_spec; do
10512 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10513 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10514 else
10515 test -d "$lt_sys_path" && \
10516 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10517 fi
10518 done
10519 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10520 BEGIN {RS=" "; FS="/|\n";} {
10521 lt_foo="";
10522 lt_count=0;
10523 for (lt_i = NF; lt_i > 0; lt_i--) {
10524 if ($lt_i != "" && $lt_i != ".") {
10525 if ($lt_i == "..") {
10526 lt_count++;
10527 } else {
10528 if (lt_count == 0) {
10529 lt_foo="/" $lt_i lt_foo;
10530 } else {
10531 lt_count--;
10532 }
10533 }
10534 }
10535 }
10536 if (lt_foo != "") { lt_freq[lt_foo]++; }
10537 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10538 }'`
10539 # AWK program above erroneously prepends '/' to C:/dos/paths
10540 # for these hosts.
10541 case $host_os in
10542 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10543 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10544 esac
10545 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10546 else
10547 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10548 fi
10549 library_names_spec=
10550 libname_spec='lib$name'
10551 soname_spec=
10552 shrext_cmds=".so"
10553 postinstall_cmds=
10554 postuninstall_cmds=
10555 finish_cmds=
10556 finish_eval=
10557 shlibpath_var=
10558 shlibpath_overrides_runpath=unknown
10559 version_type=none
10560 dynamic_linker="$host_os ld.so"
10561 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10562 need_lib_prefix=unknown
10563 hardcode_into_libs=no
10564
10565 # when you set need_version to no, make sure it does not cause -set_version
10566 # flags to be left without arguments
10567 need_version=unknown
10568
10569 case $host_os in
10570 aix3*)
10571 version_type=linux
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10573 shlibpath_var=LIBPATH
10574
10575 # AIX 3 has no versioning support, so we append a major version to the name.
10576 soname_spec='${libname}${release}${shared_ext}$major'
10577 ;;
10578
10579 aix[4-9]*)
10580 version_type=linux
10581 need_lib_prefix=no
10582 need_version=no
10583 hardcode_into_libs=yes
10584 if test "$host_cpu" = ia64; then
10585 # AIX 5 supports IA64
10586 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10587 shlibpath_var=LD_LIBRARY_PATH
10588 else
10589 # With GCC up to 2.95.x, collect2 would create an import file
10590 # for dependence libraries. The import file would start with
10591 # the line `#! .'. This would cause the generated library to
10592 # depend on `.', always an invalid library. This was fixed in
10593 # development snapshots of GCC prior to 3.0.
10594 case $host_os in
10595 aix4 | aix4.[01] | aix4.[01].*)
10596 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10597 echo ' yes '
10598 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10599 :
10600 else
10601 can_build_shared=no
10602 fi
10603 ;;
10604 esac
10605 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10606 # soname into executable. Probably we can add versioning support to
10607 # collect2, so additional links can be useful in future.
10608 if test "$aix_use_runtimelinking" = yes; then
10609 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10610 # instead of lib<name>.a to let people know that these are not
10611 # typical AIX shared libraries.
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613 else
10614 # We preserve .a as extension for shared libraries through AIX4.2
10615 # and later when we are not doing run time linking.
10616 library_names_spec='${libname}${release}.a $libname.a'
10617 soname_spec='${libname}${release}${shared_ext}$major'
10618 fi
10619 shlibpath_var=LIBPATH
10620 fi
10621 ;;
10622
10623 amigaos*)
10624 case $host_cpu in
10625 powerpc)
10626 # Since July 2007 AmigaOS4 officially supports .so libraries.
10627 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629 ;;
10630 m68k)
10631 library_names_spec='$libname.ixlibrary $libname.a'
10632 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10633 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'
10634 ;;
10635 esac
10636 ;;
10637
10638 beos*)
10639 library_names_spec='${libname}${shared_ext}'
10640 dynamic_linker="$host_os ld.so"
10641 shlibpath_var=LIBRARY_PATH
10642 ;;
10643
10644 bsdi[45]*)
10645 version_type=linux
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10650 shlibpath_var=LD_LIBRARY_PATH
10651 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10652 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10653 # the default ld.so.conf also contains /usr/contrib/lib and
10654 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10655 # libtool to hard-code these into programs
10656 ;;
10657
10658 cygwin* | mingw* | pw32* | cegcc*)
10659 version_type=windows
10660 shrext_cmds=".dll"
10661 need_version=no
10662 need_lib_prefix=no
10663
10664 case $GCC,$host_os in
10665 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10666 library_names_spec='$libname.dll.a'
10667 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10668 postinstall_cmds='base_file=`basename \${file}`~
10669 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10670 dldir=$destdir/`dirname \$dlpath`~
10671 test -d \$dldir || mkdir -p \$dldir~
10672 $install_prog $dir/$dlname \$dldir/$dlname~
10673 chmod a+x \$dldir/$dlname~
10674 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10675 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10676 fi'
10677 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10678 dlpath=$dir/\$dldll~
10679 $RM \$dlpath'
10680 shlibpath_overrides_runpath=yes
10681
10682 case $host_os in
10683 cygwin*)
10684 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10685 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686
10687 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10688 ;;
10689 mingw* | cegcc*)
10690 # MinGW DLLs use traditional 'lib' prefix
10691 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10692 ;;
10693 pw32*)
10694 # pw32 DLLs use 'pw' prefix rather than 'lib'
10695 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10696 ;;
10697 esac
10698 ;;
10699
10700 *)
10701 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10702 ;;
10703 esac
10704 dynamic_linker='Win32 ld.exe'
10705 # FIXME: first we should search . and the directory the executable is in
10706 shlibpath_var=PATH
10707 ;;
10708
10709 darwin* | rhapsody*)
10710 dynamic_linker="$host_os dyld"
10711 version_type=darwin
10712 need_lib_prefix=no
10713 need_version=no
10714 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10715 soname_spec='${libname}${release}${major}$shared_ext'
10716 shlibpath_overrides_runpath=yes
10717 shlibpath_var=DYLD_LIBRARY_PATH
10718 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10719
10720 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10721 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10722 ;;
10723
10724 dgux*)
10725 version_type=linux
10726 need_lib_prefix=no
10727 need_version=no
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 shlibpath_var=LD_LIBRARY_PATH
10731 ;;
10732
10733 freebsd* | dragonfly*)
10734 # DragonFly does not have aout. When/if they implement a new
10735 # versioning mechanism, adjust this.
10736 if test -x /usr/bin/objformat; then
10737 objformat=`/usr/bin/objformat`
10738 else
10739 case $host_os in
10740 freebsd[23].*) objformat=aout ;;
10741 *) objformat=elf ;;
10742 esac
10743 fi
10744 version_type=freebsd-$objformat
10745 case $version_type in
10746 freebsd-elf*)
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10748 need_version=no
10749 need_lib_prefix=no
10750 ;;
10751 freebsd-*)
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10753 need_version=yes
10754 ;;
10755 esac
10756 shlibpath_var=LD_LIBRARY_PATH
10757 case $host_os in
10758 freebsd2.*)
10759 shlibpath_overrides_runpath=yes
10760 ;;
10761 freebsd3.[01]* | freebsdelf3.[01]*)
10762 shlibpath_overrides_runpath=yes
10763 hardcode_into_libs=yes
10764 ;;
10765 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10766 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10767 shlibpath_overrides_runpath=no
10768 hardcode_into_libs=yes
10769 ;;
10770 *) # from 4.6 on, and DragonFly
10771 shlibpath_overrides_runpath=yes
10772 hardcode_into_libs=yes
10773 ;;
10774 esac
10775 ;;
10776
10777 gnu*)
10778 version_type=linux
10779 need_lib_prefix=no
10780 need_version=no
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 shlibpath_var=LD_LIBRARY_PATH
10784 hardcode_into_libs=yes
10785 ;;
10786
10787 haiku*)
10788 version_type=linux
10789 need_lib_prefix=no
10790 need_version=no
10791 dynamic_linker="$host_os runtime_loader"
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10793 soname_spec='${libname}${release}${shared_ext}$major'
10794 shlibpath_var=LIBRARY_PATH
10795 shlibpath_overrides_runpath=yes
10796 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10797 hardcode_into_libs=yes
10798 ;;
10799
10800 hpux9* | hpux10* | hpux11*)
10801 # Give a soname corresponding to the major version so that dld.sl refuses to
10802 # link against other versions.
10803 version_type=sunos
10804 need_lib_prefix=no
10805 need_version=no
10806 case $host_cpu in
10807 ia64*)
10808 shrext_cmds='.so'
10809 hardcode_into_libs=yes
10810 dynamic_linker="$host_os dld.so"
10811 shlibpath_var=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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 if test "X$HPUX_IA64_MODE" = X32; then
10816 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10817 else
10818 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10819 fi
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10821 ;;
10822 hppa*64*)
10823 shrext_cmds='.sl'
10824 hardcode_into_libs=yes
10825 dynamic_linker="$host_os dld.sl"
10826 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10827 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10830 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10831 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10832 ;;
10833 *)
10834 shrext_cmds='.sl'
10835 dynamic_linker="$host_os dld.sl"
10836 shlibpath_var=SHLIB_PATH
10837 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839 soname_spec='${libname}${release}${shared_ext}$major'
10840 ;;
10841 esac
10842 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10843 postinstall_cmds='chmod 555 $lib'
10844 # or fails outright, so override atomically:
10845 install_override_mode=555
10846 ;;
10847
10848 interix[3-9]*)
10849 version_type=linux
10850 need_lib_prefix=no
10851 need_version=no
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10855 shlibpath_var=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath=no
10857 hardcode_into_libs=yes
10858 ;;
10859
10860 irix5* | irix6* | nonstopux*)
10861 case $host_os in
10862 nonstopux*) version_type=nonstopux ;;
10863 *)
10864 if test "$lt_cv_prog_gnu_ld" = yes; then
10865 version_type=linux
10866 else
10867 version_type=irix
10868 fi ;;
10869 esac
10870 need_lib_prefix=no
10871 need_version=no
10872 soname_spec='${libname}${release}${shared_ext}$major'
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10874 case $host_os in
10875 irix5* | nonstopux*)
10876 libsuff= shlibsuff=
10877 ;;
10878 *)
10879 case $LD in # libtool.m4 will add one of these switches to LD
10880 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10881 libsuff= shlibsuff= libmagic=32-bit;;
10882 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10883 libsuff=32 shlibsuff=N32 libmagic=N32;;
10884 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10885 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10886 *) libsuff= shlibsuff= libmagic=never-match;;
10887 esac
10888 ;;
10889 esac
10890 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10891 shlibpath_overrides_runpath=no
10892 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10893 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10894 hardcode_into_libs=yes
10895 ;;
10896
10897 # No shared lib support for Linux oldld, aout, or coff.
10898 linux*oldld* | linux*aout* | linux*coff*)
10899 dynamic_linker=no
10900 ;;
10901
10902 # This must be Linux ELF.
10903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10904 version_type=linux
10905 need_lib_prefix=no
10906 need_version=no
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 soname_spec='${libname}${release}${shared_ext}$major'
10909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=no
10912
10913 # Some binutils ld are patched to set DT_RUNPATH
10914 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10915 $as_echo_n "(cached) " >&6
10916 else
10917 lt_cv_shlibpath_overrides_runpath=no
10918 save_LDFLAGS=$LDFLAGS
10919 save_libdir=$libdir
10920 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10921 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10922 if test x$gcc_no_link = xyes; then
10923 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10924 fi
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10927
10928 int
10929 main ()
10930 {
10931
10932 ;
10933 return 0;
10934 }
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10938 lt_cv_shlibpath_overrides_runpath=yes
10939 fi
10940 fi
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LDFLAGS=$save_LDFLAGS
10944 libdir=$save_libdir
10945
10946 fi
10947
10948 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10949
10950 # This implies no fast_install, which is unacceptable.
10951 # Some rework will be needed to allow for fast_install
10952 # before this can be enabled.
10953 hardcode_into_libs=yes
10954
10955 # Append ld.so.conf contents to the search path
10956 if test -f /etc/ld.so.conf; then
10957 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' ' '`
10958 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10959 fi
10960
10961 # We used to test for /lib/ld.so.1 and disable shared libraries on
10962 # powerpc, because MkLinux only supported shared libraries with the
10963 # GNU dynamic linker. Since this was broken with cross compilers,
10964 # most powerpc-linux boxes support dynamic linking these days and
10965 # people can always --disable-shared, the test was removed, and we
10966 # assume the GNU/Linux dynamic linker is in use.
10967 dynamic_linker='GNU/Linux ld.so'
10968 ;;
10969
10970 netbsd*)
10971 version_type=sunos
10972 need_lib_prefix=no
10973 need_version=no
10974 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10976 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10977 dynamic_linker='NetBSD (a.out) ld.so'
10978 else
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10980 soname_spec='${libname}${release}${shared_ext}$major'
10981 dynamic_linker='NetBSD ld.elf_so'
10982 fi
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=yes
10985 hardcode_into_libs=yes
10986 ;;
10987
10988 newsos6)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=yes
10993 ;;
10994
10995 *nto* | *qnx*)
10996 version_type=qnx
10997 need_lib_prefix=no
10998 need_version=no
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=no
11003 hardcode_into_libs=yes
11004 dynamic_linker='ldqnx.so'
11005 ;;
11006
11007 openbsd*)
11008 version_type=sunos
11009 sys_lib_dlsearch_path_spec="/usr/lib"
11010 need_lib_prefix=no
11011 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11012 case $host_os in
11013 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11014 *) need_version=no ;;
11015 esac
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11017 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11020 case $host_os in
11021 openbsd2.[89] | openbsd2.[89].*)
11022 shlibpath_overrides_runpath=no
11023 ;;
11024 *)
11025 shlibpath_overrides_runpath=yes
11026 ;;
11027 esac
11028 else
11029 shlibpath_overrides_runpath=yes
11030 fi
11031 ;;
11032
11033 os2*)
11034 libname_spec='$name'
11035 shrext_cmds=".dll"
11036 need_lib_prefix=no
11037 library_names_spec='$libname${shared_ext} $libname.a'
11038 dynamic_linker='OS/2 ld.exe'
11039 shlibpath_var=LIBPATH
11040 ;;
11041
11042 osf3* | osf4* | osf5*)
11043 version_type=osf
11044 need_lib_prefix=no
11045 need_version=no
11046 soname_spec='${libname}${release}${shared_ext}$major'
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11050 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11051 ;;
11052
11053 rdos*)
11054 dynamic_linker=no
11055 ;;
11056
11057 solaris*)
11058 version_type=linux
11059 need_lib_prefix=no
11060 need_version=no
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 hardcode_into_libs=yes
11066 # ldd complains unless libraries are executable
11067 postinstall_cmds='chmod +x $lib'
11068 ;;
11069
11070 sunos4*)
11071 version_type=sunos
11072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11073 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=yes
11076 if test "$with_gnu_ld" = yes; then
11077 need_lib_prefix=no
11078 fi
11079 need_version=yes
11080 ;;
11081
11082 sysv4 | sysv4.3*)
11083 version_type=linux
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 shlibpath_var=LD_LIBRARY_PATH
11087 case $host_vendor in
11088 sni)
11089 shlibpath_overrides_runpath=no
11090 need_lib_prefix=no
11091 runpath_var=LD_RUN_PATH
11092 ;;
11093 siemens)
11094 need_lib_prefix=no
11095 ;;
11096 motorola)
11097 need_lib_prefix=no
11098 need_version=no
11099 shlibpath_overrides_runpath=no
11100 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11101 ;;
11102 esac
11103 ;;
11104
11105 sysv4*MP*)
11106 if test -d /usr/nec ;then
11107 version_type=linux
11108 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11109 soname_spec='$libname${shared_ext}.$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11111 fi
11112 ;;
11113
11114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11115 version_type=freebsd-elf
11116 need_lib_prefix=no
11117 need_version=no
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11119 soname_spec='${libname}${release}${shared_ext}$major'
11120 shlibpath_var=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath=yes
11122 hardcode_into_libs=yes
11123 if test "$with_gnu_ld" = yes; then
11124 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11125 else
11126 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11127 case $host_os in
11128 sco3.2v5*)
11129 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11130 ;;
11131 esac
11132 fi
11133 sys_lib_dlsearch_path_spec='/usr/lib'
11134 ;;
11135
11136 tpf*)
11137 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11138 version_type=linux
11139 need_lib_prefix=no
11140 need_version=no
11141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142 shlibpath_var=LD_LIBRARY_PATH
11143 shlibpath_overrides_runpath=no
11144 hardcode_into_libs=yes
11145 ;;
11146
11147 uts4*)
11148 version_type=linux
11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150 soname_spec='${libname}${release}${shared_ext}$major'
11151 shlibpath_var=LD_LIBRARY_PATH
11152 ;;
11153
11154 *)
11155 dynamic_linker=no
11156 ;;
11157 esac
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11159 $as_echo "$dynamic_linker" >&6; }
11160 test "$dynamic_linker" = no && can_build_shared=no
11161
11162 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11163 if test "$GCC" = yes; then
11164 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11165 fi
11166
11167 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11168 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11169 fi
11170 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11171 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11172 fi
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11266 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11267 hardcode_action=
11268 if test -n "$hardcode_libdir_flag_spec" ||
11269 test -n "$runpath_var" ||
11270 test "X$hardcode_automatic" = "Xyes" ; then
11271
11272 # We can hardcode non-existent directories.
11273 if test "$hardcode_direct" != no &&
11274 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11275 # have to relink, otherwise we might link with an installed library
11276 # when we should be linking with a yet-to-be-installed one
11277 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11278 test "$hardcode_minus_L" != no; then
11279 # Linking always hardcodes the temporary library directory.
11280 hardcode_action=relink
11281 else
11282 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11283 hardcode_action=immediate
11284 fi
11285 else
11286 # We cannot hardcode anything, or else we can only hardcode existing
11287 # directories.
11288 hardcode_action=unsupported
11289 fi
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11291 $as_echo "$hardcode_action" >&6; }
11292
11293 if test "$hardcode_action" = relink ||
11294 test "$inherit_rpath" = yes; then
11295 # Fast installation is not supported
11296 enable_fast_install=no
11297 elif test "$shlibpath_overrides_runpath" = yes ||
11298 test "$enable_shared" = no; then
11299 # Fast installation is not necessary
11300 enable_fast_install=needless
11301 fi
11302
11303
11304
11305
11306
11307
11308 if test "x$enable_dlopen" != xyes; then
11309 enable_dlopen=unknown
11310 enable_dlopen_self=unknown
11311 enable_dlopen_self_static=unknown
11312 else
11313 lt_cv_dlopen=no
11314 lt_cv_dlopen_libs=
11315
11316 case $host_os in
11317 beos*)
11318 lt_cv_dlopen="load_add_on"
11319 lt_cv_dlopen_libs=
11320 lt_cv_dlopen_self=yes
11321 ;;
11322
11323 mingw* | pw32* | cegcc*)
11324 lt_cv_dlopen="LoadLibrary"
11325 lt_cv_dlopen_libs=
11326 ;;
11327
11328 cygwin*)
11329 lt_cv_dlopen="dlopen"
11330 lt_cv_dlopen_libs=
11331 ;;
11332
11333 darwin*)
11334 # if libdl is installed we need to link against it
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11337 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11338 $as_echo_n "(cached) " >&6
11339 else
11340 ac_check_lib_save_LIBS=$LIBS
11341 LIBS="-ldl $LIBS"
11342 if test x$gcc_no_link = xyes; then
11343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11344 fi
11345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11347
11348 /* Override any GCC internal prototype to avoid an error.
11349 Use char because int might match the return type of a GCC
11350 builtin and then its argument prototype would still apply. */
11351 #ifdef __cplusplus
11352 extern "C"
11353 #endif
11354 char dlopen ();
11355 int
11356 main ()
11357 {
11358 return dlopen ();
11359 ;
11360 return 0;
11361 }
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"; then :
11364 ac_cv_lib_dl_dlopen=yes
11365 else
11366 ac_cv_lib_dl_dlopen=no
11367 fi
11368 rm -f core conftest.err conftest.$ac_objext \
11369 conftest$ac_exeext conftest.$ac_ext
11370 LIBS=$ac_check_lib_save_LIBS
11371 fi
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11373 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11374 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11375 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11376 else
11377
11378 lt_cv_dlopen="dyld"
11379 lt_cv_dlopen_libs=
11380 lt_cv_dlopen_self=yes
11381
11382 fi
11383
11384 ;;
11385
11386 *)
11387 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11388 if test "x$ac_cv_func_shl_load" = x""yes; then :
11389 lt_cv_dlopen="shl_load"
11390 else
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11392 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11393 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-ldld $LIBS"
11398 if test x$gcc_no_link = xyes; then
11399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11400 fi
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char shl_load ();
11411 int
11412 main ()
11413 {
11414 return shl_load ();
11415 ;
11416 return 0;
11417 }
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_dld_shl_load=yes
11421 else
11422 ac_cv_lib_dld_shl_load=no
11423 fi
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11427 fi
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11429 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11430 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11431 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11432 else
11433 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11434 if test "x$ac_cv_func_dlopen" = x""yes; then :
11435 lt_cv_dlopen="dlopen"
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11438 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11439 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-ldl $LIBS"
11444 if test x$gcc_no_link = xyes; then
11445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11446 fi
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11449
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char dlopen ();
11457 int
11458 main ()
11459 {
11460 return dlopen ();
11461 ;
11462 return 0;
11463 }
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 ac_cv_lib_dl_dlopen=yes
11467 else
11468 ac_cv_lib_dl_dlopen=no
11469 fi
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11473 fi
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11477 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11478 else
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11480 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11481 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 ac_check_lib_save_LIBS=$LIBS
11485 LIBS="-lsvld $LIBS"
11486 if test x$gcc_no_link = xyes; then
11487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11488 fi
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11491
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char dlopen ();
11499 int
11500 main ()
11501 {
11502 return dlopen ();
11503 ;
11504 return 0;
11505 }
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"; then :
11508 ac_cv_lib_svld_dlopen=yes
11509 else
11510 ac_cv_lib_svld_dlopen=no
11511 fi
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_lib_save_LIBS
11515 fi
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11517 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11518 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11519 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11520 else
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11522 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11523 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11524 $as_echo_n "(cached) " >&6
11525 else
11526 ac_check_lib_save_LIBS=$LIBS
11527 LIBS="-ldld $LIBS"
11528 if test x$gcc_no_link = xyes; then
11529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11530 fi
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11533
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char dld_link ();
11541 int
11542 main ()
11543 {
11544 return dld_link ();
11545 ;
11546 return 0;
11547 }
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 ac_cv_lib_dld_dld_link=yes
11551 else
11552 ac_cv_lib_dld_dld_link=no
11553 fi
11554 rm -f core conftest.err conftest.$ac_objext \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_lib_save_LIBS
11557 fi
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11559 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11560 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11561 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11562 fi
11563
11564
11565 fi
11566
11567
11568 fi
11569
11570
11571 fi
11572
11573
11574 fi
11575
11576
11577 fi
11578
11579 ;;
11580 esac
11581
11582 if test "x$lt_cv_dlopen" != xno; then
11583 enable_dlopen=yes
11584 else
11585 enable_dlopen=no
11586 fi
11587
11588 case $lt_cv_dlopen in
11589 dlopen)
11590 save_CPPFLAGS="$CPPFLAGS"
11591 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11592
11593 save_LDFLAGS="$LDFLAGS"
11594 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11595
11596 save_LIBS="$LIBS"
11597 LIBS="$lt_cv_dlopen_libs $LIBS"
11598
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11600 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11601 if test "${lt_cv_dlopen_self+set}" = set; then :
11602 $as_echo_n "(cached) " >&6
11603 else
11604 if test "$cross_compiling" = yes; then :
11605 lt_cv_dlopen_self=cross
11606 else
11607 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11608 lt_status=$lt_dlunknown
11609 cat > conftest.$ac_ext <<_LT_EOF
11610 #line 11610 "configure"
11611 #include "confdefs.h"
11612
11613 #if HAVE_DLFCN_H
11614 #include <dlfcn.h>
11615 #endif
11616
11617 #include <stdio.h>
11618
11619 #ifdef RTLD_GLOBAL
11620 # define LT_DLGLOBAL RTLD_GLOBAL
11621 #else
11622 # ifdef DL_GLOBAL
11623 # define LT_DLGLOBAL DL_GLOBAL
11624 # else
11625 # define LT_DLGLOBAL 0
11626 # endif
11627 #endif
11628
11629 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11630 find out it does not work in some platform. */
11631 #ifndef LT_DLLAZY_OR_NOW
11632 # ifdef RTLD_LAZY
11633 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11634 # else
11635 # ifdef DL_LAZY
11636 # define LT_DLLAZY_OR_NOW DL_LAZY
11637 # else
11638 # ifdef RTLD_NOW
11639 # define LT_DLLAZY_OR_NOW RTLD_NOW
11640 # else
11641 # ifdef DL_NOW
11642 # define LT_DLLAZY_OR_NOW DL_NOW
11643 # else
11644 # define LT_DLLAZY_OR_NOW 0
11645 # endif
11646 # endif
11647 # endif
11648 # endif
11649 #endif
11650
11651 /* When -fvisbility=hidden is used, assume the code has been annotated
11652 correspondingly for the symbols needed. */
11653 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11654 void fnord () __attribute__((visibility("default")));
11655 #endif
11656
11657 void fnord () { int i=42; }
11658 int main ()
11659 {
11660 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11661 int status = $lt_dlunknown;
11662
11663 if (self)
11664 {
11665 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11666 else
11667 {
11668 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11669 else puts (dlerror ());
11670 }
11671 /* dlclose (self); */
11672 }
11673 else
11674 puts (dlerror ());
11675
11676 return status;
11677 }
11678 _LT_EOF
11679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11680 (eval $ac_link) 2>&5
11681 ac_status=$?
11682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11683 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11684 (./conftest; exit; ) >&5 2>/dev/null
11685 lt_status=$?
11686 case x$lt_status in
11687 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11688 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11689 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11690 esac
11691 else :
11692 # compilation failed
11693 lt_cv_dlopen_self=no
11694 fi
11695 fi
11696 rm -fr conftest*
11697
11698
11699 fi
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11701 $as_echo "$lt_cv_dlopen_self" >&6; }
11702
11703 if test "x$lt_cv_dlopen_self" = xyes; then
11704 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11706 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11707 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11708 $as_echo_n "(cached) " >&6
11709 else
11710 if test "$cross_compiling" = yes; then :
11711 lt_cv_dlopen_self_static=cross
11712 else
11713 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11714 lt_status=$lt_dlunknown
11715 cat > conftest.$ac_ext <<_LT_EOF
11716 #line 11716 "configure"
11717 #include "confdefs.h"
11718
11719 #if HAVE_DLFCN_H
11720 #include <dlfcn.h>
11721 #endif
11722
11723 #include <stdio.h>
11724
11725 #ifdef RTLD_GLOBAL
11726 # define LT_DLGLOBAL RTLD_GLOBAL
11727 #else
11728 # ifdef DL_GLOBAL
11729 # define LT_DLGLOBAL DL_GLOBAL
11730 # else
11731 # define LT_DLGLOBAL 0
11732 # endif
11733 #endif
11734
11735 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11736 find out it does not work in some platform. */
11737 #ifndef LT_DLLAZY_OR_NOW
11738 # ifdef RTLD_LAZY
11739 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11740 # else
11741 # ifdef DL_LAZY
11742 # define LT_DLLAZY_OR_NOW DL_LAZY
11743 # else
11744 # ifdef RTLD_NOW
11745 # define LT_DLLAZY_OR_NOW RTLD_NOW
11746 # else
11747 # ifdef DL_NOW
11748 # define LT_DLLAZY_OR_NOW DL_NOW
11749 # else
11750 # define LT_DLLAZY_OR_NOW 0
11751 # endif
11752 # endif
11753 # endif
11754 # endif
11755 #endif
11756
11757 /* When -fvisbility=hidden is used, assume the code has been annotated
11758 correspondingly for the symbols needed. */
11759 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11760 void fnord () __attribute__((visibility("default")));
11761 #endif
11762
11763 void fnord () { int i=42; }
11764 int main ()
11765 {
11766 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11767 int status = $lt_dlunknown;
11768
11769 if (self)
11770 {
11771 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11772 else
11773 {
11774 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11775 else puts (dlerror ());
11776 }
11777 /* dlclose (self); */
11778 }
11779 else
11780 puts (dlerror ());
11781
11782 return status;
11783 }
11784 _LT_EOF
11785 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11786 (eval $ac_link) 2>&5
11787 ac_status=$?
11788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11789 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11790 (./conftest; exit; ) >&5 2>/dev/null
11791 lt_status=$?
11792 case x$lt_status in
11793 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11794 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11795 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11796 esac
11797 else :
11798 # compilation failed
11799 lt_cv_dlopen_self_static=no
11800 fi
11801 fi
11802 rm -fr conftest*
11803
11804
11805 fi
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11807 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11808 fi
11809
11810 CPPFLAGS="$save_CPPFLAGS"
11811 LDFLAGS="$save_LDFLAGS"
11812 LIBS="$save_LIBS"
11813 ;;
11814 esac
11815
11816 case $lt_cv_dlopen_self in
11817 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11818 *) enable_dlopen_self=unknown ;;
11819 esac
11820
11821 case $lt_cv_dlopen_self_static in
11822 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11823 *) enable_dlopen_self_static=unknown ;;
11824 esac
11825 fi
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843 striplib=
11844 old_striplib=
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11846 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11847 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11848 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11849 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11851 $as_echo "yes" >&6; }
11852 else
11853 # FIXME - insert some real tests, host_os isn't really good enough
11854 case $host_os in
11855 darwin*)
11856 if test -n "$STRIP" ; then
11857 striplib="$STRIP -x"
11858 old_striplib="$STRIP -S"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11860 $as_echo "yes" >&6; }
11861 else
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11863 $as_echo "no" >&6; }
11864 fi
11865 ;;
11866 *)
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11868 $as_echo "no" >&6; }
11869 ;;
11870 esac
11871 fi
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884 # Report which library types will actually be built
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11886 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11888 $as_echo "$can_build_shared" >&6; }
11889
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11891 $as_echo_n "checking whether to build shared libraries... " >&6; }
11892 test "$can_build_shared" = "no" && enable_shared=no
11893
11894 # On AIX, shared libraries and static libraries use the same namespace, and
11895 # are all built from PIC.
11896 case $host_os in
11897 aix3*)
11898 test "$enable_shared" = yes && enable_static=no
11899 if test -n "$RANLIB"; then
11900 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11901 postinstall_cmds='$RANLIB $lib'
11902 fi
11903 ;;
11904
11905 aix[4-9]*)
11906 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11907 test "$enable_shared" = yes && enable_static=no
11908 fi
11909 ;;
11910 esac
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11912 $as_echo "$enable_shared" >&6; }
11913
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11915 $as_echo_n "checking whether to build static libraries... " >&6; }
11916 # Make sure either enable_shared or enable_static is yes.
11917 test "$enable_shared" = yes || enable_static=yes
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11919 $as_echo "$enable_static" >&6; }
11920
11921
11922
11923
11924 fi
11925 ac_ext=c
11926 ac_cpp='$CPP $CPPFLAGS'
11927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11930
11931 CC="$lt_save_CC"
11932
11933 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11934 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11935 (test "X$CXX" != "Xg++"))) ; then
11936 ac_ext=cpp
11937 ac_cpp='$CXXCPP $CPPFLAGS'
11938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11942 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11943 if test -z "$CXXCPP"; then
11944 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11945 $as_echo_n "(cached) " >&6
11946 else
11947 # Double quotes because CXXCPP needs to be expanded
11948 for CXXCPP in "$CXX -E" "/lib/cpp"
11949 do
11950 ac_preproc_ok=false
11951 for ac_cxx_preproc_warn_flag in '' yes
11952 do
11953 # Use a header file that comes with gcc, so configuring glibc
11954 # with a fresh cross-compiler works.
11955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11956 # <limits.h> exists even on freestanding compilers.
11957 # On the NeXT, cc -E runs the code through the compiler's parser,
11958 # not just through cpp. "Syntax error" is here to catch this case.
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11961 #ifdef __STDC__
11962 # include <limits.h>
11963 #else
11964 # include <assert.h>
11965 #endif
11966 Syntax error
11967 _ACEOF
11968 if ac_fn_cxx_try_cpp "$LINENO"; then :
11969
11970 else
11971 # Broken: fails on valid input.
11972 continue
11973 fi
11974 rm -f conftest.err conftest.$ac_ext
11975
11976 # OK, works on sane cases. Now check whether nonexistent headers
11977 # can be detected and how.
11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11980 #include <ac_nonexistent.h>
11981 _ACEOF
11982 if ac_fn_cxx_try_cpp "$LINENO"; then :
11983 # Broken: success on invalid input.
11984 continue
11985 else
11986 # Passes both tests.
11987 ac_preproc_ok=:
11988 break
11989 fi
11990 rm -f conftest.err conftest.$ac_ext
11991
11992 done
11993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11994 rm -f conftest.err conftest.$ac_ext
11995 if $ac_preproc_ok; then :
11996 break
11997 fi
11998
11999 done
12000 ac_cv_prog_CXXCPP=$CXXCPP
12001
12002 fi
12003 CXXCPP=$ac_cv_prog_CXXCPP
12004 else
12005 ac_cv_prog_CXXCPP=$CXXCPP
12006 fi
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12008 $as_echo "$CXXCPP" >&6; }
12009 ac_preproc_ok=false
12010 for ac_cxx_preproc_warn_flag in '' yes
12011 do
12012 # Use a header file that comes with gcc, so configuring glibc
12013 # with a fresh cross-compiler works.
12014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12015 # <limits.h> exists even on freestanding compilers.
12016 # On the NeXT, cc -E runs the code through the compiler's parser,
12017 # not just through cpp. "Syntax error" is here to catch this case.
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12020 #ifdef __STDC__
12021 # include <limits.h>
12022 #else
12023 # include <assert.h>
12024 #endif
12025 Syntax error
12026 _ACEOF
12027 if ac_fn_cxx_try_cpp "$LINENO"; then :
12028
12029 else
12030 # Broken: fails on valid input.
12031 continue
12032 fi
12033 rm -f conftest.err conftest.$ac_ext
12034
12035 # OK, works on sane cases. Now check whether nonexistent headers
12036 # can be detected and how.
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12039 #include <ac_nonexistent.h>
12040 _ACEOF
12041 if ac_fn_cxx_try_cpp "$LINENO"; then :
12042 # Broken: success on invalid input.
12043 continue
12044 else
12045 # Passes both tests.
12046 ac_preproc_ok=:
12047 break
12048 fi
12049 rm -f conftest.err conftest.$ac_ext
12050
12051 done
12052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12053 rm -f conftest.err conftest.$ac_ext
12054 if $ac_preproc_ok; then :
12055
12056 else
12057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12059 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12060 See \`config.log' for more details." "$LINENO" 5; }
12061 fi
12062
12063 ac_ext=c
12064 ac_cpp='$CPP $CPPFLAGS'
12065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12068
12069 else
12070 _lt_caught_CXX_error=yes
12071 fi
12072
12073 ac_ext=cpp
12074 ac_cpp='$CXXCPP $CPPFLAGS'
12075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12078
12079 archive_cmds_need_lc_CXX=no
12080 allow_undefined_flag_CXX=
12081 always_export_symbols_CXX=no
12082 archive_expsym_cmds_CXX=
12083 compiler_needs_object_CXX=no
12084 export_dynamic_flag_spec_CXX=
12085 hardcode_direct_CXX=no
12086 hardcode_direct_absolute_CXX=no
12087 hardcode_libdir_flag_spec_CXX=
12088 hardcode_libdir_flag_spec_ld_CXX=
12089 hardcode_libdir_separator_CXX=
12090 hardcode_minus_L_CXX=no
12091 hardcode_shlibpath_var_CXX=unsupported
12092 hardcode_automatic_CXX=no
12093 inherit_rpath_CXX=no
12094 module_cmds_CXX=
12095 module_expsym_cmds_CXX=
12096 link_all_deplibs_CXX=unknown
12097 old_archive_cmds_CXX=$old_archive_cmds
12098 reload_flag_CXX=$reload_flag
12099 reload_cmds_CXX=$reload_cmds
12100 no_undefined_flag_CXX=
12101 whole_archive_flag_spec_CXX=
12102 enable_shared_with_static_runtimes_CXX=no
12103
12104 # Source file extension for C++ test sources.
12105 ac_ext=cpp
12106
12107 # Object file extension for compiled C++ test sources.
12108 objext=o
12109 objext_CXX=$objext
12110
12111 # No sense in running all these tests if we already determined that
12112 # the CXX compiler isn't working. Some variables (like enable_shared)
12113 # are currently assumed to apply to all compilers on this platform,
12114 # and will be corrupted by setting them based on a non-working compiler.
12115 if test "$_lt_caught_CXX_error" != yes; then
12116 # Code to be used in simple compile tests
12117 lt_simple_compile_test_code="int some_variable = 0;"
12118
12119 # Code to be used in simple link tests
12120 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12121
12122 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12123
12124
12125
12126
12127
12128
12129 # If no C compiler was specified, use CC.
12130 LTCC=${LTCC-"$CC"}
12131
12132 # If no C compiler flags were specified, use CFLAGS.
12133 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12134
12135 # Allow CC to be a program name with arguments.
12136 compiler=$CC
12137
12138
12139 # save warnings/boilerplate of simple test code
12140 ac_outfile=conftest.$ac_objext
12141 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12142 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12143 _lt_compiler_boilerplate=`cat conftest.err`
12144 $RM conftest*
12145
12146 ac_outfile=conftest.$ac_objext
12147 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12148 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12149 _lt_linker_boilerplate=`cat conftest.err`
12150 $RM -r conftest*
12151
12152
12153 # Allow CC to be a program name with arguments.
12154 lt_save_CC=$CC
12155 lt_save_LD=$LD
12156 lt_save_GCC=$GCC
12157 GCC=$GXX
12158 lt_save_with_gnu_ld=$with_gnu_ld
12159 lt_save_path_LD=$lt_cv_path_LD
12160 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12161 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12162 else
12163 $as_unset lt_cv_prog_gnu_ld
12164 fi
12165 if test -n "${lt_cv_path_LDCXX+set}"; then
12166 lt_cv_path_LD=$lt_cv_path_LDCXX
12167 else
12168 $as_unset lt_cv_path_LD
12169 fi
12170 test -z "${LDCXX+set}" || LD=$LDCXX
12171 CC=${CXX-"c++"}
12172 compiler=$CC
12173 compiler_CXX=$CC
12174 for cc_temp in $compiler""; do
12175 case $cc_temp in
12176 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12177 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12178 \-*) ;;
12179 *) break;;
12180 esac
12181 done
12182 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12183
12184
12185 if test -n "$compiler"; then
12186 # We don't want -fno-exception when compiling C++ code, so set the
12187 # no_builtin_flag separately
12188 if test "$GXX" = yes; then
12189 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12190 else
12191 lt_prog_compiler_no_builtin_flag_CXX=
12192 fi
12193
12194 if test "$GXX" = yes; then
12195 # Set up default GNU C++ configuration
12196
12197
12198
12199 # Check whether --with-gnu-ld was given.
12200 if test "${with_gnu_ld+set}" = set; then :
12201 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12202 else
12203 with_gnu_ld=no
12204 fi
12205
12206 ac_prog=ld
12207 if test "$GCC" = yes; then
12208 # Check if gcc -print-prog-name=ld gives a path.
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12210 $as_echo_n "checking for ld used by $CC... " >&6; }
12211 case $host in
12212 *-*-mingw*)
12213 # gcc leaves a trailing carriage return which upsets mingw
12214 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12215 *)
12216 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12217 esac
12218 case $ac_prog in
12219 # Accept absolute paths.
12220 [\\/]* | ?:[\\/]*)
12221 re_direlt='/[^/][^/]*/\.\./'
12222 # Canonicalize the pathname of ld
12223 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12224 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12225 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12226 done
12227 test -z "$LD" && LD="$ac_prog"
12228 ;;
12229 "")
12230 # If it fails, then pretend we aren't using GCC.
12231 ac_prog=ld
12232 ;;
12233 *)
12234 # If it is relative, then search for the first ld in PATH.
12235 with_gnu_ld=unknown
12236 ;;
12237 esac
12238 elif test "$with_gnu_ld" = yes; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12240 $as_echo_n "checking for GNU ld... " >&6; }
12241 else
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12243 $as_echo_n "checking for non-GNU ld... " >&6; }
12244 fi
12245 if test "${lt_cv_path_LD+set}" = set; then :
12246 $as_echo_n "(cached) " >&6
12247 else
12248 if test -z "$LD"; then
12249 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12250 for ac_dir in $PATH; do
12251 IFS="$lt_save_ifs"
12252 test -z "$ac_dir" && ac_dir=.
12253 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12254 lt_cv_path_LD="$ac_dir/$ac_prog"
12255 # Check to see if the program is GNU ld. I'd rather use --version,
12256 # but apparently some variants of GNU ld only accept -v.
12257 # Break only if it was the GNU/non-GNU ld that we prefer.
12258 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12259 *GNU* | *'with BFD'*)
12260 test "$with_gnu_ld" != no && break
12261 ;;
12262 *)
12263 test "$with_gnu_ld" != yes && break
12264 ;;
12265 esac
12266 fi
12267 done
12268 IFS="$lt_save_ifs"
12269 else
12270 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12271 fi
12272 fi
12273
12274 LD="$lt_cv_path_LD"
12275 if test -n "$LD"; then
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12277 $as_echo "$LD" >&6; }
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12280 $as_echo "no" >&6; }
12281 fi
12282 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12284 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12285 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12286 $as_echo_n "(cached) " >&6
12287 else
12288 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12289 case `$LD -v 2>&1 </dev/null` in
12290 *GNU* | *'with BFD'*)
12291 lt_cv_prog_gnu_ld=yes
12292 ;;
12293 *)
12294 lt_cv_prog_gnu_ld=no
12295 ;;
12296 esac
12297 fi
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12299 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12300 with_gnu_ld=$lt_cv_prog_gnu_ld
12301
12302
12303
12304
12305
12306
12307
12308 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12309 # archiving commands below assume that GNU ld is being used.
12310 if test "$with_gnu_ld" = yes; then
12311 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12312 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12313
12314 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12315 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12316
12317 # If archive_cmds runs LD, not CC, wlarc should be empty
12318 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12319 # investigate it a little bit more. (MM)
12320 wlarc='${wl}'
12321
12322 # ancient GNU ld didn't support --whole-archive et. al.
12323 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12324 $GREP 'no-whole-archive' > /dev/null; then
12325 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12326 else
12327 whole_archive_flag_spec_CXX=
12328 fi
12329 else
12330 with_gnu_ld=no
12331 wlarc=
12332
12333 # A generic and very simple default shared library creation
12334 # command for GNU C++ for the case where it uses the native
12335 # linker, instead of GNU ld. If possible, this setting should
12336 # overridden to take advantage of the native linker features on
12337 # the platform it is being used on.
12338 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12339 fi
12340
12341 # Commands to make compiler produce verbose output that lists
12342 # what "hidden" libraries, object files and flags are used when
12343 # linking a shared library.
12344 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12345
12346 else
12347 GXX=no
12348 with_gnu_ld=no
12349 wlarc=
12350 fi
12351
12352 # PORTME: fill in a description of your system's C++ link characteristics
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12354 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12355 ld_shlibs_CXX=yes
12356 case $host_os in
12357 aix3*)
12358 # FIXME: insert proper C++ library support
12359 ld_shlibs_CXX=no
12360 ;;
12361 aix[4-9]*)
12362 if test "$host_cpu" = ia64; then
12363 # On IA64, the linker does run time linking by default, so we don't
12364 # have to do anything special.
12365 aix_use_runtimelinking=no
12366 exp_sym_flag='-Bexport'
12367 no_entry_flag=""
12368 else
12369 aix_use_runtimelinking=no
12370
12371 # Test if we are trying to use run time linking or normal
12372 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12373 # need to do runtime linking.
12374 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12375 for ld_flag in $LDFLAGS; do
12376 case $ld_flag in
12377 *-brtl*)
12378 aix_use_runtimelinking=yes
12379 break
12380 ;;
12381 esac
12382 done
12383 ;;
12384 esac
12385
12386 exp_sym_flag='-bexport'
12387 no_entry_flag='-bnoentry'
12388 fi
12389
12390 # When large executables or shared objects are built, AIX ld can
12391 # have problems creating the table of contents. If linking a library
12392 # or program results in "error TOC overflow" add -mminimal-toc to
12393 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12394 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12395
12396 archive_cmds_CXX=''
12397 hardcode_direct_CXX=yes
12398 hardcode_direct_absolute_CXX=yes
12399 hardcode_libdir_separator_CXX=':'
12400 link_all_deplibs_CXX=yes
12401 file_list_spec_CXX='${wl}-f,'
12402
12403 if test "$GXX" = yes; then
12404 case $host_os in aix4.[012]|aix4.[012].*)
12405 # We only want to do this on AIX 4.2 and lower, the check
12406 # below for broken collect2 doesn't work under 4.3+
12407 collect2name=`${CC} -print-prog-name=collect2`
12408 if test -f "$collect2name" &&
12409 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12410 then
12411 # We have reworked collect2
12412 :
12413 else
12414 # We have old collect2
12415 hardcode_direct_CXX=unsupported
12416 # It fails to find uninstalled libraries when the uninstalled
12417 # path is not listed in the libpath. Setting hardcode_minus_L
12418 # to unsupported forces relinking
12419 hardcode_minus_L_CXX=yes
12420 hardcode_libdir_flag_spec_CXX='-L$libdir'
12421 hardcode_libdir_separator_CXX=
12422 fi
12423 esac
12424 shared_flag='-shared'
12425 if test "$aix_use_runtimelinking" = yes; then
12426 shared_flag="$shared_flag "'${wl}-G'
12427 fi
12428 else
12429 # not using gcc
12430 if test "$host_cpu" = ia64; then
12431 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12432 # chokes on -Wl,-G. The following line is correct:
12433 shared_flag='-G'
12434 else
12435 if test "$aix_use_runtimelinking" = yes; then
12436 shared_flag='${wl}-G'
12437 else
12438 shared_flag='${wl}-bM:SRE'
12439 fi
12440 fi
12441 fi
12442
12443 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12444 # It seems that -bexpall does not export symbols beginning with
12445 # underscore (_), so it is better to generate a list of symbols to
12446 # export.
12447 always_export_symbols_CXX=yes
12448 if test "$aix_use_runtimelinking" = yes; then
12449 # Warning - without using the other runtime loading flags (-brtl),
12450 # -berok will link without error, but may produce a broken library.
12451 allow_undefined_flag_CXX='-berok'
12452 # Determine the default libpath from the value encoded in an empty
12453 # executable.
12454 if test x$gcc_no_link = xyes; then
12455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12456 fi
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12459
12460 int
12461 main ()
12462 {
12463
12464 ;
12465 return 0;
12466 }
12467 _ACEOF
12468 if ac_fn_cxx_try_link "$LINENO"; then :
12469
12470 lt_aix_libpath_sed='
12471 /Import File Strings/,/^$/ {
12472 /^0/ {
12473 s/^0 *\(.*\)$/\1/
12474 p
12475 }
12476 }'
12477 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12478 # Check for a 64-bit object if we didn't find anything.
12479 if test -z "$aix_libpath"; then
12480 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12481 fi
12482 fi
12483 rm -f core conftest.err conftest.$ac_objext \
12484 conftest$ac_exeext conftest.$ac_ext
12485 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12486
12487 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12488
12489 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"
12490 else
12491 if test "$host_cpu" = ia64; then
12492 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12493 allow_undefined_flag_CXX="-z nodefs"
12494 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"
12495 else
12496 # Determine the default libpath from the value encoded in an
12497 # empty executable.
12498 if test x$gcc_no_link = xyes; then
12499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12500 fi
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12503
12504 int
12505 main ()
12506 {
12507
12508 ;
12509 return 0;
12510 }
12511 _ACEOF
12512 if ac_fn_cxx_try_link "$LINENO"; then :
12513
12514 lt_aix_libpath_sed='
12515 /Import File Strings/,/^$/ {
12516 /^0/ {
12517 s/^0 *\(.*\)$/\1/
12518 p
12519 }
12520 }'
12521 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12522 # Check for a 64-bit object if we didn't find anything.
12523 if test -z "$aix_libpath"; then
12524 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12525 fi
12526 fi
12527 rm -f core conftest.err conftest.$ac_objext \
12528 conftest$ac_exeext conftest.$ac_ext
12529 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12530
12531 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12532 # Warning - without using the other run time loading flags,
12533 # -berok will link without error, but may produce a broken library.
12534 no_undefined_flag_CXX=' ${wl}-bernotok'
12535 allow_undefined_flag_CXX=' ${wl}-berok'
12536 if test "$with_gnu_ld" = yes; then
12537 # We only use this code for GNU lds that support --whole-archive.
12538 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12539 else
12540 # Exported symbols can be pulled into shared objects from archives
12541 whole_archive_flag_spec_CXX='$convenience'
12542 fi
12543 archive_cmds_need_lc_CXX=yes
12544 # This is similar to how AIX traditionally builds its shared
12545 # libraries.
12546 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'
12547 fi
12548 fi
12549 ;;
12550
12551 beos*)
12552 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12553 allow_undefined_flag_CXX=unsupported
12554 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12555 # support --undefined. This deserves some investigation. FIXME
12556 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12557 else
12558 ld_shlibs_CXX=no
12559 fi
12560 ;;
12561
12562 chorus*)
12563 case $cc_basename in
12564 *)
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12567 ;;
12568 esac
12569 ;;
12570
12571 cygwin* | mingw* | pw32* | cegcc*)
12572 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12573 # as there is no search path for DLLs.
12574 hardcode_libdir_flag_spec_CXX='-L$libdir'
12575 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12576 allow_undefined_flag_CXX=unsupported
12577 always_export_symbols_CXX=no
12578 enable_shared_with_static_runtimes_CXX=yes
12579
12580 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12581 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'
12582 # If the export-symbols file already is a .def file (1st line
12583 # is EXPORTS), use it as is; otherwise, prepend...
12584 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12585 cp $export_symbols $output_objdir/$soname.def;
12586 else
12587 echo EXPORTS > $output_objdir/$soname.def;
12588 cat $export_symbols >> $output_objdir/$soname.def;
12589 fi~
12590 $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'
12591 else
12592 ld_shlibs_CXX=no
12593 fi
12594 ;;
12595 darwin* | rhapsody*)
12596
12597
12598 archive_cmds_need_lc_CXX=no
12599 hardcode_direct_CXX=no
12600 hardcode_automatic_CXX=yes
12601 hardcode_shlibpath_var_CXX=unsupported
12602 if test "$lt_cv_ld_force_load" = "yes"; then
12603 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\"`'
12604 else
12605 whole_archive_flag_spec_CXX=''
12606 fi
12607 link_all_deplibs_CXX=yes
12608 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12609 case $cc_basename in
12610 ifort*) _lt_dar_can_shared=yes ;;
12611 *) _lt_dar_can_shared=$GCC ;;
12612 esac
12613 if test "$_lt_dar_can_shared" = "yes"; then
12614 output_verbose_link_cmd=func_echo_all
12615 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}"
12616 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12617 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}"
12618 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}"
12619 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12620 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}"
12621 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}"
12622 fi
12623
12624 else
12625 ld_shlibs_CXX=no
12626 fi
12627
12628 ;;
12629
12630 dgux*)
12631 case $cc_basename in
12632 ec++*)
12633 # FIXME: insert proper C++ library support
12634 ld_shlibs_CXX=no
12635 ;;
12636 ghcx*)
12637 # Green Hills C++ Compiler
12638 # FIXME: insert proper C++ library support
12639 ld_shlibs_CXX=no
12640 ;;
12641 *)
12642 # FIXME: insert proper C++ library support
12643 ld_shlibs_CXX=no
12644 ;;
12645 esac
12646 ;;
12647
12648 freebsd2.*)
12649 # C++ shared libraries reported to be fairly broken before
12650 # switch to ELF
12651 ld_shlibs_CXX=no
12652 ;;
12653
12654 freebsd-elf*)
12655 archive_cmds_need_lc_CXX=no
12656 ;;
12657
12658 freebsd* | dragonfly*)
12659 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12660 # conventions
12661 ld_shlibs_CXX=yes
12662 ;;
12663
12664 gnu*)
12665 ;;
12666
12667 haiku*)
12668 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12669 link_all_deplibs_CXX=yes
12670 ;;
12671
12672 hpux9*)
12673 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12674 hardcode_libdir_separator_CXX=:
12675 export_dynamic_flag_spec_CXX='${wl}-E'
12676 hardcode_direct_CXX=yes
12677 hardcode_minus_L_CXX=yes # Not in the search PATH,
12678 # but as the default
12679 # location of the library.
12680
12681 case $cc_basename in
12682 CC*)
12683 # FIXME: insert proper C++ library support
12684 ld_shlibs_CXX=no
12685 ;;
12686 aCC*)
12687 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'
12688 # Commands to make compiler produce verbose output that lists
12689 # what "hidden" libraries, object files and flags are used when
12690 # linking a shared library.
12691 #
12692 # There doesn't appear to be a way to prevent this compiler from
12693 # explicitly linking system object files so we need to strip them
12694 # from the output so that they don't get included in the library
12695 # dependencies.
12696 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"'
12697 ;;
12698 *)
12699 if test "$GXX" = yes; then
12700 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'
12701 else
12702 # FIXME: insert proper C++ library support
12703 ld_shlibs_CXX=no
12704 fi
12705 ;;
12706 esac
12707 ;;
12708
12709 hpux10*|hpux11*)
12710 if test $with_gnu_ld = no; then
12711 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12712 hardcode_libdir_separator_CXX=:
12713
12714 case $host_cpu in
12715 hppa*64*|ia64*)
12716 ;;
12717 *)
12718 export_dynamic_flag_spec_CXX='${wl}-E'
12719 ;;
12720 esac
12721 fi
12722 case $host_cpu in
12723 hppa*64*|ia64*)
12724 hardcode_direct_CXX=no
12725 hardcode_shlibpath_var_CXX=no
12726 ;;
12727 *)
12728 hardcode_direct_CXX=yes
12729 hardcode_direct_absolute_CXX=yes
12730 hardcode_minus_L_CXX=yes # Not in the search PATH,
12731 # but as the default
12732 # location of the library.
12733 ;;
12734 esac
12735
12736 case $cc_basename in
12737 CC*)
12738 # FIXME: insert proper C++ library support
12739 ld_shlibs_CXX=no
12740 ;;
12741 aCC*)
12742 case $host_cpu in
12743 hppa*64*)
12744 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12745 ;;
12746 ia64*)
12747 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12748 ;;
12749 *)
12750 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12751 ;;
12752 esac
12753 # Commands to make compiler produce verbose output that lists
12754 # what "hidden" libraries, object files and flags are used when
12755 # linking a shared library.
12756 #
12757 # There doesn't appear to be a way to prevent this compiler from
12758 # explicitly linking system object files so we need to strip them
12759 # from the output so that they don't get included in the library
12760 # dependencies.
12761 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"'
12762 ;;
12763 *)
12764 if test "$GXX" = yes; then
12765 if test $with_gnu_ld = no; then
12766 case $host_cpu in
12767 hppa*64*)
12768 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12769 ;;
12770 ia64*)
12771 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12772 ;;
12773 *)
12774 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'
12775 ;;
12776 esac
12777 fi
12778 else
12779 # FIXME: insert proper C++ library support
12780 ld_shlibs_CXX=no
12781 fi
12782 ;;
12783 esac
12784 ;;
12785
12786 interix[3-9]*)
12787 hardcode_direct_CXX=no
12788 hardcode_shlibpath_var_CXX=no
12789 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}-E'
12791 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12792 # Instead, shared libraries are loaded at an image base (0x10000000 by
12793 # default) and relocated if they conflict, which is a slow very memory
12794 # consuming and fragmenting process. To avoid this, we pick a random,
12795 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12796 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12797 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'
12798 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'
12799 ;;
12800 irix5* | irix6*)
12801 case $cc_basename in
12802 CC*)
12803 # SGI C++
12804 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'
12805
12806 # Archives containing C++ object files must be created using
12807 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12808 # necessary to make sure instantiated templates are included
12809 # in the archive.
12810 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12811 ;;
12812 *)
12813 if test "$GXX" = yes; then
12814 if test "$with_gnu_ld" = no; then
12815 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'
12816 else
12817 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'
12818 fi
12819 fi
12820 link_all_deplibs_CXX=yes
12821 ;;
12822 esac
12823 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12824 hardcode_libdir_separator_CXX=:
12825 inherit_rpath_CXX=yes
12826 ;;
12827
12828 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12829 case $cc_basename in
12830 KCC*)
12831 # Kuck and Associates, Inc. (KAI) C++ Compiler
12832
12833 # KCC will only create a shared library if the output file
12834 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12835 # to its proper name (with version) after linking.
12836 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'
12837 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'
12838 # Commands to make compiler produce verbose output that lists
12839 # what "hidden" libraries, object files and flags are used when
12840 # linking a shared library.
12841 #
12842 # There doesn't appear to be a way to prevent this compiler from
12843 # explicitly linking system object files so we need to strip them
12844 # from the output so that they don't get included in the library
12845 # dependencies.
12846 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"'
12847
12848 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12849 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12850
12851 # Archives containing C++ object files must be created using
12852 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12853 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12854 ;;
12855 icpc* | ecpc* )
12856 # Intel C++
12857 with_gnu_ld=yes
12858 # version 8.0 and above of icpc choke on multiply defined symbols
12859 # if we add $predep_objects and $postdep_objects, however 7.1 and
12860 # earlier do not add the objects themselves.
12861 case `$CC -V 2>&1` in
12862 *"Version 7."*)
12863 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12864 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'
12865 ;;
12866 *) # Version 8.0 or newer
12867 tmp_idyn=
12868 case $host_cpu in
12869 ia64*) tmp_idyn=' -i_dynamic';;
12870 esac
12871 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12872 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'
12873 ;;
12874 esac
12875 archive_cmds_need_lc_CXX=no
12876 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12877 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12878 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12879 ;;
12880 pgCC* | pgcpp*)
12881 # Portland Group C++ compiler
12882 case `$CC -V` in
12883 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12884 prelink_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12887 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12888 old_archive_cmds_CXX='tpldir=Template.dir~
12889 rm -rf $tpldir~
12890 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12891 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12892 $RANLIB $oldlib'
12893 archive_cmds_CXX='tpldir=Template.dir~
12894 rm -rf $tpldir~
12895 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12896 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12897 archive_expsym_cmds_CXX='tpldir=Template.dir~
12898 rm -rf $tpldir~
12899 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12900 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12901 ;;
12902 *) # Version 6 and above use weak symbols
12903 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12904 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'
12905 ;;
12906 esac
12907
12908 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12909 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12910 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'
12911 ;;
12912 cxx*)
12913 # Compaq C++
12914 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915 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'
12916
12917 runpath_var=LD_RUN_PATH
12918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12919 hardcode_libdir_separator_CXX=:
12920
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12924 #
12925 # There doesn't appear to be a way to prevent this compiler from
12926 # explicitly linking system object files so we need to strip them
12927 # from the output so that they don't get included in the library
12928 # dependencies.
12929 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'
12930 ;;
12931 xl* | mpixl* | bgxl*)
12932 # IBM XL 8.0 on PPC, with GNU ld
12933 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12934 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12935 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936 if test "x$supports_anon_versioning" = xyes; then
12937 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12939 echo "local: *; };" >> $output_objdir/$libname.ver~
12940 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12941 fi
12942 ;;
12943 *)
12944 case `$CC -V 2>&1 | sed 5q` in
12945 *Sun\ C*)
12946 # Sun C++ 5.9
12947 no_undefined_flag_CXX=' -zdefs'
12948 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12949 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'
12950 hardcode_libdir_flag_spec_CXX='-R$libdir'
12951 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'
12952 compiler_needs_object_CXX=yes
12953
12954 # Not sure whether something based on
12955 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12956 # would be better.
12957 output_verbose_link_cmd='func_echo_all'
12958
12959 # Archives containing C++ object files must be created using
12960 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12961 # necessary to make sure instantiated templates are included
12962 # in the archive.
12963 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12964 ;;
12965 esac
12966 ;;
12967 esac
12968 ;;
12969
12970 lynxos*)
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12973 ;;
12974
12975 m88k*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12978 ;;
12979
12980 mvs*)
12981 case $cc_basename in
12982 cxx*)
12983 # FIXME: insert proper C++ library support
12984 ld_shlibs_CXX=no
12985 ;;
12986 *)
12987 # FIXME: insert proper C++ library support
12988 ld_shlibs_CXX=no
12989 ;;
12990 esac
12991 ;;
12992
12993 netbsd*)
12994 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12995 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12996 wlarc=
12997 hardcode_libdir_flag_spec_CXX='-R$libdir'
12998 hardcode_direct_CXX=yes
12999 hardcode_shlibpath_var_CXX=no
13000 fi
13001 # Workaround some broken pre-1.5 toolchains
13002 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13003 ;;
13004
13005 *nto* | *qnx*)
13006 ld_shlibs_CXX=yes
13007 ;;
13008
13009 openbsd2*)
13010 # C++ shared libraries are fairly broken
13011 ld_shlibs_CXX=no
13012 ;;
13013
13014 openbsd*)
13015 if test -f /usr/libexec/ld.so; then
13016 hardcode_direct_CXX=yes
13017 hardcode_shlibpath_var_CXX=no
13018 hardcode_direct_absolute_CXX=yes
13019 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13020 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13021 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13022 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13023 export_dynamic_flag_spec_CXX='${wl}-E'
13024 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13025 fi
13026 output_verbose_link_cmd=func_echo_all
13027 else
13028 ld_shlibs_CXX=no
13029 fi
13030 ;;
13031
13032 osf3* | osf4* | osf5*)
13033 case $cc_basename in
13034 KCC*)
13035 # Kuck and Associates, Inc. (KAI) C++ Compiler
13036
13037 # KCC will only create a shared library if the output file
13038 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13039 # to its proper name (with version) after linking.
13040 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'
13041
13042 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13043 hardcode_libdir_separator_CXX=:
13044
13045 # Archives containing C++ object files must be created using
13046 # the KAI C++ compiler.
13047 case $host in
13048 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13049 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13050 esac
13051 ;;
13052 RCC*)
13053 # Rational C++ 2.4.1
13054 # FIXME: insert proper C++ library support
13055 ld_shlibs_CXX=no
13056 ;;
13057 cxx*)
13058 case $host in
13059 osf3*)
13060 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13061 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'
13062 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13063 ;;
13064 *)
13065 allow_undefined_flag_CXX=' -expect_unresolved \*'
13066 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'
13067 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13068 echo "-hidden">> $lib.exp~
13069 $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~
13070 $RM $lib.exp'
13071 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13072 ;;
13073 esac
13074
13075 hardcode_libdir_separator_CXX=:
13076
13077 # Commands to make compiler produce verbose output that lists
13078 # what "hidden" libraries, object files and flags are used when
13079 # linking a shared library.
13080 #
13081 # There doesn't appear to be a way to prevent this compiler from
13082 # explicitly linking system object files so we need to strip them
13083 # from the output so that they don't get included in the library
13084 # dependencies.
13085 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"'
13086 ;;
13087 *)
13088 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13089 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13090 case $host in
13091 osf3*)
13092 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'
13093 ;;
13094 *)
13095 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'
13096 ;;
13097 esac
13098
13099 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13100 hardcode_libdir_separator_CXX=:
13101
13102 # Commands to make compiler produce verbose output that lists
13103 # what "hidden" libraries, object files and flags are used when
13104 # linking a shared library.
13105 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13106
13107 else
13108 # FIXME: insert proper C++ library support
13109 ld_shlibs_CXX=no
13110 fi
13111 ;;
13112 esac
13113 ;;
13114
13115 psos*)
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13118 ;;
13119
13120 sunos4*)
13121 case $cc_basename in
13122 CC*)
13123 # Sun C++ 4.x
13124 # FIXME: insert proper C++ library support
13125 ld_shlibs_CXX=no
13126 ;;
13127 lcc*)
13128 # Lucid
13129 # FIXME: insert proper C++ library support
13130 ld_shlibs_CXX=no
13131 ;;
13132 *)
13133 # FIXME: insert proper C++ library support
13134 ld_shlibs_CXX=no
13135 ;;
13136 esac
13137 ;;
13138
13139 solaris*)
13140 case $cc_basename in
13141 CC*)
13142 # Sun C++ 4.2, 5.x and Centerline C++
13143 archive_cmds_need_lc_CXX=yes
13144 no_undefined_flag_CXX=' -zdefs'
13145 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13146 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13147 $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'
13148
13149 hardcode_libdir_flag_spec_CXX='-R$libdir'
13150 hardcode_shlibpath_var_CXX=no
13151 case $host_os in
13152 solaris2.[0-5] | solaris2.[0-5].*) ;;
13153 *)
13154 # The compiler driver will combine and reorder linker options,
13155 # but understands `-z linker_flag'.
13156 # Supported since Solaris 2.6 (maybe 2.5.1?)
13157 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13158 ;;
13159 esac
13160 link_all_deplibs_CXX=yes
13161
13162 output_verbose_link_cmd='func_echo_all'
13163
13164 # Archives containing C++ object files must be created using
13165 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13166 # necessary to make sure instantiated templates are included
13167 # in the archive.
13168 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13169 ;;
13170 gcx*)
13171 # Green Hills C++ Compiler
13172 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13173
13174 # The C++ compiler must be used to create the archive.
13175 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13176 ;;
13177 *)
13178 # GNU C++ compiler with Solaris linker
13179 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13180 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13181 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13182 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13185
13186 # Commands to make compiler produce verbose output that lists
13187 # what "hidden" libraries, object files and flags are used when
13188 # linking a shared library.
13189 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13190 else
13191 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13192 # platform.
13193 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13194 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13195 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13196
13197 # Commands to make compiler produce verbose output that lists
13198 # what "hidden" libraries, object files and flags are used when
13199 # linking a shared library.
13200 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13201 fi
13202
13203 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13204 case $host_os in
13205 solaris2.[0-5] | solaris2.[0-5].*) ;;
13206 *)
13207 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13208 ;;
13209 esac
13210 fi
13211 ;;
13212 esac
13213 ;;
13214
13215 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13216 no_undefined_flag_CXX='${wl}-z,text'
13217 archive_cmds_need_lc_CXX=no
13218 hardcode_shlibpath_var_CXX=no
13219 runpath_var='LD_RUN_PATH'
13220
13221 case $cc_basename in
13222 CC*)
13223 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13225 ;;
13226 *)
13227 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 ;;
13230 esac
13231 ;;
13232
13233 sysv5* | sco3.2v5* | sco5v6*)
13234 # Note: We can NOT use -z defs as we might desire, because we do not
13235 # link with -lc, and that would cause any symbols used from libc to
13236 # always be unresolved, which means just about no library would
13237 # ever link correctly. If we're not using GNU ld we use -z text
13238 # though, which does catch some bad symbols but isn't as heavy-handed
13239 # as -z defs.
13240 no_undefined_flag_CXX='${wl}-z,text'
13241 allow_undefined_flag_CXX='${wl}-z,nodefs'
13242 archive_cmds_need_lc_CXX=no
13243 hardcode_shlibpath_var_CXX=no
13244 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13245 hardcode_libdir_separator_CXX=':'
13246 link_all_deplibs_CXX=yes
13247 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13248 runpath_var='LD_RUN_PATH'
13249
13250 case $cc_basename in
13251 CC*)
13252 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13254 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13255 '"$old_archive_cmds_CXX"
13256 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13257 '"$reload_cmds_CXX"
13258 ;;
13259 *)
13260 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13261 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13262 ;;
13263 esac
13264 ;;
13265
13266 tandem*)
13267 case $cc_basename in
13268 NCC*)
13269 # NonStop-UX NCC 3.20
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13272 ;;
13273 *)
13274 # FIXME: insert proper C++ library support
13275 ld_shlibs_CXX=no
13276 ;;
13277 esac
13278 ;;
13279
13280 vxworks*)
13281 # FIXME: insert proper C++ library support
13282 ld_shlibs_CXX=no
13283 ;;
13284
13285 *)
13286 # FIXME: insert proper C++ library support
13287 ld_shlibs_CXX=no
13288 ;;
13289 esac
13290
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13292 $as_echo "$ld_shlibs_CXX" >&6; }
13293 test "$ld_shlibs_CXX" = no && can_build_shared=no
13294
13295 GCC_CXX="$GXX"
13296 LD_CXX="$LD"
13297
13298 ## CAVEAT EMPTOR:
13299 ## There is no encapsulation within the following macros, do not change
13300 ## the running order or otherwise move them around unless you know exactly
13301 ## what you are doing...
13302 # Dependencies to place before and after the object being linked:
13303 predep_objects_CXX=
13304 postdep_objects_CXX=
13305 predeps_CXX=
13306 postdeps_CXX=
13307 compiler_lib_search_path_CXX=
13308
13309 cat > conftest.$ac_ext <<_LT_EOF
13310 class Foo
13311 {
13312 public:
13313 Foo (void) { a = 0; }
13314 private:
13315 int a;
13316 };
13317 _LT_EOF
13318
13319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13320 (eval $ac_compile) 2>&5
13321 ac_status=$?
13322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13323 test $ac_status = 0; }; then
13324 # Parse the compiler output and extract the necessary
13325 # objects, libraries and library flags.
13326
13327 # Sentinel used to keep track of whether or not we are before
13328 # the conftest object file.
13329 pre_test_object_deps_done=no
13330
13331 for p in `eval "$output_verbose_link_cmd"`; do
13332 case $p in
13333
13334 -L* | -R* | -l*)
13335 # Some compilers place space between "-{L,R}" and the path.
13336 # Remove the space.
13337 if test $p = "-L" ||
13338 test $p = "-R"; then
13339 prev=$p
13340 continue
13341 else
13342 prev=
13343 fi
13344
13345 if test "$pre_test_object_deps_done" = no; then
13346 case $p in
13347 -L* | -R*)
13348 # Internal compiler library paths should come after those
13349 # provided the user. The postdeps already come after the
13350 # user supplied libs so there is no need to process them.
13351 if test -z "$compiler_lib_search_path_CXX"; then
13352 compiler_lib_search_path_CXX="${prev}${p}"
13353 else
13354 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13355 fi
13356 ;;
13357 # The "-l" case would never come before the object being
13358 # linked, so don't bother handling this case.
13359 esac
13360 else
13361 if test -z "$postdeps_CXX"; then
13362 postdeps_CXX="${prev}${p}"
13363 else
13364 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13365 fi
13366 fi
13367 ;;
13368
13369 *.$objext)
13370 # This assumes that the test object file only shows up
13371 # once in the compiler output.
13372 if test "$p" = "conftest.$objext"; then
13373 pre_test_object_deps_done=yes
13374 continue
13375 fi
13376
13377 if test "$pre_test_object_deps_done" = no; then
13378 if test -z "$predep_objects_CXX"; then
13379 predep_objects_CXX="$p"
13380 else
13381 predep_objects_CXX="$predep_objects_CXX $p"
13382 fi
13383 else
13384 if test -z "$postdep_objects_CXX"; then
13385 postdep_objects_CXX="$p"
13386 else
13387 postdep_objects_CXX="$postdep_objects_CXX $p"
13388 fi
13389 fi
13390 ;;
13391
13392 *) ;; # Ignore the rest.
13393
13394 esac
13395 done
13396
13397 # Clean up.
13398 rm -f a.out a.exe
13399 else
13400 echo "libtool.m4: error: problem compiling CXX test program"
13401 fi
13402
13403 $RM -f confest.$objext
13404
13405 # PORTME: override above test on systems where it is broken
13406 case $host_os in
13407 interix[3-9]*)
13408 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13409 # hack all around it, let's just trust "g++" to DTRT.
13410 predep_objects_CXX=
13411 postdep_objects_CXX=
13412 postdeps_CXX=
13413 ;;
13414
13415 linux*)
13416 case `$CC -V 2>&1 | sed 5q` in
13417 *Sun\ C*)
13418 # Sun C++ 5.9
13419
13420 # The more standards-conforming stlport4 library is
13421 # incompatible with the Cstd library. Avoid specifying
13422 # it if it's in CXXFLAGS. Ignore libCrun as
13423 # -library=stlport4 depends on it.
13424 case " $CXX $CXXFLAGS " in
13425 *" -library=stlport4 "*)
13426 solaris_use_stlport4=yes
13427 ;;
13428 esac
13429
13430 if test "$solaris_use_stlport4" != yes; then
13431 postdeps_CXX='-library=Cstd -library=Crun'
13432 fi
13433 ;;
13434 esac
13435 ;;
13436
13437 solaris*)
13438 case $cc_basename in
13439 CC*)
13440 # The more standards-conforming stlport4 library is
13441 # incompatible with the Cstd library. Avoid specifying
13442 # it if it's in CXXFLAGS. Ignore libCrun as
13443 # -library=stlport4 depends on it.
13444 case " $CXX $CXXFLAGS " in
13445 *" -library=stlport4 "*)
13446 solaris_use_stlport4=yes
13447 ;;
13448 esac
13449
13450 # Adding this requires a known-good setup of shared libraries for
13451 # Sun compiler versions before 5.6, else PIC objects from an old
13452 # archive will be linked into the output, leading to subtle bugs.
13453 if test "$solaris_use_stlport4" != yes; then
13454 postdeps_CXX='-library=Cstd -library=Crun'
13455 fi
13456 ;;
13457 esac
13458 ;;
13459 esac
13460
13461
13462 case " $postdeps_CXX " in
13463 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13464 esac
13465 compiler_lib_search_dirs_CXX=
13466 if test -n "${compiler_lib_search_path_CXX}"; then
13467 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13468 fi
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500 lt_prog_compiler_wl_CXX=
13501 lt_prog_compiler_pic_CXX=
13502 lt_prog_compiler_static_CXX=
13503
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13506
13507 # C++ specific cases for pic, static, wl, etc.
13508 if test "$GXX" = yes; then
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='-static'
13511
13512 case $host_os in
13513 aix*)
13514 # All AIX code is PIC.
13515 if test "$host_cpu" = ia64; then
13516 # AIX 5 now supports IA64 processor
13517 lt_prog_compiler_static_CXX='-Bstatic'
13518 fi
13519 lt_prog_compiler_pic_CXX='-fPIC'
13520 ;;
13521
13522 amigaos*)
13523 case $host_cpu in
13524 powerpc)
13525 # see comment about AmigaOS4 .so support
13526 lt_prog_compiler_pic_CXX='-fPIC'
13527 ;;
13528 m68k)
13529 # FIXME: we need at least 68020 code to build shared libraries, but
13530 # adding the `-m68020' flag to GCC prevents building anything better,
13531 # like `-m68040'.
13532 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13533 ;;
13534 esac
13535 ;;
13536
13537 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13538 # PIC is the default for these OSes.
13539 ;;
13540 mingw* | cygwin* | os2* | pw32* | cegcc*)
13541 # This hack is so that the source file can tell whether it is being
13542 # built for inclusion in a dll (and should export symbols for example).
13543 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13544 # (--disable-auto-import) libraries
13545 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13546 ;;
13547 darwin* | rhapsody*)
13548 # PIC is the default on this platform
13549 # Common symbols not allowed in MH_DYLIB files
13550 lt_prog_compiler_pic_CXX='-fno-common'
13551 ;;
13552 *djgpp*)
13553 # DJGPP does not support shared libraries at all
13554 lt_prog_compiler_pic_CXX=
13555 ;;
13556 haiku*)
13557 # PIC is the default for Haiku.
13558 # The "-static" flag exists, but is broken.
13559 lt_prog_compiler_static_CXX=
13560 ;;
13561 interix[3-9]*)
13562 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13563 # Instead, we relocate shared libraries at runtime.
13564 ;;
13565 sysv4*MP*)
13566 if test -d /usr/nec; then
13567 lt_prog_compiler_pic_CXX=-Kconform_pic
13568 fi
13569 ;;
13570 hpux*)
13571 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13572 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13573 # sets the default TLS model and affects inlining.
13574 case $host_cpu in
13575 hppa*64*)
13576 ;;
13577 *)
13578 lt_prog_compiler_pic_CXX='-fPIC'
13579 ;;
13580 esac
13581 ;;
13582 *qnx* | *nto*)
13583 # QNX uses GNU C++, but need to define -shared option too, otherwise
13584 # it will coredump.
13585 lt_prog_compiler_pic_CXX='-fPIC -shared'
13586 ;;
13587 *)
13588 lt_prog_compiler_pic_CXX='-fPIC'
13589 ;;
13590 esac
13591 else
13592 case $host_os in
13593 aix[4-9]*)
13594 # All AIX code is PIC.
13595 if test "$host_cpu" = ia64; then
13596 # AIX 5 now supports IA64 processor
13597 lt_prog_compiler_static_CXX='-Bstatic'
13598 else
13599 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13600 fi
13601 ;;
13602 chorus*)
13603 case $cc_basename in
13604 cxch68*)
13605 # Green Hills C++ Compiler
13606 # _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"
13607 ;;
13608 esac
13609 ;;
13610 dgux*)
13611 case $cc_basename in
13612 ec++*)
13613 lt_prog_compiler_pic_CXX='-KPIC'
13614 ;;
13615 ghcx*)
13616 # Green Hills C++ Compiler
13617 lt_prog_compiler_pic_CXX='-pic'
13618 ;;
13619 *)
13620 ;;
13621 esac
13622 ;;
13623 freebsd* | dragonfly*)
13624 # FreeBSD uses GNU C++
13625 ;;
13626 hpux9* | hpux10* | hpux11*)
13627 case $cc_basename in
13628 CC*)
13629 lt_prog_compiler_wl_CXX='-Wl,'
13630 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13631 if test "$host_cpu" != ia64; then
13632 lt_prog_compiler_pic_CXX='+Z'
13633 fi
13634 ;;
13635 aCC*)
13636 lt_prog_compiler_wl_CXX='-Wl,'
13637 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13638 case $host_cpu in
13639 hppa*64*|ia64*)
13640 # +Z the default
13641 ;;
13642 *)
13643 lt_prog_compiler_pic_CXX='+Z'
13644 ;;
13645 esac
13646 ;;
13647 *)
13648 ;;
13649 esac
13650 ;;
13651 interix*)
13652 # This is c89, which is MS Visual C++ (no shared libs)
13653 # Anyone wants to do a port?
13654 ;;
13655 irix5* | irix6* | nonstopux*)
13656 case $cc_basename in
13657 CC*)
13658 lt_prog_compiler_wl_CXX='-Wl,'
13659 lt_prog_compiler_static_CXX='-non_shared'
13660 # CC pic flag -KPIC is the default.
13661 ;;
13662 *)
13663 ;;
13664 esac
13665 ;;
13666 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13667 case $cc_basename in
13668 KCC*)
13669 # KAI C++ Compiler
13670 lt_prog_compiler_wl_CXX='--backend -Wl,'
13671 lt_prog_compiler_pic_CXX='-fPIC'
13672 ;;
13673 ecpc* )
13674 # old Intel C++ for x86_64 which still supported -KPIC.
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-KPIC'
13677 lt_prog_compiler_static_CXX='-static'
13678 ;;
13679 icpc* )
13680 # Intel C++, used to be incompatible with GCC.
13681 # ICC 10 doesn't accept -KPIC any more.
13682 lt_prog_compiler_wl_CXX='-Wl,'
13683 lt_prog_compiler_pic_CXX='-fPIC'
13684 lt_prog_compiler_static_CXX='-static'
13685 ;;
13686 pgCC* | pgcpp*)
13687 # Portland Group C++ compiler
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-fpic'
13690 lt_prog_compiler_static_CXX='-Bstatic'
13691 ;;
13692 cxx*)
13693 # Compaq C++
13694 # Make sure the PIC flag is empty. It appears that all Alpha
13695 # Linux and Compaq Tru64 Unix objects are PIC.
13696 lt_prog_compiler_pic_CXX=
13697 lt_prog_compiler_static_CXX='-non_shared'
13698 ;;
13699 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13700 # IBM XL 8.0, 9.0 on PPC and BlueGene
13701 lt_prog_compiler_wl_CXX='-Wl,'
13702 lt_prog_compiler_pic_CXX='-qpic'
13703 lt_prog_compiler_static_CXX='-qstaticlink'
13704 ;;
13705 *)
13706 case `$CC -V 2>&1 | sed 5q` in
13707 *Sun\ C*)
13708 # Sun C++ 5.9
13709 lt_prog_compiler_pic_CXX='-KPIC'
13710 lt_prog_compiler_static_CXX='-Bstatic'
13711 lt_prog_compiler_wl_CXX='-Qoption ld '
13712 ;;
13713 esac
13714 ;;
13715 esac
13716 ;;
13717 lynxos*)
13718 ;;
13719 m88k*)
13720 ;;
13721 mvs*)
13722 case $cc_basename in
13723 cxx*)
13724 lt_prog_compiler_pic_CXX='-W c,exportall'
13725 ;;
13726 *)
13727 ;;
13728 esac
13729 ;;
13730 netbsd*)
13731 ;;
13732 *qnx* | *nto*)
13733 # QNX uses GNU C++, but need to define -shared option too, otherwise
13734 # it will coredump.
13735 lt_prog_compiler_pic_CXX='-fPIC -shared'
13736 ;;
13737 osf3* | osf4* | osf5*)
13738 case $cc_basename in
13739 KCC*)
13740 lt_prog_compiler_wl_CXX='--backend -Wl,'
13741 ;;
13742 RCC*)
13743 # Rational C++ 2.4.1
13744 lt_prog_compiler_pic_CXX='-pic'
13745 ;;
13746 cxx*)
13747 # Digital/Compaq C++
13748 lt_prog_compiler_wl_CXX='-Wl,'
13749 # Make sure the PIC flag is empty. It appears that all Alpha
13750 # Linux and Compaq Tru64 Unix objects are PIC.
13751 lt_prog_compiler_pic_CXX=
13752 lt_prog_compiler_static_CXX='-non_shared'
13753 ;;
13754 *)
13755 ;;
13756 esac
13757 ;;
13758 psos*)
13759 ;;
13760 solaris*)
13761 case $cc_basename in
13762 CC*)
13763 # Sun C++ 4.2, 5.x and Centerline C++
13764 lt_prog_compiler_pic_CXX='-KPIC'
13765 lt_prog_compiler_static_CXX='-Bstatic'
13766 lt_prog_compiler_wl_CXX='-Qoption ld '
13767 ;;
13768 gcx*)
13769 # Green Hills C++ Compiler
13770 lt_prog_compiler_pic_CXX='-PIC'
13771 ;;
13772 *)
13773 ;;
13774 esac
13775 ;;
13776 sunos4*)
13777 case $cc_basename in
13778 CC*)
13779 # Sun C++ 4.x
13780 lt_prog_compiler_pic_CXX='-pic'
13781 lt_prog_compiler_static_CXX='-Bstatic'
13782 ;;
13783 lcc*)
13784 # Lucid
13785 lt_prog_compiler_pic_CXX='-pic'
13786 ;;
13787 *)
13788 ;;
13789 esac
13790 ;;
13791 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13792 case $cc_basename in
13793 CC*)
13794 lt_prog_compiler_wl_CXX='-Wl,'
13795 lt_prog_compiler_pic_CXX='-KPIC'
13796 lt_prog_compiler_static_CXX='-Bstatic'
13797 ;;
13798 esac
13799 ;;
13800 tandem*)
13801 case $cc_basename in
13802 NCC*)
13803 # NonStop-UX NCC 3.20
13804 lt_prog_compiler_pic_CXX='-KPIC'
13805 ;;
13806 *)
13807 ;;
13808 esac
13809 ;;
13810 vxworks*)
13811 ;;
13812 *)
13813 lt_prog_compiler_can_build_shared_CXX=no
13814 ;;
13815 esac
13816 fi
13817
13818 case $host_os in
13819 # For platforms which do not support PIC, -DPIC is meaningless:
13820 *djgpp*)
13821 lt_prog_compiler_pic_CXX=
13822 ;;
13823 *)
13824 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13825 ;;
13826 esac
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13828 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13829
13830
13831
13832 #
13833 # Check to make sure the PIC flag actually works.
13834 #
13835 if test -n "$lt_prog_compiler_pic_CXX"; then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13837 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13838 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 lt_cv_prog_compiler_pic_works_CXX=no
13842 ac_outfile=conftest.$ac_objext
13843 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13844 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13845 # Insert the option either (1) after the last *FLAGS variable, or
13846 # (2) before a word containing "conftest.", or (3) at the end.
13847 # Note that $ac_compile itself does not contain backslashes and begins
13848 # with a dollar sign (not a hyphen), so the echo should work correctly.
13849 # The option is referenced via a variable to avoid confusing sed.
13850 lt_compile=`echo "$ac_compile" | $SED \
13851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13853 -e 's:$: $lt_compiler_flag:'`
13854 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13855 (eval "$lt_compile" 2>conftest.err)
13856 ac_status=$?
13857 cat conftest.err >&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 if (exit $ac_status) && test -s "$ac_outfile"; then
13860 # The compiler can only warn and ignore the option if not recognized
13861 # So say no if there are warnings other than the usual output.
13862 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13863 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13864 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13865 lt_cv_prog_compiler_pic_works_CXX=yes
13866 fi
13867 fi
13868 $RM conftest*
13869
13870 fi
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13872 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13873
13874 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13875 case $lt_prog_compiler_pic_CXX in
13876 "" | " "*) ;;
13877 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13878 esac
13879 else
13880 lt_prog_compiler_pic_CXX=
13881 lt_prog_compiler_can_build_shared_CXX=no
13882 fi
13883
13884 fi
13885
13886
13887
13888 #
13889 # Check to make sure the static flag actually works.
13890 #
13891 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13893 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13894 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 lt_cv_prog_compiler_static_works_CXX=no
13898 save_LDFLAGS="$LDFLAGS"
13899 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13900 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13901 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13902 # The linker can only warn and ignore the option if not recognized
13903 # So say no if there are warnings
13904 if test -s conftest.err; then
13905 # Append any errors to the config.log.
13906 cat conftest.err 1>&5
13907 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13908 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13909 if diff conftest.exp conftest.er2 >/dev/null; then
13910 lt_cv_prog_compiler_static_works_CXX=yes
13911 fi
13912 else
13913 lt_cv_prog_compiler_static_works_CXX=yes
13914 fi
13915 fi
13916 $RM -r conftest*
13917 LDFLAGS="$save_LDFLAGS"
13918
13919 fi
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13921 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13922
13923 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13924 :
13925 else
13926 lt_prog_compiler_static_CXX=
13927 fi
13928
13929
13930
13931
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13934 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13935 $as_echo_n "(cached) " >&6
13936 else
13937 lt_cv_prog_compiler_c_o_CXX=no
13938 $RM -r conftest 2>/dev/null
13939 mkdir conftest
13940 cd conftest
13941 mkdir out
13942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13943
13944 lt_compiler_flag="-o out/conftest2.$ac_objext"
13945 # Insert the option either (1) after the last *FLAGS variable, or
13946 # (2) before a word containing "conftest.", or (3) at the end.
13947 # Note that $ac_compile itself does not contain backslashes and begins
13948 # with a dollar sign (not a hyphen), so the echo should work correctly.
13949 lt_compile=`echo "$ac_compile" | $SED \
13950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13952 -e 's:$: $lt_compiler_flag:'`
13953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13954 (eval "$lt_compile" 2>out/conftest.err)
13955 ac_status=$?
13956 cat out/conftest.err >&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13959 then
13960 # The compiler can only warn and ignore the option if not recognized
13961 # So say no if there are warnings
13962 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13963 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13964 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13965 lt_cv_prog_compiler_c_o_CXX=yes
13966 fi
13967 fi
13968 chmod u+w . 2>&5
13969 $RM conftest*
13970 # SGI C++ compiler will create directory out/ii_files/ for
13971 # template instantiation
13972 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13973 $RM out/* && rmdir out
13974 cd ..
13975 $RM -r conftest
13976 $RM conftest*
13977
13978 fi
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13980 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13981
13982
13983
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13985 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13986 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 lt_cv_prog_compiler_c_o_CXX=no
13990 $RM -r conftest 2>/dev/null
13991 mkdir conftest
13992 cd conftest
13993 mkdir out
13994 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13995
13996 lt_compiler_flag="-o out/conftest2.$ac_objext"
13997 # Insert the option either (1) after the last *FLAGS variable, or
13998 # (2) before a word containing "conftest.", or (3) at the end.
13999 # Note that $ac_compile itself does not contain backslashes and begins
14000 # with a dollar sign (not a hyphen), so the echo should work correctly.
14001 lt_compile=`echo "$ac_compile" | $SED \
14002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14004 -e 's:$: $lt_compiler_flag:'`
14005 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14006 (eval "$lt_compile" 2>out/conftest.err)
14007 ac_status=$?
14008 cat out/conftest.err >&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14011 then
14012 # The compiler can only warn and ignore the option if not recognized
14013 # So say no if there are warnings
14014 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14015 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14016 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14017 lt_cv_prog_compiler_c_o_CXX=yes
14018 fi
14019 fi
14020 chmod u+w . 2>&5
14021 $RM conftest*
14022 # SGI C++ compiler will create directory out/ii_files/ for
14023 # template instantiation
14024 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14025 $RM out/* && rmdir out
14026 cd ..
14027 $RM -r conftest
14028 $RM conftest*
14029
14030 fi
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14032 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14033
14034
14035
14036
14037 hard_links="nottested"
14038 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14039 # do not overwrite the value of need_locks provided by the user
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14041 $as_echo_n "checking if we can lock with hard links... " >&6; }
14042 hard_links=yes
14043 $RM conftest*
14044 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14045 touch conftest.a
14046 ln conftest.a conftest.b 2>&5 || hard_links=no
14047 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14049 $as_echo "$hard_links" >&6; }
14050 if test "$hard_links" = no; then
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14052 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14053 need_locks=warn
14054 fi
14055 else
14056 need_locks=no
14057 fi
14058
14059
14060
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14062 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14063
14064 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14065 case $host_os in
14066 aix[4-9]*)
14067 # If we're using GNU nm, then we don't want the "-C" option.
14068 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14069 # Also, AIX nm treats weak defined symbols like other global defined
14070 # symbols, whereas GNU nm marks them as "W".
14071 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14072 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'
14073 else
14074 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14075 fi
14076 ;;
14077 pw32*)
14078 export_symbols_cmds_CXX="$ltdll_cmds"
14079 ;;
14080 cygwin* | mingw* | cegcc*)
14081 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'
14082 ;;
14083 *)
14084 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14085 ;;
14086 esac
14087 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14088
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14090 $as_echo "$ld_shlibs_CXX" >&6; }
14091 test "$ld_shlibs_CXX" = no && can_build_shared=no
14092
14093 with_gnu_ld_CXX=$with_gnu_ld
14094
14095
14096
14097
14098
14099
14100 #
14101 # Do we need to explicitly link libc?
14102 #
14103 case "x$archive_cmds_need_lc_CXX" in
14104 x|xyes)
14105 # Assume -lc should be added
14106 archive_cmds_need_lc_CXX=yes
14107
14108 if test "$enable_shared" = yes && test "$GCC" = yes; then
14109 case $archive_cmds_CXX in
14110 *'~'*)
14111 # FIXME: we may have to deal with multi-command sequences.
14112 ;;
14113 '$CC '*)
14114 # Test whether the compiler implicitly links with -lc since on some
14115 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14116 # to ld, don't add -lc before -lgcc.
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14118 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14119 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14120 $as_echo_n "(cached) " >&6
14121 else
14122 $RM conftest*
14123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14124
14125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14126 (eval $ac_compile) 2>&5
14127 ac_status=$?
14128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14129 test $ac_status = 0; } 2>conftest.err; then
14130 soname=conftest
14131 lib=conftest
14132 libobjs=conftest.$ac_objext
14133 deplibs=
14134 wl=$lt_prog_compiler_wl_CXX
14135 pic_flag=$lt_prog_compiler_pic_CXX
14136 compiler_flags=-v
14137 linker_flags=-v
14138 verstring=
14139 output_objdir=.
14140 libname=conftest
14141 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14142 allow_undefined_flag_CXX=
14143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14144 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14145 ac_status=$?
14146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14147 test $ac_status = 0; }
14148 then
14149 lt_cv_archive_cmds_need_lc_CXX=no
14150 else
14151 lt_cv_archive_cmds_need_lc_CXX=yes
14152 fi
14153 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14154 else
14155 cat conftest.err 1>&5
14156 fi
14157 $RM conftest*
14158
14159 fi
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14161 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14162 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14163 ;;
14164 esac
14165 fi
14166 ;;
14167 esac
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14233 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14234
14235 library_names_spec=
14236 libname_spec='lib$name'
14237 soname_spec=
14238 shrext_cmds=".so"
14239 postinstall_cmds=
14240 postuninstall_cmds=
14241 finish_cmds=
14242 finish_eval=
14243 shlibpath_var=
14244 shlibpath_overrides_runpath=unknown
14245 version_type=none
14246 dynamic_linker="$host_os ld.so"
14247 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14248 need_lib_prefix=unknown
14249 hardcode_into_libs=no
14250
14251 # when you set need_version to no, make sure it does not cause -set_version
14252 # flags to be left without arguments
14253 need_version=unknown
14254
14255 case $host_os in
14256 aix3*)
14257 version_type=linux
14258 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14259 shlibpath_var=LIBPATH
14260
14261 # AIX 3 has no versioning support, so we append a major version to the name.
14262 soname_spec='${libname}${release}${shared_ext}$major'
14263 ;;
14264
14265 aix[4-9]*)
14266 version_type=linux
14267 need_lib_prefix=no
14268 need_version=no
14269 hardcode_into_libs=yes
14270 if test "$host_cpu" = ia64; then
14271 # AIX 5 supports IA64
14272 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14273 shlibpath_var=LD_LIBRARY_PATH
14274 else
14275 # With GCC up to 2.95.x, collect2 would create an import file
14276 # for dependence libraries. The import file would start with
14277 # the line `#! .'. This would cause the generated library to
14278 # depend on `.', always an invalid library. This was fixed in
14279 # development snapshots of GCC prior to 3.0.
14280 case $host_os in
14281 aix4 | aix4.[01] | aix4.[01].*)
14282 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14283 echo ' yes '
14284 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14285 :
14286 else
14287 can_build_shared=no
14288 fi
14289 ;;
14290 esac
14291 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14292 # soname into executable. Probably we can add versioning support to
14293 # collect2, so additional links can be useful in future.
14294 if test "$aix_use_runtimelinking" = yes; then
14295 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14296 # instead of lib<name>.a to let people know that these are not
14297 # typical AIX shared libraries.
14298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14299 else
14300 # We preserve .a as extension for shared libraries through AIX4.2
14301 # and later when we are not doing run time linking.
14302 library_names_spec='${libname}${release}.a $libname.a'
14303 soname_spec='${libname}${release}${shared_ext}$major'
14304 fi
14305 shlibpath_var=LIBPATH
14306 fi
14307 ;;
14308
14309 amigaos*)
14310 case $host_cpu in
14311 powerpc)
14312 # Since July 2007 AmigaOS4 officially supports .so libraries.
14313 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14315 ;;
14316 m68k)
14317 library_names_spec='$libname.ixlibrary $libname.a'
14318 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14319 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'
14320 ;;
14321 esac
14322 ;;
14323
14324 beos*)
14325 library_names_spec='${libname}${shared_ext}'
14326 dynamic_linker="$host_os ld.so"
14327 shlibpath_var=LIBRARY_PATH
14328 ;;
14329
14330 bsdi[45]*)
14331 version_type=linux
14332 need_version=no
14333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14334 soname_spec='${libname}${release}${shared_ext}$major'
14335 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14336 shlibpath_var=LD_LIBRARY_PATH
14337 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14338 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14339 # the default ld.so.conf also contains /usr/contrib/lib and
14340 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14341 # libtool to hard-code these into programs
14342 ;;
14343
14344 cygwin* | mingw* | pw32* | cegcc*)
14345 version_type=windows
14346 shrext_cmds=".dll"
14347 need_version=no
14348 need_lib_prefix=no
14349
14350 case $GCC,$host_os in
14351 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14352 library_names_spec='$libname.dll.a'
14353 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14354 postinstall_cmds='base_file=`basename \${file}`~
14355 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14356 dldir=$destdir/`dirname \$dlpath`~
14357 test -d \$dldir || mkdir -p \$dldir~
14358 $install_prog $dir/$dlname \$dldir/$dlname~
14359 chmod a+x \$dldir/$dlname~
14360 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14361 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14362 fi'
14363 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14364 dlpath=$dir/\$dldll~
14365 $RM \$dlpath'
14366 shlibpath_overrides_runpath=yes
14367
14368 case $host_os in
14369 cygwin*)
14370 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14371 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14372
14373 ;;
14374 mingw* | cegcc*)
14375 # MinGW DLLs use traditional 'lib' prefix
14376 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14377 ;;
14378 pw32*)
14379 # pw32 DLLs use 'pw' prefix rather than 'lib'
14380 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14381 ;;
14382 esac
14383 ;;
14384
14385 *)
14386 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14387 ;;
14388 esac
14389 dynamic_linker='Win32 ld.exe'
14390 # FIXME: first we should search . and the directory the executable is in
14391 shlibpath_var=PATH
14392 ;;
14393
14394 darwin* | rhapsody*)
14395 dynamic_linker="$host_os dyld"
14396 version_type=darwin
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14400 soname_spec='${libname}${release}${major}$shared_ext'
14401 shlibpath_overrides_runpath=yes
14402 shlibpath_var=DYLD_LIBRARY_PATH
14403 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14404
14405 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14406 ;;
14407
14408 dgux*)
14409 version_type=linux
14410 need_lib_prefix=no
14411 need_version=no
14412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14413 soname_spec='${libname}${release}${shared_ext}$major'
14414 shlibpath_var=LD_LIBRARY_PATH
14415 ;;
14416
14417 freebsd* | dragonfly*)
14418 # DragonFly does not have aout. When/if they implement a new
14419 # versioning mechanism, adjust this.
14420 if test -x /usr/bin/objformat; then
14421 objformat=`/usr/bin/objformat`
14422 else
14423 case $host_os in
14424 freebsd[23].*) objformat=aout ;;
14425 *) objformat=elf ;;
14426 esac
14427 fi
14428 version_type=freebsd-$objformat
14429 case $version_type in
14430 freebsd-elf*)
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14432 need_version=no
14433 need_lib_prefix=no
14434 ;;
14435 freebsd-*)
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14437 need_version=yes
14438 ;;
14439 esac
14440 shlibpath_var=LD_LIBRARY_PATH
14441 case $host_os in
14442 freebsd2.*)
14443 shlibpath_overrides_runpath=yes
14444 ;;
14445 freebsd3.[01]* | freebsdelf3.[01]*)
14446 shlibpath_overrides_runpath=yes
14447 hardcode_into_libs=yes
14448 ;;
14449 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14450 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14451 shlibpath_overrides_runpath=no
14452 hardcode_into_libs=yes
14453 ;;
14454 *) # from 4.6 on, and DragonFly
14455 shlibpath_overrides_runpath=yes
14456 hardcode_into_libs=yes
14457 ;;
14458 esac
14459 ;;
14460
14461 gnu*)
14462 version_type=linux
14463 need_lib_prefix=no
14464 need_version=no
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 shlibpath_var=LD_LIBRARY_PATH
14468 hardcode_into_libs=yes
14469 ;;
14470
14471 haiku*)
14472 version_type=linux
14473 need_lib_prefix=no
14474 need_version=no
14475 dynamic_linker="$host_os runtime_loader"
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14477 soname_spec='${libname}${release}${shared_ext}$major'
14478 shlibpath_var=LIBRARY_PATH
14479 shlibpath_overrides_runpath=yes
14480 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14481 hardcode_into_libs=yes
14482 ;;
14483
14484 hpux9* | hpux10* | hpux11*)
14485 # Give a soname corresponding to the major version so that dld.sl refuses to
14486 # link against other versions.
14487 version_type=sunos
14488 need_lib_prefix=no
14489 need_version=no
14490 case $host_cpu in
14491 ia64*)
14492 shrext_cmds='.so'
14493 hardcode_into_libs=yes
14494 dynamic_linker="$host_os dld.so"
14495 shlibpath_var=LD_LIBRARY_PATH
14496 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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 if test "X$HPUX_IA64_MODE" = X32; then
14500 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14501 else
14502 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14503 fi
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14505 ;;
14506 hppa*64*)
14507 shrext_cmds='.sl'
14508 hardcode_into_libs=yes
14509 dynamic_linker="$host_os dld.sl"
14510 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14511 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 soname_spec='${libname}${release}${shared_ext}$major'
14514 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14515 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14516 ;;
14517 *)
14518 shrext_cmds='.sl'
14519 dynamic_linker="$host_os dld.sl"
14520 shlibpath_var=SHLIB_PATH
14521 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14523 soname_spec='${libname}${release}${shared_ext}$major'
14524 ;;
14525 esac
14526 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14527 postinstall_cmds='chmod 555 $lib'
14528 # or fails outright, so override atomically:
14529 install_override_mode=555
14530 ;;
14531
14532 interix[3-9]*)
14533 version_type=linux
14534 need_lib_prefix=no
14535 need_version=no
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14537 soname_spec='${libname}${release}${shared_ext}$major'
14538 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14539 shlibpath_var=LD_LIBRARY_PATH
14540 shlibpath_overrides_runpath=no
14541 hardcode_into_libs=yes
14542 ;;
14543
14544 irix5* | irix6* | nonstopux*)
14545 case $host_os in
14546 nonstopux*) version_type=nonstopux ;;
14547 *)
14548 if test "$lt_cv_prog_gnu_ld" = yes; then
14549 version_type=linux
14550 else
14551 version_type=irix
14552 fi ;;
14553 esac
14554 need_lib_prefix=no
14555 need_version=no
14556 soname_spec='${libname}${release}${shared_ext}$major'
14557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14558 case $host_os in
14559 irix5* | nonstopux*)
14560 libsuff= shlibsuff=
14561 ;;
14562 *)
14563 case $LD in # libtool.m4 will add one of these switches to LD
14564 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14565 libsuff= shlibsuff= libmagic=32-bit;;
14566 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14567 libsuff=32 shlibsuff=N32 libmagic=N32;;
14568 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14569 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14570 *) libsuff= shlibsuff= libmagic=never-match;;
14571 esac
14572 ;;
14573 esac
14574 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14575 shlibpath_overrides_runpath=no
14576 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14577 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14578 hardcode_into_libs=yes
14579 ;;
14580
14581 # No shared lib support for Linux oldld, aout, or coff.
14582 linux*oldld* | linux*aout* | linux*coff*)
14583 dynamic_linker=no
14584 ;;
14585
14586 # This must be Linux ELF.
14587 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14588 version_type=linux
14589 need_lib_prefix=no
14590 need_version=no
14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14592 soname_spec='${libname}${release}${shared_ext}$major'
14593 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=no
14596
14597 # Some binutils ld are patched to set DT_RUNPATH
14598 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14599 $as_echo_n "(cached) " >&6
14600 else
14601 lt_cv_shlibpath_overrides_runpath=no
14602 save_LDFLAGS=$LDFLAGS
14603 save_libdir=$libdir
14604 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14605 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14606 if test x$gcc_no_link = xyes; then
14607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14608 fi
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14611
14612 int
14613 main ()
14614 {
14615
14616 ;
14617 return 0;
14618 }
14619 _ACEOF
14620 if ac_fn_cxx_try_link "$LINENO"; then :
14621 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14622 lt_cv_shlibpath_overrides_runpath=yes
14623 fi
14624 fi
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 LDFLAGS=$save_LDFLAGS
14628 libdir=$save_libdir
14629
14630 fi
14631
14632 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14633
14634 # This implies no fast_install, which is unacceptable.
14635 # Some rework will be needed to allow for fast_install
14636 # before this can be enabled.
14637 hardcode_into_libs=yes
14638
14639 # Append ld.so.conf contents to the search path
14640 if test -f /etc/ld.so.conf; then
14641 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' ' '`
14642 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14643 fi
14644
14645 # We used to test for /lib/ld.so.1 and disable shared libraries on
14646 # powerpc, because MkLinux only supported shared libraries with the
14647 # GNU dynamic linker. Since this was broken with cross compilers,
14648 # most powerpc-linux boxes support dynamic linking these days and
14649 # people can always --disable-shared, the test was removed, and we
14650 # assume the GNU/Linux dynamic linker is in use.
14651 dynamic_linker='GNU/Linux ld.so'
14652 ;;
14653
14654 netbsd*)
14655 version_type=sunos
14656 need_lib_prefix=no
14657 need_version=no
14658 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14660 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14661 dynamic_linker='NetBSD (a.out) ld.so'
14662 else
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14664 soname_spec='${libname}${release}${shared_ext}$major'
14665 dynamic_linker='NetBSD ld.elf_so'
14666 fi
14667 shlibpath_var=LD_LIBRARY_PATH
14668 shlibpath_overrides_runpath=yes
14669 hardcode_into_libs=yes
14670 ;;
14671
14672 newsos6)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 shlibpath_overrides_runpath=yes
14677 ;;
14678
14679 *nto* | *qnx*)
14680 version_type=qnx
14681 need_lib_prefix=no
14682 need_version=no
14683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684 soname_spec='${libname}${release}${shared_ext}$major'
14685 shlibpath_var=LD_LIBRARY_PATH
14686 shlibpath_overrides_runpath=no
14687 hardcode_into_libs=yes
14688 dynamic_linker='ldqnx.so'
14689 ;;
14690
14691 openbsd*)
14692 version_type=sunos
14693 sys_lib_dlsearch_path_spec="/usr/lib"
14694 need_lib_prefix=no
14695 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14696 case $host_os in
14697 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14698 *) need_version=no ;;
14699 esac
14700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14701 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14702 shlibpath_var=LD_LIBRARY_PATH
14703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14704 case $host_os in
14705 openbsd2.[89] | openbsd2.[89].*)
14706 shlibpath_overrides_runpath=no
14707 ;;
14708 *)
14709 shlibpath_overrides_runpath=yes
14710 ;;
14711 esac
14712 else
14713 shlibpath_overrides_runpath=yes
14714 fi
14715 ;;
14716
14717 os2*)
14718 libname_spec='$name'
14719 shrext_cmds=".dll"
14720 need_lib_prefix=no
14721 library_names_spec='$libname${shared_ext} $libname.a'
14722 dynamic_linker='OS/2 ld.exe'
14723 shlibpath_var=LIBPATH
14724 ;;
14725
14726 osf3* | osf4* | osf5*)
14727 version_type=osf
14728 need_lib_prefix=no
14729 need_version=no
14730 soname_spec='${libname}${release}${shared_ext}$major'
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14734 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14735 ;;
14736
14737 rdos*)
14738 dynamic_linker=no
14739 ;;
14740
14741 solaris*)
14742 version_type=linux
14743 need_lib_prefix=no
14744 need_version=no
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14746 soname_spec='${libname}${release}${shared_ext}$major'
14747 shlibpath_var=LD_LIBRARY_PATH
14748 shlibpath_overrides_runpath=yes
14749 hardcode_into_libs=yes
14750 # ldd complains unless libraries are executable
14751 postinstall_cmds='chmod +x $lib'
14752 ;;
14753
14754 sunos4*)
14755 version_type=sunos
14756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14757 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14758 shlibpath_var=LD_LIBRARY_PATH
14759 shlibpath_overrides_runpath=yes
14760 if test "$with_gnu_ld" = yes; then
14761 need_lib_prefix=no
14762 fi
14763 need_version=yes
14764 ;;
14765
14766 sysv4 | sysv4.3*)
14767 version_type=linux
14768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769 soname_spec='${libname}${release}${shared_ext}$major'
14770 shlibpath_var=LD_LIBRARY_PATH
14771 case $host_vendor in
14772 sni)
14773 shlibpath_overrides_runpath=no
14774 need_lib_prefix=no
14775 runpath_var=LD_RUN_PATH
14776 ;;
14777 siemens)
14778 need_lib_prefix=no
14779 ;;
14780 motorola)
14781 need_lib_prefix=no
14782 need_version=no
14783 shlibpath_overrides_runpath=no
14784 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14785 ;;
14786 esac
14787 ;;
14788
14789 sysv4*MP*)
14790 if test -d /usr/nec ;then
14791 version_type=linux
14792 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14793 soname_spec='$libname${shared_ext}.$major'
14794 shlibpath_var=LD_LIBRARY_PATH
14795 fi
14796 ;;
14797
14798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14799 version_type=freebsd-elf
14800 need_lib_prefix=no
14801 need_version=no
14802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14803 soname_spec='${libname}${release}${shared_ext}$major'
14804 shlibpath_var=LD_LIBRARY_PATH
14805 shlibpath_overrides_runpath=yes
14806 hardcode_into_libs=yes
14807 if test "$with_gnu_ld" = yes; then
14808 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14809 else
14810 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14811 case $host_os in
14812 sco3.2v5*)
14813 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14814 ;;
14815 esac
14816 fi
14817 sys_lib_dlsearch_path_spec='/usr/lib'
14818 ;;
14819
14820 tpf*)
14821 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14822 version_type=linux
14823 need_lib_prefix=no
14824 need_version=no
14825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14826 shlibpath_var=LD_LIBRARY_PATH
14827 shlibpath_overrides_runpath=no
14828 hardcode_into_libs=yes
14829 ;;
14830
14831 uts4*)
14832 version_type=linux
14833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14834 soname_spec='${libname}${release}${shared_ext}$major'
14835 shlibpath_var=LD_LIBRARY_PATH
14836 ;;
14837
14838 *)
14839 dynamic_linker=no
14840 ;;
14841 esac
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14843 $as_echo "$dynamic_linker" >&6; }
14844 test "$dynamic_linker" = no && can_build_shared=no
14845
14846 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14847 if test "$GCC" = yes; then
14848 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14849 fi
14850
14851 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14852 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14853 fi
14854 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14855 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14856 fi
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14896 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14897 hardcode_action_CXX=
14898 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14899 test -n "$runpath_var_CXX" ||
14900 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14901
14902 # We can hardcode non-existent directories.
14903 if test "$hardcode_direct_CXX" != no &&
14904 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14905 # have to relink, otherwise we might link with an installed library
14906 # when we should be linking with a yet-to-be-installed one
14907 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14908 test "$hardcode_minus_L_CXX" != no; then
14909 # Linking always hardcodes the temporary library directory.
14910 hardcode_action_CXX=relink
14911 else
14912 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14913 hardcode_action_CXX=immediate
14914 fi
14915 else
14916 # We cannot hardcode anything, or else we can only hardcode existing
14917 # directories.
14918 hardcode_action_CXX=unsupported
14919 fi
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14921 $as_echo "$hardcode_action_CXX" >&6; }
14922
14923 if test "$hardcode_action_CXX" = relink ||
14924 test "$inherit_rpath_CXX" = yes; then
14925 # Fast installation is not supported
14926 enable_fast_install=no
14927 elif test "$shlibpath_overrides_runpath" = yes ||
14928 test "$enable_shared" = no; then
14929 # Fast installation is not necessary
14930 enable_fast_install=needless
14931 fi
14932
14933
14934
14935
14936
14937
14938
14939 fi # test -n "$compiler"
14940
14941 CC=$lt_save_CC
14942 LDCXX=$LD
14943 LD=$lt_save_LD
14944 GCC=$lt_save_GCC
14945 with_gnu_ld=$lt_save_with_gnu_ld
14946 lt_cv_path_LDCXX=$lt_cv_path_LD
14947 lt_cv_path_LD=$lt_save_path_LD
14948 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14949 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14950 fi # test "$_lt_caught_CXX_error" != yes
14951
14952 ac_ext=c
14953 ac_cpp='$CPP $CPPFLAGS'
14954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970 ac_config_commands="$ac_config_commands libtool"
14971
14972
14973
14974
14975 # Only expand once:
14976
14977
14978
14979
14980
14981 case $host in
14982 *-cygwin* | *-mingw*)
14983 # 'host' will be top-level target in the case of a target lib,
14984 # we must compare to with_cross_host to decide if this is a native
14985 # or cross-compiler and select where to install dlls appropriately.
14986 if test -n "$with_cross_host" &&
14987 test x"$with_cross_host" != x"no"; then
14988 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14989 else
14990 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14991 fi
14992 ;;
14993 *)
14994 lt_host_flags=
14995 ;;
14996 esac
14997
14998
14999
15000
15001
15002
15003 if test "$enable_vtable_verify" = yes; then
15004 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15005 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15006 fi
15007
15008
15009 # libtool variables for C++ shared and position-independent compiles.
15010 #
15011 # Use glibcxx_lt_pic_flag to designate the automake variable
15012 # used to encapsulate the default libtool approach to creating objects
15013 # with position-independent code. Default: -prefer-pic.
15014 #
15015 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15016 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15017 #
15018 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15019 # creating position-independent objects. This varies with the target
15020 # hardware and operating system, but is often: -DPIC -fPIC.
15021 if test "$enable_shared" = yes; then
15022 glibcxx_lt_pic_flag="-prefer-pic"
15023 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15024 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15025
15026 else
15027 glibcxx_lt_pic_flag=
15028 glibcxx_compiler_pic_flag=
15029 glibcxx_compiler_shared_flag=
15030 fi
15031
15032
15033
15034
15035 # Override the libtool's pic_flag and pic_mode.
15036 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15037 # NB: this impacts --with-pic and --without-pic.
15038 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15039 pic_mode='default'
15040
15041 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15042 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15043
15044 # Possibly disable most of the library.
15045 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15046 ## than just ignoring the results. Faster /and/ more correct, win win.
15047
15048 # Check whether --enable-hosted-libstdcxx was given.
15049 if test "${enable_hosted_libstdcxx+set}" = set; then :
15050 enableval=$enable_hosted_libstdcxx;
15051 else
15052 case "$host" in
15053 arm*-*-symbianelf*)
15054 enable_hosted_libstdcxx=no
15055 ;;
15056 *)
15057 enable_hosted_libstdcxx=yes
15058 ;;
15059 esac
15060 fi
15061
15062 if test "$enable_hosted_libstdcxx" = no; then
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15064 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15065 is_hosted=no
15066 hosted_define=0
15067 enable_abi_check=no
15068 enable_libstdcxx_pch=no
15069 else
15070 is_hosted=yes
15071 hosted_define=1
15072 fi
15073
15074
15075 cat >>confdefs.h <<_ACEOF
15076 #define _GLIBCXX_HOSTED $hosted_define
15077 _ACEOF
15078
15079
15080
15081 # Enable descriptive messages to standard output on termination.
15082
15083 # Check whether --enable-libstdcxx-verbose was given.
15084 if test "${enable_libstdcxx_verbose+set}" = set; then :
15085 enableval=$enable_libstdcxx_verbose;
15086 else
15087 enable_libstdcxx_verbose=yes
15088 fi
15089
15090 if test x"$enable_libstdcxx_verbose" = xyes; then
15091 verbose_define=1
15092 else
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15094 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15095 verbose_define=0
15096 fi
15097
15098 cat >>confdefs.h <<_ACEOF
15099 #define _GLIBCXX_VERBOSE $verbose_define
15100 _ACEOF
15101
15102
15103
15104 # Enable compiler support that doesn't require linking.
15105
15106 # Check whether --enable-libstdcxx-pch was given.
15107 if test "${enable_libstdcxx_pch+set}" = set; then :
15108 enableval=$enable_libstdcxx_pch;
15109 case "$enableval" in
15110 yes|no) ;;
15111 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15112 esac
15113
15114 else
15115 enable_libstdcxx_pch=$is_hosted
15116 fi
15117
15118
15119 if test $enable_libstdcxx_pch = yes; then
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15121 $as_echo_n "checking for compiler with PCH support... " >&6; }
15122 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 ac_save_CXXFLAGS="$CXXFLAGS"
15126 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15127
15128 ac_ext=cpp
15129 ac_cpp='$CXXCPP $CPPFLAGS'
15130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15133
15134 echo '#include <math.h>' > conftest.h
15135 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15136 -o conftest.h.gch 1>&5 2>&1 &&
15137 echo '#error "pch failed"' > conftest.h &&
15138 echo '#include "conftest.h"' > conftest.cc &&
15139 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15140 then
15141 glibcxx_cv_prog_CXX_pch=yes
15142 else
15143 glibcxx_cv_prog_CXX_pch=no
15144 fi
15145 rm -f conftest*
15146 CXXFLAGS=$ac_save_CXXFLAGS
15147 ac_ext=c
15148 ac_cpp='$CPP $CPPFLAGS'
15149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15152
15153
15154 fi
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15156 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15157 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15158 fi
15159
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15161 $as_echo_n "checking for enabled PCH... " >&6; }
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15163 $as_echo "$enable_libstdcxx_pch" >&6; }
15164
15165
15166 if test $enable_libstdcxx_pch = yes; then
15167 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15168 else
15169 glibcxx_PCHFLAGS=""
15170 fi
15171
15172
15173
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15175 $as_echo_n "checking for thread model used by GCC... " >&6; }
15176 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15178 $as_echo "$target_thread_file" >&6; }
15179
15180 case $target_thread_file in
15181 aix) thread_header=config/rs6000/gthr-aix.h ;;
15182 dce) thread_header=config/pa/gthr-dce.h ;;
15183 lynx) thread_header=config/gthr-lynx.h ;;
15184 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15185 posix) thread_header=gthr-posix.h ;;
15186 rtems) thread_header=config/gthr-rtems.h ;;
15187 single) thread_header=gthr-single.h ;;
15188 tpf) thread_header=config/s390/gthr-tpf.h ;;
15189 vxworks) thread_header=config/gthr-vxworks.h ;;
15190 win32) thread_header=config/i386/gthr-win32.h ;;
15191 esac
15192
15193
15194
15195
15196
15197 ac_ext=cpp
15198 ac_cpp='$CXXCPP $CPPFLAGS'
15199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15202
15203 old_CXXFLAGS="$CXXFLAGS"
15204
15205 # Do link tests if possible, instead asm tests, limited to some platforms
15206 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15207 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15208 atomic_builtins_link_tests=no
15209 if test x$gcc_no_link != xyes; then
15210 # Can do link tests. Limit to some tested platforms
15211 case "$host" in
15212 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15213 atomic_builtins_link_tests=yes
15214 ;;
15215 esac
15216 fi
15217
15218 if test x$atomic_builtins_link_tests = xyes; then
15219
15220 # Do link tests.
15221
15222 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15223
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15225 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15226 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15227 $as_echo_n "(cached) " >&6
15228 else
15229
15230 if test x$gcc_no_link = xyes; then
15231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15232 fi
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15235
15236 int
15237 main ()
15238 {
15239 typedef bool atomic_type;
15240 atomic_type c1;
15241 atomic_type c2;
15242 atomic_type c3(0);
15243 // N.B. __atomic_fetch_add is not supported for bool.
15244 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15245 __ATOMIC_RELAXED);
15246 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15247 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15248
15249 ;
15250 return 0;
15251 }
15252 _ACEOF
15253 if ac_fn_cxx_try_link "$LINENO"; then :
15254 glibcxx_cv_atomic_bool=yes
15255 else
15256 glibcxx_cv_atomic_bool=no
15257 fi
15258 rm -f core conftest.err conftest.$ac_objext \
15259 conftest$ac_exeext conftest.$ac_ext
15260
15261 fi
15262
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15264 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15265
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15267 $as_echo_n "checking for atomic builtins for short... " >&6; }
15268 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15271
15272 if test x$gcc_no_link = xyes; then
15273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15274 fi
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15277
15278 int
15279 main ()
15280 {
15281 typedef short atomic_type;
15282 atomic_type c1;
15283 atomic_type c2;
15284 atomic_type c3(0);
15285 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15286 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15287 __ATOMIC_RELAXED);
15288 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15289 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15290
15291 ;
15292 return 0;
15293 }
15294 _ACEOF
15295 if ac_fn_cxx_try_link "$LINENO"; then :
15296 glibcxx_cv_atomic_short=yes
15297 else
15298 glibcxx_cv_atomic_short=no
15299 fi
15300 rm -f core conftest.err conftest.$ac_objext \
15301 conftest$ac_exeext conftest.$ac_ext
15302
15303 fi
15304
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15306 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15307
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15309 $as_echo_n "checking for atomic builtins for int... " >&6; }
15310 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15311 $as_echo_n "(cached) " >&6
15312 else
15313
15314 if test x$gcc_no_link = xyes; then
15315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15316 fi
15317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15318 /* end confdefs.h. */
15319
15320 int
15321 main ()
15322 {
15323 typedef int atomic_type;
15324 atomic_type c1;
15325 atomic_type c2;
15326 atomic_type c3(0);
15327 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15328 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15329 __ATOMIC_RELAXED);
15330 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15331 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15332
15333 ;
15334 return 0;
15335 }
15336 _ACEOF
15337 if ac_fn_cxx_try_link "$LINENO"; then :
15338 glibcxx_cv_atomic_int=yes
15339 else
15340 glibcxx_cv_atomic_int=no
15341 fi
15342 rm -f core conftest.err conftest.$ac_objext \
15343 conftest$ac_exeext conftest.$ac_ext
15344
15345 fi
15346
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15348 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15349
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15351 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15352 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15353 $as_echo_n "(cached) " >&6
15354 else
15355
15356 if test x$gcc_no_link = xyes; then
15357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15358 fi
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15361
15362 int
15363 main ()
15364 {
15365 typedef long long atomic_type;
15366 atomic_type c1;
15367 atomic_type c2;
15368 atomic_type c3(0);
15369 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15370 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15371 __ATOMIC_RELAXED);
15372 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15373 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15374
15375 ;
15376 return 0;
15377 }
15378 _ACEOF
15379 if ac_fn_cxx_try_link "$LINENO"; then :
15380 glibcxx_cv_atomic_long_long=yes
15381 else
15382 glibcxx_cv_atomic_long_long=no
15383 fi
15384 rm -f core conftest.err conftest.$ac_objext \
15385 conftest$ac_exeext conftest.$ac_ext
15386
15387 fi
15388
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15390 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15391
15392 else
15393
15394 # Do asm tests.
15395
15396 # Compile unoptimized.
15397 CXXFLAGS='-O0 -S'
15398
15399 # Fake what AC_TRY_COMPILE does.
15400
15401 cat > conftest.$ac_ext << EOF
15402 #line 15402 "configure"
15403 int main()
15404 {
15405 typedef bool atomic_type;
15406 atomic_type c1;
15407 atomic_type c2;
15408 atomic_type c3(0);
15409 // N.B. __atomic_fetch_add is not supported for bool.
15410 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15411 __ATOMIC_RELAXED);
15412 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15413 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15414
15415 return 0;
15416 }
15417 EOF
15418
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15420 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15422 (eval $ac_compile) 2>&5
15423 ac_status=$?
15424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15425 test $ac_status = 0; }; then
15426 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15427 glibcxx_cv_atomic_bool=no
15428 else
15429 glibcxx_cv_atomic_bool=yes
15430 fi
15431 fi
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15433 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15434 rm -f conftest*
15435
15436 cat > conftest.$ac_ext << EOF
15437 #line 15437 "configure"
15438 int main()
15439 {
15440 typedef short atomic_type;
15441 atomic_type c1;
15442 atomic_type c2;
15443 atomic_type c3(0);
15444 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15445 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15446 __ATOMIC_RELAXED);
15447 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15448 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15449
15450 return 0;
15451 }
15452 EOF
15453
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15455 $as_echo_n "checking for atomic builtins for short... " >&6; }
15456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15457 (eval $ac_compile) 2>&5
15458 ac_status=$?
15459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15460 test $ac_status = 0; }; then
15461 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15462 glibcxx_cv_atomic_short=no
15463 else
15464 glibcxx_cv_atomic_short=yes
15465 fi
15466 fi
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15468 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15469 rm -f conftest*
15470
15471 cat > conftest.$ac_ext << EOF
15472 #line 15472 "configure"
15473 int main()
15474 {
15475 // NB: _Atomic_word not necessarily int.
15476 typedef int atomic_type;
15477 atomic_type c1;
15478 atomic_type c2;
15479 atomic_type c3(0);
15480 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15481 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15482 __ATOMIC_RELAXED);
15483 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15484 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15485
15486 return 0;
15487 }
15488 EOF
15489
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15491 $as_echo_n "checking for atomic builtins for int... " >&6; }
15492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15493 (eval $ac_compile) 2>&5
15494 ac_status=$?
15495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15496 test $ac_status = 0; }; then
15497 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15498 glibcxx_cv_atomic_int=no
15499 else
15500 glibcxx_cv_atomic_int=yes
15501 fi
15502 fi
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15504 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15505 rm -f conftest*
15506
15507 cat > conftest.$ac_ext << EOF
15508 #line 15508 "configure"
15509 int main()
15510 {
15511 typedef long long atomic_type;
15512 atomic_type c1;
15513 atomic_type c2;
15514 atomic_type c3(0);
15515 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15516 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15517 __ATOMIC_RELAXED);
15518 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15519 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15520
15521 return 0;
15522 }
15523 EOF
15524
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15526 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15528 (eval $ac_compile) 2>&5
15529 ac_status=$?
15530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531 test $ac_status = 0; }; then
15532 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15533 glibcxx_cv_atomic_long_long=no
15534 else
15535 glibcxx_cv_atomic_long_long=yes
15536 fi
15537 fi
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15539 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15540 rm -f conftest*
15541
15542 fi
15543
15544 CXXFLAGS="$old_CXXFLAGS"
15545 ac_ext=c
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15550
15551
15552 # Set atomicity_dir to builtins if all but the long long test above passes,
15553 # or if the builtins were already chosen (e.g. by configure.host).
15554 if { test "$glibcxx_cv_atomic_bool" = yes \
15555 && test "$glibcxx_cv_atomic_short" = yes \
15556 && test "$glibcxx_cv_atomic_int" = yes; } \
15557 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15558
15559 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15560
15561 atomicity_dir=cpu/generic/atomicity_builtins
15562 fi
15563
15564 # If still generic, set to mutex.
15565 if test $atomicity_dir = "cpu/generic" ; then
15566 atomicity_dir=cpu/generic/atomicity_mutex
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15568 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15569 if test "x$target_thread_file" = xsingle; then
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15571 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15573 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15574 else
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15576 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15578 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15579 fi
15580 fi
15581
15582
15583
15584
15585 # Fake what AC_TRY_COMPILE does, without linking as this is
15586 # unnecessary for this test.
15587
15588 cat > conftest.$ac_ext << EOF
15589 #line 15589 "configure"
15590 int main()
15591 {
15592 _Decimal32 d1;
15593 _Decimal64 d2;
15594 _Decimal128 d3;
15595 return 0;
15596 }
15597 EOF
15598
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15600 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15602 (eval $ac_compile) 2>&5
15603 ac_status=$?
15604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15605 test $ac_status = 0; }; then
15606
15607 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15608
15609 enable_dfp=yes
15610 else
15611 enable_dfp=no
15612 fi
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15614 $as_echo "$enable_dfp" >&6; }
15615 rm -f conftest*
15616
15617
15618
15619
15620 ac_ext=cpp
15621 ac_cpp='$CXXCPP $CPPFLAGS'
15622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15625
15626
15627 # Fake what AC_TRY_COMPILE does, without linking as this is
15628 # unnecessary for this test.
15629
15630 cat > conftest.$ac_ext << EOF
15631 #line 15631 "configure"
15632 template<typename T1, typename T2>
15633 struct same
15634 { typedef T2 type; };
15635
15636 template<typename T>
15637 struct same<T, T>;
15638
15639 int main()
15640 {
15641 typename same<long, __int128>::type i1;
15642 typename same<long long, __int128>::type i2;
15643 }
15644 EOF
15645
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15647 $as_echo_n "checking for __int128... " >&6; }
15648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15649 (eval $ac_compile) 2>&5
15650 ac_status=$?
15651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15652 test $ac_status = 0; }; then
15653
15654 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15655
15656 enable_int128=yes
15657 else
15658 enable_int128=no
15659 fi
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15661 $as_echo "$enable_int128" >&6; }
15662 rm -f conftest*
15663
15664 cat > conftest.$ac_ext << EOF
15665 #line 15665 "configure"
15666 template<typename T1, typename T2>
15667 struct same
15668 { typedef T2 type; };
15669
15670 template<typename T>
15671 struct same<T, T>;
15672
15673 int main()
15674 {
15675 typename same<double, __float128>::type f1;
15676 typename same<long double, __float128>::type f2;
15677 }
15678 EOF
15679
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15681 $as_echo_n "checking for __float128... " >&6; }
15682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15683 (eval $ac_compile) 2>&5
15684 ac_status=$?
15685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15686 test $ac_status = 0; }; then
15687 enable_float128=yes
15688 else
15689 enable_float128=no
15690 fi
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15692 $as_echo "$enable_float128" >&6; }
15693
15694 rm -f conftest*
15695
15696 ac_ext=c
15697 ac_cpp='$CPP $CPPFLAGS'
15698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15701
15702
15703 if test "$enable_float128" = yes; then
15704 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15705 fi
15706
15707 # Checks for compiler support that doesn't require linking.
15708
15709 # All these tests are for C++; save the language and the compiler flags.
15710 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15711 # found in GLIBCXX_CONFIGURE.
15712
15713 ac_ext=cpp
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15718
15719 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15720 ac_save_CXXFLAGS="$CXXFLAGS"
15721
15722 # Check for -ffunction-sections -fdata-sections
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15724 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15725 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15727 /* end confdefs.h. */
15728 int foo; void bar() { };
15729 int
15730 main ()
15731 {
15732
15733 ;
15734 return 0;
15735 }
15736 _ACEOF
15737 if ac_fn_cxx_try_compile "$LINENO"; then :
15738 ac_fdsections=yes
15739 else
15740 ac_fdsections=no
15741 fi
15742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15743 if test "$ac_test_CXXFLAGS" = set; then
15744 CXXFLAGS="$ac_save_CXXFLAGS"
15745 else
15746 # this is the suspicious part
15747 CXXFLAGS=''
15748 fi
15749 if test x"$ac_fdsections" = x"yes"; then
15750 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15751 fi
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15753 $as_echo "$ac_fdsections" >&6; }
15754
15755 ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15760
15761
15762
15763
15764 # Enable all the variable C++ runtime options that don't require linking.
15765
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15767 $as_echo_n "checking for underlying I/O to use... " >&6; }
15768 # Check whether --enable-cstdio was given.
15769 if test "${enable_cstdio+set}" = set; then :
15770 enableval=$enable_cstdio;
15771 case "$enableval" in
15772 stdio) ;;
15773 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15774 esac
15775
15776 else
15777 enable_cstdio=stdio
15778 fi
15779
15780
15781
15782 # Now that libio has been removed, you can have any color you want as long
15783 # as it's black. This is one big no-op until other packages are added, but
15784 # showing the framework never hurts.
15785 case ${enable_cstdio} in
15786 stdio)
15787 CSTDIO_H=config/io/c_io_stdio.h
15788 BASIC_FILE_H=config/io/basic_file_stdio.h
15789 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15791 $as_echo "stdio" >&6; }
15792 ;;
15793 esac
15794
15795
15796
15797
15798
15799
15800 # Check whether --enable-clocale was given.
15801 if test "${enable_clocale+set}" = set; then :
15802 enableval=$enable_clocale;
15803 case "$enableval" in
15804 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15805 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15806 esac
15807
15808 else
15809 enable_clocale=auto
15810 fi
15811
15812
15813
15814 # Deal with gettext issues. Default to not using it (=no) until we detect
15815 # support for it later. Let the user turn it off via --e/d, but let that
15816 # default to on for easier handling.
15817 USE_NLS=no
15818 # Check whether --enable-nls was given.
15819 if test "${enable_nls+set}" = set; then :
15820 enableval=$enable_nls;
15821 else
15822 enable_nls=yes
15823 fi
15824
15825
15826 # Either a known package, or "auto"
15827 if test $enable_clocale = no || test $enable_clocale = yes; then
15828 enable_clocale=auto
15829 fi
15830 enable_clocale_flag=$enable_clocale
15831
15832 # Probe for locale model to use if none specified.
15833 # Default to "generic".
15834 if test $enable_clocale_flag = auto; then
15835 case ${target_os} in
15836 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15837 enable_clocale_flag=gnu
15838 ;;
15839 darwin*)
15840 enable_clocale_flag=darwin
15841 ;;
15842 dragonfly* | freebsd*)
15843 enable_clocale_flag=dragonfly
15844 ;;
15845 openbsd*)
15846 enable_clocale_flag=newlib
15847 ;;
15848 *)
15849 if test x"$with_newlib" = x"yes"; then
15850 enable_clocale_flag=newlib
15851 else
15852 enable_clocale_flag=generic
15853 fi
15854 ;;
15855 esac
15856 fi
15857
15858 # Sanity check model, and test for special functionality.
15859 if test $enable_clocale_flag = gnu; then
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15862
15863 #include <features.h>
15864 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15865 _GLIBCXX_ok
15866 #endif
15867
15868 _ACEOF
15869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15870 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15871 enable_clocale_flag=gnu
15872 else
15873 enable_clocale_flag=generic
15874 fi
15875 rm -f conftest*
15876
15877
15878 # Set it to scream when it hurts.
15879 ac_save_CFLAGS="$CFLAGS"
15880 CFLAGS="-Wimplicit-function-declaration -Werror"
15881
15882 # Use strxfrm_l if available.
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15885 #define _GNU_SOURCE 1
15886 #include <string.h>
15887 #include <locale.h>
15888 int
15889 main ()
15890 {
15891 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15892 ;
15893 return 0;
15894 }
15895 _ACEOF
15896 if ac_fn_c_try_compile "$LINENO"; then :
15897
15898 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15899
15900 fi
15901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15902
15903 # Use strerror_l if available.
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #define _GNU_SOURCE 1
15907 #include <string.h>
15908 #include <locale.h>
15909 int
15910 main ()
15911 {
15912 __locale_t loc; strerror_l(5, loc);
15913 ;
15914 return 0;
15915 }
15916 _ACEOF
15917 if ac_fn_c_try_compile "$LINENO"; then :
15918
15919 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15920
15921 fi
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923
15924 CFLAGS="$ac_save_CFLAGS"
15925 fi
15926
15927 # Perhaps use strerror_r if available, and strerror_l isn't.
15928 ac_save_CFLAGS="$CFLAGS"
15929 CFLAGS="-Wimplicit-function-declaration -Werror"
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #define _GNU_SOURCE 1
15933 #include <string.h>
15934 #include <locale.h>
15935 int
15936 main ()
15937 {
15938 char s[128]; strerror_r(5, s, 128);
15939 ;
15940 return 0;
15941 }
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15944
15945 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15946
15947 fi
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15949 CFLAGS="$ac_save_CFLAGS"
15950
15951 # Set configure bits for specified locale package
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15953 $as_echo_n "checking for C locale to use... " >&6; }
15954 case ${enable_clocale_flag} in
15955 generic)
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15957 $as_echo "generic" >&6; }
15958
15959 CLOCALE_H=config/locale/generic/c_locale.h
15960 CLOCALE_CC=config/locale/generic/c_locale.cc
15961 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15962 CCOLLATE_CC=config/locale/generic/collate_members.cc
15963 CCTYPE_CC=config/locale/generic/ctype_members.cc
15964 CMESSAGES_H=config/locale/generic/messages_members.h
15965 CMESSAGES_CC=config/locale/generic/messages_members.cc
15966 CMONEY_CC=config/locale/generic/monetary_members.cc
15967 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15968 CTIME_H=config/locale/generic/time_members.h
15969 CTIME_CC=config/locale/generic/time_members.cc
15970 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15971 ;;
15972 darwin)
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15974 $as_echo "darwin" >&6; }
15975
15976 CLOCALE_H=config/locale/generic/c_locale.h
15977 CLOCALE_CC=config/locale/generic/c_locale.cc
15978 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15979 CCOLLATE_CC=config/locale/generic/collate_members.cc
15980 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15981 CMESSAGES_H=config/locale/generic/messages_members.h
15982 CMESSAGES_CC=config/locale/generic/messages_members.cc
15983 CMONEY_CC=config/locale/generic/monetary_members.cc
15984 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15985 CTIME_H=config/locale/generic/time_members.h
15986 CTIME_CC=config/locale/generic/time_members.cc
15987 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15988 ;;
15989
15990 dragonfly)
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15992 $as_echo "dragonfly or freebsd" >&6; }
15993
15994 CLOCALE_H=config/locale/dragonfly/c_locale.h
15995 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15996 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15997 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15998 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15999 CMESSAGES_H=config/locale/generic/messages_members.h
16000 CMESSAGES_CC=config/locale/generic/messages_members.cc
16001 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16002 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16003 CTIME_H=config/locale/dragonfly/time_members.h
16004 CTIME_CC=config/locale/dragonfly/time_members.cc
16005 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16006 ;;
16007
16008 gnu)
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16010 $as_echo "gnu" >&6; }
16011
16012 # Declare intention to use gettext, and add support for specific
16013 # languages.
16014 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16015 ALL_LINGUAS="de fr"
16016
16017 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16018 # Extract the first word of "msgfmt", so it can be a program name with args.
16019 set dummy msgfmt; ac_word=$2
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16021 $as_echo_n "checking for $ac_word... " >&6; }
16022 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16023 $as_echo_n "(cached) " >&6
16024 else
16025 if test -n "$check_msgfmt"; then
16026 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16027 else
16028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16029 for as_dir in $PATH
16030 do
16031 IFS=$as_save_IFS
16032 test -z "$as_dir" && as_dir=.
16033 for ac_exec_ext in '' $ac_executable_extensions; do
16034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16035 ac_cv_prog_check_msgfmt="yes"
16036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16037 break 2
16038 fi
16039 done
16040 done
16041 IFS=$as_save_IFS
16042
16043 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16044 fi
16045 fi
16046 check_msgfmt=$ac_cv_prog_check_msgfmt
16047 if test -n "$check_msgfmt"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16049 $as_echo "$check_msgfmt" >&6; }
16050 else
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16053 fi
16054
16055
16056 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16057 USE_NLS=yes
16058 fi
16059 # Export the build objects.
16060 for ling in $ALL_LINGUAS; do \
16061 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16062 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16063 done
16064
16065
16066
16067 CLOCALE_H=config/locale/gnu/c_locale.h
16068 CLOCALE_CC=config/locale/gnu/c_locale.cc
16069 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16070 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16071 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16072 CMESSAGES_H=config/locale/gnu/messages_members.h
16073 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16074 CMONEY_CC=config/locale/gnu/monetary_members.cc
16075 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16076 CTIME_H=config/locale/gnu/time_members.h
16077 CTIME_CC=config/locale/gnu/time_members.cc
16078 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16079 ;;
16080 ieee_1003.1-2001)
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16082 $as_echo "IEEE 1003.1" >&6; }
16083
16084 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16085 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16086 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16087 CCOLLATE_CC=config/locale/generic/collate_members.cc
16088 CCTYPE_CC=config/locale/generic/ctype_members.cc
16089 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16090 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16091 CMONEY_CC=config/locale/generic/monetary_members.cc
16092 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16093 CTIME_H=config/locale/generic/time_members.h
16094 CTIME_CC=config/locale/generic/time_members.cc
16095 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16096 ;;
16097 newlib)
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16099 $as_echo "newlib" >&6; }
16100
16101 CLOCALE_H=config/locale/generic/c_locale.h
16102 CLOCALE_CC=config/locale/generic/c_locale.cc
16103 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16104 CCOLLATE_CC=config/locale/generic/collate_members.cc
16105 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16106 CMESSAGES_H=config/locale/generic/messages_members.h
16107 CMESSAGES_CC=config/locale/generic/messages_members.cc
16108 CMONEY_CC=config/locale/generic/monetary_members.cc
16109 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16110 CTIME_H=config/locale/generic/time_members.h
16111 CTIME_CC=config/locale/generic/time_members.cc
16112 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16113 ;;
16114 esac
16115
16116 # This is where the testsuite looks for locale catalogs, using the
16117 # -DLOCALEDIR define during testsuite compilation.
16118 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16119
16120
16121 # A standalone libintl (e.g., GNU libintl) may be in use.
16122 if test $USE_NLS = yes; then
16123 for ac_header in libintl.h
16124 do :
16125 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_LIBINTL_H 1
16129 _ACEOF
16130
16131 else
16132 USE_NLS=no
16133 fi
16134
16135 done
16136
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16138 $as_echo_n "checking for library containing gettext... " >&6; }
16139 if test "${ac_cv_search_gettext+set}" = set; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 ac_func_search_save_LIBS=$LIBS
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16145
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 char gettext ();
16153 int
16154 main ()
16155 {
16156 return gettext ();
16157 ;
16158 return 0;
16159 }
16160 _ACEOF
16161 for ac_lib in '' intl; do
16162 if test -z "$ac_lib"; then
16163 ac_res="none required"
16164 else
16165 ac_res=-l$ac_lib
16166 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16167 fi
16168 if test x$gcc_no_link = xyes; then
16169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16170 fi
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_search_gettext=$ac_res
16173 fi
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext
16176 if test "${ac_cv_search_gettext+set}" = set; then :
16177 break
16178 fi
16179 done
16180 if test "${ac_cv_search_gettext+set}" = set; then :
16181
16182 else
16183 ac_cv_search_gettext=no
16184 fi
16185 rm conftest.$ac_ext
16186 LIBS=$ac_func_search_save_LIBS
16187 fi
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16189 $as_echo "$ac_cv_search_gettext" >&6; }
16190 ac_res=$ac_cv_search_gettext
16191 if test "$ac_res" != no; then :
16192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16193
16194 else
16195 USE_NLS=no
16196 fi
16197
16198 fi
16199 if test $USE_NLS = yes; then
16200
16201 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16202
16203 fi
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16221 $as_echo_n "checking for std::allocator base class... " >&6; }
16222 # Check whether --enable-libstdcxx-allocator was given.
16223 if test "${enable_libstdcxx_allocator+set}" = set; then :
16224 enableval=$enable_libstdcxx_allocator;
16225 case "$enableval" in
16226 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16227 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16228 esac
16229
16230 else
16231 enable_libstdcxx_allocator=auto
16232 fi
16233
16234
16235
16236 # If they didn't use this option switch, or if they specified --enable
16237 # with no specific model, we'll have to look for one. If they
16238 # specified --disable (???), do likewise.
16239 if test $enable_libstdcxx_allocator = no ||
16240 test $enable_libstdcxx_allocator = yes;
16241 then
16242 enable_libstdcxx_allocator=auto
16243 fi
16244
16245 # Either a known package, or "auto". Auto implies the default choice
16246 # for a particular platform.
16247 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16248
16249 # Probe for host-specific support if no specific model is specified.
16250 # Default to "new".
16251 if test $enable_libstdcxx_allocator_flag = auto; then
16252 case ${target_os} in
16253 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16254 enable_libstdcxx_allocator_flag=new
16255 ;;
16256 *)
16257 enable_libstdcxx_allocator_flag=new
16258 ;;
16259 esac
16260 fi
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16262 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16263
16264
16265 # Set configure bits for specified locale package
16266 case ${enable_libstdcxx_allocator_flag} in
16267 bitmap)
16268 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16269 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16270 ;;
16271 malloc)
16272 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16273 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16274 ;;
16275 mt)
16276 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16277 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16278 ;;
16279 new)
16280 ALLOCATOR_H=config/allocator/new_allocator_base.h
16281 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16282 ;;
16283 pool)
16284 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16285 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16286 ;;
16287 esac
16288
16289
16290
16291
16292
16293
16294 # Check whether --enable-cheaders was given.
16295 if test "${enable_cheaders+set}" = set; then :
16296 enableval=$enable_cheaders;
16297 case "$enableval" in
16298 c|c_std|c_global) ;;
16299 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16300 esac
16301
16302 else
16303 enable_cheaders=$c_model
16304 fi
16305
16306
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16308 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16309
16310 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16311
16312 # Allow overrides to configure.host here.
16313 if test $enable_cheaders = c_global; then
16314 c_compatibility=yes
16315 fi
16316
16317
16318
16319
16320
16321
16322
16323 # Check whether --enable-long-long was given.
16324 if test "${enable_long_long+set}" = set; then :
16325 enableval=$enable_long_long;
16326 case "$enableval" in
16327 yes|no) ;;
16328 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16329 esac
16330
16331 else
16332 enable_long_long=yes
16333 fi
16334
16335
16336 if test $enable_long_long = yes; then
16337
16338 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16339
16340 fi
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16342 $as_echo_n "checking for enabled long long specializations... " >&6; }
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16344 $as_echo "$enable_long_long" >&6; }
16345
16346
16347 # Check whether --enable-wchar_t was given.
16348 if test "${enable_wchar_t+set}" = set; then :
16349 enableval=$enable_wchar_t;
16350 case "$enableval" in
16351 yes|no) ;;
16352 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16353 esac
16354
16355 else
16356 enable_wchar_t=yes
16357 fi
16358
16359
16360
16361 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16362 for ac_header in wchar.h
16363 do :
16364 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16365 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_WCHAR_H 1
16368 _ACEOF
16369 ac_has_wchar_h=yes
16370 else
16371 ac_has_wchar_h=no
16372 fi
16373
16374 done
16375
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16377 $as_echo_n "checking for mbstate_t... " >&6; }
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16380 #include <wchar.h>
16381 int
16382 main ()
16383 {
16384 mbstate_t teststate;
16385 ;
16386 return 0;
16387 }
16388 _ACEOF
16389 if ac_fn_c_try_compile "$LINENO"; then :
16390 have_mbstate_t=yes
16391 else
16392 have_mbstate_t=no
16393 fi
16394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16396 $as_echo "$have_mbstate_t" >&6; }
16397 if test x"$have_mbstate_t" = xyes; then
16398
16399 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16400
16401 fi
16402
16403 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16404 # ac_has_wchar_h.
16405 for ac_header in wctype.h
16406 do :
16407 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16408 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_WCTYPE_H 1
16411 _ACEOF
16412 ac_has_wctype_h=yes
16413 else
16414 ac_has_wctype_h=no
16415 fi
16416
16417 done
16418
16419
16420 if test x"$enable_wchar_t" = x"yes"; then
16421
16422
16423 ac_ext=cpp
16424 ac_cpp='$CXXCPP $CPPFLAGS'
16425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16428
16429
16430 if test x"$ac_has_wchar_h" = xyes &&
16431 test x"$ac_has_wctype_h" = xyes; then
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #include <wchar.h>
16435 #include <stddef.h>
16436 wint_t i;
16437 long l = WEOF;
16438 long j = WCHAR_MIN;
16439 long k = WCHAR_MAX;
16440 namespace test
16441 {
16442 using ::btowc;
16443 using ::fgetwc;
16444 using ::fgetws;
16445 using ::fputwc;
16446 using ::fputws;
16447 using ::fwide;
16448 using ::fwprintf;
16449 using ::fwscanf;
16450 using ::getwc;
16451 using ::getwchar;
16452 using ::mbrlen;
16453 using ::mbrtowc;
16454 using ::mbsinit;
16455 using ::mbsrtowcs;
16456 using ::putwc;
16457 using ::putwchar;
16458 using ::swprintf;
16459 using ::swscanf;
16460 using ::ungetwc;
16461 using ::vfwprintf;
16462 using ::vswprintf;
16463 using ::vwprintf;
16464 using ::wcrtomb;
16465 using ::wcscat;
16466 using ::wcschr;
16467 using ::wcscmp;
16468 using ::wcscoll;
16469 using ::wcscpy;
16470 using ::wcscspn;
16471 using ::wcsftime;
16472 using ::wcslen;
16473 using ::wcsncat;
16474 using ::wcsncmp;
16475 using ::wcsncpy;
16476 using ::wcspbrk;
16477 using ::wcsrchr;
16478 using ::wcsrtombs;
16479 using ::wcsspn;
16480 using ::wcsstr;
16481 using ::wcstod;
16482 using ::wcstok;
16483 using ::wcstol;
16484 using ::wcstoul;
16485 using ::wcsxfrm;
16486 using ::wctob;
16487 using ::wmemchr;
16488 using ::wmemcmp;
16489 using ::wmemcpy;
16490 using ::wmemmove;
16491 using ::wmemset;
16492 using ::wprintf;
16493 using ::wscanf;
16494 }
16495
16496 int
16497 main ()
16498 {
16499
16500 ;
16501 return 0;
16502 }
16503 _ACEOF
16504 if ac_fn_cxx_try_compile "$LINENO"; then :
16505
16506 else
16507 enable_wchar_t=no
16508 fi
16509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16510 else
16511 enable_wchar_t=no
16512 fi
16513
16514 ac_ext=c
16515 ac_cpp='$CPP $CPPFLAGS'
16516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16519
16520 fi
16521
16522 if test x"$enable_wchar_t" = x"yes"; then
16523
16524 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16525
16526 fi
16527
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16529 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16531 $as_echo "$enable_wchar_t" >&6; }
16532
16533
16534
16535 # Check whether --enable-c99 was given.
16536 if test "${enable_c99+set}" = set; then :
16537 enableval=$enable_c99;
16538 case "$enableval" in
16539 yes|no) ;;
16540 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16541 esac
16542
16543 else
16544 enable_c99=yes
16545 fi
16546
16547
16548
16549 if test x"$enable_c99" = x"yes"; then
16550
16551 ac_ext=cpp
16552 ac_cpp='$CXXCPP $CPPFLAGS'
16553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16556
16557
16558 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16559 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16560 # to be spuriously enabled.
16561 ac_save_CXXFLAGS="$CXXFLAGS"
16562 CXXFLAGS="$CXXFLAGS -std=c++98"
16563 ac_save_LIBS="$LIBS"
16564 ac_save_gcc_no_link="$gcc_no_link"
16565
16566 if test x$gcc_no_link != xyes; then
16567 # Use -fno-exceptions to that the C driver can link these tests without
16568 # hitting undefined references to personality routines.
16569 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16571 $as_echo_n "checking for sin in -lm... " >&6; }
16572 if test "${ac_cv_lib_m_sin+set}" = set; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 ac_check_lib_save_LIBS=$LIBS
16576 LIBS="-lm $LIBS"
16577 if test x$gcc_no_link = xyes; then
16578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16579 fi
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16582
16583 /* Override any GCC internal prototype to avoid an error.
16584 Use char because int might match the return type of a GCC
16585 builtin and then its argument prototype would still apply. */
16586 #ifdef __cplusplus
16587 extern "C"
16588 #endif
16589 char sin ();
16590 int
16591 main ()
16592 {
16593 return sin ();
16594 ;
16595 return 0;
16596 }
16597 _ACEOF
16598 if ac_fn_cxx_try_link "$LINENO"; then :
16599 ac_cv_lib_m_sin=yes
16600 else
16601 ac_cv_lib_m_sin=no
16602 fi
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_check_lib_save_LIBS
16606 fi
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16608 $as_echo "$ac_cv_lib_m_sin" >&6; }
16609 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16610 LIBS="$LIBS -lm"
16611 else
16612
16613 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16614 gcc_no_link=yes
16615
16616 fi
16617
16618 fi
16619
16620 # Check for the existence of <math.h> functions used if C99 is enabled.
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16622 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16623 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16626
16627 if test x$gcc_no_link = xyes; then
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 #include <math.h>
16631 volatile double d1, d2;
16632 volatile int i;
16633 int
16634 main ()
16635 {
16636 i = fpclassify(d1);
16637 i = isfinite(d1);
16638 i = isinf(d1);
16639 i = isnan(d1);
16640 i = isnormal(d1);
16641 i = signbit(d1);
16642 i = isgreater(d1, d2);
16643 i = isgreaterequal(d1, d2);
16644 i = isless(d1, d2);
16645 i = islessequal(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = islessgreater(d1, d2);
16648 i = isunordered(d1, d2);
16649
16650 ;
16651 return 0;
16652 }
16653 _ACEOF
16654 if ac_fn_cxx_try_compile "$LINENO"; then :
16655 glibcxx_cv_c99_math_cxx98=yes
16656 else
16657 glibcxx_cv_c99_math_cxx98=no
16658 fi
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 else
16661 if test x$gcc_no_link = xyes; then
16662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16663 fi
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <math.h>
16667 volatile double d1, d2;
16668 volatile int i;
16669 int
16670 main ()
16671 {
16672 i = fpclassify(d1);
16673 i = isfinite(d1);
16674 i = isinf(d1);
16675 i = isnan(d1);
16676 i = isnormal(d1);
16677 i = signbit(d1);
16678 i = isgreater(d1, d2);
16679 i = isgreaterequal(d1, d2);
16680 i = isless(d1, d2);
16681 i = islessequal(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = islessgreater(d1, d2);
16684 i = isunordered(d1, d2);
16685
16686 ;
16687 return 0;
16688 }
16689 _ACEOF
16690 if ac_fn_cxx_try_link "$LINENO"; then :
16691 glibcxx_cv_c99_math_cxx98=yes
16692 else
16693 glibcxx_cv_c99_math_cxx98=no
16694 fi
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16697 fi
16698
16699 fi
16700
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16702 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16703 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16704
16705 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16706
16707 fi
16708
16709 # Check for the existence of <complex.h> complex math functions.
16710 # This is necessary even though libstdc++ uses the builtin versions
16711 # of these functions, because if the builtin cannot be used, a reference
16712 # to the library function is emitted.
16713 for ac_header in tgmath.h
16714 do :
16715 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16716 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_TGMATH_H 1
16719 _ACEOF
16720 ac_has_tgmath_h=yes
16721 else
16722 ac_has_tgmath_h=no
16723 fi
16724
16725 done
16726
16727 for ac_header in complex.h
16728 do :
16729 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16730 if test "x$ac_cv_header_complex_h" = x""yes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_COMPLEX_H 1
16733 _ACEOF
16734 ac_has_complex_h=yes
16735 else
16736 ac_has_complex_h=no
16737 fi
16738
16739 done
16740
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16744 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16747
16748 if test x$gcc_no_link = xyes; then
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <complex.h>
16752 typedef __complex__ float float_type;
16753 typedef __complex__ double double_type;
16754 typedef __complex__ long double ld_type;
16755 volatile float_type tmpf;
16756 volatile double_type tmpd;
16757 volatile ld_type tmpld;
16758 volatile float f;
16759 volatile double d;
16760 volatile long double ld;
16761 int
16762 main ()
16763 {
16764 f = cabsf(tmpf);
16765 f = cargf(tmpf);
16766 tmpf = ccosf(tmpf);
16767 tmpf = ccoshf(tmpf);
16768 tmpf = cexpf(tmpf);
16769 tmpf = clogf(tmpf);
16770 tmpf = csinf(tmpf);
16771 tmpf = csinhf(tmpf);
16772 tmpf = csqrtf(tmpf);
16773 tmpf = ctanf(tmpf);
16774 tmpf = ctanhf(tmpf);
16775 tmpf = cpowf(tmpf, tmpf);
16776 tmpf = cprojf(tmpf);
16777 d = cabs(tmpd);
16778 d = carg(tmpd);
16779 tmpd = ccos(tmpd);
16780 tmpd = ccosh(tmpd);
16781 tmpd = cexp(tmpd);
16782 tmpd = clog(tmpd);
16783 tmpd = csin(tmpd);
16784 tmpd = csinh(tmpd);
16785 tmpd = csqrt(tmpd);
16786 tmpd = ctan(tmpd);
16787 tmpd = ctanh(tmpd);
16788 tmpd = cpow(tmpd, tmpd);
16789 tmpd = cproj(tmpd);
16790 ld = cabsl(tmpld);
16791 ld = cargl(tmpld);
16792 tmpld = ccosl(tmpld);
16793 tmpld = ccoshl(tmpld);
16794 tmpld = cexpl(tmpld);
16795 tmpld = clogl(tmpld);
16796 tmpld = csinl(tmpld);
16797 tmpld = csinhl(tmpld);
16798 tmpld = csqrtl(tmpld);
16799 tmpld = ctanl(tmpld);
16800 tmpld = ctanhl(tmpld);
16801 tmpld = cpowl(tmpld, tmpld);
16802 tmpld = cprojl(tmpld);
16803
16804 ;
16805 return 0;
16806 }
16807 _ACEOF
16808 if ac_fn_cxx_try_compile "$LINENO"; then :
16809 glibcxx_cv_c99_complex_cxx98=yes
16810 else
16811 glibcxx_cv_c99_complex_cxx98=no
16812 fi
16813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16814 else
16815 if test x$gcc_no_link = xyes; then
16816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16817 fi
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16820 #include <complex.h>
16821 typedef __complex__ float float_type;
16822 typedef __complex__ double double_type;
16823 typedef __complex__ long double ld_type;
16824 volatile float_type tmpf;
16825 volatile double_type tmpd;
16826 volatile ld_type tmpld;
16827 volatile float f;
16828 volatile double d;
16829 volatile long double ld;
16830 int
16831 main ()
16832 {
16833 f = cabsf(tmpf);
16834 f = cargf(tmpf);
16835 tmpf = ccosf(tmpf);
16836 tmpf = ccoshf(tmpf);
16837 tmpf = cexpf(tmpf);
16838 tmpf = clogf(tmpf);
16839 tmpf = csinf(tmpf);
16840 tmpf = csinhf(tmpf);
16841 tmpf = csqrtf(tmpf);
16842 tmpf = ctanf(tmpf);
16843 tmpf = ctanhf(tmpf);
16844 tmpf = cpowf(tmpf, tmpf);
16845 tmpf = cprojf(tmpf);
16846 d = cabs(tmpd);
16847 d = carg(tmpd);
16848 tmpd = ccos(tmpd);
16849 tmpd = ccosh(tmpd);
16850 tmpd = cexp(tmpd);
16851 tmpd = clog(tmpd);
16852 tmpd = csin(tmpd);
16853 tmpd = csinh(tmpd);
16854 tmpd = csqrt(tmpd);
16855 tmpd = ctan(tmpd);
16856 tmpd = ctanh(tmpd);
16857 tmpd = cpow(tmpd, tmpd);
16858 tmpd = cproj(tmpd);
16859 ld = cabsl(tmpld);
16860 ld = cargl(tmpld);
16861 tmpld = ccosl(tmpld);
16862 tmpld = ccoshl(tmpld);
16863 tmpld = cexpl(tmpld);
16864 tmpld = clogl(tmpld);
16865 tmpld = csinl(tmpld);
16866 tmpld = csinhl(tmpld);
16867 tmpld = csqrtl(tmpld);
16868 tmpld = ctanl(tmpld);
16869 tmpld = ctanhl(tmpld);
16870 tmpld = cpowl(tmpld, tmpld);
16871 tmpld = cprojl(tmpld);
16872
16873 ;
16874 return 0;
16875 }
16876 _ACEOF
16877 if ac_fn_cxx_try_link "$LINENO"; then :
16878 glibcxx_cv_c99_complex_cxx98=yes
16879 else
16880 glibcxx_cv_c99_complex_cxx98=no
16881 fi
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16884 fi
16885
16886 fi
16887
16888 fi
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16890 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16891 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16892
16893 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16894
16895 fi
16896
16897 # Check for the existence in <stdio.h> of vscanf, et. al.
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16899 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16900 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16903
16904 if test x$gcc_no_link = xyes; then
16905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16906 /* end confdefs.h. */
16907 #include <stdio.h>
16908 #include <stdarg.h>
16909 void foo(char* fmt, ...)
16910 {
16911 va_list args; va_start(args, fmt);
16912 vfscanf(stderr, "%i", args);
16913 vscanf("%i", args);
16914 vsnprintf(fmt, 0, "%i", args);
16915 vsscanf(fmt, "%i", args);
16916 snprintf(fmt, 0, "%i");
16917 }
16918 int
16919 main ()
16920 {
16921
16922 ;
16923 return 0;
16924 }
16925 _ACEOF
16926 if ac_fn_cxx_try_compile "$LINENO"; then :
16927 glibcxx_cv_c99_stdio_cxx98=yes
16928 else
16929 glibcxx_cv_c99_stdio_cxx98=no
16930 fi
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932 else
16933 if test x$gcc_no_link = xyes; then
16934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16935 fi
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #include <stdio.h>
16939 #include <stdarg.h>
16940 void foo(char* fmt, ...)
16941 {
16942 va_list args; va_start(args, fmt);
16943 vfscanf(stderr, "%i", args);
16944 vscanf("%i", args);
16945 vsnprintf(fmt, 0, "%i", args);
16946 vsscanf(fmt, "%i", args);
16947 snprintf(fmt, 0, "%i");
16948 }
16949 int
16950 main ()
16951 {
16952
16953 ;
16954 return 0;
16955 }
16956 _ACEOF
16957 if ac_fn_cxx_try_link "$LINENO"; then :
16958 glibcxx_cv_c99_stdio_cxx98=yes
16959 else
16960 glibcxx_cv_c99_stdio_cxx98=no
16961 fi
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16964 fi
16965
16966 fi
16967
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16969 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16970 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16971
16972 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16973
16974 fi
16975
16976 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16978 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16979 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16982
16983 if test x$gcc_no_link = xyes; then
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #include <stdlib.h>
16987 volatile float f;
16988 volatile long double ld;
16989 volatile unsigned long long ll;
16990 lldiv_t mydivt;
16991 int
16992 main ()
16993 {
16994 char* tmp;
16995 f = strtof("gnu", &tmp);
16996 ld = strtold("gnu", &tmp);
16997 ll = strtoll("gnu", &tmp, 10);
16998 ll = strtoull("gnu", &tmp, 10);
16999 ll = llabs(10);
17000 mydivt = lldiv(10,1);
17001 ll = mydivt.quot;
17002 ll = mydivt.rem;
17003 ll = atoll("10");
17004 _Exit(0);
17005
17006 ;
17007 return 0;
17008 }
17009 _ACEOF
17010 if ac_fn_cxx_try_compile "$LINENO"; then :
17011 glibcxx_cv_c99_stdlib_cxx98=yes
17012 else
17013 glibcxx_cv_c99_stdlib_cxx98=no
17014 fi
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 else
17017 if test x$gcc_no_link = xyes; then
17018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17019 fi
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 #include <stdlib.h>
17023 volatile float f;
17024 volatile long double ld;
17025 volatile unsigned long long ll;
17026 lldiv_t mydivt;
17027 int
17028 main ()
17029 {
17030 char* tmp;
17031 f = strtof("gnu", &tmp);
17032 ld = strtold("gnu", &tmp);
17033 ll = strtoll("gnu", &tmp, 10);
17034 ll = strtoull("gnu", &tmp, 10);
17035 ll = llabs(10);
17036 mydivt = lldiv(10,1);
17037 ll = mydivt.quot;
17038 ll = mydivt.rem;
17039 ll = atoll("10");
17040 _Exit(0);
17041
17042 ;
17043 return 0;
17044 }
17045 _ACEOF
17046 if ac_fn_cxx_try_link "$LINENO"; then :
17047 glibcxx_cv_c99_stdlib_cxx98=yes
17048 else
17049 glibcxx_cv_c99_stdlib_cxx98=no
17050 fi
17051 rm -f core conftest.err conftest.$ac_objext \
17052 conftest$ac_exeext conftest.$ac_ext
17053 fi
17054
17055 fi
17056
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17058 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17059 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17060
17061 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17062
17063 fi
17064
17065 # Check for the existence in <wchar.h> of wcstold, etc.
17066 if test x"$ac_has_wchar_h" = xyes &&
17067 test x"$ac_has_wctype_h" = xyes; then
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17069 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17070 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17073
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <wchar.h>
17077 namespace test
17078 {
17079 using ::wcstold;
17080 using ::wcstoll;
17081 using ::wcstoull;
17082 }
17083
17084 int
17085 main ()
17086 {
17087
17088 ;
17089 return 0;
17090 }
17091 _ACEOF
17092 if ac_fn_cxx_try_compile "$LINENO"; then :
17093 glibcxx_cv_c99_wchar_cxx98=yes
17094 else
17095 glibcxx_cv_c99_wchar_cxx98=no
17096 fi
17097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17098
17099 fi
17100
17101
17102 # Checks for wide character functions that may not be present.
17103 # Injection of these is wrapped with guard macros.
17104 # NB: only put functions here, instead of immediately above, if
17105 # absolutely necessary.
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <wchar.h>
17109 namespace test { using ::vfwscanf; }
17110 int
17111 main ()
17112 {
17113
17114 ;
17115 return 0;
17116 }
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17119
17120 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17121
17122 fi
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <wchar.h>
17128 namespace test { using ::vswscanf; }
17129 int
17130 main ()
17131 {
17132
17133 ;
17134 return 0;
17135 }
17136 _ACEOF
17137 if ac_fn_cxx_try_compile "$LINENO"; then :
17138
17139 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17140
17141 fi
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17143
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #include <wchar.h>
17147 namespace test { using ::vwscanf; }
17148 int
17149 main ()
17150 {
17151
17152 ;
17153 return 0;
17154 }
17155 _ACEOF
17156 if ac_fn_cxx_try_compile "$LINENO"; then :
17157
17158 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17159
17160 fi
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 #include <wchar.h>
17166 namespace test { using ::wcstof; }
17167 int
17168 main ()
17169 {
17170
17171 ;
17172 return 0;
17173 }
17174 _ACEOF
17175 if ac_fn_cxx_try_compile "$LINENO"; then :
17176
17177 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17178
17179 fi
17180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17181
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <wctype.h>
17185 int
17186 main ()
17187 {
17188 wint_t t; int i = iswblank(t);
17189 ;
17190 return 0;
17191 }
17192 _ACEOF
17193 if ac_fn_cxx_try_compile "$LINENO"; then :
17194
17195 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17196
17197 fi
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17201 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17202 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17203
17204 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17205
17206 fi
17207 fi
17208
17209 # Option parsed, now set things appropriately.
17210 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17212 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17213 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17214 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17215 enable_c99=no;
17216 else
17217
17218 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17219
17220 fi
17221
17222 gcc_no_link="$ac_save_gcc_no_link"
17223 LIBS="$ac_save_LIBS"
17224 CXXFLAGS="$ac_save_CXXFLAGS"
17225 ac_ext=c
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17230
17231
17232
17233 ac_ext=cpp
17234 ac_cpp='$CXXCPP $CPPFLAGS'
17235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17238
17239
17240 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17241 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17242 ac_save_CXXFLAGS="$CXXFLAGS"
17243 CXXFLAGS="$CXXFLAGS -std=c++11"
17244 ac_save_LIBS="$LIBS"
17245 ac_save_gcc_no_link="$gcc_no_link"
17246
17247 if test x$gcc_no_link != xyes; then
17248 # Use -fno-exceptions to that the C driver can link these tests without
17249 # hitting undefined references to personality routines.
17250 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17252 $as_echo_n "checking for sin in -lm... " >&6; }
17253 if test "${ac_cv_lib_m_sin+set}" = set; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_check_lib_save_LIBS=$LIBS
17257 LIBS="-lm $LIBS"
17258 if test x$gcc_no_link = xyes; then
17259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17260 fi
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17263
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17267 #ifdef __cplusplus
17268 extern "C"
17269 #endif
17270 char sin ();
17271 int
17272 main ()
17273 {
17274 return sin ();
17275 ;
17276 return 0;
17277 }
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 ac_cv_lib_m_sin=yes
17281 else
17282 ac_cv_lib_m_sin=no
17283 fi
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17286 LIBS=$ac_check_lib_save_LIBS
17287 fi
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17289 $as_echo "$ac_cv_lib_m_sin" >&6; }
17290 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17291 LIBS="$LIBS -lm"
17292 else
17293
17294 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17295 gcc_no_link=yes
17296
17297 fi
17298
17299 fi
17300
17301 # Check for the existence of <math.h> functions used if C99 is enabled.
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17303 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17304 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307
17308 if test x$gcc_no_link = xyes; then
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 #include <math.h>
17312 volatile double d1, d2;
17313 volatile int i;
17314 int
17315 main ()
17316 {
17317 i = fpclassify(d1);
17318 i = isfinite(d1);
17319 i = isinf(d1);
17320 i = isnan(d1);
17321 i = isnormal(d1);
17322 i = signbit(d1);
17323 i = isgreater(d1, d2);
17324 i = isgreaterequal(d1, d2);
17325 i = isless(d1, d2);
17326 i = islessequal(d1, d2);
17327 i = islessgreater(d1, d2);
17328 i = islessgreater(d1, d2);
17329 i = isunordered(d1, d2);
17330
17331 ;
17332 return 0;
17333 }
17334 _ACEOF
17335 if ac_fn_cxx_try_compile "$LINENO"; then :
17336 glibcxx_cv_c99_math_cxx11=yes
17337 else
17338 glibcxx_cv_c99_math_cxx11=no
17339 fi
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341 else
17342 if test x$gcc_no_link = xyes; then
17343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17344 fi
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #include <math.h>
17348 volatile double d1, d2;
17349 volatile int i;
17350 int
17351 main ()
17352 {
17353 i = fpclassify(d1);
17354 i = isfinite(d1);
17355 i = isinf(d1);
17356 i = isnan(d1);
17357 i = isnormal(d1);
17358 i = signbit(d1);
17359 i = isgreater(d1, d2);
17360 i = isgreaterequal(d1, d2);
17361 i = isless(d1, d2);
17362 i = islessequal(d1, d2);
17363 i = islessgreater(d1, d2);
17364 i = islessgreater(d1, d2);
17365 i = isunordered(d1, d2);
17366
17367 ;
17368 return 0;
17369 }
17370 _ACEOF
17371 if ac_fn_cxx_try_link "$LINENO"; then :
17372 glibcxx_cv_c99_math_cxx11=yes
17373 else
17374 glibcxx_cv_c99_math_cxx11=no
17375 fi
17376 rm -f core conftest.err conftest.$ac_objext \
17377 conftest$ac_exeext conftest.$ac_ext
17378 fi
17379
17380 fi
17381
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17383 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17384 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17385
17386 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17387
17388 fi
17389
17390 # Check for the existence of <complex.h> complex math functions.
17391 # This is necessary even though libstdc++ uses the builtin versions
17392 # of these functions, because if the builtin cannot be used, a reference
17393 # to the library function is emitted.
17394 for ac_header in tgmath.h
17395 do :
17396 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17397 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17398 cat >>confdefs.h <<_ACEOF
17399 #define HAVE_TGMATH_H 1
17400 _ACEOF
17401 ac_has_tgmath_h=yes
17402 else
17403 ac_has_tgmath_h=no
17404 fi
17405
17406 done
17407
17408 for ac_header in complex.h
17409 do :
17410 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17411 if test "x$ac_cv_header_complex_h" = x""yes; then :
17412 cat >>confdefs.h <<_ACEOF
17413 #define HAVE_COMPLEX_H 1
17414 _ACEOF
17415 ac_has_complex_h=yes
17416 else
17417 ac_has_complex_h=no
17418 fi
17419
17420 done
17421
17422 if test x"$ac_has_complex_h" = x"yes"; then
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17424 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17425 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17426 $as_echo_n "(cached) " >&6
17427 else
17428
17429 if test x$gcc_no_link = xyes; then
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <complex.h>
17433 typedef __complex__ float float_type;
17434 typedef __complex__ double double_type;
17435 typedef __complex__ long double ld_type;
17436 volatile float_type tmpf;
17437 volatile double_type tmpd;
17438 volatile ld_type tmpld;
17439 volatile float f;
17440 volatile double d;
17441 volatile long double ld;
17442 int
17443 main ()
17444 {
17445 f = cabsf(tmpf);
17446 f = cargf(tmpf);
17447 tmpf = ccosf(tmpf);
17448 tmpf = ccoshf(tmpf);
17449 tmpf = cexpf(tmpf);
17450 tmpf = clogf(tmpf);
17451 tmpf = csinf(tmpf);
17452 tmpf = csinhf(tmpf);
17453 tmpf = csqrtf(tmpf);
17454 tmpf = ctanf(tmpf);
17455 tmpf = ctanhf(tmpf);
17456 tmpf = cpowf(tmpf, tmpf);
17457 tmpf = cprojf(tmpf);
17458 d = cabs(tmpd);
17459 d = carg(tmpd);
17460 tmpd = ccos(tmpd);
17461 tmpd = ccosh(tmpd);
17462 tmpd = cexp(tmpd);
17463 tmpd = clog(tmpd);
17464 tmpd = csin(tmpd);
17465 tmpd = csinh(tmpd);
17466 tmpd = csqrt(tmpd);
17467 tmpd = ctan(tmpd);
17468 tmpd = ctanh(tmpd);
17469 tmpd = cpow(tmpd, tmpd);
17470 tmpd = cproj(tmpd);
17471 ld = cabsl(tmpld);
17472 ld = cargl(tmpld);
17473 tmpld = ccosl(tmpld);
17474 tmpld = ccoshl(tmpld);
17475 tmpld = cexpl(tmpld);
17476 tmpld = clogl(tmpld);
17477 tmpld = csinl(tmpld);
17478 tmpld = csinhl(tmpld);
17479 tmpld = csqrtl(tmpld);
17480 tmpld = ctanl(tmpld);
17481 tmpld = ctanhl(tmpld);
17482 tmpld = cpowl(tmpld, tmpld);
17483 tmpld = cprojl(tmpld);
17484
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 if ac_fn_cxx_try_compile "$LINENO"; then :
17490 glibcxx_cv_c99_complex_cxx11=yes
17491 else
17492 glibcxx_cv_c99_complex_cxx11=no
17493 fi
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495 else
17496 if test x$gcc_no_link = xyes; then
17497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17498 fi
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 #include <complex.h>
17502 typedef __complex__ float float_type;
17503 typedef __complex__ double double_type;
17504 typedef __complex__ long double ld_type;
17505 volatile float_type tmpf;
17506 volatile double_type tmpd;
17507 volatile ld_type tmpld;
17508 volatile float f;
17509 volatile double d;
17510 volatile long double ld;
17511 int
17512 main ()
17513 {
17514 f = cabsf(tmpf);
17515 f = cargf(tmpf);
17516 tmpf = ccosf(tmpf);
17517 tmpf = ccoshf(tmpf);
17518 tmpf = cexpf(tmpf);
17519 tmpf = clogf(tmpf);
17520 tmpf = csinf(tmpf);
17521 tmpf = csinhf(tmpf);
17522 tmpf = csqrtf(tmpf);
17523 tmpf = ctanf(tmpf);
17524 tmpf = ctanhf(tmpf);
17525 tmpf = cpowf(tmpf, tmpf);
17526 tmpf = cprojf(tmpf);
17527 d = cabs(tmpd);
17528 d = carg(tmpd);
17529 tmpd = ccos(tmpd);
17530 tmpd = ccosh(tmpd);
17531 tmpd = cexp(tmpd);
17532 tmpd = clog(tmpd);
17533 tmpd = csin(tmpd);
17534 tmpd = csinh(tmpd);
17535 tmpd = csqrt(tmpd);
17536 tmpd = ctan(tmpd);
17537 tmpd = ctanh(tmpd);
17538 tmpd = cpow(tmpd, tmpd);
17539 tmpd = cproj(tmpd);
17540 ld = cabsl(tmpld);
17541 ld = cargl(tmpld);
17542 tmpld = ccosl(tmpld);
17543 tmpld = ccoshl(tmpld);
17544 tmpld = cexpl(tmpld);
17545 tmpld = clogl(tmpld);
17546 tmpld = csinl(tmpld);
17547 tmpld = csinhl(tmpld);
17548 tmpld = csqrtl(tmpld);
17549 tmpld = ctanl(tmpld);
17550 tmpld = ctanhl(tmpld);
17551 tmpld = cpowl(tmpld, tmpld);
17552 tmpld = cprojl(tmpld);
17553
17554 ;
17555 return 0;
17556 }
17557 _ACEOF
17558 if ac_fn_cxx_try_link "$LINENO"; then :
17559 glibcxx_cv_c99_complex_cxx11=yes
17560 else
17561 glibcxx_cv_c99_complex_cxx11=no
17562 fi
17563 rm -f core conftest.err conftest.$ac_objext \
17564 conftest$ac_exeext conftest.$ac_ext
17565 fi
17566
17567 fi
17568
17569 fi
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17571 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17572 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17573
17574 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17575
17576 fi
17577
17578 # Check for the existence in <stdio.h> of vscanf, et. al.
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17580 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17581 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17584
17585 if test x$gcc_no_link = xyes; then
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <stdio.h>
17589 #include <stdarg.h>
17590 void foo(char* fmt, ...)
17591 {
17592 va_list args; va_start(args, fmt);
17593 vfscanf(stderr, "%i", args);
17594 vscanf("%i", args);
17595 vsnprintf(fmt, 0, "%i", args);
17596 vsscanf(fmt, "%i", args);
17597 snprintf(fmt, 0, "%i");
17598 }
17599 int
17600 main ()
17601 {
17602
17603 ;
17604 return 0;
17605 }
17606 _ACEOF
17607 if ac_fn_cxx_try_compile "$LINENO"; then :
17608 glibcxx_cv_c99_stdio_cxx11=yes
17609 else
17610 glibcxx_cv_c99_stdio_cxx11=no
17611 fi
17612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 else
17614 if test x$gcc_no_link = xyes; then
17615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17616 fi
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #include <stdio.h>
17620 #include <stdarg.h>
17621 void foo(char* fmt, ...)
17622 {
17623 va_list args; va_start(args, fmt);
17624 vfscanf(stderr, "%i", args);
17625 vscanf("%i", args);
17626 vsnprintf(fmt, 0, "%i", args);
17627 vsscanf(fmt, "%i", args);
17628 snprintf(fmt, 0, "%i");
17629 }
17630 int
17631 main ()
17632 {
17633
17634 ;
17635 return 0;
17636 }
17637 _ACEOF
17638 if ac_fn_cxx_try_link "$LINENO"; then :
17639 glibcxx_cv_c99_stdio_cxx11=yes
17640 else
17641 glibcxx_cv_c99_stdio_cxx11=no
17642 fi
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17645 fi
17646
17647 fi
17648
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17650 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17651 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17652
17653 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17654
17655 fi
17656
17657 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17659 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17660 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17663
17664 if test x$gcc_no_link = xyes; then
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <stdlib.h>
17668 volatile float f;
17669 volatile long double ld;
17670 volatile unsigned long long ll;
17671 lldiv_t mydivt;
17672 int
17673 main ()
17674 {
17675 char* tmp;
17676 f = strtof("gnu", &tmp);
17677 ld = strtold("gnu", &tmp);
17678 ll = strtoll("gnu", &tmp, 10);
17679 ll = strtoull("gnu", &tmp, 10);
17680 ll = llabs(10);
17681 mydivt = lldiv(10,1);
17682 ll = mydivt.quot;
17683 ll = mydivt.rem;
17684 ll = atoll("10");
17685 _Exit(0);
17686
17687 ;
17688 return 0;
17689 }
17690 _ACEOF
17691 if ac_fn_cxx_try_compile "$LINENO"; then :
17692 glibcxx_cv_c99_stdlib_cxx11=yes
17693 else
17694 glibcxx_cv_c99_stdlib_cxx11=no
17695 fi
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697 else
17698 if test x$gcc_no_link = xyes; then
17699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17700 fi
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 #include <stdlib.h>
17704 volatile float f;
17705 volatile long double ld;
17706 volatile unsigned long long ll;
17707 lldiv_t mydivt;
17708 int
17709 main ()
17710 {
17711 char* tmp;
17712 f = strtof("gnu", &tmp);
17713 ld = strtold("gnu", &tmp);
17714 ll = strtoll("gnu", &tmp, 10);
17715 ll = strtoull("gnu", &tmp, 10);
17716 ll = llabs(10);
17717 mydivt = lldiv(10,1);
17718 ll = mydivt.quot;
17719 ll = mydivt.rem;
17720 ll = atoll("10");
17721 _Exit(0);
17722
17723 ;
17724 return 0;
17725 }
17726 _ACEOF
17727 if ac_fn_cxx_try_link "$LINENO"; then :
17728 glibcxx_cv_c99_stdlib_cxx11=yes
17729 else
17730 glibcxx_cv_c99_stdlib_cxx11=no
17731 fi
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17734 fi
17735
17736 fi
17737
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17739 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17740 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17741
17742 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17743
17744 fi
17745
17746 # Check for the existence in <wchar.h> of wcstold, etc.
17747 if test x"$ac_has_wchar_h" = xyes &&
17748 test x"$ac_has_wctype_h" = xyes; then
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17750 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17751 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17754
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <wchar.h>
17758 namespace test
17759 {
17760 using ::wcstold;
17761 using ::wcstoll;
17762 using ::wcstoull;
17763 }
17764
17765 int
17766 main ()
17767 {
17768
17769 ;
17770 return 0;
17771 }
17772 _ACEOF
17773 if ac_fn_cxx_try_compile "$LINENO"; then :
17774 glibcxx_cv_c99_wchar_cxx11=yes
17775 else
17776 glibcxx_cv_c99_wchar_cxx11=no
17777 fi
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17779
17780 fi
17781
17782
17783 # Checks for wide character functions that may not be present.
17784 # Injection of these is wrapped with guard macros.
17785 # NB: only put functions here, instead of immediately above, if
17786 # absolutely necessary.
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <wchar.h>
17790 namespace test { using ::vfwscanf; }
17791 int
17792 main ()
17793 {
17794
17795 ;
17796 return 0;
17797 }
17798 _ACEOF
17799 if ac_fn_cxx_try_compile "$LINENO"; then :
17800
17801 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17802
17803 fi
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <wchar.h>
17809 namespace test { using ::vswscanf; }
17810 int
17811 main ()
17812 {
17813
17814 ;
17815 return 0;
17816 }
17817 _ACEOF
17818 if ac_fn_cxx_try_compile "$LINENO"; then :
17819
17820 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17821
17822 fi
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17824
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <wchar.h>
17828 namespace test { using ::vwscanf; }
17829 int
17830 main ()
17831 {
17832
17833 ;
17834 return 0;
17835 }
17836 _ACEOF
17837 if ac_fn_cxx_try_compile "$LINENO"; then :
17838
17839 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17840
17841 fi
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17843
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17846 #include <wchar.h>
17847 namespace test { using ::wcstof; }
17848 int
17849 main ()
17850 {
17851
17852 ;
17853 return 0;
17854 }
17855 _ACEOF
17856 if ac_fn_cxx_try_compile "$LINENO"; then :
17857
17858 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17859
17860 fi
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17862
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 #include <wctype.h>
17866 int
17867 main ()
17868 {
17869 wint_t t; int i = iswblank(t);
17870 ;
17871 return 0;
17872 }
17873 _ACEOF
17874 if ac_fn_cxx_try_compile "$LINENO"; then :
17875
17876 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17877
17878 fi
17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17880
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17882 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17883 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17884
17885 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17886
17887 fi
17888 fi
17889
17890 gcc_no_link="$ac_save_gcc_no_link"
17891 LIBS="$ac_save_LIBS"
17892 CXXFLAGS="$ac_save_CXXFLAGS"
17893 ac_ext=c
17894 ac_cpp='$CPP $CPPFLAGS'
17895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17898
17899 fi
17900
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17902 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17904 $as_echo "$enable_c99" >&6; }
17905
17906
17907 # Check whether --enable-concept-checks was given.
17908 if test "${enable_concept_checks+set}" = set; then :
17909 enableval=$enable_concept_checks;
17910 case "$enableval" in
17911 yes|no) ;;
17912 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17913 esac
17914
17915 else
17916 enable_concept_checks=no
17917 fi
17918
17919
17920 if test $enable_concept_checks = yes; then
17921
17922 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17923
17924 fi
17925
17926
17927 # Check whether --enable-libstdcxx-debug-flags was given.
17928 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17929 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17930 xno | x) enable_libstdcxx_debug_flags= ;;
17931 x-*) ;;
17932 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17933 esac
17934 else
17935 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
17936 fi
17937
17938
17939
17940 # Option parsed, now set things appropriately
17941 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17942
17943
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17945 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17946
17947
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17949 $as_echo_n "checking for additional debug build... " >&6; }
17950 # Check whether --enable-libstdcxx-debug was given.
17951 if test "${enable_libstdcxx_debug+set}" = set; then :
17952 enableval=$enable_libstdcxx_debug;
17953 case "$enableval" in
17954 yes|no) ;;
17955 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17956 esac
17957
17958 else
17959 enable_libstdcxx_debug=no
17960 fi
17961
17962
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17964 $as_echo "$enable_libstdcxx_debug" >&6; }
17965
17966
17967
17968
17969 enable_parallel=no;
17970
17971 # See if configured libgomp/omp.h exists. (libgomp may be in
17972 # noconfigdirs but not explicitly disabled.)
17973 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17974 enable_parallel=yes;
17975 else
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17977 $as_echo "$as_me: target-libgomp not built" >&6;}
17978 fi
17979
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17981 $as_echo_n "checking for parallel mode support... " >&6; }
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17983 $as_echo "$enable_parallel" >&6; }
17984
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17986 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17987 # Check whether --enable-cxx-flags was given.
17988 if test "${enable_cxx_flags+set}" = set; then :
17989 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17990 xno | x) enable_cxx_flags= ;;
17991 x-*) ;;
17992 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17993 esac
17994 else
17995 enable_cxx_flags=
17996 fi
17997
17998
17999
18000 # Run through flags (either default or command-line) and set anything
18001 # extra (e.g., #defines) that must accompany particular g++ options.
18002 if test -n "$enable_cxx_flags"; then
18003 for f in $enable_cxx_flags; do
18004 case "$f" in
18005 -fhonor-std) ;;
18006 -*) ;;
18007 *) # and we're trying to pass /what/ exactly?
18008 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18009 esac
18010 done
18011 fi
18012
18013 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18015 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18016
18017
18018
18019 # Check whether --enable-fully-dynamic-string was given.
18020 if test "${enable_fully_dynamic_string+set}" = set; then :
18021 enableval=$enable_fully_dynamic_string;
18022 case "$enableval" in
18023 yes|no) ;;
18024 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18025 esac
18026
18027 else
18028 enable_fully_dynamic_string=no
18029 fi
18030
18031
18032 if test $enable_fully_dynamic_string = yes; then
18033 enable_fully_dynamic_string_def=1
18034 else
18035 enable_fully_dynamic_string_def=0
18036 fi
18037
18038 cat >>confdefs.h <<_ACEOF
18039 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18040 _ACEOF
18041
18042
18043
18044
18045 # Check whether --enable-extern-template was given.
18046 if test "${enable_extern_template+set}" = set; then :
18047 enableval=$enable_extern_template;
18048 case "$enableval" in
18049 yes|no) ;;
18050 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18051 esac
18052
18053 else
18054 enable_extern_template=yes
18055 fi
18056
18057
18058
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18060 $as_echo_n "checking for extern template support... " >&6; }
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18062 $as_echo "$enable_extern_template" >&6; }
18063
18064
18065
18066
18067
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18069 $as_echo_n "checking for custom python install directory... " >&6; }
18070
18071 # Check whether --with-python-dir was given.
18072 if test "${with_python_dir+set}" = set; then :
18073 withval=$with_python_dir; with_python_dir=$withval
18074 else
18075 with_python_dir="no"
18076 fi
18077
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18079 $as_echo "${with_python_dir}" >&6; }
18080
18081 # Needed for installing Python modules during make install.
18082 python_mod_dir="${with_python_dir}"
18083
18084
18085
18086
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18088 $as_echo_n "checking for -Werror... " >&6; }
18089 # Check whether --enable-werror was given.
18090 if test "${enable_werror+set}" = set; then :
18091 enableval=$enable_werror;
18092 case "$enableval" in
18093 yes|no) ;;
18094 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18095 esac
18096
18097 else
18098 enable_werror=no
18099 fi
18100
18101
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18103 $as_echo "$enable_werror" >&6; }
18104
18105
18106
18107
18108 # Check whether --enable-vtable-verify was given.
18109 if test "${enable_vtable_verify+set}" = set; then :
18110 enableval=$enable_vtable_verify;
18111 case "$enableval" in
18112 yes|no) ;;
18113 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18114 esac
18115
18116 else
18117 enable_vtable_verify=no
18118 fi
18119
18120
18121
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18123 $as_echo_n "checking for vtable verify support... " >&6; }
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18125 $as_echo "$enable_vtable_verify" >&6; }
18126
18127 vtv_cygmin=no
18128 if test $enable_vtable_verify = yes; then
18129 case ${target_os} in
18130 cygwin*|mingw32*)
18131 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18132 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18133 vtv_cygmin=yes
18134 ;;
18135 darwin*)
18136 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18137 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18138 ;;
18139 solaris2*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18142 ;;
18143 *)
18144 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18145 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18146 ;;
18147 esac
18148 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18149 else
18150 VTV_CXXFLAGS=
18151 VTV_PCH_CXXFLAGS=
18152 VTV_CXXLINKFLAGS=
18153 fi
18154
18155
18156
18157
18158 if test x$vtv_cygmin = xyes; then
18159 VTV_CYGMIN_TRUE=
18160 VTV_CYGMIN_FALSE='#'
18161 else
18162 VTV_CYGMIN_TRUE='#'
18163 VTV_CYGMIN_FALSE=
18164 fi
18165
18166
18167
18168
18169 # Checks for operating systems support that doesn't require linking.
18170
18171
18172
18173 ac_ext=cpp
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18178
18179 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18180 # and we don't need a declaration for C++14 anyway.
18181 ac_save_CXXFLAGS="$CXXFLAGS"
18182 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18183
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18185 $as_echo_n "checking for gets declaration... " >&6; }
18186 if test "${glibcxx_cv_gets+set}" = set; then :
18187 $as_echo_n "(cached) " >&6
18188 else
18189
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18192 #include <stdio.h>
18193 namespace test
18194 {
18195 using ::gets;
18196 }
18197
18198 _ACEOF
18199 if ac_fn_cxx_try_compile "$LINENO"; then :
18200 glibcxx_cv_gets=yes
18201 else
18202 glibcxx_cv_gets=no
18203
18204 fi
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18206 fi
18207
18208
18209 if test $glibcxx_cv_gets = yes; then
18210
18211 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18212
18213 fi
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18215 $as_echo "$glibcxx_cv_gets" >&6; }
18216
18217 CXXFLAGS="$ac_save_CXXFLAGS"
18218 ac_ext=c
18219 ac_cpp='$CPP $CPPFLAGS'
18220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18223
18224
18225
18226
18227
18228 ac_ext=cpp
18229 ac_cpp='$CXXCPP $CPPFLAGS'
18230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18233
18234 ac_save_CXXFLAGS="$CXXFLAGS"
18235 CXXFLAGS="$CXXFLAGS -std=c++11"
18236
18237 case "$host" in
18238 *-*-solaris2.*)
18239 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18240 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18242 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18243 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18244 $as_echo_n "(cached) " >&6
18245 else
18246
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <math.h>
18250 #undef isfinite
18251 namespace std {
18252 inline bool isfinite(float __x)
18253 { return __builtin_isfinite(__x); }
18254 }
18255
18256 _ACEOF
18257 if ac_fn_cxx_try_compile "$LINENO"; then :
18258 glibcxx_cv_math11_fp_overload=no
18259 else
18260 glibcxx_cv_math11_fp_overload=yes
18261
18262 fi
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18264 fi
18265
18266
18267 # autoheader cannot handle indented templates.
18268
18269
18270 if test $glibcxx_cv_math11_fp_overload = yes; then
18271 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18272
18273 fi
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18275 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18276
18277 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18278 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18280 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18281 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18282 $as_echo_n "(cached) " >&6
18283 else
18284
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18287 #include <math.h>
18288 namespace std {
18289 template<typename _Tp>
18290 struct __is_integer;
18291 template<>
18292 struct __is_integer<int>
18293 {
18294 enum { __value = 1 };
18295 };
18296 }
18297 namespace __gnu_cxx {
18298 template<bool, typename>
18299 struct __enable_if;
18300 template<typename _Tp>
18301 struct __enable_if<true, _Tp>
18302 { typedef _Tp __type; };
18303 }
18304 namespace std {
18305 template<typename _Tp>
18306 constexpr typename __gnu_cxx::__enable_if
18307 <__is_integer<_Tp>::__value, double>::__type
18308 log2(_Tp __x)
18309 { return __builtin_log2(__x); }
18310 }
18311 int
18312 main (void)
18313 {
18314 int i = 1000;
18315 return std::log2(i);
18316 }
18317
18318 _ACEOF
18319 if ac_fn_cxx_try_compile "$LINENO"; then :
18320 glibcxx_cv_math11_int_overload=no
18321 else
18322 glibcxx_cv_math11_int_overload=yes
18323
18324 fi
18325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18326 fi
18327
18328
18329 # autoheader cannot handle indented templates.
18330
18331
18332 if test $glibcxx_cv_math11_int_overload = yes; then
18333 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18334
18335 fi
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18337 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18338 ;;
18339 *)
18340 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18341 # functions (instead of or as well as the C99 generic macros) then we
18342 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18343 # and must use the ones from <math.h> instead.
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18345 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18346 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18347 $as_echo_n "(cached) " >&6
18348 else
18349
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18353 #include <math.h>
18354 #undef isinf
18355 namespace std {
18356 using ::isinf;
18357 bool isinf(float);
18358 bool isinf(long double);
18359 }
18360 using std::isinf;
18361 bool b = isinf(0.0);
18362
18363 _ACEOF
18364 if ac_fn_cxx_try_compile "$LINENO"; then :
18365 glibcxx_cv_obsolete_isinf=yes
18366 else
18367 glibcxx_cv_obsolete_isinf=no
18368
18369 fi
18370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18371 fi
18372
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18374 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18375 if test $glibcxx_cv_obsolete_isinf = yes; then
18376
18377 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18378
18379 fi
18380
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18382 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18383 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18384 $as_echo_n "(cached) " >&6
18385 else
18386
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18390 #include <math.h>
18391 #undef isnan
18392 namespace std {
18393 using ::isnan;
18394 bool isnan(float);
18395 bool isnan(long double);
18396 }
18397 using std::isnan;
18398 bool b = isnan(0.0);
18399
18400 _ACEOF
18401 if ac_fn_cxx_try_compile "$LINENO"; then :
18402 glibcxx_cv_obsolete_isnan=yes
18403 else
18404 glibcxx_cv_obsolete_isnan=no
18405
18406 fi
18407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18408 fi
18409
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18411 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18412 if test $glibcxx_cv_obsolete_isnan = yes; then
18413
18414 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18415
18416 fi
18417 ;;
18418 esac
18419
18420 CXXFLAGS="$ac_save_CXXFLAGS"
18421 ac_ext=c
18422 ac_cpp='$CPP $CPPFLAGS'
18423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18426
18427
18428
18429
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18431 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18432 if test "${glibcxx_cv_system_error1+set}" = set; then :
18433 $as_echo_n "(cached) " >&6
18434 else
18435
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18438 #include <errno.h>
18439 int
18440 main ()
18441 {
18442 int i = EOWNERDEAD;
18443 ;
18444 return 0;
18445 }
18446 _ACEOF
18447 if ac_fn_c_try_compile "$LINENO"; then :
18448 glibcxx_cv_system_error1=yes
18449 else
18450 glibcxx_cv_system_error1=no
18451 fi
18452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18453
18454 fi
18455
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18457 $as_echo "$glibcxx_cv_system_error1" >&6; }
18458 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18459
18460 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18461
18462 fi
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18464 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18465 if test "${glibcxx_cv_system_error2+set}" = set; then :
18466 $as_echo_n "(cached) " >&6
18467 else
18468
18469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18471 #include <errno.h>
18472 int
18473 main ()
18474 {
18475 int i = ENOTRECOVERABLE;
18476 ;
18477 return 0;
18478 }
18479 _ACEOF
18480 if ac_fn_c_try_compile "$LINENO"; then :
18481 glibcxx_cv_system_error2=yes
18482 else
18483 glibcxx_cv_system_error2=no
18484 fi
18485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486
18487 fi
18488
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18490 $as_echo "$glibcxx_cv_system_error2" >&6; }
18491 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18492
18493 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18494
18495 fi
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18497 $as_echo_n "checking for ENOLINK... " >&6; }
18498 if test "${glibcxx_cv_system_error3+set}" = set; then :
18499 $as_echo_n "(cached) " >&6
18500 else
18501
18502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h. */
18504 #include <errno.h>
18505 int
18506 main ()
18507 {
18508 int i = ENOLINK;
18509 ;
18510 return 0;
18511 }
18512 _ACEOF
18513 if ac_fn_c_try_compile "$LINENO"; then :
18514 glibcxx_cv_system_error3=yes
18515 else
18516 glibcxx_cv_system_error3=no
18517 fi
18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18519
18520 fi
18521
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18523 $as_echo "$glibcxx_cv_system_error3" >&6; }
18524 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18525
18526 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18527
18528 fi
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18530 $as_echo_n "checking for EPROTO... " >&6; }
18531 if test "${glibcxx_cv_system_error4+set}" = set; then :
18532 $as_echo_n "(cached) " >&6
18533 else
18534
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 #include <errno.h>
18538 int
18539 main ()
18540 {
18541 int i = EPROTO;
18542 ;
18543 return 0;
18544 }
18545 _ACEOF
18546 if ac_fn_c_try_compile "$LINENO"; then :
18547 glibcxx_cv_system_error4=yes
18548 else
18549 glibcxx_cv_system_error4=no
18550 fi
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18552
18553 fi
18554
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18556 $as_echo "$glibcxx_cv_system_error4" >&6; }
18557 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18558
18559 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18560
18561 fi
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18563 $as_echo_n "checking for ENODATA... " >&6; }
18564 if test "${glibcxx_cv_system_error5+set}" = set; then :
18565 $as_echo_n "(cached) " >&6
18566 else
18567
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570 #include <errno.h>
18571 int
18572 main ()
18573 {
18574 int i = ENODATA;
18575 ;
18576 return 0;
18577 }
18578 _ACEOF
18579 if ac_fn_c_try_compile "$LINENO"; then :
18580 glibcxx_cv_system_error5=yes
18581 else
18582 glibcxx_cv_system_error5=no
18583 fi
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585
18586 fi
18587
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18589 $as_echo "$glibcxx_cv_system_error5" >&6; }
18590 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18591
18592 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18593
18594 fi
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18596 $as_echo_n "checking for ENOSR... " >&6; }
18597 if test "${glibcxx_cv_system_error6+set}" = set; then :
18598 $as_echo_n "(cached) " >&6
18599 else
18600
18601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18602 /* end confdefs.h. */
18603 #include <errno.h>
18604 int
18605 main ()
18606 {
18607 int i = ENOSR;
18608 ;
18609 return 0;
18610 }
18611 _ACEOF
18612 if ac_fn_c_try_compile "$LINENO"; then :
18613 glibcxx_cv_system_error6=yes
18614 else
18615 glibcxx_cv_system_error6=no
18616 fi
18617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18618
18619 fi
18620
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18622 $as_echo "$glibcxx_cv_system_error6" >&6; }
18623 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18624
18625 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18626
18627 fi
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18629 $as_echo_n "checking for ENOSTR... " >&6; }
18630 if test "${glibcxx_cv_system_error7+set}" = set; then :
18631 $as_echo_n "(cached) " >&6
18632 else
18633
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 #include <errno.h>
18637 int
18638 main ()
18639 {
18640 int i = ENOSTR;
18641 ;
18642 return 0;
18643 }
18644 _ACEOF
18645 if ac_fn_c_try_compile "$LINENO"; then :
18646 glibcxx_cv_system_error7=yes
18647 else
18648 glibcxx_cv_system_error7=no
18649 fi
18650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18651
18652 fi
18653
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18655 $as_echo "$glibcxx_cv_system_error7" >&6; }
18656 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18657
18658 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18659
18660 fi
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18662 $as_echo_n "checking for ETIME... " >&6; }
18663 if test "${glibcxx_cv_system_error8+set}" = set; then :
18664 $as_echo_n "(cached) " >&6
18665 else
18666
18667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18669 #include <errno.h>
18670 int
18671 main ()
18672 {
18673 int i = ETIME;
18674 ;
18675 return 0;
18676 }
18677 _ACEOF
18678 if ac_fn_c_try_compile "$LINENO"; then :
18679 glibcxx_cv_system_error8=yes
18680 else
18681 glibcxx_cv_system_error8=no
18682 fi
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18684
18685 fi
18686
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18688 $as_echo "$glibcxx_cv_system_error8" >&6; }
18689 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18690
18691 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18692
18693 fi
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18695 $as_echo_n "checking for EBADMSG... " >&6; }
18696 if test "${glibcxx_cv_system_error9+set}" = set; then :
18697 $as_echo_n "(cached) " >&6
18698 else
18699
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 #include <errno.h>
18703 int
18704 main ()
18705 {
18706 int i = EBADMSG;
18707 ;
18708 return 0;
18709 }
18710 _ACEOF
18711 if ac_fn_c_try_compile "$LINENO"; then :
18712 glibcxx_cv_system_error9=yes
18713 else
18714 glibcxx_cv_system_error9=no
18715 fi
18716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18717
18718 fi
18719
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18721 $as_echo "$glibcxx_cv_system_error9" >&6; }
18722 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18723
18724 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18725
18726 fi
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18728 $as_echo_n "checking for ECANCELED... " >&6; }
18729 if test "${glibcxx_cv_system_error10+set}" = set; then :
18730 $as_echo_n "(cached) " >&6
18731 else
18732
18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18734 /* end confdefs.h. */
18735 #include <errno.h>
18736 int
18737 main ()
18738 {
18739 int i = ECANCELED;
18740 ;
18741 return 0;
18742 }
18743 _ACEOF
18744 if ac_fn_c_try_compile "$LINENO"; then :
18745 glibcxx_cv_system_error10=yes
18746 else
18747 glibcxx_cv_system_error10=no
18748 fi
18749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750
18751 fi
18752
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18754 $as_echo "$glibcxx_cv_system_error10" >&6; }
18755 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18756
18757 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18758
18759 fi
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18761 $as_echo_n "checking for EOVERFLOW... " >&6; }
18762 if test "${glibcxx_cv_system_error11+set}" = set; then :
18763 $as_echo_n "(cached) " >&6
18764 else
18765
18766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18767 /* end confdefs.h. */
18768 #include <errno.h>
18769 int
18770 main ()
18771 {
18772 int i = EOVERFLOW;
18773 ;
18774 return 0;
18775 }
18776 _ACEOF
18777 if ac_fn_c_try_compile "$LINENO"; then :
18778 glibcxx_cv_system_error11=yes
18779 else
18780 glibcxx_cv_system_error11=no
18781 fi
18782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18783
18784 fi
18785
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18787 $as_echo "$glibcxx_cv_system_error11" >&6; }
18788 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18789
18790 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18791
18792 fi
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18794 $as_echo_n "checking for ENOTSUP... " >&6; }
18795 if test "${glibcxx_cv_system_error12+set}" = set; then :
18796 $as_echo_n "(cached) " >&6
18797 else
18798
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 #include <errno.h>
18802 int
18803 main ()
18804 {
18805 int i = ENOTSUP;
18806 ;
18807 return 0;
18808 }
18809 _ACEOF
18810 if ac_fn_c_try_compile "$LINENO"; then :
18811 glibcxx_cv_system_error12=yes
18812 else
18813 glibcxx_cv_system_error12=no
18814 fi
18815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816
18817 fi
18818
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18820 $as_echo "$glibcxx_cv_system_error12" >&6; }
18821 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18822
18823 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18824
18825 fi
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18827 $as_echo_n "checking for EIDRM... " >&6; }
18828 if test "${glibcxx_cv_system_error13+set}" = set; then :
18829 $as_echo_n "(cached) " >&6
18830 else
18831
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 #include <errno.h>
18835 int
18836 main ()
18837 {
18838 int i = EIDRM;
18839 ;
18840 return 0;
18841 }
18842 _ACEOF
18843 if ac_fn_c_try_compile "$LINENO"; then :
18844 glibcxx_cv_system_error13=yes
18845 else
18846 glibcxx_cv_system_error13=no
18847 fi
18848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18849
18850 fi
18851
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18853 $as_echo "$glibcxx_cv_system_error13" >&6; }
18854 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18855
18856 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18857
18858 fi
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18860 $as_echo_n "checking for ETXTBSY... " >&6; }
18861 if test "${glibcxx_cv_system_error14+set}" = set; then :
18862 $as_echo_n "(cached) " >&6
18863 else
18864
18865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18867 #include <errno.h>
18868 int
18869 main ()
18870 {
18871 int i = ETXTBSY;
18872 ;
18873 return 0;
18874 }
18875 _ACEOF
18876 if ac_fn_c_try_compile "$LINENO"; then :
18877 glibcxx_cv_system_error14=yes
18878 else
18879 glibcxx_cv_system_error14=no
18880 fi
18881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18882
18883 fi
18884
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18886 $as_echo "$glibcxx_cv_system_error14" >&6; }
18887 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18888
18889 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18890
18891 fi
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18893 $as_echo_n "checking for ECHILD... " >&6; }
18894 if test "${glibcxx_cv_system_error15+set}" = set; then :
18895 $as_echo_n "(cached) " >&6
18896 else
18897
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18900 #include <errno.h>
18901 int
18902 main ()
18903 {
18904 int i = ECHILD;
18905 ;
18906 return 0;
18907 }
18908 _ACEOF
18909 if ac_fn_c_try_compile "$LINENO"; then :
18910 glibcxx_cv_system_error15=yes
18911 else
18912 glibcxx_cv_system_error15=no
18913 fi
18914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915
18916 fi
18917
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18919 $as_echo "$glibcxx_cv_system_error15" >&6; }
18920 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18921
18922 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18923
18924 fi
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18926 $as_echo_n "checking for ENOSPC... " >&6; }
18927 if test "${glibcxx_cv_system_error16+set}" = set; then :
18928 $as_echo_n "(cached) " >&6
18929 else
18930
18931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18932 /* end confdefs.h. */
18933 #include <errno.h>
18934 int
18935 main ()
18936 {
18937 int i = ENOSPC;
18938 ;
18939 return 0;
18940 }
18941 _ACEOF
18942 if ac_fn_c_try_compile "$LINENO"; then :
18943 glibcxx_cv_system_error16=yes
18944 else
18945 glibcxx_cv_system_error16=no
18946 fi
18947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18948
18949 fi
18950
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18952 $as_echo "$glibcxx_cv_system_error16" >&6; }
18953 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18954
18955 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18956
18957 fi
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18959 $as_echo_n "checking for EPERM... " >&6; }
18960 if test "${glibcxx_cv_system_error17+set}" = set; then :
18961 $as_echo_n "(cached) " >&6
18962 else
18963
18964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18965 /* end confdefs.h. */
18966 #include <errno.h>
18967 int
18968 main ()
18969 {
18970 int i = EPERM;
18971 ;
18972 return 0;
18973 }
18974 _ACEOF
18975 if ac_fn_c_try_compile "$LINENO"; then :
18976 glibcxx_cv_system_error17=yes
18977 else
18978 glibcxx_cv_system_error17=no
18979 fi
18980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18981
18982 fi
18983
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18985 $as_echo "$glibcxx_cv_system_error17" >&6; }
18986 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18987
18988 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18989
18990 fi
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18992 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18993 if test "${glibcxx_cv_system_error18+set}" = set; then :
18994 $as_echo_n "(cached) " >&6
18995 else
18996
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
18999 #include <errno.h>
19000 int
19001 main ()
19002 {
19003 int i = ETIMEDOUT;
19004 ;
19005 return 0;
19006 }
19007 _ACEOF
19008 if ac_fn_c_try_compile "$LINENO"; then :
19009 glibcxx_cv_system_error18=yes
19010 else
19011 glibcxx_cv_system_error18=no
19012 fi
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19014
19015 fi
19016
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19018 $as_echo "$glibcxx_cv_system_error18" >&6; }
19019 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19020
19021 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19022
19023 fi
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19025 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19026 if test "${glibcxx_cv_system_error19+set}" = set; then :
19027 $as_echo_n "(cached) " >&6
19028 else
19029
19030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19032 #include <errno.h>
19033 int
19034 main ()
19035 {
19036 int i = EWOULDBLOCK;
19037 ;
19038 return 0;
19039 }
19040 _ACEOF
19041 if ac_fn_c_try_compile "$LINENO"; then :
19042 glibcxx_cv_system_error19=yes
19043 else
19044 glibcxx_cv_system_error19=no
19045 fi
19046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19047
19048 fi
19049
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19051 $as_echo "$glibcxx_cv_system_error19" >&6; }
19052 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19053
19054 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19055
19056 fi
19057
19058
19059
19060
19061 # Test uchar.h.
19062 for ac_header in uchar.h
19063 do :
19064 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19065 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_UCHAR_H 1
19068 _ACEOF
19069 ac_has_uchar_h=yes
19070 else
19071 ac_has_uchar_h=no
19072 fi
19073
19074 done
19075
19076
19077
19078 ac_ext=cpp
19079 ac_cpp='$CXXCPP $CPPFLAGS'
19080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19083
19084 ac_save_CXXFLAGS="$CXXFLAGS"
19085 CXXFLAGS="$CXXFLAGS -std=c++11"
19086
19087 if test x"$ac_has_uchar_h" = x"yes"; then
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19089 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19091 /* end confdefs.h. */
19092 #include <uchar.h>
19093 #ifdef __STDC_UTF_16__
19094 long i = __STDC_UTF_16__;
19095 #endif
19096 #ifdef __STDC_UTF_32__
19097 long j = __STDC_UTF_32__;
19098 #endif
19099 namespace test
19100 {
19101 using ::c16rtomb;
19102 using ::c32rtomb;
19103 using ::mbrtoc16;
19104 using ::mbrtoc32;
19105 }
19106
19107 int
19108 main ()
19109 {
19110
19111 ;
19112 return 0;
19113 }
19114 _ACEOF
19115 if ac_fn_cxx_try_compile "$LINENO"; then :
19116 ac_c11_uchar_cxx11=yes
19117 else
19118 ac_c11_uchar_cxx11=no
19119 fi
19120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19121 else
19122 ac_c11_uchar_cxx11=no
19123 fi
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19125 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19126 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19127
19128 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19129
19130 fi
19131
19132 CXXFLAGS="$ac_save_CXXFLAGS"
19133 ac_ext=c
19134 ac_cpp='$CPP $CPPFLAGS'
19135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19138
19139
19140
19141 # For the streamoff typedef.
19142
19143
19144
19145 ac_ext=cpp
19146 ac_cpp='$CXXCPP $CPPFLAGS'
19147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19150
19151
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19153 $as_echo_n "checking for int64_t... " >&6; }
19154 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19155 $as_echo_n "(cached) " >&6
19156 else
19157
19158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19159 /* end confdefs.h. */
19160 #include <stdint.h>
19161 int
19162 main ()
19163 {
19164 int64_t var;
19165 ;
19166 return 0;
19167 }
19168 _ACEOF
19169 if ac_fn_cxx_try_compile "$LINENO"; then :
19170 glibcxx_cv_INT64_T=yes
19171 else
19172 glibcxx_cv_INT64_T=no
19173 fi
19174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19175
19176 fi
19177
19178
19179 if test $glibcxx_cv_INT64_T = yes; then
19180
19181 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19182
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19184 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19185
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19187 $as_echo_n "checking for int64_t as long... " >&6; }
19188 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19189 $as_echo_n "(cached) " >&6
19190 else
19191
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19194 #include <stdint.h>
19195 template<typename, typename> struct same { enum { value = -1 }; };
19196 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19197 int array[same<int64_t, long>::value];
19198 int
19199 main ()
19200 {
19201
19202 ;
19203 return 0;
19204 }
19205 _ACEOF
19206 if ac_fn_cxx_try_compile "$LINENO"; then :
19207 glibcxx_cv_int64_t_long=yes
19208 else
19209 glibcxx_cv_int64_t_long=no
19210 fi
19211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19212
19213 fi
19214
19215
19216 if test $glibcxx_cv_int64_t_long = yes; then
19217
19218 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19219
19220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19221 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19222 fi
19223
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19225 $as_echo_n "checking for int64_t as long long... " >&6; }
19226 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19227 $as_echo_n "(cached) " >&6
19228 else
19229
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <stdint.h>
19233 template<typename, typename> struct same { enum { value = -1 }; };
19234 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19235 int array[same<int64_t, long long>::value];
19236 int
19237 main ()
19238 {
19239
19240 ;
19241 return 0;
19242 }
19243 _ACEOF
19244 if ac_fn_cxx_try_compile "$LINENO"; then :
19245 glibcxx_cv_int64_t_long_long=yes
19246 else
19247 glibcxx_cv_int64_t_long_long=no
19248 fi
19249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19250
19251 fi
19252
19253
19254 if test $glibcxx_cv_int64_t_long_long = yes; then
19255
19256 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19257
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19259 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19260 fi
19261 fi
19262
19263 ac_ext=c
19264 ac_cpp='$CPP $CPPFLAGS'
19265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19268
19269
19270
19271 # For LFS support.
19272
19273
19274 ac_ext=cpp
19275 ac_cpp='$CXXCPP $CPPFLAGS'
19276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19279
19280 ac_save_CXXFLAGS="$CXXFLAGS"
19281 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19283 $as_echo_n "checking for LFS support... " >&6; }
19284 if test "${glibcxx_cv_LFS+set}" = set; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19287
19288 if test x$gcc_no_link = xyes; then
19289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h. */
19291 #include <unistd.h>
19292 #include <stdio.h>
19293 #include <sys/stat.h>
19294
19295 int
19296 main ()
19297 {
19298 FILE* fp;
19299 fopen64("t", "w");
19300 fseeko64(fp, 0, SEEK_CUR);
19301 ftello64(fp);
19302 lseek64(1, 0, SEEK_CUR);
19303 struct stat64 buf;
19304 fstat64(1, &buf);
19305 ;
19306 return 0;
19307 }
19308 _ACEOF
19309 if ac_fn_cxx_try_compile "$LINENO"; then :
19310 glibcxx_cv_LFS=yes
19311 else
19312 glibcxx_cv_LFS=no
19313 fi
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19315 else
19316 if test x$gcc_no_link = xyes; then
19317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19318 fi
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19321 #include <unistd.h>
19322 #include <stdio.h>
19323 #include <sys/stat.h>
19324
19325 int
19326 main ()
19327 {
19328 FILE* fp;
19329 fopen64("t", "w");
19330 fseeko64(fp, 0, SEEK_CUR);
19331 ftello64(fp);
19332 lseek64(1, 0, SEEK_CUR);
19333 struct stat64 buf;
19334 fstat64(1, &buf);
19335 ;
19336 return 0;
19337 }
19338 _ACEOF
19339 if ac_fn_cxx_try_link "$LINENO"; then :
19340 glibcxx_cv_LFS=yes
19341 else
19342 glibcxx_cv_LFS=no
19343 fi
19344 rm -f core conftest.err conftest.$ac_objext \
19345 conftest$ac_exeext conftest.$ac_ext
19346 fi
19347
19348 fi
19349
19350 if test $glibcxx_cv_LFS = yes; then
19351
19352 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19353
19354 fi
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19356 $as_echo "$glibcxx_cv_LFS" >&6; }
19357 CXXFLAGS="$ac_save_CXXFLAGS"
19358 ac_ext=c
19359 ac_cpp='$CPP $CPPFLAGS'
19360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19363
19364
19365
19366 # For showmanyc_helper().
19367 for ac_header in sys/ioctl.h sys/filio.h
19368 do :
19369 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19370 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19371 eval as_val=\$$as_ac_Header
19372 if test "x$as_val" = x""yes; then :
19373 cat >>confdefs.h <<_ACEOF
19374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19375 _ACEOF
19376
19377 fi
19378
19379 done
19380
19381
19382
19383
19384 ac_ext=cpp
19385 ac_cpp='$CXXCPP $CPPFLAGS'
19386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19389
19390 ac_save_CXXFLAGS="$CXXFLAGS"
19391 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19392
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19394 $as_echo_n "checking for poll... " >&6; }
19395 if test "${glibcxx_cv_POLL+set}" = set; then :
19396 $as_echo_n "(cached) " >&6
19397 else
19398
19399 if test x$gcc_no_link = xyes; then
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 #include <poll.h>
19403 int
19404 main ()
19405 {
19406 struct pollfd pfd[1];
19407 pfd[0].events = POLLIN;
19408 poll(pfd, 1, 0);
19409 ;
19410 return 0;
19411 }
19412 _ACEOF
19413 if ac_fn_cxx_try_compile "$LINENO"; then :
19414 glibcxx_cv_POLL=yes
19415 else
19416 glibcxx_cv_POLL=no
19417 fi
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 else
19420 if test x$gcc_no_link = xyes; then
19421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19422 fi
19423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19425 #include <poll.h>
19426 int
19427 main ()
19428 {
19429 struct pollfd pfd[1];
19430 pfd[0].events = POLLIN;
19431 poll(pfd, 1, 0);
19432 ;
19433 return 0;
19434 }
19435 _ACEOF
19436 if ac_fn_cxx_try_link "$LINENO"; then :
19437 glibcxx_cv_POLL=yes
19438 else
19439 glibcxx_cv_POLL=no
19440 fi
19441 rm -f core conftest.err conftest.$ac_objext \
19442 conftest$ac_exeext conftest.$ac_ext
19443 fi
19444
19445 fi
19446
19447 if test $glibcxx_cv_POLL = yes; then
19448
19449 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19450
19451 fi
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19453 $as_echo "$glibcxx_cv_POLL" >&6; }
19454
19455 CXXFLAGS="$ac_save_CXXFLAGS"
19456 ac_ext=c
19457 ac_cpp='$CPP $CPPFLAGS'
19458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19461
19462
19463
19464
19465
19466 ac_ext=cpp
19467 ac_cpp='$CXXCPP $CPPFLAGS'
19468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19471
19472 ac_save_CXXFLAGS="$CXXFLAGS"
19473 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19474
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19476 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19477 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19478 $as_echo_n "(cached) " >&6
19479 else
19480
19481 if test x$gcc_no_link = xyes; then
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19484 #include <sys/stat.h>
19485 int
19486 main ()
19487 {
19488 struct stat buffer;
19489 fstat(0, &buffer);
19490 S_ISREG(buffer.st_mode);
19491 ;
19492 return 0;
19493 }
19494 _ACEOF
19495 if ac_fn_cxx_try_compile "$LINENO"; then :
19496 glibcxx_cv_S_ISREG=yes
19497 else
19498 glibcxx_cv_S_ISREG=no
19499 fi
19500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19501 else
19502 if test x$gcc_no_link = xyes; then
19503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19504 fi
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #include <sys/stat.h>
19508 int
19509 main ()
19510 {
19511 struct stat buffer;
19512 fstat(0, &buffer);
19513 S_ISREG(buffer.st_mode);
19514 ;
19515 return 0;
19516 }
19517 _ACEOF
19518 if ac_fn_cxx_try_link "$LINENO"; then :
19519 glibcxx_cv_S_ISREG=yes
19520 else
19521 glibcxx_cv_S_ISREG=no
19522 fi
19523 rm -f core conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19525 fi
19526
19527 fi
19528
19529 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19530 $as_echo_n "(cached) " >&6
19531 else
19532
19533 if test x$gcc_no_link = xyes; then
19534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19536 #include <sys/stat.h>
19537 int
19538 main ()
19539 {
19540 struct stat buffer;
19541 fstat(0, &buffer);
19542 S_IFREG & buffer.st_mode;
19543 ;
19544 return 0;
19545 }
19546 _ACEOF
19547 if ac_fn_cxx_try_compile "$LINENO"; then :
19548 glibcxx_cv_S_IFREG=yes
19549 else
19550 glibcxx_cv_S_IFREG=no
19551 fi
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 else
19554 if test x$gcc_no_link = xyes; then
19555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19556 fi
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 #include <sys/stat.h>
19560 int
19561 main ()
19562 {
19563 struct stat buffer;
19564 fstat(0, &buffer);
19565 S_IFREG & buffer.st_mode;
19566 ;
19567 return 0;
19568 }
19569 _ACEOF
19570 if ac_fn_cxx_try_link "$LINENO"; then :
19571 glibcxx_cv_S_IFREG=yes
19572 else
19573 glibcxx_cv_S_IFREG=no
19574 fi
19575 rm -f core conftest.err conftest.$ac_objext \
19576 conftest$ac_exeext conftest.$ac_ext
19577 fi
19578
19579 fi
19580
19581 res=no
19582 if test $glibcxx_cv_S_ISREG = yes; then
19583
19584 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19585
19586 res=S_ISREG
19587 elif test $glibcxx_cv_S_IFREG = yes; then
19588
19589 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19590
19591 res=S_IFREG
19592 fi
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19594 $as_echo "$res" >&6; }
19595
19596 CXXFLAGS="$ac_save_CXXFLAGS"
19597 ac_ext=c
19598 ac_cpp='$CPP $CPPFLAGS'
19599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19602
19603
19604
19605 # For xsputn_2().
19606 for ac_header in sys/uio.h
19607 do :
19608 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19609 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19610 cat >>confdefs.h <<_ACEOF
19611 #define HAVE_SYS_UIO_H 1
19612 _ACEOF
19613
19614 fi
19615
19616 done
19617
19618
19619
19620
19621 ac_ext=cpp
19622 ac_cpp='$CXXCPP $CPPFLAGS'
19623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19626
19627 ac_save_CXXFLAGS="$CXXFLAGS"
19628 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19629
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19631 $as_echo_n "checking for writev... " >&6; }
19632 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19633 $as_echo_n "(cached) " >&6
19634 else
19635
19636 if test x$gcc_no_link = xyes; then
19637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h. */
19639 #include <sys/uio.h>
19640 int
19641 main ()
19642 {
19643 struct iovec iov[2];
19644 writev(0, iov, 0);
19645 ;
19646 return 0;
19647 }
19648 _ACEOF
19649 if ac_fn_cxx_try_compile "$LINENO"; then :
19650 glibcxx_cv_WRITEV=yes
19651 else
19652 glibcxx_cv_WRITEV=no
19653 fi
19654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19655 else
19656 if test x$gcc_no_link = xyes; then
19657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19658 fi
19659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19660 /* end confdefs.h. */
19661 #include <sys/uio.h>
19662 int
19663 main ()
19664 {
19665 struct iovec iov[2];
19666 writev(0, iov, 0);
19667 ;
19668 return 0;
19669 }
19670 _ACEOF
19671 if ac_fn_cxx_try_link "$LINENO"; then :
19672 glibcxx_cv_WRITEV=yes
19673 else
19674 glibcxx_cv_WRITEV=no
19675 fi
19676 rm -f core conftest.err conftest.$ac_objext \
19677 conftest$ac_exeext conftest.$ac_ext
19678 fi
19679
19680 fi
19681
19682 if test $glibcxx_cv_WRITEV = yes; then
19683
19684 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19685
19686 fi
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19688 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19689
19690 CXXFLAGS="$ac_save_CXXFLAGS"
19691 ac_ext=c
19692 ac_cpp='$CPP $CPPFLAGS'
19693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19696
19697
19698
19699 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19700 # so that the check is done with the C compiler (not C++).
19701 # Checking with C++ can break a canadian cross build if either
19702 # file does not exist in C but does in C++.
19703 for ac_header in fenv.h complex.h
19704 do :
19705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19706 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19707 eval as_val=\$$as_ac_Header
19708 if test "x$as_val" = x""yes; then :
19709 cat >>confdefs.h <<_ACEOF
19710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19711 _ACEOF
19712
19713 fi
19714
19715 done
19716
19717
19718 # For C99 support to TR1.
19719
19720
19721
19722 ac_ext=cpp
19723 ac_cpp='$CXXCPP $CPPFLAGS'
19724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19727
19728
19729 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19730 # undefined and fake C99 facilities may be spuriously enabled.
19731 ac_save_CXXFLAGS="$CXXFLAGS"
19732 CXXFLAGS="$CXXFLAGS -std=c++98"
19733
19734 # Check for the existence of <complex.h> complex math functions used
19735 # by tr1/complex.
19736 for ac_header in complex.h
19737 do :
19738 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19739 if test "x$ac_cv_header_complex_h" = x""yes; then :
19740 cat >>confdefs.h <<_ACEOF
19741 #define HAVE_COMPLEX_H 1
19742 _ACEOF
19743 ac_has_complex_h=yes
19744 else
19745 ac_has_complex_h=no
19746 fi
19747
19748 done
19749
19750 ac_c99_complex_tr1=no;
19751 if test x"$ac_has_complex_h" = x"yes"; then
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19753 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19756 #include <complex.h>
19757 int
19758 main ()
19759 {
19760 typedef __complex__ float float_type; float_type tmpf;
19761 cacosf(tmpf);
19762 casinf(tmpf);
19763 catanf(tmpf);
19764 cacoshf(tmpf);
19765 casinhf(tmpf);
19766 catanhf(tmpf);
19767 typedef __complex__ double double_type; double_type tmpd;
19768 cacos(tmpd);
19769 casin(tmpd);
19770 catan(tmpd);
19771 cacosh(tmpd);
19772 casinh(tmpd);
19773 catanh(tmpd);
19774 typedef __complex__ long double ld_type; ld_type tmpld;
19775 cacosl(tmpld);
19776 casinl(tmpld);
19777 catanl(tmpld);
19778 cacoshl(tmpld);
19779 casinhl(tmpld);
19780 catanhl(tmpld);
19781
19782 ;
19783 return 0;
19784 }
19785 _ACEOF
19786 if ac_fn_cxx_try_compile "$LINENO"; then :
19787 ac_c99_complex_tr1=yes
19788 else
19789 ac_c99_complex_tr1=no
19790 fi
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 fi
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19794 $as_echo "$ac_c99_complex_tr1" >&6; }
19795 if test x"$ac_c99_complex_tr1" = x"yes"; then
19796
19797 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19798
19799 fi
19800
19801 # Check for the existence of <ctype.h> functions.
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19803 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19804 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19805 $as_echo_n "(cached) " >&6
19806 else
19807
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19810 #include <ctype.h>
19811 int
19812 main ()
19813 {
19814 int ch;
19815 int ret;
19816 ret = isblank(ch);
19817
19818 ;
19819 return 0;
19820 }
19821 _ACEOF
19822 if ac_fn_cxx_try_compile "$LINENO"; then :
19823 glibcxx_cv_c99_ctype_tr1=yes
19824 else
19825 glibcxx_cv_c99_ctype_tr1=no
19826 fi
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19828
19829 fi
19830
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19832 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19833 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19834
19835 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19836
19837 fi
19838
19839 # Check for the existence of <fenv.h> functions.
19840 for ac_header in fenv.h
19841 do :
19842 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19843 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19844 cat >>confdefs.h <<_ACEOF
19845 #define HAVE_FENV_H 1
19846 _ACEOF
19847 ac_has_fenv_h=yes
19848 else
19849 ac_has_fenv_h=no
19850 fi
19851
19852 done
19853
19854 ac_c99_fenv_tr1=no;
19855 if test x"$ac_has_fenv_h" = x"yes"; then
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19857 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19860 #include <fenv.h>
19861 int
19862 main ()
19863 {
19864 int except, mode;
19865 fexcept_t* pflag;
19866 fenv_t* penv;
19867 int ret;
19868 ret = feclearexcept(except);
19869 ret = fegetexceptflag(pflag, except);
19870 ret = feraiseexcept(except);
19871 ret = fesetexceptflag(pflag, except);
19872 ret = fetestexcept(except);
19873 ret = fegetround();
19874 ret = fesetround(mode);
19875 ret = fegetenv(penv);
19876 ret = feholdexcept(penv);
19877 ret = fesetenv(penv);
19878 ret = feupdateenv(penv);
19879
19880 ;
19881 return 0;
19882 }
19883 _ACEOF
19884 if ac_fn_cxx_try_compile "$LINENO"; then :
19885 ac_c99_fenv_tr1=yes
19886 else
19887 ac_c99_fenv_tr1=no
19888 fi
19889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 fi
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19892 $as_echo "$ac_c99_fenv_tr1" >&6; }
19893 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19894
19895 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19896
19897 fi
19898
19899 # Check for the existence of <stdint.h> types.
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19901 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19902 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19903 $as_echo_n "(cached) " >&6
19904 else
19905
19906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19908 #define __STDC_LIMIT_MACROS
19909 #define __STDC_CONSTANT_MACROS
19910 #include <stdint.h>
19911 int
19912 main ()
19913 {
19914 typedef int8_t my_int8_t;
19915 my_int8_t i8 = INT8_MIN;
19916 i8 = INT8_MAX;
19917 typedef int16_t my_int16_t;
19918 my_int16_t i16 = INT16_MIN;
19919 i16 = INT16_MAX;
19920 typedef int32_t my_int32_t;
19921 my_int32_t i32 = INT32_MIN;
19922 i32 = INT32_MAX;
19923 typedef int64_t my_int64_t;
19924 my_int64_t i64 = INT64_MIN;
19925 i64 = INT64_MAX;
19926 typedef int_fast8_t my_int_fast8_t;
19927 my_int_fast8_t if8 = INT_FAST8_MIN;
19928 if8 = INT_FAST8_MAX;
19929 typedef int_fast16_t my_int_fast16_t;
19930 my_int_fast16_t if16 = INT_FAST16_MIN;
19931 if16 = INT_FAST16_MAX;
19932 typedef int_fast32_t my_int_fast32_t;
19933 my_int_fast32_t if32 = INT_FAST32_MIN;
19934 if32 = INT_FAST32_MAX;
19935 typedef int_fast64_t my_int_fast64_t;
19936 my_int_fast64_t if64 = INT_FAST64_MIN;
19937 if64 = INT_FAST64_MAX;
19938 typedef int_least8_t my_int_least8_t;
19939 my_int_least8_t il8 = INT_LEAST8_MIN;
19940 il8 = INT_LEAST8_MAX;
19941 typedef int_least16_t my_int_least16_t;
19942 my_int_least16_t il16 = INT_LEAST16_MIN;
19943 il16 = INT_LEAST16_MAX;
19944 typedef int_least32_t my_int_least32_t;
19945 my_int_least32_t il32 = INT_LEAST32_MIN;
19946 il32 = INT_LEAST32_MAX;
19947 typedef int_least64_t my_int_least64_t;
19948 my_int_least64_t il64 = INT_LEAST64_MIN;
19949 il64 = INT_LEAST64_MAX;
19950 typedef intmax_t my_intmax_t;
19951 my_intmax_t im = INTMAX_MAX;
19952 im = INTMAX_MIN;
19953 typedef intptr_t my_intptr_t;
19954 my_intptr_t ip = INTPTR_MAX;
19955 ip = INTPTR_MIN;
19956 typedef uint8_t my_uint8_t;
19957 my_uint8_t ui8 = UINT8_MAX;
19958 ui8 = UINT8_MAX;
19959 typedef uint16_t my_uint16_t;
19960 my_uint16_t ui16 = UINT16_MAX;
19961 ui16 = UINT16_MAX;
19962 typedef uint32_t my_uint32_t;
19963 my_uint32_t ui32 = UINT32_MAX;
19964 ui32 = UINT32_MAX;
19965 typedef uint64_t my_uint64_t;
19966 my_uint64_t ui64 = UINT64_MAX;
19967 ui64 = UINT64_MAX;
19968 typedef uint_fast8_t my_uint_fast8_t;
19969 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19970 uif8 = UINT_FAST8_MAX;
19971 typedef uint_fast16_t my_uint_fast16_t;
19972 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19973 uif16 = UINT_FAST16_MAX;
19974 typedef uint_fast32_t my_uint_fast32_t;
19975 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19976 uif32 = UINT_FAST32_MAX;
19977 typedef uint_fast64_t my_uint_fast64_t;
19978 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19979 uif64 = UINT_FAST64_MAX;
19980 typedef uint_least8_t my_uint_least8_t;
19981 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19982 uil8 = UINT_LEAST8_MAX;
19983 typedef uint_least16_t my_uint_least16_t;
19984 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19985 uil16 = UINT_LEAST16_MAX;
19986 typedef uint_least32_t my_uint_least32_t;
19987 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19988 uil32 = UINT_LEAST32_MAX;
19989 typedef uint_least64_t my_uint_least64_t;
19990 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19991 uil64 = UINT_LEAST64_MAX;
19992 typedef uintmax_t my_uintmax_t;
19993 my_uintmax_t uim = UINTMAX_MAX;
19994 uim = UINTMAX_MAX;
19995 typedef uintptr_t my_uintptr_t;
19996 my_uintptr_t uip = UINTPTR_MAX;
19997 uip = UINTPTR_MAX;
19998
19999 ;
20000 return 0;
20001 }
20002 _ACEOF
20003 if ac_fn_cxx_try_compile "$LINENO"; then :
20004 glibcxx_cv_c99_stdint_tr1=yes
20005 else
20006 glibcxx_cv_c99_stdint_tr1=no
20007 fi
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20009
20010 fi
20011
20012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20013 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20014 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20015
20016 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20017
20018 fi
20019
20020 # Check for the existence of <math.h> functions.
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20022 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20023 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20024 $as_echo_n "(cached) " >&6
20025 else
20026
20027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20028 /* end confdefs.h. */
20029 #include <math.h>
20030 int
20031 main ()
20032 {
20033 typedef double_t my_double_t;
20034 typedef float_t my_float_t;
20035 acosh(0.0);
20036 acoshf(0.0f);
20037 acoshl(0.0l);
20038 asinh(0.0);
20039 asinhf(0.0f);
20040 asinhl(0.0l);
20041 atanh(0.0);
20042 atanhf(0.0f);
20043 atanhl(0.0l);
20044 cbrt(0.0);
20045 cbrtf(0.0f);
20046 cbrtl(0.0l);
20047 copysign(0.0, 0.0);
20048 copysignf(0.0f, 0.0f);
20049 copysignl(0.0l, 0.0l);
20050 erf(0.0);
20051 erff(0.0f);
20052 erfl(0.0l);
20053 erfc(0.0);
20054 erfcf(0.0f);
20055 erfcl(0.0l);
20056 exp2(0.0);
20057 exp2f(0.0f);
20058 exp2l(0.0l);
20059 expm1(0.0);
20060 expm1f(0.0f);
20061 expm1l(0.0l);
20062 fdim(0.0, 0.0);
20063 fdimf(0.0f, 0.0f);
20064 fdiml(0.0l, 0.0l);
20065 fma(0.0, 0.0, 0.0);
20066 fmaf(0.0f, 0.0f, 0.0f);
20067 fmal(0.0l, 0.0l, 0.0l);
20068 fmax(0.0, 0.0);
20069 fmaxf(0.0f, 0.0f);
20070 fmaxl(0.0l, 0.0l);
20071 fmin(0.0, 0.0);
20072 fminf(0.0f, 0.0f);
20073 fminl(0.0l, 0.0l);
20074 hypot(0.0, 0.0);
20075 hypotf(0.0f, 0.0f);
20076 hypotl(0.0l, 0.0l);
20077 ilogb(0.0);
20078 ilogbf(0.0f);
20079 ilogbl(0.0l);
20080 lgamma(0.0);
20081 lgammaf(0.0f);
20082 lgammal(0.0l);
20083 #ifndef __APPLE__ /* see below */
20084 llrint(0.0);
20085 llrintf(0.0f);
20086 llrintl(0.0l);
20087 llround(0.0);
20088 llroundf(0.0f);
20089 llroundl(0.0l);
20090 #endif
20091 log1p(0.0);
20092 log1pf(0.0f);
20093 log1pl(0.0l);
20094 log2(0.0);
20095 log2f(0.0f);
20096 log2l(0.0l);
20097 logb(0.0);
20098 logbf(0.0f);
20099 logbl(0.0l);
20100 lrint(0.0);
20101 lrintf(0.0f);
20102 lrintl(0.0l);
20103 lround(0.0);
20104 lroundf(0.0f);
20105 lroundl(0.0l);
20106 nan(0);
20107 nanf(0);
20108 nanl(0);
20109 nearbyint(0.0);
20110 nearbyintf(0.0f);
20111 nearbyintl(0.0l);
20112 nextafter(0.0, 0.0);
20113 nextafterf(0.0f, 0.0f);
20114 nextafterl(0.0l, 0.0l);
20115 nexttoward(0.0, 0.0);
20116 nexttowardf(0.0f, 0.0f);
20117 nexttowardl(0.0l, 0.0l);
20118 remainder(0.0, 0.0);
20119 remainderf(0.0f, 0.0f);
20120 remainderl(0.0l, 0.0l);
20121 remquo(0.0, 0.0, 0);
20122 remquof(0.0f, 0.0f, 0);
20123 remquol(0.0l, 0.0l, 0);
20124 rint(0.0);
20125 rintf(0.0f);
20126 rintl(0.0l);
20127 round(0.0);
20128 roundf(0.0f);
20129 roundl(0.0l);
20130 scalbln(0.0, 0l);
20131 scalblnf(0.0f, 0l);
20132 scalblnl(0.0l, 0l);
20133 scalbn(0.0, 0);
20134 scalbnf(0.0f, 0);
20135 scalbnl(0.0l, 0);
20136 tgamma(0.0);
20137 tgammaf(0.0f);
20138 tgammal(0.0l);
20139 trunc(0.0);
20140 truncf(0.0f);
20141 truncl(0.0l);
20142
20143 ;
20144 return 0;
20145 }
20146 _ACEOF
20147 if ac_fn_cxx_try_compile "$LINENO"; then :
20148 glibcxx_cv_c99_math_tr1=yes
20149 else
20150 glibcxx_cv_c99_math_tr1=no
20151 fi
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20153
20154 fi
20155
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20157 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20158 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20159
20160 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20161
20162
20163 case "${target_os}" in
20164 darwin*)
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20166 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20167 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20168 $as_echo_n "(cached) " >&6
20169 else
20170
20171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20172 /* end confdefs.h. */
20173 #include <math.h>
20174 int
20175 main ()
20176 {
20177 llrint(0.0);
20178 llrintf(0.0f);
20179 llrintl(0.0l);
20180 llround(0.0);
20181 llroundf(0.0f);
20182 llroundl(0.0l);
20183
20184 ;
20185 return 0;
20186 }
20187 _ACEOF
20188 if ac_fn_cxx_try_compile "$LINENO"; then :
20189 glibcxx_cv_c99_math_llround=yes
20190 else
20191 glibcxx_cv_c99_math_llround=no
20192 fi
20193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20194
20195 fi
20196
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20198 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20199 ;;
20200 esac
20201 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20202
20203 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20204
20205 fi
20206 fi
20207
20208 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20209 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20210 ac_c99_inttypes_tr1=no;
20211 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20213 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20215 /* end confdefs.h. */
20216 #include <inttypes.h>
20217 int
20218 main ()
20219 {
20220 intmax_t i, numer, denom, base;
20221 const char* s;
20222 char** endptr;
20223 intmax_t ret = imaxabs(i);
20224 imaxdiv_t dret = imaxdiv(numer, denom);
20225 ret = strtoimax(s, endptr, base);
20226 uintmax_t uret = strtoumax(s, endptr, base);
20227
20228 ;
20229 return 0;
20230 }
20231 _ACEOF
20232 if ac_fn_cxx_try_compile "$LINENO"; then :
20233 ac_c99_inttypes_tr1=yes
20234 else
20235 ac_c99_inttypes_tr1=no
20236 fi
20237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20238 fi
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20240 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20241 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20242
20243 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20244
20245 fi
20246
20247 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20248 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20249 ac_c99_inttypes_wchar_t_tr1=no;
20250 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20252 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h. */
20255 #include <inttypes.h>
20256 int
20257 main ()
20258 {
20259 intmax_t base;
20260 const wchar_t* s;
20261 wchar_t** endptr;
20262 intmax_t ret = wcstoimax(s, endptr, base);
20263 uintmax_t uret = wcstoumax(s, endptr, base);
20264
20265 ;
20266 return 0;
20267 }
20268 _ACEOF
20269 if ac_fn_cxx_try_compile "$LINENO"; then :
20270 ac_c99_inttypes_wchar_t_tr1=yes
20271 else
20272 ac_c99_inttypes_wchar_t_tr1=no
20273 fi
20274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20275 fi
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20277 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20278 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20279
20280 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20281
20282 fi
20283
20284 # Check for the existence of the <stdbool.h> header.
20285 for ac_header in stdbool.h
20286 do :
20287 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20288 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20289 cat >>confdefs.h <<_ACEOF
20290 #define HAVE_STDBOOL_H 1
20291 _ACEOF
20292
20293 fi
20294
20295 done
20296
20297
20298 # Check for the existence of the <stdalign.h> header.
20299 for ac_header in stdalign.h
20300 do :
20301 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20302 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20303 cat >>confdefs.h <<_ACEOF
20304 #define HAVE_STDALIGN_H 1
20305 _ACEOF
20306
20307 fi
20308
20309 done
20310
20311
20312 CXXFLAGS="$ac_save_CXXFLAGS"
20313 ac_ext=c
20314 ac_cpp='$CPP $CPPFLAGS'
20315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20318
20319
20320
20321 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20322
20323
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20325 $as_echo_n "checking for the value of EOF... " >&6; }
20326 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20327 $as_echo_n "(cached) " >&6
20328 else
20329
20330 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20331
20332 else
20333 as_fn_error "computing EOF failed" "$LINENO" 5
20334 fi
20335
20336
20337 fi
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20339 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20340
20341 cat >>confdefs.h <<_ACEOF
20342 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20343 _ACEOF
20344
20345
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20347 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20348 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20349 $as_echo_n "(cached) " >&6
20350 else
20351
20352 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20353
20354 else
20355 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20356 fi
20357
20358
20359 fi
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20361 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20362
20363 cat >>confdefs.h <<_ACEOF
20364 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20365 _ACEOF
20366
20367
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20369 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20370 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20371 $as_echo_n "(cached) " >&6
20372 else
20373
20374 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20375
20376 else
20377 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20378 fi
20379
20380
20381 fi
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20383 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20384
20385 cat >>confdefs.h <<_ACEOF
20386 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20387 _ACEOF
20388
20389
20390
20391 # For gettimeofday support.
20392
20393
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20395 $as_echo_n "checking for gettimeofday... " >&6; }
20396
20397
20398 ac_ext=cpp
20399 ac_cpp='$CXXCPP $CPPFLAGS'
20400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20403
20404 ac_save_CXXFLAGS="$CXXFLAGS"
20405 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20406
20407 ac_has_gettimeofday=no;
20408 for ac_header in sys/time.h
20409 do :
20410 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20411 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20412 cat >>confdefs.h <<_ACEOF
20413 #define HAVE_SYS_TIME_H 1
20414 _ACEOF
20415 ac_has_sys_time_h=yes
20416 else
20417 ac_has_sys_time_h=no
20418 fi
20419
20420 done
20421
20422 if test x"$ac_has_sys_time_h" = x"yes"; then
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20424 $as_echo_n "checking for gettimeofday... " >&6; }
20425 if test x$gcc_no_link = xyes; then
20426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20427 /* end confdefs.h. */
20428 #include <sys/time.h>
20429 int
20430 main ()
20431 {
20432 timeval tv; gettimeofday(&tv, 0);
20433 ;
20434 return 0;
20435 }
20436 _ACEOF
20437 if ac_fn_cxx_try_compile "$LINENO"; then :
20438 ac_has_gettimeofday=yes
20439 else
20440 ac_has_gettimeofday=no
20441 fi
20442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20443 else
20444 if test x$gcc_no_link = xyes; then
20445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20446 fi
20447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20448 /* end confdefs.h. */
20449 #include <sys/time.h>
20450 int
20451 main ()
20452 {
20453 timeval tv; gettimeofday(&tv, 0);
20454 ;
20455 return 0;
20456 }
20457 _ACEOF
20458 if ac_fn_cxx_try_link "$LINENO"; then :
20459 ac_has_gettimeofday=yes
20460 else
20461 ac_has_gettimeofday=no
20462 fi
20463 rm -f core conftest.err conftest.$ac_objext \
20464 conftest$ac_exeext conftest.$ac_ext
20465 fi
20466
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20468 $as_echo "$ac_has_gettimeofday" >&6; }
20469 fi
20470
20471 if test x"$ac_has_gettimeofday" = x"yes"; then
20472
20473 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20474
20475 fi
20476
20477 CXXFLAGS="$ac_save_CXXFLAGS"
20478 ac_ext=c
20479 ac_cpp='$CPP $CPPFLAGS'
20480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20483
20484
20485
20486 # For clock_gettime, nanosleep and sched_yield support.
20487
20488
20489 # Check whether --enable-libstdcxx-time was given.
20490 if test "${enable_libstdcxx_time+set}" = set; then :
20491 enableval=$enable_libstdcxx_time;
20492 case "$enableval" in
20493 yes|no|rt) ;;
20494 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20495 esac
20496
20497 else
20498 enable_libstdcxx_time=auto
20499 fi
20500
20501
20502
20503
20504 ac_ext=cpp
20505 ac_cpp='$CXXCPP $CPPFLAGS'
20506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20509
20510 ac_save_CXXFLAGS="$CXXFLAGS"
20511 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20512 ac_save_LIBS="$LIBS"
20513
20514 ac_has_clock_monotonic=no
20515 ac_has_clock_realtime=no
20516 ac_has_nanosleep=no
20517 ac_has_sched_yield=no
20518
20519 if test x"$enable_libstdcxx_time" = x"auto"; then
20520
20521 case "${target_os}" in
20522 cygwin*)
20523 ac_has_nanosleep=yes
20524 ;;
20525 darwin*)
20526 ac_has_nanosleep=yes
20527 ac_has_sched_yield=yes
20528 ;;
20529 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20531 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20533 /* end confdefs.h. */
20534 #include <features.h>
20535 int
20536 main ()
20537 {
20538
20539 #if ! __GLIBC_PREREQ(2, 17)
20540 #error
20541 #endif
20542
20543 ;
20544 return 0;
20545 }
20546 _ACEOF
20547 if ac_fn_cxx_try_compile "$LINENO"; then :
20548 glibcxx_glibc217=yes
20549 else
20550 glibcxx_glibc217=no
20551 fi
20552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20554 $as_echo "$glibcxx_glibc217" >&6; }
20555
20556 if test x"$glibcxx_glibc217" = x"yes"; then
20557 ac_has_clock_monotonic=yes
20558 ac_has_clock_realtime=yes
20559 fi
20560 ac_has_nanosleep=yes
20561 ac_has_sched_yield=yes
20562 ;;
20563 freebsd*|netbsd*|dragonfly*|rtems*)
20564 ac_has_clock_monotonic=yes
20565 ac_has_clock_realtime=yes
20566 ac_has_nanosleep=yes
20567 ac_has_sched_yield=yes
20568 ;;
20569 openbsd*)
20570 ac_has_clock_monotonic=yes
20571 ac_has_clock_realtime=yes
20572 ac_has_nanosleep=yes
20573 ;;
20574 solaris*)
20575 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20576 ac_has_clock_monotonic=yes
20577 ac_has_clock_realtime=yes
20578 ac_has_nanosleep=yes
20579 ac_has_sched_yield=yes
20580 ;;
20581 esac
20582
20583 elif test x"$enable_libstdcxx_time" != x"no"; then
20584
20585 if test x"$enable_libstdcxx_time" = x"rt"; then
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20587 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20588 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20589 $as_echo_n "(cached) " >&6
20590 else
20591 ac_func_search_save_LIBS=$LIBS
20592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20593 /* end confdefs.h. */
20594
20595 /* Override any GCC internal prototype to avoid an error.
20596 Use char because int might match the return type of a GCC
20597 builtin and then its argument prototype would still apply. */
20598 #ifdef __cplusplus
20599 extern "C"
20600 #endif
20601 char clock_gettime ();
20602 int
20603 main ()
20604 {
20605 return clock_gettime ();
20606 ;
20607 return 0;
20608 }
20609 _ACEOF
20610 for ac_lib in '' rt posix4; do
20611 if test -z "$ac_lib"; then
20612 ac_res="none required"
20613 else
20614 ac_res=-l$ac_lib
20615 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20616 fi
20617 if test x$gcc_no_link = xyes; then
20618 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20619 fi
20620 if ac_fn_cxx_try_link "$LINENO"; then :
20621 ac_cv_search_clock_gettime=$ac_res
20622 fi
20623 rm -f core conftest.err conftest.$ac_objext \
20624 conftest$ac_exeext
20625 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20626 break
20627 fi
20628 done
20629 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20630
20631 else
20632 ac_cv_search_clock_gettime=no
20633 fi
20634 rm conftest.$ac_ext
20635 LIBS=$ac_func_search_save_LIBS
20636 fi
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20638 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20639 ac_res=$ac_cv_search_clock_gettime
20640 if test "$ac_res" != no; then :
20641 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20642
20643 fi
20644
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20646 $as_echo_n "checking for library containing nanosleep... " >&6; }
20647 if test "${ac_cv_search_nanosleep+set}" = set; then :
20648 $as_echo_n "(cached) " >&6
20649 else
20650 ac_func_search_save_LIBS=$LIBS
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20653
20654 /* Override any GCC internal prototype to avoid an error.
20655 Use char because int might match the return type of a GCC
20656 builtin and then its argument prototype would still apply. */
20657 #ifdef __cplusplus
20658 extern "C"
20659 #endif
20660 char nanosleep ();
20661 int
20662 main ()
20663 {
20664 return nanosleep ();
20665 ;
20666 return 0;
20667 }
20668 _ACEOF
20669 for ac_lib in '' rt posix4; do
20670 if test -z "$ac_lib"; then
20671 ac_res="none required"
20672 else
20673 ac_res=-l$ac_lib
20674 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20675 fi
20676 if test x$gcc_no_link = xyes; then
20677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20678 fi
20679 if ac_fn_cxx_try_link "$LINENO"; then :
20680 ac_cv_search_nanosleep=$ac_res
20681 fi
20682 rm -f core conftest.err conftest.$ac_objext \
20683 conftest$ac_exeext
20684 if test "${ac_cv_search_nanosleep+set}" = set; then :
20685 break
20686 fi
20687 done
20688 if test "${ac_cv_search_nanosleep+set}" = set; then :
20689
20690 else
20691 ac_cv_search_nanosleep=no
20692 fi
20693 rm conftest.$ac_ext
20694 LIBS=$ac_func_search_save_LIBS
20695 fi
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20697 $as_echo "$ac_cv_search_nanosleep" >&6; }
20698 ac_res=$ac_cv_search_nanosleep
20699 if test "$ac_res" != no; then :
20700 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20701
20702 fi
20703
20704 else
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20706 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20707 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20710 ac_func_search_save_LIBS=$LIBS
20711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h. */
20713
20714 /* Override any GCC internal prototype to avoid an error.
20715 Use char because int might match the return type of a GCC
20716 builtin and then its argument prototype would still apply. */
20717 #ifdef __cplusplus
20718 extern "C"
20719 #endif
20720 char clock_gettime ();
20721 int
20722 main ()
20723 {
20724 return clock_gettime ();
20725 ;
20726 return 0;
20727 }
20728 _ACEOF
20729 for ac_lib in '' posix4; do
20730 if test -z "$ac_lib"; then
20731 ac_res="none required"
20732 else
20733 ac_res=-l$ac_lib
20734 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20735 fi
20736 if test x$gcc_no_link = xyes; then
20737 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20738 fi
20739 if ac_fn_cxx_try_link "$LINENO"; then :
20740 ac_cv_search_clock_gettime=$ac_res
20741 fi
20742 rm -f core conftest.err conftest.$ac_objext \
20743 conftest$ac_exeext
20744 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20745 break
20746 fi
20747 done
20748 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20749
20750 else
20751 ac_cv_search_clock_gettime=no
20752 fi
20753 rm conftest.$ac_ext
20754 LIBS=$ac_func_search_save_LIBS
20755 fi
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20757 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20758 ac_res=$ac_cv_search_clock_gettime
20759 if test "$ac_res" != no; then :
20760 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20761
20762 fi
20763
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20765 $as_echo_n "checking for library containing nanosleep... " >&6; }
20766 if test "${ac_cv_search_nanosleep+set}" = set; then :
20767 $as_echo_n "(cached) " >&6
20768 else
20769 ac_func_search_save_LIBS=$LIBS
20770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20771 /* end confdefs.h. */
20772
20773 /* Override any GCC internal prototype to avoid an error.
20774 Use char because int might match the return type of a GCC
20775 builtin and then its argument prototype would still apply. */
20776 #ifdef __cplusplus
20777 extern "C"
20778 #endif
20779 char nanosleep ();
20780 int
20781 main ()
20782 {
20783 return nanosleep ();
20784 ;
20785 return 0;
20786 }
20787 _ACEOF
20788 for ac_lib in '' posix4; do
20789 if test -z "$ac_lib"; then
20790 ac_res="none required"
20791 else
20792 ac_res=-l$ac_lib
20793 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20794 fi
20795 if test x$gcc_no_link = xyes; then
20796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20797 fi
20798 if ac_fn_cxx_try_link "$LINENO"; then :
20799 ac_cv_search_nanosleep=$ac_res
20800 fi
20801 rm -f core conftest.err conftest.$ac_objext \
20802 conftest$ac_exeext
20803 if test "${ac_cv_search_nanosleep+set}" = set; then :
20804 break
20805 fi
20806 done
20807 if test "${ac_cv_search_nanosleep+set}" = set; then :
20808
20809 else
20810 ac_cv_search_nanosleep=no
20811 fi
20812 rm conftest.$ac_ext
20813 LIBS=$ac_func_search_save_LIBS
20814 fi
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20816 $as_echo "$ac_cv_search_nanosleep" >&6; }
20817 ac_res=$ac_cv_search_nanosleep
20818 if test "$ac_res" != no; then :
20819 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20820
20821 fi
20822
20823 fi
20824
20825 case "$ac_cv_search_clock_gettime" in
20826 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20827 ;;
20828 esac
20829 case "$ac_cv_search_nanosleep" in
20830 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20831 ;;
20832 esac
20833
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20835 $as_echo_n "checking for library containing sched_yield... " >&6; }
20836 if test "${ac_cv_search_sched_yield+set}" = set; then :
20837 $as_echo_n "(cached) " >&6
20838 else
20839 ac_func_search_save_LIBS=$LIBS
20840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20841 /* end confdefs.h. */
20842
20843 /* Override any GCC internal prototype to avoid an error.
20844 Use char because int might match the return type of a GCC
20845 builtin and then its argument prototype would still apply. */
20846 #ifdef __cplusplus
20847 extern "C"
20848 #endif
20849 char sched_yield ();
20850 int
20851 main ()
20852 {
20853 return sched_yield ();
20854 ;
20855 return 0;
20856 }
20857 _ACEOF
20858 for ac_lib in '' rt posix4; do
20859 if test -z "$ac_lib"; then
20860 ac_res="none required"
20861 else
20862 ac_res=-l$ac_lib
20863 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20864 fi
20865 if test x$gcc_no_link = xyes; then
20866 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20867 fi
20868 if ac_fn_cxx_try_link "$LINENO"; then :
20869 ac_cv_search_sched_yield=$ac_res
20870 fi
20871 rm -f core conftest.err conftest.$ac_objext \
20872 conftest$ac_exeext
20873 if test "${ac_cv_search_sched_yield+set}" = set; then :
20874 break
20875 fi
20876 done
20877 if test "${ac_cv_search_sched_yield+set}" = set; then :
20878
20879 else
20880 ac_cv_search_sched_yield=no
20881 fi
20882 rm conftest.$ac_ext
20883 LIBS=$ac_func_search_save_LIBS
20884 fi
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20886 $as_echo "$ac_cv_search_sched_yield" >&6; }
20887 ac_res=$ac_cv_search_sched_yield
20888 if test "$ac_res" != no; then :
20889 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20890
20891 fi
20892
20893
20894 case "$ac_cv_search_sched_yield" in
20895 -lposix4*)
20896 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20897 ac_has_sched_yield=yes
20898 ;;
20899 -lrt*)
20900 if test x"$enable_libstdcxx_time" = x"rt"; then
20901 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20902 ac_has_sched_yield=yes
20903 fi
20904 ;;
20905 *)
20906 ac_has_sched_yield=yes
20907 ;;
20908 esac
20909
20910 for ac_header in unistd.h
20911 do :
20912 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20913 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20914 cat >>confdefs.h <<_ACEOF
20915 #define HAVE_UNISTD_H 1
20916 _ACEOF
20917 ac_has_unistd_h=yes
20918 else
20919 ac_has_unistd_h=no
20920 fi
20921
20922 done
20923
20924
20925 if test x"$ac_has_unistd_h" = x"yes"; then
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20927 $as_echo_n "checking for monotonic clock... " >&6; }
20928 if test x$gcc_no_link = xyes; then
20929 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20930 fi
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #include <unistd.h>
20934 #include <time.h>
20935
20936 int
20937 main ()
20938 {
20939 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20940 timespec tp;
20941 #endif
20942 clock_gettime(CLOCK_MONOTONIC, &tp);
20943
20944 ;
20945 return 0;
20946 }
20947 _ACEOF
20948 if ac_fn_cxx_try_link "$LINENO"; then :
20949 ac_has_clock_monotonic=yes
20950 else
20951 ac_has_clock_monotonic=no
20952 fi
20953 rm -f core conftest.err conftest.$ac_objext \
20954 conftest$ac_exeext conftest.$ac_ext
20955
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20957 $as_echo "$ac_has_clock_monotonic" >&6; }
20958
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20960 $as_echo_n "checking for realtime clock... " >&6; }
20961 if test x$gcc_no_link = xyes; then
20962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20963 fi
20964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20965 /* end confdefs.h. */
20966 #include <unistd.h>
20967 #include <time.h>
20968
20969 int
20970 main ()
20971 {
20972 #if _POSIX_TIMERS > 0
20973 timespec tp;
20974 #endif
20975 clock_gettime(CLOCK_REALTIME, &tp);
20976
20977 ;
20978 return 0;
20979 }
20980 _ACEOF
20981 if ac_fn_cxx_try_link "$LINENO"; then :
20982 ac_has_clock_realtime=yes
20983 else
20984 ac_has_clock_realtime=no
20985 fi
20986 rm -f core conftest.err conftest.$ac_objext \
20987 conftest$ac_exeext conftest.$ac_ext
20988
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20990 $as_echo "$ac_has_clock_realtime" >&6; }
20991
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20993 $as_echo_n "checking for nanosleep... " >&6; }
20994 if test x$gcc_no_link = xyes; then
20995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20996 fi
20997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
20999 #include <unistd.h>
21000 #include <time.h>
21001
21002 int
21003 main ()
21004 {
21005 #if _POSIX_TIMERS > 0
21006 timespec tp;
21007 #endif
21008 nanosleep(&tp, 0);
21009
21010 ;
21011 return 0;
21012 }
21013 _ACEOF
21014 if ac_fn_cxx_try_link "$LINENO"; then :
21015 ac_has_nanosleep=yes
21016 else
21017 ac_has_nanosleep=no
21018 fi
21019 rm -f core conftest.err conftest.$ac_objext \
21020 conftest$ac_exeext conftest.$ac_ext
21021
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21023 $as_echo "$ac_has_nanosleep" >&6; }
21024 fi
21025 fi
21026
21027 if test x"$ac_has_clock_monotonic" != x"yes"; then
21028 case ${target_os} in
21029 linux*)
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21031 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034 #include <unistd.h>
21035 #include <time.h>
21036 #include <sys/syscall.h>
21037
21038 int
21039 main ()
21040 {
21041 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21042 timespec tp;
21043 #endif
21044 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21045 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21046
21047 ;
21048 return 0;
21049 }
21050 _ACEOF
21051 if ac_fn_cxx_try_compile "$LINENO"; then :
21052 ac_has_clock_monotonic_syscall=yes
21053 else
21054 ac_has_clock_monotonic_syscall=no
21055 fi
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21058 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21059 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21060
21061 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21062
21063 ac_has_clock_monotonic=yes
21064 ac_has_clock_realtime=yes
21065 fi;;
21066 esac
21067 fi
21068
21069 if test x"$ac_has_clock_monotonic" = x"yes"; then
21070
21071 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21072
21073 fi
21074
21075 if test x"$ac_has_clock_realtime" = x"yes"; then
21076
21077 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21078
21079 fi
21080
21081 if test x"$ac_has_sched_yield" = x"yes"; then
21082
21083 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21084
21085 fi
21086
21087 if test x"$ac_has_nanosleep" = x"yes"; then
21088
21089 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21090
21091 else
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21093 $as_echo_n "checking for sleep... " >&6; }
21094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h. */
21096 #include <unistd.h>
21097 int
21098 main ()
21099 {
21100 sleep(1)
21101 ;
21102 return 0;
21103 }
21104 _ACEOF
21105 if ac_fn_cxx_try_compile "$LINENO"; then :
21106 ac_has_sleep=yes
21107 else
21108 ac_has_sleep=no
21109 fi
21110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21111 if test x"$ac_has_sleep" = x"yes"; then
21112
21113 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21114
21115 fi
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21117 $as_echo "$ac_has_sleep" >&6; }
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21119 $as_echo_n "checking for usleep... " >&6; }
21120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h. */
21122 #include <unistd.h>
21123 int
21124 main ()
21125 {
21126 sleep(1);
21127 usleep(100);
21128 ;
21129 return 0;
21130 }
21131 _ACEOF
21132 if ac_fn_cxx_try_compile "$LINENO"; then :
21133 ac_has_usleep=yes
21134 else
21135 ac_has_usleep=no
21136 fi
21137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21138 if test x"$ac_has_usleep" = x"yes"; then
21139
21140 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21141
21142 fi
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21144 $as_echo "$ac_has_usleep" >&6; }
21145 fi
21146
21147 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21149 $as_echo_n "checking for Sleep... " >&6; }
21150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21151 /* end confdefs.h. */
21152 #include <windows.h>
21153 int
21154 main ()
21155 {
21156 Sleep(1)
21157 ;
21158 return 0;
21159 }
21160 _ACEOF
21161 if ac_fn_cxx_try_compile "$LINENO"; then :
21162 ac_has_win32_sleep=yes
21163 else
21164 ac_has_win32_sleep=no
21165 fi
21166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21167 if test x"$ac_has_win32_sleep" = x"yes"; then
21168
21169 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21170
21171 fi
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21173 $as_echo "$ac_has_win32_sleep" >&6; }
21174 fi
21175
21176
21177
21178 CXXFLAGS="$ac_save_CXXFLAGS"
21179 LIBS="$ac_save_LIBS"
21180 ac_ext=c
21181 ac_cpp='$CPP $CPPFLAGS'
21182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21185
21186
21187
21188 # Check for tmpnam which is obsolescent in POSIX.1-2008
21189
21190 ac_ext=cpp
21191 ac_cpp='$CXXCPP $CPPFLAGS'
21192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21195
21196 ac_save_CXXFLAGS="$CXXFLAGS"
21197 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21199 $as_echo_n "checking for tmpnam... " >&6; }
21200 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21201 $as_echo_n "(cached) " >&6
21202 else
21203 if test x$gcc_no_link = xyes; then
21204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21205 /* end confdefs.h. */
21206 #include <stdio.h>
21207 int
21208 main ()
21209 {
21210 char *tmp = tmpnam(NULL);
21211 ;
21212 return 0;
21213 }
21214 _ACEOF
21215 if ac_fn_cxx_try_compile "$LINENO"; then :
21216 glibcxx_cv_TMPNAM=yes
21217 else
21218 glibcxx_cv_TMPNAM=no
21219 fi
21220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21221 else
21222 if test x$gcc_no_link = xyes; then
21223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21224 fi
21225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21227 #include <stdio.h>
21228 int
21229 main ()
21230 {
21231 char *tmp = tmpnam(NULL);
21232 ;
21233 return 0;
21234 }
21235 _ACEOF
21236 if ac_fn_cxx_try_link "$LINENO"; then :
21237 glibcxx_cv_TMPNAM=yes
21238 else
21239 glibcxx_cv_TMPNAM=no
21240 fi
21241 rm -f core conftest.err conftest.$ac_objext \
21242 conftest$ac_exeext conftest.$ac_ext
21243 fi
21244
21245 fi
21246
21247 if test $glibcxx_cv_TMPNAM = yes; then
21248
21249 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21250
21251 fi
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21253 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21254 CXXFLAGS="$ac_save_CXXFLAGS"
21255 ac_ext=c
21256 ac_cpp='$CPP $CPPFLAGS'
21257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21260
21261
21262
21263
21264 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21265 if test "x$ac_cv_header_locale_h" = x""yes; then :
21266
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21268 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21269 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21270 $as_echo_n "(cached) " >&6
21271 else
21272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21273 /* end confdefs.h. */
21274 #include <locale.h>
21275 int
21276 main ()
21277 {
21278 return LC_MESSAGES
21279 ;
21280 return 0;
21281 }
21282 _ACEOF
21283 if ac_fn_c_try_compile "$LINENO"; then :
21284 ac_cv_val_LC_MESSAGES=yes
21285 else
21286 ac_cv_val_LC_MESSAGES=no
21287 fi
21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21289 fi
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21291 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21292 if test $ac_cv_val_LC_MESSAGES = yes; then
21293
21294 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21295
21296 fi
21297
21298 fi
21299
21300
21301
21302
21303 # For hardware_concurrency
21304 for ac_header in sys/sysinfo.h
21305 do :
21306 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21307 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21308 cat >>confdefs.h <<_ACEOF
21309 #define HAVE_SYS_SYSINFO_H 1
21310 _ACEOF
21311
21312 fi
21313
21314 done
21315
21316
21317
21318
21319 ac_ext=cpp
21320 ac_cpp='$CXXCPP $CPPFLAGS'
21321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21324
21325 ac_save_CXXFLAGS="$CXXFLAGS"
21326 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21327
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21329 $as_echo_n "checking for get_nprocs... " >&6; }
21330 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21331 $as_echo_n "(cached) " >&6
21332 else
21333
21334 if test x$gcc_no_link = xyes; then
21335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21336 /* end confdefs.h. */
21337 #include <sys/sysinfo.h>
21338 int
21339 main ()
21340 {
21341 int n = get_nprocs();
21342 ;
21343 return 0;
21344 }
21345 _ACEOF
21346 if ac_fn_cxx_try_compile "$LINENO"; then :
21347 glibcxx_cv_GET_NPROCS=yes
21348 else
21349 glibcxx_cv_GET_NPROCS=no
21350 fi
21351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21352 else
21353 if test x$gcc_no_link = xyes; then
21354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21355 fi
21356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21357 /* end confdefs.h. */
21358 #include <sys/sysinfo.h>
21359 int
21360 main ()
21361 {
21362 int n = get_nprocs();
21363 ;
21364 return 0;
21365 }
21366 _ACEOF
21367 if ac_fn_cxx_try_link "$LINENO"; then :
21368 glibcxx_cv_GET_NPROCS=yes
21369 else
21370 glibcxx_cv_GET_NPROCS=no
21371 fi
21372 rm -f core conftest.err conftest.$ac_objext \
21373 conftest$ac_exeext conftest.$ac_ext
21374 fi
21375
21376 fi
21377
21378 if test $glibcxx_cv_GET_NPROCS = yes; then
21379
21380 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21381
21382 fi
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21384 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21385
21386 CXXFLAGS="$ac_save_CXXFLAGS"
21387 ac_ext=c
21388 ac_cpp='$CPP $CPPFLAGS'
21389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21392
21393
21394 for ac_header in unistd.h
21395 do :
21396 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21397 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21398 cat >>confdefs.h <<_ACEOF
21399 #define HAVE_UNISTD_H 1
21400 _ACEOF
21401
21402 fi
21403
21404 done
21405
21406
21407
21408
21409 ac_ext=cpp
21410 ac_cpp='$CXXCPP $CPPFLAGS'
21411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21414
21415 ac_save_CXXFLAGS="$CXXFLAGS"
21416 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21417
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21419 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21420 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21421 $as_echo_n "(cached) " >&6
21422 else
21423
21424 if test x$gcc_no_link = xyes; then
21425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426 /* end confdefs.h. */
21427 #include <unistd.h>
21428 int
21429 main ()
21430 {
21431 int n = sysconf(_SC_NPROCESSORS_ONLN);
21432 ;
21433 return 0;
21434 }
21435 _ACEOF
21436 if ac_fn_cxx_try_compile "$LINENO"; then :
21437 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21438 else
21439 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21440 fi
21441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21442 else
21443 if test x$gcc_no_link = xyes; then
21444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21445 fi
21446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21447 /* end confdefs.h. */
21448 #include <unistd.h>
21449 int
21450 main ()
21451 {
21452 int n = sysconf(_SC_NPROCESSORS_ONLN);
21453 ;
21454 return 0;
21455 }
21456 _ACEOF
21457 if ac_fn_cxx_try_link "$LINENO"; then :
21458 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21459 else
21460 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21461 fi
21462 rm -f core conftest.err conftest.$ac_objext \
21463 conftest$ac_exeext conftest.$ac_ext
21464 fi
21465
21466 fi
21467
21468 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21469
21470 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21471
21472 fi
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21474 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21475
21476 CXXFLAGS="$ac_save_CXXFLAGS"
21477 ac_ext=c
21478 ac_cpp='$CPP $CPPFLAGS'
21479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21482
21483
21484
21485
21486
21487 ac_ext=cpp
21488 ac_cpp='$CXXCPP $CPPFLAGS'
21489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21492
21493 ac_save_CXXFLAGS="$CXXFLAGS"
21494 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21495
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21497 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21498 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21499 $as_echo_n "(cached) " >&6
21500 else
21501
21502 if test x$gcc_no_link = xyes; then
21503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21504 /* end confdefs.h. */
21505 #include <unistd.h>
21506 int
21507 main ()
21508 {
21509 int n = sysconf(_SC_NPROC_ONLN);
21510 ;
21511 return 0;
21512 }
21513 _ACEOF
21514 if ac_fn_cxx_try_compile "$LINENO"; then :
21515 glibcxx_cv_SC_NPROC_ONLN=yes
21516 else
21517 glibcxx_cv_SC_NPROC_ONLN=no
21518 fi
21519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21520 else
21521 if test x$gcc_no_link = xyes; then
21522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21523 fi
21524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21525 /* end confdefs.h. */
21526 #include <unistd.h>
21527 int
21528 main ()
21529 {
21530 int n = sysconf(_SC_NPROC_ONLN);
21531 ;
21532 return 0;
21533 }
21534 _ACEOF
21535 if ac_fn_cxx_try_link "$LINENO"; then :
21536 glibcxx_cv_SC_NPROC_ONLN=yes
21537 else
21538 glibcxx_cv_SC_NPROC_ONLN=no
21539 fi
21540 rm -f core conftest.err conftest.$ac_objext \
21541 conftest$ac_exeext conftest.$ac_ext
21542 fi
21543
21544 fi
21545
21546 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21547
21548 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21549
21550 fi
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21552 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21553
21554 CXXFLAGS="$ac_save_CXXFLAGS"
21555 ac_ext=c
21556 ac_cpp='$CPP $CPPFLAGS'
21557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21560
21561
21562
21563
21564
21565 ac_ext=cpp
21566 ac_cpp='$CXXCPP $CPPFLAGS'
21567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21570
21571 ac_save_CXXFLAGS="$CXXFLAGS"
21572 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21573
21574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21575 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21576 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21577 $as_echo_n "(cached) " >&6
21578 else
21579
21580 if test x$gcc_no_link = xyes; then
21581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21582 /* end confdefs.h. */
21583 #include <pthread.h>
21584 int
21585 main ()
21586 {
21587 int n = pthread_num_processors_np();
21588 ;
21589 return 0;
21590 }
21591 _ACEOF
21592 if ac_fn_cxx_try_compile "$LINENO"; then :
21593 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21594 else
21595 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21596 fi
21597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21598 else
21599 if test x$gcc_no_link = xyes; then
21600 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21601 fi
21602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21603 /* end confdefs.h. */
21604 #include <pthread.h>
21605 int
21606 main ()
21607 {
21608 int n = pthread_num_processors_np();
21609 ;
21610 return 0;
21611 }
21612 _ACEOF
21613 if ac_fn_cxx_try_link "$LINENO"; then :
21614 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21615 else
21616 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21617 fi
21618 rm -f core conftest.err conftest.$ac_objext \
21619 conftest$ac_exeext conftest.$ac_ext
21620 fi
21621
21622 fi
21623
21624 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21625
21626 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21627
21628 fi
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21630 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21631
21632 CXXFLAGS="$ac_save_CXXFLAGS"
21633 ac_ext=c
21634 ac_cpp='$CPP $CPPFLAGS'
21635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21638
21639
21640
21641
21642
21643 ac_ext=cpp
21644 ac_cpp='$CXXCPP $CPPFLAGS'
21645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21648
21649 ac_save_CXXFLAGS="$CXXFLAGS"
21650 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21651
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21653 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21654 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21655 $as_echo_n "(cached) " >&6
21656 else
21657
21658 if test x$gcc_no_link = xyes; then
21659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21660 /* end confdefs.h. */
21661
21662 #include <stddef.h>
21663 #include <sys/sysctl.h>
21664
21665 int
21666 main ()
21667 {
21668
21669 int count;
21670 size_t size = sizeof(count);
21671 int mib[] = { CTL_HW, HW_NCPU };
21672 sysctl(mib, 2, &count, &size, NULL, 0);
21673
21674 ;
21675 return 0;
21676 }
21677 _ACEOF
21678 if ac_fn_cxx_try_compile "$LINENO"; then :
21679 glibcxx_cv_SYSCTL_HW_NCPU=yes
21680 else
21681 glibcxx_cv_SYSCTL_HW_NCPU=no
21682 fi
21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21684 else
21685 if test x$gcc_no_link = xyes; then
21686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21687 fi
21688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h. */
21690
21691 #include <stddef.h>
21692 #include <sys/sysctl.h>
21693
21694 int
21695 main ()
21696 {
21697
21698 int count;
21699 size_t size = sizeof(count);
21700 int mib[] = { CTL_HW, HW_NCPU };
21701 sysctl(mib, 2, &count, &size, NULL, 0);
21702
21703 ;
21704 return 0;
21705 }
21706 _ACEOF
21707 if ac_fn_cxx_try_link "$LINENO"; then :
21708 glibcxx_cv_SYSCTL_HW_NCPU=yes
21709 else
21710 glibcxx_cv_SYSCTL_HW_NCPU=no
21711 fi
21712 rm -f core conftest.err conftest.$ac_objext \
21713 conftest$ac_exeext conftest.$ac_ext
21714 fi
21715
21716 fi
21717
21718 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21719
21720 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21721
21722 fi
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21724 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21725
21726 CXXFLAGS="$ac_save_CXXFLAGS"
21727 ac_ext=c
21728 ac_cpp='$CPP $CPPFLAGS'
21729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21732
21733
21734
21735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21736 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21737 # Note that this test has to be run with the C language.
21738 # Otherwise, sdt.h will try to include some headers from
21739 # libstdc++ itself.
21740
21741 ac_ext=c
21742 ac_cpp='$CPP $CPPFLAGS'
21743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21746
21747 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21748 $as_echo_n "(cached) " >&6
21749 else
21750
21751 # Because we have to run the test in C, we use grep rather
21752 # than the compiler to check for the bug. The bug is that
21753 # were strings without trailing whitespace, causing g++
21754 # to look for operator"". The pattern searches for the fixed
21755 # output.
21756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21758
21759 #include <sys/sdt.h>
21760 int f() { STAP_PROBE(hi, bob); }
21761
21762 _ACEOF
21763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21764 $EGREP " \",\" " >/dev/null 2>&1; then :
21765 glibcxx_cv_sys_sdt_h=yes
21766 else
21767 glibcxx_cv_sys_sdt_h=no
21768 fi
21769 rm -f conftest*
21770
21771
21772 fi
21773
21774 ac_ext=c
21775 ac_cpp='$CPP $CPPFLAGS'
21776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21779
21780 if test $glibcxx_cv_sys_sdt_h = yes; then
21781
21782 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21783
21784 fi
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21786 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21787
21788
21789 # Check for available headers.
21790 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21791 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21792 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21793 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21794 wchar.h wctype.h linux/types.h
21795 do :
21796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21797 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21798 eval as_val=\$$as_ac_Header
21799 if test "x$as_val" = x""yes; then :
21800 cat >>confdefs.h <<_ACEOF
21801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21802 _ACEOF
21803
21804 fi
21805
21806 done
21807
21808
21809 for ac_header in linux/random.h
21810 do :
21811 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21812 # include <linux/types.h>
21813 #endif
21814
21815 "
21816 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21817 cat >>confdefs.h <<_ACEOF
21818 #define HAVE_LINUX_RANDOM_H 1
21819 _ACEOF
21820
21821 fi
21822
21823 done
21824
21825
21826 # Only do link tests if native. Else, hardcode.
21827 if $GLIBCXX_IS_NATIVE; then
21828
21829 # We can do more elaborate tests that assume a working linker.
21830 CANADIAN=no
21831
21832
21833
21834 # Check whether --with-gnu-ld was given.
21835 if test "${with_gnu_ld+set}" = set; then :
21836 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21837 else
21838 with_gnu_ld=no
21839 fi
21840
21841 ac_prog=ld
21842 if test "$GCC" = yes; then
21843 # Check if gcc -print-prog-name=ld gives a path.
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21845 $as_echo_n "checking for ld used by $CC... " >&6; }
21846 case $host in
21847 *-*-mingw*)
21848 # gcc leaves a trailing carriage return which upsets mingw
21849 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21850 *)
21851 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21852 esac
21853 case $ac_prog in
21854 # Accept absolute paths.
21855 [\\/]* | ?:[\\/]*)
21856 re_direlt='/[^/][^/]*/\.\./'
21857 # Canonicalize the pathname of ld
21858 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21859 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21860 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21861 done
21862 test -z "$LD" && LD="$ac_prog"
21863 ;;
21864 "")
21865 # If it fails, then pretend we aren't using GCC.
21866 ac_prog=ld
21867 ;;
21868 *)
21869 # If it is relative, then search for the first ld in PATH.
21870 with_gnu_ld=unknown
21871 ;;
21872 esac
21873 elif test "$with_gnu_ld" = yes; then
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21875 $as_echo_n "checking for GNU ld... " >&6; }
21876 else
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21878 $as_echo_n "checking for non-GNU ld... " >&6; }
21879 fi
21880 if test "${lt_cv_path_LD+set}" = set; then :
21881 $as_echo_n "(cached) " >&6
21882 else
21883 if test -z "$LD"; then
21884 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21885 for ac_dir in $PATH; do
21886 IFS="$lt_save_ifs"
21887 test -z "$ac_dir" && ac_dir=.
21888 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21889 lt_cv_path_LD="$ac_dir/$ac_prog"
21890 # Check to see if the program is GNU ld. I'd rather use --version,
21891 # but apparently some variants of GNU ld only accept -v.
21892 # Break only if it was the GNU/non-GNU ld that we prefer.
21893 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21894 *GNU* | *'with BFD'*)
21895 test "$with_gnu_ld" != no && break
21896 ;;
21897 *)
21898 test "$with_gnu_ld" != yes && break
21899 ;;
21900 esac
21901 fi
21902 done
21903 IFS="$lt_save_ifs"
21904 else
21905 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21906 fi
21907 fi
21908
21909 LD="$lt_cv_path_LD"
21910 if test -n "$LD"; then
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21912 $as_echo "$LD" >&6; }
21913 else
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21915 $as_echo "no" >&6; }
21916 fi
21917 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21919 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21920 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21921 $as_echo_n "(cached) " >&6
21922 else
21923 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21924 case `$LD -v 2>&1 </dev/null` in
21925 *GNU* | *'with BFD'*)
21926 lt_cv_prog_gnu_ld=yes
21927 ;;
21928 *)
21929 lt_cv_prog_gnu_ld=no
21930 ;;
21931 esac
21932 fi
21933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21934 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21935 with_gnu_ld=$lt_cv_prog_gnu_ld
21936
21937
21938
21939
21940
21941
21942
21943 # If we're not using GNU ld, then there's no point in even trying these
21944 # tests. Check for that first. We should have already tested for gld
21945 # by now (in libtool), but require it now just to be safe...
21946 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21947 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21948
21949
21950
21951 # The name set by libtool depends on the version of libtool. Shame on us
21952 # for depending on an impl detail, but c'est la vie. Older versions used
21953 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21954 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21955 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21956 # set (hence we're using an older libtool), then set it.
21957 if test x${with_gnu_ld+set} != xset; then
21958 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21959 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21960 with_gnu_ld=no
21961 else
21962 with_gnu_ld=$ac_cv_prog_gnu_ld
21963 fi
21964 fi
21965
21966 # Start by getting the version number. I think the libtool test already
21967 # does some of this, but throws away the result.
21968 glibcxx_ld_is_gold=no
21969 if test x"$with_gnu_ld" = x"yes"; then
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21971 $as_echo_n "checking for ld version... " >&6; }
21972
21973 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21974 glibcxx_ld_is_gold=yes
21975 fi
21976 ldver=`$LD --version 2>/dev/null |
21977 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'`
21978
21979 glibcxx_gnu_ld_version=`echo $ldver | \
21980 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21982 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21983 fi
21984
21985 # Set --gc-sections.
21986 glibcxx_have_gc_sections=no
21987 if test "$glibcxx_ld_is_gold" = "yes"; then
21988 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21989 glibcxx_have_gc_sections=yes
21990 fi
21991 else
21992 glibcxx_gcsections_min_ld=21602
21993 if test x"$with_gnu_ld" = x"yes" &&
21994 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21995 glibcxx_have_gc_sections=yes
21996 fi
21997 fi
21998 if test "$glibcxx_have_gc_sections" = "yes"; then
21999 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22000 # NB: This flag only works reliably after 2.16.1. Configure tests
22001 # for this are difficult, so hard wire a value that should work.
22002
22003 ac_test_CFLAGS="${CFLAGS+set}"
22004 ac_save_CFLAGS="$CFLAGS"
22005 CFLAGS='-Wl,--gc-sections'
22006
22007 # Check for -Wl,--gc-sections
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22009 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22010 if test x$gcc_no_link = xyes; then
22011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22012 fi
22013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22014 /* end confdefs.h. */
22015 int one(void) { return 1; }
22016 int two(void) { return 2; }
22017
22018 int
22019 main ()
22020 {
22021 two();
22022 ;
22023 return 0;
22024 }
22025 _ACEOF
22026 if ac_fn_c_try_link "$LINENO"; then :
22027 ac_gcsections=yes
22028 else
22029 ac_gcsections=no
22030 fi
22031 rm -f core conftest.err conftest.$ac_objext \
22032 conftest$ac_exeext conftest.$ac_ext
22033 if test "$ac_gcsections" = "yes"; then
22034 rm -f conftest.c
22035 touch conftest.c
22036 if $CC -c conftest.c; then
22037 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22038 grep "Warning: gc-sections option ignored" > /dev/null; then
22039 ac_gcsections=no
22040 fi
22041 fi
22042 rm -f conftest.c conftest.o conftest
22043 fi
22044 if test "$ac_gcsections" = "yes"; then
22045 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22046 fi
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22048 $as_echo "$ac_gcsections" >&6; }
22049
22050 if test "$ac_test_CFLAGS" = set; then
22051 CFLAGS="$ac_save_CFLAGS"
22052 else
22053 # this is the suspicious part
22054 CFLAGS=''
22055 fi
22056 fi
22057
22058 # Set -z,relro.
22059 # Note this is only for shared objects.
22060 ac_ld_relro=no
22061 if test x"$with_gnu_ld" = x"yes"; then
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22063 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22064 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22065 if test -n "$cxx_z_relo"; then
22066 OPT_LDFLAGS="-Wl,-z,relro"
22067 ac_ld_relro=yes
22068 fi
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22070 $as_echo "$ac_ld_relro" >&6; }
22071 fi
22072
22073 # Set linker optimization flags.
22074 if test x"$with_gnu_ld" = x"yes"; then
22075 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22076 fi
22077
22078
22079
22080
22081
22082 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22083 ac_save_CXXFLAGS="$CXXFLAGS"
22084 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22085
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22087 $as_echo_n "checking for sin in -lm... " >&6; }
22088 if test "${ac_cv_lib_m_sin+set}" = set; then :
22089 $as_echo_n "(cached) " >&6
22090 else
22091 ac_check_lib_save_LIBS=$LIBS
22092 LIBS="-lm $LIBS"
22093 if test x$gcc_no_link = xyes; then
22094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22095 fi
22096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097 /* end confdefs.h. */
22098
22099 /* Override any GCC internal prototype to avoid an error.
22100 Use char because int might match the return type of a GCC
22101 builtin and then its argument prototype would still apply. */
22102 #ifdef __cplusplus
22103 extern "C"
22104 #endif
22105 char sin ();
22106 int
22107 main ()
22108 {
22109 return sin ();
22110 ;
22111 return 0;
22112 }
22113 _ACEOF
22114 if ac_fn_c_try_link "$LINENO"; then :
22115 ac_cv_lib_m_sin=yes
22116 else
22117 ac_cv_lib_m_sin=no
22118 fi
22119 rm -f core conftest.err conftest.$ac_objext \
22120 conftest$ac_exeext conftest.$ac_ext
22121 LIBS=$ac_check_lib_save_LIBS
22122 fi
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22124 $as_echo "$ac_cv_lib_m_sin" >&6; }
22125 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22126 libm="-lm"
22127 fi
22128
22129 ac_save_LIBS="$LIBS"
22130 LIBS="$LIBS $libm"
22131
22132
22133
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22135 $as_echo_n "checking for isinf declaration... " >&6; }
22136 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22137 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22138 $as_echo_n "(cached) " >&6
22139 else
22140
22141
22142 ac_ext=cpp
22143 ac_cpp='$CXXCPP $CPPFLAGS'
22144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22147
22148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22149 /* end confdefs.h. */
22150 #include <math.h>
22151 #ifdef HAVE_IEEEFP_H
22152 #include <ieeefp.h>
22153 #endif
22154
22155 int
22156 main ()
22157 {
22158 isinf(0);
22159 ;
22160 return 0;
22161 }
22162 _ACEOF
22163 if ac_fn_cxx_try_compile "$LINENO"; then :
22164 glibcxx_cv_func_isinf_use=yes
22165 else
22166 glibcxx_cv_func_isinf_use=no
22167 fi
22168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22169 ac_ext=c
22170 ac_cpp='$CPP $CPPFLAGS'
22171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22174
22175
22176 fi
22177
22178 fi
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22180 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22181
22182 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22183 for ac_func in isinf
22184 do :
22185 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22186 if test "x$ac_cv_func_isinf" = x""yes; then :
22187 cat >>confdefs.h <<_ACEOF
22188 #define HAVE_ISINF 1
22189 _ACEOF
22190
22191 fi
22192 done
22193
22194 else
22195
22196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22197 $as_echo_n "checking for _isinf declaration... " >&6; }
22198 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22199 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22200 $as_echo_n "(cached) " >&6
22201 else
22202
22203
22204 ac_ext=cpp
22205 ac_cpp='$CXXCPP $CPPFLAGS'
22206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22209
22210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22211 /* end confdefs.h. */
22212 #include <math.h>
22213 #ifdef HAVE_IEEEFP_H
22214 #include <ieeefp.h>
22215 #endif
22216
22217 int
22218 main ()
22219 {
22220 _isinf(0);
22221 ;
22222 return 0;
22223 }
22224 _ACEOF
22225 if ac_fn_cxx_try_compile "$LINENO"; then :
22226 glibcxx_cv_func__isinf_use=yes
22227 else
22228 glibcxx_cv_func__isinf_use=no
22229 fi
22230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22231 ac_ext=c
22232 ac_cpp='$CPP $CPPFLAGS'
22233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22236
22237
22238 fi
22239
22240 fi
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22242 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22243
22244 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22245 for ac_func in _isinf
22246 do :
22247 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22248 if test "x$ac_cv_func__isinf" = x""yes; then :
22249 cat >>confdefs.h <<_ACEOF
22250 #define HAVE__ISINF 1
22251 _ACEOF
22252
22253 fi
22254 done
22255
22256 fi
22257 fi
22258
22259
22260
22261
22262
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22264 $as_echo_n "checking for isnan declaration... " >&6; }
22265 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22266 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22268 else
22269
22270
22271 ac_ext=cpp
22272 ac_cpp='$CXXCPP $CPPFLAGS'
22273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22276
22277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22278 /* end confdefs.h. */
22279 #include <math.h>
22280 #ifdef HAVE_IEEEFP_H
22281 #include <ieeefp.h>
22282 #endif
22283
22284 int
22285 main ()
22286 {
22287 isnan(0);
22288 ;
22289 return 0;
22290 }
22291 _ACEOF
22292 if ac_fn_cxx_try_compile "$LINENO"; then :
22293 glibcxx_cv_func_isnan_use=yes
22294 else
22295 glibcxx_cv_func_isnan_use=no
22296 fi
22297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22298 ac_ext=c
22299 ac_cpp='$CPP $CPPFLAGS'
22300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22303
22304
22305 fi
22306
22307 fi
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22309 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22310
22311 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22312 for ac_func in isnan
22313 do :
22314 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22315 if test "x$ac_cv_func_isnan" = x""yes; then :
22316 cat >>confdefs.h <<_ACEOF
22317 #define HAVE_ISNAN 1
22318 _ACEOF
22319
22320 fi
22321 done
22322
22323 else
22324
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22326 $as_echo_n "checking for _isnan declaration... " >&6; }
22327 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22328 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22329 $as_echo_n "(cached) " >&6
22330 else
22331
22332
22333 ac_ext=cpp
22334 ac_cpp='$CXXCPP $CPPFLAGS'
22335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22338
22339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22340 /* end confdefs.h. */
22341 #include <math.h>
22342 #ifdef HAVE_IEEEFP_H
22343 #include <ieeefp.h>
22344 #endif
22345
22346 int
22347 main ()
22348 {
22349 _isnan(0);
22350 ;
22351 return 0;
22352 }
22353 _ACEOF
22354 if ac_fn_cxx_try_compile "$LINENO"; then :
22355 glibcxx_cv_func__isnan_use=yes
22356 else
22357 glibcxx_cv_func__isnan_use=no
22358 fi
22359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22360 ac_ext=c
22361 ac_cpp='$CPP $CPPFLAGS'
22362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22365
22366
22367 fi
22368
22369 fi
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22371 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22372
22373 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22374 for ac_func in _isnan
22375 do :
22376 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22377 if test "x$ac_cv_func__isnan" = x""yes; then :
22378 cat >>confdefs.h <<_ACEOF
22379 #define HAVE__ISNAN 1
22380 _ACEOF
22381
22382 fi
22383 done
22384
22385 fi
22386 fi
22387
22388
22389
22390
22391
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22393 $as_echo_n "checking for finite declaration... " >&6; }
22394 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22395 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22396 $as_echo_n "(cached) " >&6
22397 else
22398
22399
22400 ac_ext=cpp
22401 ac_cpp='$CXXCPP $CPPFLAGS'
22402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22405
22406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22407 /* end confdefs.h. */
22408 #include <math.h>
22409 #ifdef HAVE_IEEEFP_H
22410 #include <ieeefp.h>
22411 #endif
22412
22413 int
22414 main ()
22415 {
22416 finite(0);
22417 ;
22418 return 0;
22419 }
22420 _ACEOF
22421 if ac_fn_cxx_try_compile "$LINENO"; then :
22422 glibcxx_cv_func_finite_use=yes
22423 else
22424 glibcxx_cv_func_finite_use=no
22425 fi
22426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22427 ac_ext=c
22428 ac_cpp='$CPP $CPPFLAGS'
22429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22432
22433
22434 fi
22435
22436 fi
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22438 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22439
22440 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22441 for ac_func in finite
22442 do :
22443 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22444 if test "x$ac_cv_func_finite" = x""yes; then :
22445 cat >>confdefs.h <<_ACEOF
22446 #define HAVE_FINITE 1
22447 _ACEOF
22448
22449 fi
22450 done
22451
22452 else
22453
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22455 $as_echo_n "checking for _finite declaration... " >&6; }
22456 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22457 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22458 $as_echo_n "(cached) " >&6
22459 else
22460
22461
22462 ac_ext=cpp
22463 ac_cpp='$CXXCPP $CPPFLAGS'
22464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22467
22468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22469 /* end confdefs.h. */
22470 #include <math.h>
22471 #ifdef HAVE_IEEEFP_H
22472 #include <ieeefp.h>
22473 #endif
22474
22475 int
22476 main ()
22477 {
22478 _finite(0);
22479 ;
22480 return 0;
22481 }
22482 _ACEOF
22483 if ac_fn_cxx_try_compile "$LINENO"; then :
22484 glibcxx_cv_func__finite_use=yes
22485 else
22486 glibcxx_cv_func__finite_use=no
22487 fi
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489 ac_ext=c
22490 ac_cpp='$CPP $CPPFLAGS'
22491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22494
22495
22496 fi
22497
22498 fi
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22500 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22501
22502 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22503 for ac_func in _finite
22504 do :
22505 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22506 if test "x$ac_cv_func__finite" = x""yes; then :
22507 cat >>confdefs.h <<_ACEOF
22508 #define HAVE__FINITE 1
22509 _ACEOF
22510
22511 fi
22512 done
22513
22514 fi
22515 fi
22516
22517
22518
22519
22520
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22522 $as_echo_n "checking for sincos declaration... " >&6; }
22523 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22524 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22525 $as_echo_n "(cached) " >&6
22526 else
22527
22528
22529 ac_ext=cpp
22530 ac_cpp='$CXXCPP $CPPFLAGS'
22531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22534
22535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22536 /* end confdefs.h. */
22537 #include <math.h>
22538 int
22539 main ()
22540 {
22541 sincos(0, 0, 0);
22542 ;
22543 return 0;
22544 }
22545 _ACEOF
22546 if ac_fn_cxx_try_compile "$LINENO"; then :
22547 glibcxx_cv_func_sincos_use=yes
22548 else
22549 glibcxx_cv_func_sincos_use=no
22550 fi
22551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22552 ac_ext=c
22553 ac_cpp='$CPP $CPPFLAGS'
22554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22557
22558
22559 fi
22560
22561 fi
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22563 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22564
22565 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22566 for ac_func in sincos
22567 do :
22568 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22569 if test "x$ac_cv_func_sincos" = x""yes; then :
22570 cat >>confdefs.h <<_ACEOF
22571 #define HAVE_SINCOS 1
22572 _ACEOF
22573
22574 fi
22575 done
22576
22577 else
22578
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22580 $as_echo_n "checking for _sincos declaration... " >&6; }
22581 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22582 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22583 $as_echo_n "(cached) " >&6
22584 else
22585
22586
22587 ac_ext=cpp
22588 ac_cpp='$CXXCPP $CPPFLAGS'
22589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22592
22593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22595 #include <math.h>
22596 int
22597 main ()
22598 {
22599 _sincos(0, 0, 0);
22600 ;
22601 return 0;
22602 }
22603 _ACEOF
22604 if ac_fn_cxx_try_compile "$LINENO"; then :
22605 glibcxx_cv_func__sincos_use=yes
22606 else
22607 glibcxx_cv_func__sincos_use=no
22608 fi
22609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22610 ac_ext=c
22611 ac_cpp='$CPP $CPPFLAGS'
22612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22615
22616
22617 fi
22618
22619 fi
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22621 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22622
22623 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22624 for ac_func in _sincos
22625 do :
22626 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22627 if test "x$ac_cv_func__sincos" = x""yes; then :
22628 cat >>confdefs.h <<_ACEOF
22629 #define HAVE__SINCOS 1
22630 _ACEOF
22631
22632 fi
22633 done
22634
22635 fi
22636 fi
22637
22638
22639
22640
22641
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22643 $as_echo_n "checking for fpclass declaration... " >&6; }
22644 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22645 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22646 $as_echo_n "(cached) " >&6
22647 else
22648
22649
22650 ac_ext=cpp
22651 ac_cpp='$CXXCPP $CPPFLAGS'
22652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22655
22656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22657 /* end confdefs.h. */
22658 #include <math.h>
22659 #ifdef HAVE_IEEEFP_H
22660 #include <ieeefp.h>
22661 #endif
22662
22663 int
22664 main ()
22665 {
22666 fpclass(0);
22667 ;
22668 return 0;
22669 }
22670 _ACEOF
22671 if ac_fn_cxx_try_compile "$LINENO"; then :
22672 glibcxx_cv_func_fpclass_use=yes
22673 else
22674 glibcxx_cv_func_fpclass_use=no
22675 fi
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22677 ac_ext=c
22678 ac_cpp='$CPP $CPPFLAGS'
22679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22682
22683
22684 fi
22685
22686 fi
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22688 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22689
22690 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22691 for ac_func in fpclass
22692 do :
22693 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22694 if test "x$ac_cv_func_fpclass" = x""yes; then :
22695 cat >>confdefs.h <<_ACEOF
22696 #define HAVE_FPCLASS 1
22697 _ACEOF
22698
22699 fi
22700 done
22701
22702 else
22703
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22705 $as_echo_n "checking for _fpclass declaration... " >&6; }
22706 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22707 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22708 $as_echo_n "(cached) " >&6
22709 else
22710
22711
22712 ac_ext=cpp
22713 ac_cpp='$CXXCPP $CPPFLAGS'
22714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22717
22718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22719 /* end confdefs.h. */
22720 #include <math.h>
22721 #ifdef HAVE_IEEEFP_H
22722 #include <ieeefp.h>
22723 #endif
22724
22725 int
22726 main ()
22727 {
22728 _fpclass(0);
22729 ;
22730 return 0;
22731 }
22732 _ACEOF
22733 if ac_fn_cxx_try_compile "$LINENO"; then :
22734 glibcxx_cv_func__fpclass_use=yes
22735 else
22736 glibcxx_cv_func__fpclass_use=no
22737 fi
22738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22739 ac_ext=c
22740 ac_cpp='$CPP $CPPFLAGS'
22741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22744
22745
22746 fi
22747
22748 fi
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22750 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22751
22752 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22753 for ac_func in _fpclass
22754 do :
22755 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22756 if test "x$ac_cv_func__fpclass" = x""yes; then :
22757 cat >>confdefs.h <<_ACEOF
22758 #define HAVE__FPCLASS 1
22759 _ACEOF
22760
22761 fi
22762 done
22763
22764 fi
22765 fi
22766
22767
22768
22769
22770
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22772 $as_echo_n "checking for qfpclass declaration... " >&6; }
22773 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22774 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22775 $as_echo_n "(cached) " >&6
22776 else
22777
22778
22779 ac_ext=cpp
22780 ac_cpp='$CXXCPP $CPPFLAGS'
22781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22784
22785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22787 #include <math.h>
22788 #ifdef HAVE_IEEEFP_H
22789 #include <ieeefp.h>
22790 #endif
22791
22792 int
22793 main ()
22794 {
22795 qfpclass(0);
22796 ;
22797 return 0;
22798 }
22799 _ACEOF
22800 if ac_fn_cxx_try_compile "$LINENO"; then :
22801 glibcxx_cv_func_qfpclass_use=yes
22802 else
22803 glibcxx_cv_func_qfpclass_use=no
22804 fi
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806 ac_ext=c
22807 ac_cpp='$CPP $CPPFLAGS'
22808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22811
22812
22813 fi
22814
22815 fi
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22817 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22818
22819 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22820 for ac_func in qfpclass
22821 do :
22822 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22823 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22824 cat >>confdefs.h <<_ACEOF
22825 #define HAVE_QFPCLASS 1
22826 _ACEOF
22827
22828 fi
22829 done
22830
22831 else
22832
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22834 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22835 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22836 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22837 $as_echo_n "(cached) " >&6
22838 else
22839
22840
22841 ac_ext=cpp
22842 ac_cpp='$CXXCPP $CPPFLAGS'
22843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22846
22847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22848 /* end confdefs.h. */
22849 #include <math.h>
22850 #ifdef HAVE_IEEEFP_H
22851 #include <ieeefp.h>
22852 #endif
22853
22854 int
22855 main ()
22856 {
22857 _qfpclass(0);
22858 ;
22859 return 0;
22860 }
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func__qfpclass_use=yes
22864 else
22865 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
22879 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22880
22881 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22882 for ac_func in _qfpclass
22883 do :
22884 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22885 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE__QFPCLASS 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 hypot declaration" >&5
22901 $as_echo_n "checking for hypot declaration... " >&6; }
22902 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22903 if test "${glibcxx_cv_func_hypot_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 hypot(0, 0);
22921 ;
22922 return 0;
22923 }
22924 _ACEOF
22925 if ac_fn_cxx_try_compile "$LINENO"; then :
22926 glibcxx_cv_func_hypot_use=yes
22927 else
22928 glibcxx_cv_func_hypot_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_hypot_use" >&5
22942 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22943
22944 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22945 for ac_func in hypot
22946 do :
22947 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22948 if test "x$ac_cv_func_hypot" = x""yes; then :
22949 cat >>confdefs.h <<_ACEOF
22950 #define HAVE_HYPOT 1
22951 _ACEOF
22952
22953 fi
22954 done
22955
22956 else
22957
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22959 $as_echo_n "checking for _hypot declaration... " >&6; }
22960 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22961 if test "${glibcxx_cv_func__hypot_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 _hypot(0, 0);
22979 ;
22980 return 0;
22981 }
22982 _ACEOF
22983 if ac_fn_cxx_try_compile "$LINENO"; then :
22984 glibcxx_cv_func__hypot_use=yes
22985 else
22986 glibcxx_cv_func__hypot_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__hypot_use" >&5
23000 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23001
23002 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23003 for ac_func in _hypot
23004 do :
23005 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23006 if test "x$ac_cv_func__hypot" = x""yes; then :
23007 cat >>confdefs.h <<_ACEOF
23008 #define HAVE__HYPOT 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 float trig functions" >&5
23022 $as_echo_n "checking for float trig functions... " >&6; }
23023 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23024 $as_echo_n "(cached) " >&6
23025 else
23026
23027
23028 ac_ext=cpp
23029 ac_cpp='$CXXCPP $CPPFLAGS'
23030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23033
23034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23035 /* end confdefs.h. */
23036 #include <math.h>
23037 int
23038 main ()
23039 {
23040 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23041 ;
23042 return 0;
23043 }
23044 _ACEOF
23045 if ac_fn_cxx_try_compile "$LINENO"; then :
23046 glibcxx_cv_func_float_trig_use=yes
23047 else
23048 glibcxx_cv_func_float_trig_use=no
23049 fi
23050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23051 ac_ext=c
23052 ac_cpp='$CPP $CPPFLAGS'
23053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23056
23057 fi
23058
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23060 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23061 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23062 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23063 do :
23064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23066 eval as_val=\$$as_ac_var
23067 if test "x$as_val" = x""yes; then :
23068 cat >>confdefs.h <<_ACEOF
23069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23070 _ACEOF
23071
23072 fi
23073 done
23074
23075 else
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23077 $as_echo_n "checking for _float trig functions... " >&6; }
23078 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23079 $as_echo_n "(cached) " >&6
23080 else
23081
23082
23083 ac_ext=cpp
23084 ac_cpp='$CXXCPP $CPPFLAGS'
23085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23088
23089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23090 /* end confdefs.h. */
23091 #include <math.h>
23092 int
23093 main ()
23094 {
23095 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23096 ;
23097 return 0;
23098 }
23099 _ACEOF
23100 if ac_fn_cxx_try_compile "$LINENO"; then :
23101 glibcxx_cv_func__float_trig_use=yes
23102 else
23103 glibcxx_cv_func__float_trig_use=no
23104 fi
23105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 ac_ext=c
23107 ac_cpp='$CPP $CPPFLAGS'
23108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23111
23112 fi
23113
23114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23115 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23116 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23117 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23118 do :
23119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23121 eval as_val=\$$as_ac_var
23122 if test "x$as_val" = x""yes; then :
23123 cat >>confdefs.h <<_ACEOF
23124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23125 _ACEOF
23126
23127 fi
23128 done
23129
23130 fi
23131 fi
23132
23133
23134
23135
23136
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23138 $as_echo_n "checking for float round functions... " >&6; }
23139 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23140 $as_echo_n "(cached) " >&6
23141 else
23142
23143
23144 ac_ext=cpp
23145 ac_cpp='$CXXCPP $CPPFLAGS'
23146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23149
23150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23151 /* end confdefs.h. */
23152 #include <math.h>
23153 int
23154 main ()
23155 {
23156 ceilf (0); floorf (0);
23157 ;
23158 return 0;
23159 }
23160 _ACEOF
23161 if ac_fn_cxx_try_compile "$LINENO"; then :
23162 glibcxx_cv_func_float_round_use=yes
23163 else
23164 glibcxx_cv_func_float_round_use=no
23165 fi
23166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23167 ac_ext=c
23168 ac_cpp='$CPP $CPPFLAGS'
23169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23172
23173 fi
23174
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23176 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23177 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23178 for ac_func in ceilf floorf
23179 do :
23180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23182 eval as_val=\$$as_ac_var
23183 if test "x$as_val" = x""yes; then :
23184 cat >>confdefs.h <<_ACEOF
23185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23186 _ACEOF
23187
23188 fi
23189 done
23190
23191 else
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23193 $as_echo_n "checking for _float round functions... " >&6; }
23194 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23195 $as_echo_n "(cached) " >&6
23196 else
23197
23198
23199 ac_ext=cpp
23200 ac_cpp='$CXXCPP $CPPFLAGS'
23201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23204
23205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23206 /* end confdefs.h. */
23207 #include <math.h>
23208 int
23209 main ()
23210 {
23211 _ceilf (0); _floorf (0);
23212 ;
23213 return 0;
23214 }
23215 _ACEOF
23216 if ac_fn_cxx_try_compile "$LINENO"; then :
23217 glibcxx_cv_func__float_round_use=yes
23218 else
23219 glibcxx_cv_func__float_round_use=no
23220 fi
23221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23222 ac_ext=c
23223 ac_cpp='$CPP $CPPFLAGS'
23224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23227
23228 fi
23229
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23231 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23232 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23233 for ac_func in _ceilf _floorf
23234 do :
23235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23237 eval as_val=\$$as_ac_var
23238 if test "x$as_val" = x""yes; then :
23239 cat >>confdefs.h <<_ACEOF
23240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23241 _ACEOF
23242
23243 fi
23244 done
23245
23246 fi
23247 fi
23248
23249
23250
23251
23252
23253
23254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23255 $as_echo_n "checking for expf declaration... " >&6; }
23256 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23257 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23258 $as_echo_n "(cached) " >&6
23259 else
23260
23261
23262 ac_ext=cpp
23263 ac_cpp='$CXXCPP $CPPFLAGS'
23264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23267
23268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23269 /* end confdefs.h. */
23270 #include <math.h>
23271 #ifdef HAVE_IEEEFP_H
23272 #include <ieeefp.h>
23273 #endif
23274
23275 int
23276 main ()
23277 {
23278 expf(0);
23279 ;
23280 return 0;
23281 }
23282 _ACEOF
23283 if ac_fn_cxx_try_compile "$LINENO"; then :
23284 glibcxx_cv_func_expf_use=yes
23285 else
23286 glibcxx_cv_func_expf_use=no
23287 fi
23288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23289 ac_ext=c
23290 ac_cpp='$CPP $CPPFLAGS'
23291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23294
23295
23296 fi
23297
23298 fi
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23300 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23301
23302 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23303 for ac_func in expf
23304 do :
23305 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23306 if test "x$ac_cv_func_expf" = x""yes; then :
23307 cat >>confdefs.h <<_ACEOF
23308 #define HAVE_EXPF 1
23309 _ACEOF
23310
23311 fi
23312 done
23313
23314 else
23315
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23317 $as_echo_n "checking for _expf declaration... " >&6; }
23318 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23319 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23320 $as_echo_n "(cached) " >&6
23321 else
23322
23323
23324 ac_ext=cpp
23325 ac_cpp='$CXXCPP $CPPFLAGS'
23326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23329
23330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23331 /* end confdefs.h. */
23332 #include <math.h>
23333 #ifdef HAVE_IEEEFP_H
23334 #include <ieeefp.h>
23335 #endif
23336
23337 int
23338 main ()
23339 {
23340 _expf(0);
23341 ;
23342 return 0;
23343 }
23344 _ACEOF
23345 if ac_fn_cxx_try_compile "$LINENO"; then :
23346 glibcxx_cv_func__expf_use=yes
23347 else
23348 glibcxx_cv_func__expf_use=no
23349 fi
23350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351 ac_ext=c
23352 ac_cpp='$CPP $CPPFLAGS'
23353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23356
23357
23358 fi
23359
23360 fi
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23362 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23363
23364 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23365 for ac_func in _expf
23366 do :
23367 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23368 if test "x$ac_cv_func__expf" = x""yes; then :
23369 cat >>confdefs.h <<_ACEOF
23370 #define HAVE__EXPF 1
23371 _ACEOF
23372
23373 fi
23374 done
23375
23376 fi
23377 fi
23378
23379
23380
23381
23382
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23384 $as_echo_n "checking for isnanf declaration... " >&6; }
23385 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23386 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23387 $as_echo_n "(cached) " >&6
23388 else
23389
23390
23391 ac_ext=cpp
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23396
23397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23398 /* end confdefs.h. */
23399 #include <math.h>
23400 #ifdef HAVE_IEEEFP_H
23401 #include <ieeefp.h>
23402 #endif
23403
23404 int
23405 main ()
23406 {
23407 isnanf(0);
23408 ;
23409 return 0;
23410 }
23411 _ACEOF
23412 if ac_fn_cxx_try_compile "$LINENO"; then :
23413 glibcxx_cv_func_isnanf_use=yes
23414 else
23415 glibcxx_cv_func_isnanf_use=no
23416 fi
23417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418 ac_ext=c
23419 ac_cpp='$CPP $CPPFLAGS'
23420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23423
23424
23425 fi
23426
23427 fi
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23429 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23430
23431 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23432 for ac_func in isnanf
23433 do :
23434 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23435 if test "x$ac_cv_func_isnanf" = x""yes; then :
23436 cat >>confdefs.h <<_ACEOF
23437 #define HAVE_ISNANF 1
23438 _ACEOF
23439
23440 fi
23441 done
23442
23443 else
23444
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23446 $as_echo_n "checking for _isnanf declaration... " >&6; }
23447 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23448 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23449 $as_echo_n "(cached) " >&6
23450 else
23451
23452
23453 ac_ext=cpp
23454 ac_cpp='$CXXCPP $CPPFLAGS'
23455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23458
23459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h. */
23461 #include <math.h>
23462 #ifdef HAVE_IEEEFP_H
23463 #include <ieeefp.h>
23464 #endif
23465
23466 int
23467 main ()
23468 {
23469 _isnanf(0);
23470 ;
23471 return 0;
23472 }
23473 _ACEOF
23474 if ac_fn_cxx_try_compile "$LINENO"; then :
23475 glibcxx_cv_func__isnanf_use=yes
23476 else
23477 glibcxx_cv_func__isnanf_use=no
23478 fi
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 ac_ext=c
23481 ac_cpp='$CPP $CPPFLAGS'
23482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23485
23486
23487 fi
23488
23489 fi
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23491 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23492
23493 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23494 for ac_func in _isnanf
23495 do :
23496 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23497 if test "x$ac_cv_func__isnanf" = x""yes; then :
23498 cat >>confdefs.h <<_ACEOF
23499 #define HAVE__ISNANF 1
23500 _ACEOF
23501
23502 fi
23503 done
23504
23505 fi
23506 fi
23507
23508
23509
23510
23511
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23513 $as_echo_n "checking for isinff declaration... " >&6; }
23514 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23515 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23516 $as_echo_n "(cached) " >&6
23517 else
23518
23519
23520 ac_ext=cpp
23521 ac_cpp='$CXXCPP $CPPFLAGS'
23522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23525
23526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23527 /* end confdefs.h. */
23528 #include <math.h>
23529 #ifdef HAVE_IEEEFP_H
23530 #include <ieeefp.h>
23531 #endif
23532
23533 int
23534 main ()
23535 {
23536 isinff(0);
23537 ;
23538 return 0;
23539 }
23540 _ACEOF
23541 if ac_fn_cxx_try_compile "$LINENO"; then :
23542 glibcxx_cv_func_isinff_use=yes
23543 else
23544 glibcxx_cv_func_isinff_use=no
23545 fi
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547 ac_ext=c
23548 ac_cpp='$CPP $CPPFLAGS'
23549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23552
23553
23554 fi
23555
23556 fi
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23558 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23559
23560 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23561 for ac_func in isinff
23562 do :
23563 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23564 if test "x$ac_cv_func_isinff" = x""yes; then :
23565 cat >>confdefs.h <<_ACEOF
23566 #define HAVE_ISINFF 1
23567 _ACEOF
23568
23569 fi
23570 done
23571
23572 else
23573
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23575 $as_echo_n "checking for _isinff declaration... " >&6; }
23576 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23577 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23578 $as_echo_n "(cached) " >&6
23579 else
23580
23581
23582 ac_ext=cpp
23583 ac_cpp='$CXXCPP $CPPFLAGS'
23584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23587
23588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23589 /* end confdefs.h. */
23590 #include <math.h>
23591 #ifdef HAVE_IEEEFP_H
23592 #include <ieeefp.h>
23593 #endif
23594
23595 int
23596 main ()
23597 {
23598 _isinff(0);
23599 ;
23600 return 0;
23601 }
23602 _ACEOF
23603 if ac_fn_cxx_try_compile "$LINENO"; then :
23604 glibcxx_cv_func__isinff_use=yes
23605 else
23606 glibcxx_cv_func__isinff_use=no
23607 fi
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23609 ac_ext=c
23610 ac_cpp='$CPP $CPPFLAGS'
23611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23614
23615
23616 fi
23617
23618 fi
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23620 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23621
23622 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23623 for ac_func in _isinff
23624 do :
23625 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23626 if test "x$ac_cv_func__isinff" = x""yes; then :
23627 cat >>confdefs.h <<_ACEOF
23628 #define HAVE__ISINFF 1
23629 _ACEOF
23630
23631 fi
23632 done
23633
23634 fi
23635 fi
23636
23637
23638
23639
23640
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23642 $as_echo_n "checking for atan2f declaration... " >&6; }
23643 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23644 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23645 $as_echo_n "(cached) " >&6
23646 else
23647
23648
23649 ac_ext=cpp
23650 ac_cpp='$CXXCPP $CPPFLAGS'
23651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23654
23655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23656 /* end confdefs.h. */
23657 #include <math.h>
23658 int
23659 main ()
23660 {
23661 atan2f(0, 0);
23662 ;
23663 return 0;
23664 }
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667 glibcxx_cv_func_atan2f_use=yes
23668 else
23669 glibcxx_cv_func_atan2f_use=no
23670 fi
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23677
23678
23679 fi
23680
23681 fi
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23683 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23684
23685 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23686 for ac_func in atan2f
23687 do :
23688 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23689 if test "x$ac_cv_func_atan2f" = x""yes; then :
23690 cat >>confdefs.h <<_ACEOF
23691 #define HAVE_ATAN2F 1
23692 _ACEOF
23693
23694 fi
23695 done
23696
23697 else
23698
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23700 $as_echo_n "checking for _atan2f declaration... " >&6; }
23701 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23702 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23703 $as_echo_n "(cached) " >&6
23704 else
23705
23706
23707 ac_ext=cpp
23708 ac_cpp='$CXXCPP $CPPFLAGS'
23709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23712
23713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h. */
23715 #include <math.h>
23716 int
23717 main ()
23718 {
23719 _atan2f(0, 0);
23720 ;
23721 return 0;
23722 }
23723 _ACEOF
23724 if ac_fn_cxx_try_compile "$LINENO"; then :
23725 glibcxx_cv_func__atan2f_use=yes
23726 else
23727 glibcxx_cv_func__atan2f_use=no
23728 fi
23729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23730 ac_ext=c
23731 ac_cpp='$CPP $CPPFLAGS'
23732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23735
23736
23737 fi
23738
23739 fi
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23741 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23742
23743 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23744 for ac_func in _atan2f
23745 do :
23746 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23747 if test "x$ac_cv_func__atan2f" = x""yes; then :
23748 cat >>confdefs.h <<_ACEOF
23749 #define HAVE__ATAN2F 1
23750 _ACEOF
23751
23752 fi
23753 done
23754
23755 fi
23756 fi
23757
23758
23759
23760
23761
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23763 $as_echo_n "checking for fabsf declaration... " >&6; }
23764 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23765 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23766 $as_echo_n "(cached) " >&6
23767 else
23768
23769
23770 ac_ext=cpp
23771 ac_cpp='$CXXCPP $CPPFLAGS'
23772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23775
23776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23777 /* end confdefs.h. */
23778 #include <math.h>
23779 #ifdef HAVE_IEEEFP_H
23780 #include <ieeefp.h>
23781 #endif
23782
23783 int
23784 main ()
23785 {
23786 fabsf(0);
23787 ;
23788 return 0;
23789 }
23790 _ACEOF
23791 if ac_fn_cxx_try_compile "$LINENO"; then :
23792 glibcxx_cv_func_fabsf_use=yes
23793 else
23794 glibcxx_cv_func_fabsf_use=no
23795 fi
23796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797 ac_ext=c
23798 ac_cpp='$CPP $CPPFLAGS'
23799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23802
23803
23804 fi
23805
23806 fi
23807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23808 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23809
23810 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23811 for ac_func in fabsf
23812 do :
23813 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23814 if test "x$ac_cv_func_fabsf" = x""yes; then :
23815 cat >>confdefs.h <<_ACEOF
23816 #define HAVE_FABSF 1
23817 _ACEOF
23818
23819 fi
23820 done
23821
23822 else
23823
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23825 $as_echo_n "checking for _fabsf declaration... " >&6; }
23826 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23827 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23828 $as_echo_n "(cached) " >&6
23829 else
23830
23831
23832 ac_ext=cpp
23833 ac_cpp='$CXXCPP $CPPFLAGS'
23834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23837
23838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23839 /* end confdefs.h. */
23840 #include <math.h>
23841 #ifdef HAVE_IEEEFP_H
23842 #include <ieeefp.h>
23843 #endif
23844
23845 int
23846 main ()
23847 {
23848 _fabsf(0);
23849 ;
23850 return 0;
23851 }
23852 _ACEOF
23853 if ac_fn_cxx_try_compile "$LINENO"; then :
23854 glibcxx_cv_func__fabsf_use=yes
23855 else
23856 glibcxx_cv_func__fabsf_use=no
23857 fi
23858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23859 ac_ext=c
23860 ac_cpp='$CPP $CPPFLAGS'
23861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23864
23865
23866 fi
23867
23868 fi
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23870 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23871
23872 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23873 for ac_func in _fabsf
23874 do :
23875 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23876 if test "x$ac_cv_func__fabsf" = x""yes; then :
23877 cat >>confdefs.h <<_ACEOF
23878 #define HAVE__FABSF 1
23879 _ACEOF
23880
23881 fi
23882 done
23883
23884 fi
23885 fi
23886
23887
23888
23889
23890
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23892 $as_echo_n "checking for fmodf declaration... " >&6; }
23893 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23894 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23895 $as_echo_n "(cached) " >&6
23896 else
23897
23898
23899 ac_ext=cpp
23900 ac_cpp='$CXXCPP $CPPFLAGS'
23901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23904
23905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23906 /* end confdefs.h. */
23907 #include <math.h>
23908 int
23909 main ()
23910 {
23911 fmodf(0, 0);
23912 ;
23913 return 0;
23914 }
23915 _ACEOF
23916 if ac_fn_cxx_try_compile "$LINENO"; then :
23917 glibcxx_cv_func_fmodf_use=yes
23918 else
23919 glibcxx_cv_func_fmodf_use=no
23920 fi
23921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23922 ac_ext=c
23923 ac_cpp='$CPP $CPPFLAGS'
23924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23927
23928
23929 fi
23930
23931 fi
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23933 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23934
23935 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23936 for ac_func in fmodf
23937 do :
23938 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23939 if test "x$ac_cv_func_fmodf" = x""yes; then :
23940 cat >>confdefs.h <<_ACEOF
23941 #define HAVE_FMODF 1
23942 _ACEOF
23943
23944 fi
23945 done
23946
23947 else
23948
23949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23950 $as_echo_n "checking for _fmodf declaration... " >&6; }
23951 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23952 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23953 $as_echo_n "(cached) " >&6
23954 else
23955
23956
23957 ac_ext=cpp
23958 ac_cpp='$CXXCPP $CPPFLAGS'
23959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23962
23963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23964 /* end confdefs.h. */
23965 #include <math.h>
23966 int
23967 main ()
23968 {
23969 _fmodf(0, 0);
23970 ;
23971 return 0;
23972 }
23973 _ACEOF
23974 if ac_fn_cxx_try_compile "$LINENO"; then :
23975 glibcxx_cv_func__fmodf_use=yes
23976 else
23977 glibcxx_cv_func__fmodf_use=no
23978 fi
23979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23980 ac_ext=c
23981 ac_cpp='$CPP $CPPFLAGS'
23982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23985
23986
23987 fi
23988
23989 fi
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23991 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23992
23993 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23994 for ac_func in _fmodf
23995 do :
23996 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23997 if test "x$ac_cv_func__fmodf" = x""yes; then :
23998 cat >>confdefs.h <<_ACEOF
23999 #define HAVE__FMODF 1
24000 _ACEOF
24001
24002 fi
24003 done
24004
24005 fi
24006 fi
24007
24008
24009
24010
24011
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24013 $as_echo_n "checking for frexpf declaration... " >&6; }
24014 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24015 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24016 $as_echo_n "(cached) " >&6
24017 else
24018
24019
24020 ac_ext=cpp
24021 ac_cpp='$CXXCPP $CPPFLAGS'
24022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24025
24026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24027 /* end confdefs.h. */
24028 #include <math.h>
24029 int
24030 main ()
24031 {
24032 frexpf(0, 0);
24033 ;
24034 return 0;
24035 }
24036 _ACEOF
24037 if ac_fn_cxx_try_compile "$LINENO"; then :
24038 glibcxx_cv_func_frexpf_use=yes
24039 else
24040 glibcxx_cv_func_frexpf_use=no
24041 fi
24042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24043 ac_ext=c
24044 ac_cpp='$CPP $CPPFLAGS'
24045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24048
24049
24050 fi
24051
24052 fi
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24054 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24055
24056 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24057 for ac_func in frexpf
24058 do :
24059 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24060 if test "x$ac_cv_func_frexpf" = x""yes; then :
24061 cat >>confdefs.h <<_ACEOF
24062 #define HAVE_FREXPF 1
24063 _ACEOF
24064
24065 fi
24066 done
24067
24068 else
24069
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24071 $as_echo_n "checking for _frexpf declaration... " >&6; }
24072 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24073 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24074 $as_echo_n "(cached) " >&6
24075 else
24076
24077
24078 ac_ext=cpp
24079 ac_cpp='$CXXCPP $CPPFLAGS'
24080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24083
24084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24085 /* end confdefs.h. */
24086 #include <math.h>
24087 int
24088 main ()
24089 {
24090 _frexpf(0, 0);
24091 ;
24092 return 0;
24093 }
24094 _ACEOF
24095 if ac_fn_cxx_try_compile "$LINENO"; then :
24096 glibcxx_cv_func__frexpf_use=yes
24097 else
24098 glibcxx_cv_func__frexpf_use=no
24099 fi
24100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24101 ac_ext=c
24102 ac_cpp='$CPP $CPPFLAGS'
24103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24106
24107
24108 fi
24109
24110 fi
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24112 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24113
24114 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24115 for ac_func in _frexpf
24116 do :
24117 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24118 if test "x$ac_cv_func__frexpf" = x""yes; then :
24119 cat >>confdefs.h <<_ACEOF
24120 #define HAVE__FREXPF 1
24121 _ACEOF
24122
24123 fi
24124 done
24125
24126 fi
24127 fi
24128
24129
24130
24131
24132
24133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24134 $as_echo_n "checking for hypotf declaration... " >&6; }
24135 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24136 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24137 $as_echo_n "(cached) " >&6
24138 else
24139
24140
24141 ac_ext=cpp
24142 ac_cpp='$CXXCPP $CPPFLAGS'
24143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24146
24147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24148 /* end confdefs.h. */
24149 #include <math.h>
24150 int
24151 main ()
24152 {
24153 hypotf(0, 0);
24154 ;
24155 return 0;
24156 }
24157 _ACEOF
24158 if ac_fn_cxx_try_compile "$LINENO"; then :
24159 glibcxx_cv_func_hypotf_use=yes
24160 else
24161 glibcxx_cv_func_hypotf_use=no
24162 fi
24163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24164 ac_ext=c
24165 ac_cpp='$CPP $CPPFLAGS'
24166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24169
24170
24171 fi
24172
24173 fi
24174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24175 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24176
24177 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24178 for ac_func in hypotf
24179 do :
24180 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24181 if test "x$ac_cv_func_hypotf" = x""yes; then :
24182 cat >>confdefs.h <<_ACEOF
24183 #define HAVE_HYPOTF 1
24184 _ACEOF
24185
24186 fi
24187 done
24188
24189 else
24190
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24192 $as_echo_n "checking for _hypotf declaration... " >&6; }
24193 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24194 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24195 $as_echo_n "(cached) " >&6
24196 else
24197
24198
24199 ac_ext=cpp
24200 ac_cpp='$CXXCPP $CPPFLAGS'
24201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24204
24205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24206 /* end confdefs.h. */
24207 #include <math.h>
24208 int
24209 main ()
24210 {
24211 _hypotf(0, 0);
24212 ;
24213 return 0;
24214 }
24215 _ACEOF
24216 if ac_fn_cxx_try_compile "$LINENO"; then :
24217 glibcxx_cv_func__hypotf_use=yes
24218 else
24219 glibcxx_cv_func__hypotf_use=no
24220 fi
24221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24222 ac_ext=c
24223 ac_cpp='$CPP $CPPFLAGS'
24224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24227
24228
24229 fi
24230
24231 fi
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24233 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24234
24235 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24236 for ac_func in _hypotf
24237 do :
24238 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24239 if test "x$ac_cv_func__hypotf" = x""yes; then :
24240 cat >>confdefs.h <<_ACEOF
24241 #define HAVE__HYPOTF 1
24242 _ACEOF
24243
24244 fi
24245 done
24246
24247 fi
24248 fi
24249
24250
24251
24252
24253
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24255 $as_echo_n "checking for ldexpf declaration... " >&6; }
24256 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24257 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24258 $as_echo_n "(cached) " >&6
24259 else
24260
24261
24262 ac_ext=cpp
24263 ac_cpp='$CXXCPP $CPPFLAGS'
24264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24267
24268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24269 /* end confdefs.h. */
24270 #include <math.h>
24271 int
24272 main ()
24273 {
24274 ldexpf(0, 0);
24275 ;
24276 return 0;
24277 }
24278 _ACEOF
24279 if ac_fn_cxx_try_compile "$LINENO"; then :
24280 glibcxx_cv_func_ldexpf_use=yes
24281 else
24282 glibcxx_cv_func_ldexpf_use=no
24283 fi
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285 ac_ext=c
24286 ac_cpp='$CPP $CPPFLAGS'
24287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24290
24291
24292 fi
24293
24294 fi
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24296 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24297
24298 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24299 for ac_func in ldexpf
24300 do :
24301 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24302 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24303 cat >>confdefs.h <<_ACEOF
24304 #define HAVE_LDEXPF 1
24305 _ACEOF
24306
24307 fi
24308 done
24309
24310 else
24311
24312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24313 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24314 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24315 if test "${glibcxx_cv_func__ldexpf_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 _ldexpf(0, 0);
24333 ;
24334 return 0;
24335 }
24336 _ACEOF
24337 if ac_fn_cxx_try_compile "$LINENO"; then :
24338 glibcxx_cv_func__ldexpf_use=yes
24339 else
24340 glibcxx_cv_func__ldexpf_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
24350 fi
24351
24352 fi
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24354 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24355
24356 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24357 for ac_func in _ldexpf
24358 do :
24359 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24360 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24361 cat >>confdefs.h <<_ACEOF
24362 #define HAVE__LDEXPF 1
24363 _ACEOF
24364
24365 fi
24366 done
24367
24368 fi
24369 fi
24370
24371
24372
24373
24374
24375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24376 $as_echo_n "checking for logf declaration... " >&6; }
24377 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24378 if test "${glibcxx_cv_func_logf_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 logf(0);
24400 ;
24401 return 0;
24402 }
24403 _ACEOF
24404 if ac_fn_cxx_try_compile "$LINENO"; then :
24405 glibcxx_cv_func_logf_use=yes
24406 else
24407 glibcxx_cv_func_logf_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_logf_use" >&5
24421 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24422
24423 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24424 for ac_func in logf
24425 do :
24426 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24427 if test "x$ac_cv_func_logf" = x""yes; then :
24428 cat >>confdefs.h <<_ACEOF
24429 #define HAVE_LOGF 1
24430 _ACEOF
24431
24432 fi
24433 done
24434
24435 else
24436
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24438 $as_echo_n "checking for _logf declaration... " >&6; }
24439 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24440 if test "${glibcxx_cv_func__logf_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 _logf(0);
24462 ;
24463 return 0;
24464 }
24465 _ACEOF
24466 if ac_fn_cxx_try_compile "$LINENO"; then :
24467 glibcxx_cv_func__logf_use=yes
24468 else
24469 glibcxx_cv_func__logf_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__logf_use" >&5
24483 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24484
24485 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24486 for ac_func in _logf
24487 do :
24488 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24489 if test "x$ac_cv_func__logf" = x""yes; then :
24490 cat >>confdefs.h <<_ACEOF
24491 #define HAVE__LOGF 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 log10f declaration" >&5
24505 $as_echo_n "checking for log10f declaration... " >&6; }
24506 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24507 if test "${glibcxx_cv_func_log10f_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 log10f(0);
24529 ;
24530 return 0;
24531 }
24532 _ACEOF
24533 if ac_fn_cxx_try_compile "$LINENO"; then :
24534 glibcxx_cv_func_log10f_use=yes
24535 else
24536 glibcxx_cv_func_log10f_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_log10f_use" >&5
24550 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24551
24552 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24553 for ac_func in log10f
24554 do :
24555 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24556 if test "x$ac_cv_func_log10f" = x""yes; then :
24557 cat >>confdefs.h <<_ACEOF
24558 #define HAVE_LOG10F 1
24559 _ACEOF
24560
24561 fi
24562 done
24563
24564 else
24565
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24567 $as_echo_n "checking for _log10f declaration... " >&6; }
24568 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24569 if test "${glibcxx_cv_func__log10f_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 _log10f(0);
24591 ;
24592 return 0;
24593 }
24594 _ACEOF
24595 if ac_fn_cxx_try_compile "$LINENO"; then :
24596 glibcxx_cv_func__log10f_use=yes
24597 else
24598 glibcxx_cv_func__log10f_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__log10f_use" >&5
24612 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24613
24614 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24615 for ac_func in _log10f
24616 do :
24617 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24618 if test "x$ac_cv_func__log10f" = x""yes; then :
24619 cat >>confdefs.h <<_ACEOF
24620 #define HAVE__LOG10F 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 modff declaration" >&5
24634 $as_echo_n "checking for modff declaration... " >&6; }
24635 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24636 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
24654 ;
24655 return 0;
24656 }
24657 _ACEOF
24658 if ac_fn_cxx_try_compile "$LINENO"; then :
24659 glibcxx_cv_func_modff_use=yes
24660 else
24661 glibcxx_cv_func_modff_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_modff_use" >&5
24675 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24676
24677 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24678 for ac_func in modff
24679 do :
24680 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24681 if test "x$ac_cv_func_modff" = x""yes; then :
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE_MODFF 1
24684 _ACEOF
24685
24686 fi
24687 done
24688
24689 else
24690
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24692 $as_echo_n "checking for _modff declaration... " >&6; }
24693 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24694 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
24712 ;
24713 return 0;
24714 }
24715 _ACEOF
24716 if ac_fn_cxx_try_compile "$LINENO"; then :
24717 glibcxx_cv_func__modff_use=yes
24718 else
24719 glibcxx_cv_func__modff_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__modff_use" >&5
24733 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24734
24735 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24736 for ac_func in _modff
24737 do :
24738 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24739 if test "x$ac_cv_func__modff" = x""yes; then :
24740 cat >>confdefs.h <<_ACEOF
24741 #define HAVE__MODFF 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 modf declaration" >&5
24755 $as_echo_n "checking for modf declaration... " >&6; }
24756 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24757 if test "${glibcxx_cv_func_modf_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 int
24772 main ()
24773 {
24774 modf(0, 0);
24775 ;
24776 return 0;
24777 }
24778 _ACEOF
24779 if ac_fn_cxx_try_compile "$LINENO"; then :
24780 glibcxx_cv_func_modf_use=yes
24781 else
24782 glibcxx_cv_func_modf_use=no
24783 fi
24784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24785 ac_ext=c
24786 ac_cpp='$CPP $CPPFLAGS'
24787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24790
24791
24792 fi
24793
24794 fi
24795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24796 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24797
24798 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24799 for ac_func in modf
24800 do :
24801 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24802 if test "x$ac_cv_func_modf" = x""yes; then :
24803 cat >>confdefs.h <<_ACEOF
24804 #define HAVE_MODF 1
24805 _ACEOF
24806
24807 fi
24808 done
24809
24810 else
24811
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24813 $as_echo_n "checking for _modf declaration... " >&6; }
24814 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24815 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24816 $as_echo_n "(cached) " >&6
24817 else
24818
24819
24820 ac_ext=cpp
24821 ac_cpp='$CXXCPP $CPPFLAGS'
24822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24825
24826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24827 /* end confdefs.h. */
24828 #include <math.h>
24829 int
24830 main ()
24831 {
24832 _modf(0, 0);
24833 ;
24834 return 0;
24835 }
24836 _ACEOF
24837 if ac_fn_cxx_try_compile "$LINENO"; then :
24838 glibcxx_cv_func__modf_use=yes
24839 else
24840 glibcxx_cv_func__modf_use=no
24841 fi
24842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24843 ac_ext=c
24844 ac_cpp='$CPP $CPPFLAGS'
24845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24848
24849
24850 fi
24851
24852 fi
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24854 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24855
24856 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24857 for ac_func in _modf
24858 do :
24859 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24860 if test "x$ac_cv_func__modf" = x""yes; then :
24861 cat >>confdefs.h <<_ACEOF
24862 #define HAVE__MODF 1
24863 _ACEOF
24864
24865 fi
24866 done
24867
24868 fi
24869 fi
24870
24871
24872
24873
24874
24875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24876 $as_echo_n "checking for powf declaration... " >&6; }
24877 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24878 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24879 $as_echo_n "(cached) " >&6
24880 else
24881
24882
24883 ac_ext=cpp
24884 ac_cpp='$CXXCPP $CPPFLAGS'
24885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24888
24889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24890 /* end confdefs.h. */
24891 #include <math.h>
24892 int
24893 main ()
24894 {
24895 powf(0, 0);
24896 ;
24897 return 0;
24898 }
24899 _ACEOF
24900 if ac_fn_cxx_try_compile "$LINENO"; then :
24901 glibcxx_cv_func_powf_use=yes
24902 else
24903 glibcxx_cv_func_powf_use=no
24904 fi
24905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24906 ac_ext=c
24907 ac_cpp='$CPP $CPPFLAGS'
24908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24911
24912
24913 fi
24914
24915 fi
24916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24917 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24918
24919 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24920 for ac_func in powf
24921 do :
24922 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24923 if test "x$ac_cv_func_powf" = x""yes; then :
24924 cat >>confdefs.h <<_ACEOF
24925 #define HAVE_POWF 1
24926 _ACEOF
24927
24928 fi
24929 done
24930
24931 else
24932
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24934 $as_echo_n "checking for _powf declaration... " >&6; }
24935 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24936 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24937 $as_echo_n "(cached) " >&6
24938 else
24939
24940
24941 ac_ext=cpp
24942 ac_cpp='$CXXCPP $CPPFLAGS'
24943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24946
24947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24948 /* end confdefs.h. */
24949 #include <math.h>
24950 int
24951 main ()
24952 {
24953 _powf(0, 0);
24954 ;
24955 return 0;
24956 }
24957 _ACEOF
24958 if ac_fn_cxx_try_compile "$LINENO"; then :
24959 glibcxx_cv_func__powf_use=yes
24960 else
24961 glibcxx_cv_func__powf_use=no
24962 fi
24963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24964 ac_ext=c
24965 ac_cpp='$CPP $CPPFLAGS'
24966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24969
24970
24971 fi
24972
24973 fi
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24975 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24976
24977 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24978 for ac_func in _powf
24979 do :
24980 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24981 if test "x$ac_cv_func__powf" = x""yes; then :
24982 cat >>confdefs.h <<_ACEOF
24983 #define HAVE__POWF 1
24984 _ACEOF
24985
24986 fi
24987 done
24988
24989 fi
24990 fi
24991
24992
24993
24994
24995
24996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24997 $as_echo_n "checking for sqrtf declaration... " >&6; }
24998 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24999 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25000 $as_echo_n "(cached) " >&6
25001 else
25002
25003
25004 ac_ext=cpp
25005 ac_cpp='$CXXCPP $CPPFLAGS'
25006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25009
25010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25011 /* end confdefs.h. */
25012 #include <math.h>
25013 #ifdef HAVE_IEEEFP_H
25014 #include <ieeefp.h>
25015 #endif
25016
25017 int
25018 main ()
25019 {
25020 sqrtf(0);
25021 ;
25022 return 0;
25023 }
25024 _ACEOF
25025 if ac_fn_cxx_try_compile "$LINENO"; then :
25026 glibcxx_cv_func_sqrtf_use=yes
25027 else
25028 glibcxx_cv_func_sqrtf_use=no
25029 fi
25030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25031 ac_ext=c
25032 ac_cpp='$CPP $CPPFLAGS'
25033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25036
25037
25038 fi
25039
25040 fi
25041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25042 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25043
25044 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25045 for ac_func in sqrtf
25046 do :
25047 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25048 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25049 cat >>confdefs.h <<_ACEOF
25050 #define HAVE_SQRTF 1
25051 _ACEOF
25052
25053 fi
25054 done
25055
25056 else
25057
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25059 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25060 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25061 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25062 $as_echo_n "(cached) " >&6
25063 else
25064
25065
25066 ac_ext=cpp
25067 ac_cpp='$CXXCPP $CPPFLAGS'
25068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25071
25072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25073 /* end confdefs.h. */
25074 #include <math.h>
25075 #ifdef HAVE_IEEEFP_H
25076 #include <ieeefp.h>
25077 #endif
25078
25079 int
25080 main ()
25081 {
25082 _sqrtf(0);
25083 ;
25084 return 0;
25085 }
25086 _ACEOF
25087 if ac_fn_cxx_try_compile "$LINENO"; then :
25088 glibcxx_cv_func__sqrtf_use=yes
25089 else
25090 glibcxx_cv_func__sqrtf_use=no
25091 fi
25092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25093 ac_ext=c
25094 ac_cpp='$CPP $CPPFLAGS'
25095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25098
25099
25100 fi
25101
25102 fi
25103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25104 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25105
25106 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25107 for ac_func in _sqrtf
25108 do :
25109 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25110 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25111 cat >>confdefs.h <<_ACEOF
25112 #define HAVE__SQRTF 1
25113 _ACEOF
25114
25115 fi
25116 done
25117
25118 fi
25119 fi
25120
25121
25122
25123
25124
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25126 $as_echo_n "checking for sincosf declaration... " >&6; }
25127 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25128 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25129 $as_echo_n "(cached) " >&6
25130 else
25131
25132
25133 ac_ext=cpp
25134 ac_cpp='$CXXCPP $CPPFLAGS'
25135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25138
25139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25140 /* end confdefs.h. */
25141 #include <math.h>
25142 int
25143 main ()
25144 {
25145 sincosf(0, 0, 0);
25146 ;
25147 return 0;
25148 }
25149 _ACEOF
25150 if ac_fn_cxx_try_compile "$LINENO"; then :
25151 glibcxx_cv_func_sincosf_use=yes
25152 else
25153 glibcxx_cv_func_sincosf_use=no
25154 fi
25155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25156 ac_ext=c
25157 ac_cpp='$CPP $CPPFLAGS'
25158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25161
25162
25163 fi
25164
25165 fi
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25167 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25168
25169 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25170 for ac_func in sincosf
25171 do :
25172 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25173 if test "x$ac_cv_func_sincosf" = x""yes; then :
25174 cat >>confdefs.h <<_ACEOF
25175 #define HAVE_SINCOSF 1
25176 _ACEOF
25177
25178 fi
25179 done
25180
25181 else
25182
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25184 $as_echo_n "checking for _sincosf declaration... " >&6; }
25185 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25186 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25187 $as_echo_n "(cached) " >&6
25188 else
25189
25190
25191 ac_ext=cpp
25192 ac_cpp='$CXXCPP $CPPFLAGS'
25193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25196
25197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25198 /* end confdefs.h. */
25199 #include <math.h>
25200 int
25201 main ()
25202 {
25203 _sincosf(0, 0, 0);
25204 ;
25205 return 0;
25206 }
25207 _ACEOF
25208 if ac_fn_cxx_try_compile "$LINENO"; then :
25209 glibcxx_cv_func__sincosf_use=yes
25210 else
25211 glibcxx_cv_func__sincosf_use=no
25212 fi
25213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25214 ac_ext=c
25215 ac_cpp='$CPP $CPPFLAGS'
25216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25219
25220
25221 fi
25222
25223 fi
25224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25225 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25226
25227 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25228 for ac_func in _sincosf
25229 do :
25230 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25231 if test "x$ac_cv_func__sincosf" = x""yes; then :
25232 cat >>confdefs.h <<_ACEOF
25233 #define HAVE__SINCOSF 1
25234 _ACEOF
25235
25236 fi
25237 done
25238
25239 fi
25240 fi
25241
25242
25243
25244
25245
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25247 $as_echo_n "checking for finitef declaration... " >&6; }
25248 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25249 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25250 $as_echo_n "(cached) " >&6
25251 else
25252
25253
25254 ac_ext=cpp
25255 ac_cpp='$CXXCPP $CPPFLAGS'
25256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25259
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25262 #include <math.h>
25263 #ifdef HAVE_IEEEFP_H
25264 #include <ieeefp.h>
25265 #endif
25266
25267 int
25268 main ()
25269 {
25270 finitef(0);
25271 ;
25272 return 0;
25273 }
25274 _ACEOF
25275 if ac_fn_cxx_try_compile "$LINENO"; then :
25276 glibcxx_cv_func_finitef_use=yes
25277 else
25278 glibcxx_cv_func_finitef_use=no
25279 fi
25280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25281 ac_ext=c
25282 ac_cpp='$CPP $CPPFLAGS'
25283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25286
25287
25288 fi
25289
25290 fi
25291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25292 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25293
25294 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25295 for ac_func in finitef
25296 do :
25297 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25298 if test "x$ac_cv_func_finitef" = x""yes; then :
25299 cat >>confdefs.h <<_ACEOF
25300 #define HAVE_FINITEF 1
25301 _ACEOF
25302
25303 fi
25304 done
25305
25306 else
25307
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25309 $as_echo_n "checking for _finitef declaration... " >&6; }
25310 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25311 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25312 $as_echo_n "(cached) " >&6
25313 else
25314
25315
25316 ac_ext=cpp
25317 ac_cpp='$CXXCPP $CPPFLAGS'
25318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25321
25322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25323 /* end confdefs.h. */
25324 #include <math.h>
25325 #ifdef HAVE_IEEEFP_H
25326 #include <ieeefp.h>
25327 #endif
25328
25329 int
25330 main ()
25331 {
25332 _finitef(0);
25333 ;
25334 return 0;
25335 }
25336 _ACEOF
25337 if ac_fn_cxx_try_compile "$LINENO"; then :
25338 glibcxx_cv_func__finitef_use=yes
25339 else
25340 glibcxx_cv_func__finitef_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__finitef_use" >&5
25354 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25355
25356 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25357 for ac_func in _finitef
25358 do :
25359 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25360 if test "x$ac_cv_func__finitef" = x""yes; then :
25361 cat >>confdefs.h <<_ACEOF
25362 #define HAVE__FINITEF 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 long double trig functions" >&5
25376 $as_echo_n "checking for long double trig functions... " >&6; }
25377 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25378 $as_echo_n "(cached) " >&6
25379 else
25380
25381
25382 ac_ext=cpp
25383 ac_cpp='$CXXCPP $CPPFLAGS'
25384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25387
25388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25390 #include <math.h>
25391 int
25392 main ()
25393 {
25394 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25395 ;
25396 return 0;
25397 }
25398 _ACEOF
25399 if ac_fn_cxx_try_compile "$LINENO"; then :
25400 glibcxx_cv_func_long_double_trig_use=yes
25401 else
25402 glibcxx_cv_func_long_double_trig_use=no
25403 fi
25404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25405 ac_ext=c
25406 ac_cpp='$CPP $CPPFLAGS'
25407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25410
25411 fi
25412
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25414 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25415 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25416 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25417 do :
25418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25420 eval as_val=\$$as_ac_var
25421 if test "x$as_val" = x""yes; then :
25422 cat >>confdefs.h <<_ACEOF
25423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25424 _ACEOF
25425
25426 fi
25427 done
25428
25429 else
25430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25431 $as_echo_n "checking for _long double trig functions... " >&6; }
25432 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25433 $as_echo_n "(cached) " >&6
25434 else
25435
25436
25437 ac_ext=cpp
25438 ac_cpp='$CXXCPP $CPPFLAGS'
25439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25442
25443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25444 /* end confdefs.h. */
25445 #include <math.h>
25446 int
25447 main ()
25448 {
25449 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25450 ;
25451 return 0;
25452 }
25453 _ACEOF
25454 if ac_fn_cxx_try_compile "$LINENO"; then :
25455 glibcxx_cv_func__long_double_trig_use=yes
25456 else
25457 glibcxx_cv_func__long_double_trig_use=no
25458 fi
25459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25460 ac_ext=c
25461 ac_cpp='$CPP $CPPFLAGS'
25462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25465
25466 fi
25467
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25469 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25470 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25471 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25472 do :
25473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25475 eval as_val=\$$as_ac_var
25476 if test "x$as_val" = x""yes; then :
25477 cat >>confdefs.h <<_ACEOF
25478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25479 _ACEOF
25480
25481 fi
25482 done
25483
25484 fi
25485 fi
25486
25487
25488
25489
25490
25491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25492 $as_echo_n "checking for long double round functions... " >&6; }
25493 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25494 $as_echo_n "(cached) " >&6
25495 else
25496
25497
25498 ac_ext=cpp
25499 ac_cpp='$CXXCPP $CPPFLAGS'
25500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25503
25504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h. */
25506 #include <math.h>
25507 int
25508 main ()
25509 {
25510 ceill (0); floorl (0);
25511 ;
25512 return 0;
25513 }
25514 _ACEOF
25515 if ac_fn_cxx_try_compile "$LINENO"; then :
25516 glibcxx_cv_func_long_double_round_use=yes
25517 else
25518 glibcxx_cv_func_long_double_round_use=no
25519 fi
25520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25521 ac_ext=c
25522 ac_cpp='$CPP $CPPFLAGS'
25523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25526
25527 fi
25528
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25530 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25531 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25532 for ac_func in ceill floorl
25533 do :
25534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25536 eval as_val=\$$as_ac_var
25537 if test "x$as_val" = x""yes; then :
25538 cat >>confdefs.h <<_ACEOF
25539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25540 _ACEOF
25541
25542 fi
25543 done
25544
25545 else
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25547 $as_echo_n "checking for _long double round functions... " >&6; }
25548 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25549 $as_echo_n "(cached) " >&6
25550 else
25551
25552
25553 ac_ext=cpp
25554 ac_cpp='$CXXCPP $CPPFLAGS'
25555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25558
25559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h. */
25561 #include <math.h>
25562 int
25563 main ()
25564 {
25565 _ceill (0); _floorl (0);
25566 ;
25567 return 0;
25568 }
25569 _ACEOF
25570 if ac_fn_cxx_try_compile "$LINENO"; then :
25571 glibcxx_cv_func__long_double_round_use=yes
25572 else
25573 glibcxx_cv_func__long_double_round_use=no
25574 fi
25575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25576 ac_ext=c
25577 ac_cpp='$CPP $CPPFLAGS'
25578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25581
25582 fi
25583
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25585 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25586 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25587 for ac_func in _ceill _floorl
25588 do :
25589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25591 eval as_val=\$$as_ac_var
25592 if test "x$as_val" = x""yes; then :
25593 cat >>confdefs.h <<_ACEOF
25594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25595 _ACEOF
25596
25597 fi
25598 done
25599
25600 fi
25601 fi
25602
25603
25604
25605
25606
25607
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25609 $as_echo_n "checking for isnanl declaration... " >&6; }
25610 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25611 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25612 $as_echo_n "(cached) " >&6
25613 else
25614
25615
25616 ac_ext=cpp
25617 ac_cpp='$CXXCPP $CPPFLAGS'
25618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25621
25622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25623 /* end confdefs.h. */
25624 #include <math.h>
25625 #ifdef HAVE_IEEEFP_H
25626 #include <ieeefp.h>
25627 #endif
25628
25629 int
25630 main ()
25631 {
25632 isnanl(0);
25633 ;
25634 return 0;
25635 }
25636 _ACEOF
25637 if ac_fn_cxx_try_compile "$LINENO"; then :
25638 glibcxx_cv_func_isnanl_use=yes
25639 else
25640 glibcxx_cv_func_isnanl_use=no
25641 fi
25642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25643 ac_ext=c
25644 ac_cpp='$CPP $CPPFLAGS'
25645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25648
25649
25650 fi
25651
25652 fi
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25654 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25655
25656 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25657 for ac_func in isnanl
25658 do :
25659 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25660 if test "x$ac_cv_func_isnanl" = x""yes; then :
25661 cat >>confdefs.h <<_ACEOF
25662 #define HAVE_ISNANL 1
25663 _ACEOF
25664
25665 fi
25666 done
25667
25668 else
25669
25670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25671 $as_echo_n "checking for _isnanl declaration... " >&6; }
25672 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25673 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25674 $as_echo_n "(cached) " >&6
25675 else
25676
25677
25678 ac_ext=cpp
25679 ac_cpp='$CXXCPP $CPPFLAGS'
25680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25683
25684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25685 /* end confdefs.h. */
25686 #include <math.h>
25687 #ifdef HAVE_IEEEFP_H
25688 #include <ieeefp.h>
25689 #endif
25690
25691 int
25692 main ()
25693 {
25694 _isnanl(0);
25695 ;
25696 return 0;
25697 }
25698 _ACEOF
25699 if ac_fn_cxx_try_compile "$LINENO"; then :
25700 glibcxx_cv_func__isnanl_use=yes
25701 else
25702 glibcxx_cv_func__isnanl_use=no
25703 fi
25704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25705 ac_ext=c
25706 ac_cpp='$CPP $CPPFLAGS'
25707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25710
25711
25712 fi
25713
25714 fi
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25716 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25717
25718 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25719 for ac_func in _isnanl
25720 do :
25721 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25722 if test "x$ac_cv_func__isnanl" = x""yes; then :
25723 cat >>confdefs.h <<_ACEOF
25724 #define HAVE__ISNANL 1
25725 _ACEOF
25726
25727 fi
25728 done
25729
25730 fi
25731 fi
25732
25733
25734
25735
25736
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25738 $as_echo_n "checking for isinfl declaration... " >&6; }
25739 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25740 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25741 $as_echo_n "(cached) " >&6
25742 else
25743
25744
25745 ac_ext=cpp
25746 ac_cpp='$CXXCPP $CPPFLAGS'
25747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25750
25751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25753 #include <math.h>
25754 #ifdef HAVE_IEEEFP_H
25755 #include <ieeefp.h>
25756 #endif
25757
25758 int
25759 main ()
25760 {
25761 isinfl(0);
25762 ;
25763 return 0;
25764 }
25765 _ACEOF
25766 if ac_fn_cxx_try_compile "$LINENO"; then :
25767 glibcxx_cv_func_isinfl_use=yes
25768 else
25769 glibcxx_cv_func_isinfl_use=no
25770 fi
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25772 ac_ext=c
25773 ac_cpp='$CPP $CPPFLAGS'
25774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25777
25778
25779 fi
25780
25781 fi
25782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25783 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25784
25785 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25786 for ac_func in isinfl
25787 do :
25788 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25789 if test "x$ac_cv_func_isinfl" = x""yes; then :
25790 cat >>confdefs.h <<_ACEOF
25791 #define HAVE_ISINFL 1
25792 _ACEOF
25793
25794 fi
25795 done
25796
25797 else
25798
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25800 $as_echo_n "checking for _isinfl declaration... " >&6; }
25801 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25802 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25803 $as_echo_n "(cached) " >&6
25804 else
25805
25806
25807 ac_ext=cpp
25808 ac_cpp='$CXXCPP $CPPFLAGS'
25809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25812
25813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25814 /* end confdefs.h. */
25815 #include <math.h>
25816 #ifdef HAVE_IEEEFP_H
25817 #include <ieeefp.h>
25818 #endif
25819
25820 int
25821 main ()
25822 {
25823 _isinfl(0);
25824 ;
25825 return 0;
25826 }
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func__isinfl_use=yes
25830 else
25831 glibcxx_cv_func__isinfl_use=no
25832 fi
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 ac_ext=c
25835 ac_cpp='$CPP $CPPFLAGS'
25836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25839
25840
25841 fi
25842
25843 fi
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25845 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25846
25847 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25848 for ac_func in _isinfl
25849 do :
25850 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25851 if test "x$ac_cv_func__isinfl" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE__ISINFL 1
25854 _ACEOF
25855
25856 fi
25857 done
25858
25859 fi
25860 fi
25861
25862
25863
25864
25865
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25867 $as_echo_n "checking for atan2l declaration... " >&6; }
25868 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25869 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25870 $as_echo_n "(cached) " >&6
25871 else
25872
25873
25874 ac_ext=cpp
25875 ac_cpp='$CXXCPP $CPPFLAGS'
25876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25879
25880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25881 /* end confdefs.h. */
25882 #include <math.h>
25883 int
25884 main ()
25885 {
25886 atan2l(0, 0);
25887 ;
25888 return 0;
25889 }
25890 _ACEOF
25891 if ac_fn_cxx_try_compile "$LINENO"; then :
25892 glibcxx_cv_func_atan2l_use=yes
25893 else
25894 glibcxx_cv_func_atan2l_use=no
25895 fi
25896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25897 ac_ext=c
25898 ac_cpp='$CPP $CPPFLAGS'
25899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25902
25903
25904 fi
25905
25906 fi
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25908 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25909
25910 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25911 for ac_func in atan2l
25912 do :
25913 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25914 if test "x$ac_cv_func_atan2l" = x""yes; then :
25915 cat >>confdefs.h <<_ACEOF
25916 #define HAVE_ATAN2L 1
25917 _ACEOF
25918
25919 fi
25920 done
25921
25922 else
25923
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25925 $as_echo_n "checking for _atan2l declaration... " >&6; }
25926 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25927 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25928 $as_echo_n "(cached) " >&6
25929 else
25930
25931
25932 ac_ext=cpp
25933 ac_cpp='$CXXCPP $CPPFLAGS'
25934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25937
25938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939 /* end confdefs.h. */
25940 #include <math.h>
25941 int
25942 main ()
25943 {
25944 _atan2l(0, 0);
25945 ;
25946 return 0;
25947 }
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950 glibcxx_cv_func__atan2l_use=yes
25951 else
25952 glibcxx_cv_func__atan2l_use=no
25953 fi
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25960
25961
25962 fi
25963
25964 fi
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25966 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25967
25968 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25969 for ac_func in _atan2l
25970 do :
25971 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25972 if test "x$ac_cv_func__atan2l" = x""yes; then :
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE__ATAN2L 1
25975 _ACEOF
25976
25977 fi
25978 done
25979
25980 fi
25981 fi
25982
25983
25984
25985
25986
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25988 $as_echo_n "checking for expl declaration... " >&6; }
25989 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25990 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25991 $as_echo_n "(cached) " >&6
25992 else
25993
25994
25995 ac_ext=cpp
25996 ac_cpp='$CXXCPP $CPPFLAGS'
25997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26000
26001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26002 /* end confdefs.h. */
26003 #include <math.h>
26004 #ifdef HAVE_IEEEFP_H
26005 #include <ieeefp.h>
26006 #endif
26007
26008 int
26009 main ()
26010 {
26011 expl(0);
26012 ;
26013 return 0;
26014 }
26015 _ACEOF
26016 if ac_fn_cxx_try_compile "$LINENO"; then :
26017 glibcxx_cv_func_expl_use=yes
26018 else
26019 glibcxx_cv_func_expl_use=no
26020 fi
26021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26022 ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26027
26028
26029 fi
26030
26031 fi
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26033 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26034
26035 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26036 for ac_func in expl
26037 do :
26038 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26039 if test "x$ac_cv_func_expl" = x""yes; then :
26040 cat >>confdefs.h <<_ACEOF
26041 #define HAVE_EXPL 1
26042 _ACEOF
26043
26044 fi
26045 done
26046
26047 else
26048
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26050 $as_echo_n "checking for _expl declaration... " >&6; }
26051 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26052 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26053 $as_echo_n "(cached) " >&6
26054 else
26055
26056
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26062
26063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26065 #include <math.h>
26066 #ifdef HAVE_IEEEFP_H
26067 #include <ieeefp.h>
26068 #endif
26069
26070 int
26071 main ()
26072 {
26073 _expl(0);
26074 ;
26075 return 0;
26076 }
26077 _ACEOF
26078 if ac_fn_cxx_try_compile "$LINENO"; then :
26079 glibcxx_cv_func__expl_use=yes
26080 else
26081 glibcxx_cv_func__expl_use=no
26082 fi
26083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26084 ac_ext=c
26085 ac_cpp='$CPP $CPPFLAGS'
26086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26089
26090
26091 fi
26092
26093 fi
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26095 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26096
26097 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26098 for ac_func in _expl
26099 do :
26100 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26101 if test "x$ac_cv_func__expl" = x""yes; then :
26102 cat >>confdefs.h <<_ACEOF
26103 #define HAVE__EXPL 1
26104 _ACEOF
26105
26106 fi
26107 done
26108
26109 fi
26110 fi
26111
26112
26113
26114
26115
26116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26117 $as_echo_n "checking for fabsl declaration... " >&6; }
26118 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26119 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26120 $as_echo_n "(cached) " >&6
26121 else
26122
26123
26124 ac_ext=cpp
26125 ac_cpp='$CXXCPP $CPPFLAGS'
26126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26129
26130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26131 /* end confdefs.h. */
26132 #include <math.h>
26133 #ifdef HAVE_IEEEFP_H
26134 #include <ieeefp.h>
26135 #endif
26136
26137 int
26138 main ()
26139 {
26140 fabsl(0);
26141 ;
26142 return 0;
26143 }
26144 _ACEOF
26145 if ac_fn_cxx_try_compile "$LINENO"; then :
26146 glibcxx_cv_func_fabsl_use=yes
26147 else
26148 glibcxx_cv_func_fabsl_use=no
26149 fi
26150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26151 ac_ext=c
26152 ac_cpp='$CPP $CPPFLAGS'
26153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26156
26157
26158 fi
26159
26160 fi
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26162 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26163
26164 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26165 for ac_func in fabsl
26166 do :
26167 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26168 if test "x$ac_cv_func_fabsl" = x""yes; then :
26169 cat >>confdefs.h <<_ACEOF
26170 #define HAVE_FABSL 1
26171 _ACEOF
26172
26173 fi
26174 done
26175
26176 else
26177
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26179 $as_echo_n "checking for _fabsl declaration... " >&6; }
26180 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26181 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26182 $as_echo_n "(cached) " >&6
26183 else
26184
26185
26186 ac_ext=cpp
26187 ac_cpp='$CXXCPP $CPPFLAGS'
26188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26191
26192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26194 #include <math.h>
26195 #ifdef HAVE_IEEEFP_H
26196 #include <ieeefp.h>
26197 #endif
26198
26199 int
26200 main ()
26201 {
26202 _fabsl(0);
26203 ;
26204 return 0;
26205 }
26206 _ACEOF
26207 if ac_fn_cxx_try_compile "$LINENO"; then :
26208 glibcxx_cv_func__fabsl_use=yes
26209 else
26210 glibcxx_cv_func__fabsl_use=no
26211 fi
26212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26213 ac_ext=c
26214 ac_cpp='$CPP $CPPFLAGS'
26215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26218
26219
26220 fi
26221
26222 fi
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26224 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26225
26226 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26227 for ac_func in _fabsl
26228 do :
26229 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26230 if test "x$ac_cv_func__fabsl" = x""yes; then :
26231 cat >>confdefs.h <<_ACEOF
26232 #define HAVE__FABSL 1
26233 _ACEOF
26234
26235 fi
26236 done
26237
26238 fi
26239 fi
26240
26241
26242
26243
26244
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26246 $as_echo_n "checking for fmodl declaration... " >&6; }
26247 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26248 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26249 $as_echo_n "(cached) " >&6
26250 else
26251
26252
26253 ac_ext=cpp
26254 ac_cpp='$CXXCPP $CPPFLAGS'
26255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26258
26259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26260 /* end confdefs.h. */
26261 #include <math.h>
26262 int
26263 main ()
26264 {
26265 fmodl(0, 0);
26266 ;
26267 return 0;
26268 }
26269 _ACEOF
26270 if ac_fn_cxx_try_compile "$LINENO"; then :
26271 glibcxx_cv_func_fmodl_use=yes
26272 else
26273 glibcxx_cv_func_fmodl_use=no
26274 fi
26275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26276 ac_ext=c
26277 ac_cpp='$CPP $CPPFLAGS'
26278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26281
26282
26283 fi
26284
26285 fi
26286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26287 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26288
26289 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26290 for ac_func in fmodl
26291 do :
26292 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26293 if test "x$ac_cv_func_fmodl" = x""yes; then :
26294 cat >>confdefs.h <<_ACEOF
26295 #define HAVE_FMODL 1
26296 _ACEOF
26297
26298 fi
26299 done
26300
26301 else
26302
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26304 $as_echo_n "checking for _fmodl declaration... " >&6; }
26305 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26306 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26307 $as_echo_n "(cached) " >&6
26308 else
26309
26310
26311 ac_ext=cpp
26312 ac_cpp='$CXXCPP $CPPFLAGS'
26313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26316
26317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26318 /* end confdefs.h. */
26319 #include <math.h>
26320 int
26321 main ()
26322 {
26323 _fmodl(0, 0);
26324 ;
26325 return 0;
26326 }
26327 _ACEOF
26328 if ac_fn_cxx_try_compile "$LINENO"; then :
26329 glibcxx_cv_func__fmodl_use=yes
26330 else
26331 glibcxx_cv_func__fmodl_use=no
26332 fi
26333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26334 ac_ext=c
26335 ac_cpp='$CPP $CPPFLAGS'
26336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26339
26340
26341 fi
26342
26343 fi
26344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26345 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26346
26347 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26348 for ac_func in _fmodl
26349 do :
26350 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26351 if test "x$ac_cv_func__fmodl" = x""yes; then :
26352 cat >>confdefs.h <<_ACEOF
26353 #define HAVE__FMODL 1
26354 _ACEOF
26355
26356 fi
26357 done
26358
26359 fi
26360 fi
26361
26362
26363
26364
26365
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26367 $as_echo_n "checking for frexpl declaration... " >&6; }
26368 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26369 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26370 $as_echo_n "(cached) " >&6
26371 else
26372
26373
26374 ac_ext=cpp
26375 ac_cpp='$CXXCPP $CPPFLAGS'
26376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26379
26380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26381 /* end confdefs.h. */
26382 #include <math.h>
26383 int
26384 main ()
26385 {
26386 frexpl(0, 0);
26387 ;
26388 return 0;
26389 }
26390 _ACEOF
26391 if ac_fn_cxx_try_compile "$LINENO"; then :
26392 glibcxx_cv_func_frexpl_use=yes
26393 else
26394 glibcxx_cv_func_frexpl_use=no
26395 fi
26396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26397 ac_ext=c
26398 ac_cpp='$CPP $CPPFLAGS'
26399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26402
26403
26404 fi
26405
26406 fi
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26408 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26409
26410 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26411 for ac_func in frexpl
26412 do :
26413 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26414 if test "x$ac_cv_func_frexpl" = x""yes; then :
26415 cat >>confdefs.h <<_ACEOF
26416 #define HAVE_FREXPL 1
26417 _ACEOF
26418
26419 fi
26420 done
26421
26422 else
26423
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26425 $as_echo_n "checking for _frexpl declaration... " >&6; }
26426 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26427 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26428 $as_echo_n "(cached) " >&6
26429 else
26430
26431
26432 ac_ext=cpp
26433 ac_cpp='$CXXCPP $CPPFLAGS'
26434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26437
26438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26439 /* end confdefs.h. */
26440 #include <math.h>
26441 int
26442 main ()
26443 {
26444 _frexpl(0, 0);
26445 ;
26446 return 0;
26447 }
26448 _ACEOF
26449 if ac_fn_cxx_try_compile "$LINENO"; then :
26450 glibcxx_cv_func__frexpl_use=yes
26451 else
26452 glibcxx_cv_func__frexpl_use=no
26453 fi
26454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26455 ac_ext=c
26456 ac_cpp='$CPP $CPPFLAGS'
26457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26460
26461
26462 fi
26463
26464 fi
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26466 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26467
26468 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26469 for ac_func in _frexpl
26470 do :
26471 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26472 if test "x$ac_cv_func__frexpl" = x""yes; then :
26473 cat >>confdefs.h <<_ACEOF
26474 #define HAVE__FREXPL 1
26475 _ACEOF
26476
26477 fi
26478 done
26479
26480 fi
26481 fi
26482
26483
26484
26485
26486
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26488 $as_echo_n "checking for hypotl declaration... " >&6; }
26489 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26490 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26491 $as_echo_n "(cached) " >&6
26492 else
26493
26494
26495 ac_ext=cpp
26496 ac_cpp='$CXXCPP $CPPFLAGS'
26497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26500
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26503 #include <math.h>
26504 int
26505 main ()
26506 {
26507 hypotl(0, 0);
26508 ;
26509 return 0;
26510 }
26511 _ACEOF
26512 if ac_fn_cxx_try_compile "$LINENO"; then :
26513 glibcxx_cv_func_hypotl_use=yes
26514 else
26515 glibcxx_cv_func_hypotl_use=no
26516 fi
26517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26518 ac_ext=c
26519 ac_cpp='$CPP $CPPFLAGS'
26520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26523
26524
26525 fi
26526
26527 fi
26528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26529 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26530
26531 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26532 for ac_func in hypotl
26533 do :
26534 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26535 if test "x$ac_cv_func_hypotl" = x""yes; then :
26536 cat >>confdefs.h <<_ACEOF
26537 #define HAVE_HYPOTL 1
26538 _ACEOF
26539
26540 fi
26541 done
26542
26543 else
26544
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26546 $as_echo_n "checking for _hypotl declaration... " >&6; }
26547 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26548 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26549 $as_echo_n "(cached) " >&6
26550 else
26551
26552
26553 ac_ext=cpp
26554 ac_cpp='$CXXCPP $CPPFLAGS'
26555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26558
26559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26560 /* end confdefs.h. */
26561 #include <math.h>
26562 int
26563 main ()
26564 {
26565 _hypotl(0, 0);
26566 ;
26567 return 0;
26568 }
26569 _ACEOF
26570 if ac_fn_cxx_try_compile "$LINENO"; then :
26571 glibcxx_cv_func__hypotl_use=yes
26572 else
26573 glibcxx_cv_func__hypotl_use=no
26574 fi
26575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26576 ac_ext=c
26577 ac_cpp='$CPP $CPPFLAGS'
26578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26581
26582
26583 fi
26584
26585 fi
26586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26587 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26588
26589 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26590 for ac_func in _hypotl
26591 do :
26592 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26593 if test "x$ac_cv_func__hypotl" = x""yes; then :
26594 cat >>confdefs.h <<_ACEOF
26595 #define HAVE__HYPOTL 1
26596 _ACEOF
26597
26598 fi
26599 done
26600
26601 fi
26602 fi
26603
26604
26605
26606
26607
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26609 $as_echo_n "checking for ldexpl declaration... " >&6; }
26610 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26611 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26612 $as_echo_n "(cached) " >&6
26613 else
26614
26615
26616 ac_ext=cpp
26617 ac_cpp='$CXXCPP $CPPFLAGS'
26618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26621
26622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26623 /* end confdefs.h. */
26624 #include <math.h>
26625 int
26626 main ()
26627 {
26628 ldexpl(0, 0);
26629 ;
26630 return 0;
26631 }
26632 _ACEOF
26633 if ac_fn_cxx_try_compile "$LINENO"; then :
26634 glibcxx_cv_func_ldexpl_use=yes
26635 else
26636 glibcxx_cv_func_ldexpl_use=no
26637 fi
26638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26639 ac_ext=c
26640 ac_cpp='$CPP $CPPFLAGS'
26641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26644
26645
26646 fi
26647
26648 fi
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26650 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26651
26652 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26653 for ac_func in ldexpl
26654 do :
26655 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26656 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26657 cat >>confdefs.h <<_ACEOF
26658 #define HAVE_LDEXPL 1
26659 _ACEOF
26660
26661 fi
26662 done
26663
26664 else
26665
26666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26667 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26668 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26669 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26670 $as_echo_n "(cached) " >&6
26671 else
26672
26673
26674 ac_ext=cpp
26675 ac_cpp='$CXXCPP $CPPFLAGS'
26676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26679
26680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26681 /* end confdefs.h. */
26682 #include <math.h>
26683 int
26684 main ()
26685 {
26686 _ldexpl(0, 0);
26687 ;
26688 return 0;
26689 }
26690 _ACEOF
26691 if ac_fn_cxx_try_compile "$LINENO"; then :
26692 glibcxx_cv_func__ldexpl_use=yes
26693 else
26694 glibcxx_cv_func__ldexpl_use=no
26695 fi
26696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26697 ac_ext=c
26698 ac_cpp='$CPP $CPPFLAGS'
26699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26702
26703
26704 fi
26705
26706 fi
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26708 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26709
26710 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26711 for ac_func in _ldexpl
26712 do :
26713 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26714 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26715 cat >>confdefs.h <<_ACEOF
26716 #define HAVE__LDEXPL 1
26717 _ACEOF
26718
26719 fi
26720 done
26721
26722 fi
26723 fi
26724
26725
26726
26727
26728
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26730 $as_echo_n "checking for logl declaration... " >&6; }
26731 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26732 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26733 $as_echo_n "(cached) " >&6
26734 else
26735
26736
26737 ac_ext=cpp
26738 ac_cpp='$CXXCPP $CPPFLAGS'
26739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26742
26743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26744 /* end confdefs.h. */
26745 #include <math.h>
26746 #ifdef HAVE_IEEEFP_H
26747 #include <ieeefp.h>
26748 #endif
26749
26750 int
26751 main ()
26752 {
26753 logl(0);
26754 ;
26755 return 0;
26756 }
26757 _ACEOF
26758 if ac_fn_cxx_try_compile "$LINENO"; then :
26759 glibcxx_cv_func_logl_use=yes
26760 else
26761 glibcxx_cv_func_logl_use=no
26762 fi
26763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26764 ac_ext=c
26765 ac_cpp='$CPP $CPPFLAGS'
26766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26769
26770
26771 fi
26772
26773 fi
26774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26775 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26776
26777 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26778 for ac_func in logl
26779 do :
26780 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26781 if test "x$ac_cv_func_logl" = x""yes; then :
26782 cat >>confdefs.h <<_ACEOF
26783 #define HAVE_LOGL 1
26784 _ACEOF
26785
26786 fi
26787 done
26788
26789 else
26790
26791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26792 $as_echo_n "checking for _logl declaration... " >&6; }
26793 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26794 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26795 $as_echo_n "(cached) " >&6
26796 else
26797
26798
26799 ac_ext=cpp
26800 ac_cpp='$CXXCPP $CPPFLAGS'
26801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26804
26805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26806 /* end confdefs.h. */
26807 #include <math.h>
26808 #ifdef HAVE_IEEEFP_H
26809 #include <ieeefp.h>
26810 #endif
26811
26812 int
26813 main ()
26814 {
26815 _logl(0);
26816 ;
26817 return 0;
26818 }
26819 _ACEOF
26820 if ac_fn_cxx_try_compile "$LINENO"; then :
26821 glibcxx_cv_func__logl_use=yes
26822 else
26823 glibcxx_cv_func__logl_use=no
26824 fi
26825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26826 ac_ext=c
26827 ac_cpp='$CPP $CPPFLAGS'
26828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26831
26832
26833 fi
26834
26835 fi
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26837 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26838
26839 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26840 for ac_func in _logl
26841 do :
26842 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26843 if test "x$ac_cv_func__logl" = x""yes; then :
26844 cat >>confdefs.h <<_ACEOF
26845 #define HAVE__LOGL 1
26846 _ACEOF
26847
26848 fi
26849 done
26850
26851 fi
26852 fi
26853
26854
26855
26856
26857
26858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26859 $as_echo_n "checking for log10l declaration... " >&6; }
26860 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26861 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26862 $as_echo_n "(cached) " >&6
26863 else
26864
26865
26866 ac_ext=cpp
26867 ac_cpp='$CXXCPP $CPPFLAGS'
26868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26871
26872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26873 /* end confdefs.h. */
26874 #include <math.h>
26875 #ifdef HAVE_IEEEFP_H
26876 #include <ieeefp.h>
26877 #endif
26878
26879 int
26880 main ()
26881 {
26882 log10l(0);
26883 ;
26884 return 0;
26885 }
26886 _ACEOF
26887 if ac_fn_cxx_try_compile "$LINENO"; then :
26888 glibcxx_cv_func_log10l_use=yes
26889 else
26890 glibcxx_cv_func_log10l_use=no
26891 fi
26892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26893 ac_ext=c
26894 ac_cpp='$CPP $CPPFLAGS'
26895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26898
26899
26900 fi
26901
26902 fi
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26904 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26905
26906 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26907 for ac_func in log10l
26908 do :
26909 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26910 if test "x$ac_cv_func_log10l" = x""yes; then :
26911 cat >>confdefs.h <<_ACEOF
26912 #define HAVE_LOG10L 1
26913 _ACEOF
26914
26915 fi
26916 done
26917
26918 else
26919
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26921 $as_echo_n "checking for _log10l declaration... " >&6; }
26922 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26923 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26924 $as_echo_n "(cached) " >&6
26925 else
26926
26927
26928 ac_ext=cpp
26929 ac_cpp='$CXXCPP $CPPFLAGS'
26930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26933
26934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26935 /* end confdefs.h. */
26936 #include <math.h>
26937 #ifdef HAVE_IEEEFP_H
26938 #include <ieeefp.h>
26939 #endif
26940
26941 int
26942 main ()
26943 {
26944 _log10l(0);
26945 ;
26946 return 0;
26947 }
26948 _ACEOF
26949 if ac_fn_cxx_try_compile "$LINENO"; then :
26950 glibcxx_cv_func__log10l_use=yes
26951 else
26952 glibcxx_cv_func__log10l_use=no
26953 fi
26954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26955 ac_ext=c
26956 ac_cpp='$CPP $CPPFLAGS'
26957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26960
26961
26962 fi
26963
26964 fi
26965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26966 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26967
26968 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26969 for ac_func in _log10l
26970 do :
26971 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26972 if test "x$ac_cv_func__log10l" = x""yes; then :
26973 cat >>confdefs.h <<_ACEOF
26974 #define HAVE__LOG10L 1
26975 _ACEOF
26976
26977 fi
26978 done
26979
26980 fi
26981 fi
26982
26983
26984
26985
26986
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26988 $as_echo_n "checking for modfl declaration... " >&6; }
26989 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26990 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26991 $as_echo_n "(cached) " >&6
26992 else
26993
26994
26995 ac_ext=cpp
26996 ac_cpp='$CXXCPP $CPPFLAGS'
26997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27000
27001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27002 /* end confdefs.h. */
27003 #include <math.h>
27004 int
27005 main ()
27006 {
27007 modfl(0, 0);
27008 ;
27009 return 0;
27010 }
27011 _ACEOF
27012 if ac_fn_cxx_try_compile "$LINENO"; then :
27013 glibcxx_cv_func_modfl_use=yes
27014 else
27015 glibcxx_cv_func_modfl_use=no
27016 fi
27017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27018 ac_ext=c
27019 ac_cpp='$CPP $CPPFLAGS'
27020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27023
27024
27025 fi
27026
27027 fi
27028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27029 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27030
27031 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27032 for ac_func in modfl
27033 do :
27034 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27035 if test "x$ac_cv_func_modfl" = x""yes; then :
27036 cat >>confdefs.h <<_ACEOF
27037 #define HAVE_MODFL 1
27038 _ACEOF
27039
27040 fi
27041 done
27042
27043 else
27044
27045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27046 $as_echo_n "checking for _modfl declaration... " >&6; }
27047 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27048 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27049 $as_echo_n "(cached) " >&6
27050 else
27051
27052
27053 ac_ext=cpp
27054 ac_cpp='$CXXCPP $CPPFLAGS'
27055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27058
27059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27060 /* end confdefs.h. */
27061 #include <math.h>
27062 int
27063 main ()
27064 {
27065 _modfl(0, 0);
27066 ;
27067 return 0;
27068 }
27069 _ACEOF
27070 if ac_fn_cxx_try_compile "$LINENO"; then :
27071 glibcxx_cv_func__modfl_use=yes
27072 else
27073 glibcxx_cv_func__modfl_use=no
27074 fi
27075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27076 ac_ext=c
27077 ac_cpp='$CPP $CPPFLAGS'
27078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27081
27082
27083 fi
27084
27085 fi
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27087 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27088
27089 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27090 for ac_func in _modfl
27091 do :
27092 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27093 if test "x$ac_cv_func__modfl" = x""yes; then :
27094 cat >>confdefs.h <<_ACEOF
27095 #define HAVE__MODFL 1
27096 _ACEOF
27097
27098 fi
27099 done
27100
27101 fi
27102 fi
27103
27104
27105
27106
27107
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27109 $as_echo_n "checking for powl declaration... " >&6; }
27110 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27111 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27112 $as_echo_n "(cached) " >&6
27113 else
27114
27115
27116 ac_ext=cpp
27117 ac_cpp='$CXXCPP $CPPFLAGS'
27118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27121
27122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27123 /* end confdefs.h. */
27124 #include <math.h>
27125 int
27126 main ()
27127 {
27128 powl(0, 0);
27129 ;
27130 return 0;
27131 }
27132 _ACEOF
27133 if ac_fn_cxx_try_compile "$LINENO"; then :
27134 glibcxx_cv_func_powl_use=yes
27135 else
27136 glibcxx_cv_func_powl_use=no
27137 fi
27138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27139 ac_ext=c
27140 ac_cpp='$CPP $CPPFLAGS'
27141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27144
27145
27146 fi
27147
27148 fi
27149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27150 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27151
27152 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27153 for ac_func in powl
27154 do :
27155 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27156 if test "x$ac_cv_func_powl" = x""yes; then :
27157 cat >>confdefs.h <<_ACEOF
27158 #define HAVE_POWL 1
27159 _ACEOF
27160
27161 fi
27162 done
27163
27164 else
27165
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27167 $as_echo_n "checking for _powl declaration... " >&6; }
27168 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27169 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27170 $as_echo_n "(cached) " >&6
27171 else
27172
27173
27174 ac_ext=cpp
27175 ac_cpp='$CXXCPP $CPPFLAGS'
27176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27179
27180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27181 /* end confdefs.h. */
27182 #include <math.h>
27183 int
27184 main ()
27185 {
27186 _powl(0, 0);
27187 ;
27188 return 0;
27189 }
27190 _ACEOF
27191 if ac_fn_cxx_try_compile "$LINENO"; then :
27192 glibcxx_cv_func__powl_use=yes
27193 else
27194 glibcxx_cv_func__powl_use=no
27195 fi
27196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27197 ac_ext=c
27198 ac_cpp='$CPP $CPPFLAGS'
27199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27202
27203
27204 fi
27205
27206 fi
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27208 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27209
27210 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27211 for ac_func in _powl
27212 do :
27213 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27214 if test "x$ac_cv_func__powl" = x""yes; then :
27215 cat >>confdefs.h <<_ACEOF
27216 #define HAVE__POWL 1
27217 _ACEOF
27218
27219 fi
27220 done
27221
27222 fi
27223 fi
27224
27225
27226
27227
27228
27229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27230 $as_echo_n "checking for sqrtl declaration... " >&6; }
27231 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27232 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27233 $as_echo_n "(cached) " >&6
27234 else
27235
27236
27237 ac_ext=cpp
27238 ac_cpp='$CXXCPP $CPPFLAGS'
27239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27242
27243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27244 /* end confdefs.h. */
27245 #include <math.h>
27246 #ifdef HAVE_IEEEFP_H
27247 #include <ieeefp.h>
27248 #endif
27249
27250 int
27251 main ()
27252 {
27253 sqrtl(0);
27254 ;
27255 return 0;
27256 }
27257 _ACEOF
27258 if ac_fn_cxx_try_compile "$LINENO"; then :
27259 glibcxx_cv_func_sqrtl_use=yes
27260 else
27261 glibcxx_cv_func_sqrtl_use=no
27262 fi
27263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 ac_ext=c
27265 ac_cpp='$CPP $CPPFLAGS'
27266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27269
27270
27271 fi
27272
27273 fi
27274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27275 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27276
27277 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27278 for ac_func in sqrtl
27279 do :
27280 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27281 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27282 cat >>confdefs.h <<_ACEOF
27283 #define HAVE_SQRTL 1
27284 _ACEOF
27285
27286 fi
27287 done
27288
27289 else
27290
27291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27292 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27293 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27294 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27295 $as_echo_n "(cached) " >&6
27296 else
27297
27298
27299 ac_ext=cpp
27300 ac_cpp='$CXXCPP $CPPFLAGS'
27301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27304
27305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27306 /* end confdefs.h. */
27307 #include <math.h>
27308 #ifdef HAVE_IEEEFP_H
27309 #include <ieeefp.h>
27310 #endif
27311
27312 int
27313 main ()
27314 {
27315 _sqrtl(0);
27316 ;
27317 return 0;
27318 }
27319 _ACEOF
27320 if ac_fn_cxx_try_compile "$LINENO"; then :
27321 glibcxx_cv_func__sqrtl_use=yes
27322 else
27323 glibcxx_cv_func__sqrtl_use=no
27324 fi
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 ac_ext=c
27327 ac_cpp='$CPP $CPPFLAGS'
27328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27331
27332
27333 fi
27334
27335 fi
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27337 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27338
27339 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27340 for ac_func in _sqrtl
27341 do :
27342 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27343 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27344 cat >>confdefs.h <<_ACEOF
27345 #define HAVE__SQRTL 1
27346 _ACEOF
27347
27348 fi
27349 done
27350
27351 fi
27352 fi
27353
27354
27355
27356
27357
27358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27359 $as_echo_n "checking for sincosl declaration... " >&6; }
27360 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27361 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27362 $as_echo_n "(cached) " >&6
27363 else
27364
27365
27366 ac_ext=cpp
27367 ac_cpp='$CXXCPP $CPPFLAGS'
27368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27371
27372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27373 /* end confdefs.h. */
27374 #include <math.h>
27375 int
27376 main ()
27377 {
27378 sincosl(0, 0, 0);
27379 ;
27380 return 0;
27381 }
27382 _ACEOF
27383 if ac_fn_cxx_try_compile "$LINENO"; then :
27384 glibcxx_cv_func_sincosl_use=yes
27385 else
27386 glibcxx_cv_func_sincosl_use=no
27387 fi
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27389 ac_ext=c
27390 ac_cpp='$CPP $CPPFLAGS'
27391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27394
27395
27396 fi
27397
27398 fi
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27400 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27401
27402 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27403 for ac_func in sincosl
27404 do :
27405 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27406 if test "x$ac_cv_func_sincosl" = x""yes; then :
27407 cat >>confdefs.h <<_ACEOF
27408 #define HAVE_SINCOSL 1
27409 _ACEOF
27410
27411 fi
27412 done
27413
27414 else
27415
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27417 $as_echo_n "checking for _sincosl declaration... " >&6; }
27418 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27419 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27420 $as_echo_n "(cached) " >&6
27421 else
27422
27423
27424 ac_ext=cpp
27425 ac_cpp='$CXXCPP $CPPFLAGS'
27426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27429
27430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27431 /* end confdefs.h. */
27432 #include <math.h>
27433 int
27434 main ()
27435 {
27436 _sincosl(0, 0, 0);
27437 ;
27438 return 0;
27439 }
27440 _ACEOF
27441 if ac_fn_cxx_try_compile "$LINENO"; then :
27442 glibcxx_cv_func__sincosl_use=yes
27443 else
27444 glibcxx_cv_func__sincosl_use=no
27445 fi
27446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27447 ac_ext=c
27448 ac_cpp='$CPP $CPPFLAGS'
27449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27452
27453
27454 fi
27455
27456 fi
27457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27458 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27459
27460 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27461 for ac_func in _sincosl
27462 do :
27463 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27464 if test "x$ac_cv_func__sincosl" = x""yes; then :
27465 cat >>confdefs.h <<_ACEOF
27466 #define HAVE__SINCOSL 1
27467 _ACEOF
27468
27469 fi
27470 done
27471
27472 fi
27473 fi
27474
27475
27476
27477
27478
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27480 $as_echo_n "checking for finitel declaration... " >&6; }
27481 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27482 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27483 $as_echo_n "(cached) " >&6
27484 else
27485
27486
27487 ac_ext=cpp
27488 ac_cpp='$CXXCPP $CPPFLAGS'
27489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27492
27493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27494 /* end confdefs.h. */
27495 #include <math.h>
27496 #ifdef HAVE_IEEEFP_H
27497 #include <ieeefp.h>
27498 #endif
27499
27500 int
27501 main ()
27502 {
27503 finitel(0);
27504 ;
27505 return 0;
27506 }
27507 _ACEOF
27508 if ac_fn_cxx_try_compile "$LINENO"; then :
27509 glibcxx_cv_func_finitel_use=yes
27510 else
27511 glibcxx_cv_func_finitel_use=no
27512 fi
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27514 ac_ext=c
27515 ac_cpp='$CPP $CPPFLAGS'
27516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27519
27520
27521 fi
27522
27523 fi
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27525 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27526
27527 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27528 for ac_func in finitel
27529 do :
27530 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27531 if test "x$ac_cv_func_finitel" = x""yes; then :
27532 cat >>confdefs.h <<_ACEOF
27533 #define HAVE_FINITEL 1
27534 _ACEOF
27535
27536 fi
27537 done
27538
27539 else
27540
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27542 $as_echo_n "checking for _finitel declaration... " >&6; }
27543 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27544 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27545 $as_echo_n "(cached) " >&6
27546 else
27547
27548
27549 ac_ext=cpp
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27554
27555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h. */
27557 #include <math.h>
27558 #ifdef HAVE_IEEEFP_H
27559 #include <ieeefp.h>
27560 #endif
27561
27562 int
27563 main ()
27564 {
27565 _finitel(0);
27566 ;
27567 return 0;
27568 }
27569 _ACEOF
27570 if ac_fn_cxx_try_compile "$LINENO"; then :
27571 glibcxx_cv_func__finitel_use=yes
27572 else
27573 glibcxx_cv_func__finitel_use=no
27574 fi
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576 ac_ext=c
27577 ac_cpp='$CPP $CPPFLAGS'
27578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27581
27582
27583 fi
27584
27585 fi
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27587 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27588
27589 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27590 for ac_func in _finitel
27591 do :
27592 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27593 if test "x$ac_cv_func__finitel" = x""yes; then :
27594 cat >>confdefs.h <<_ACEOF
27595 #define HAVE__FINITEL 1
27596 _ACEOF
27597
27598 fi
27599 done
27600
27601 fi
27602 fi
27603
27604
27605
27606
27607 LIBS="$ac_save_LIBS"
27608 CXXFLAGS="$ac_save_CXXFLAGS"
27609
27610
27611 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27612 ac_save_CXXFLAGS="$CXXFLAGS"
27613 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27614
27615
27616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27617 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27618 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27619 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27620 $as_echo_n "(cached) " >&6
27621 else
27622
27623
27624 ac_ext=cpp
27625 ac_cpp='$CXXCPP $CPPFLAGS'
27626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27629
27630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27631 /* end confdefs.h. */
27632 #include <stdlib.h>
27633 int
27634 main ()
27635 {
27636 at_quick_exit(0);
27637 ;
27638 return 0;
27639 }
27640 _ACEOF
27641 if ac_fn_cxx_try_compile "$LINENO"; then :
27642 glibcxx_cv_func_at_quick_exit_use=yes
27643 else
27644 glibcxx_cv_func_at_quick_exit_use=no
27645 fi
27646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27647 ac_ext=c
27648 ac_cpp='$CPP $CPPFLAGS'
27649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27652
27653
27654 fi
27655
27656 fi
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27658 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27659 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27660 for ac_func in at_quick_exit
27661 do :
27662 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27663 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27664 cat >>confdefs.h <<_ACEOF
27665 #define HAVE_AT_QUICK_EXIT 1
27666 _ACEOF
27667
27668 fi
27669 done
27670
27671 fi
27672
27673
27674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27675 $as_echo_n "checking for quick_exit declaration... " >&6; }
27676 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27677 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27678 $as_echo_n "(cached) " >&6
27679 else
27680
27681
27682 ac_ext=cpp
27683 ac_cpp='$CXXCPP $CPPFLAGS'
27684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27687
27688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27689 /* end confdefs.h. */
27690 #include <stdlib.h>
27691 int
27692 main ()
27693 {
27694 quick_exit(0);
27695 ;
27696 return 0;
27697 }
27698 _ACEOF
27699 if ac_fn_cxx_try_compile "$LINENO"; then :
27700 glibcxx_cv_func_quick_exit_use=yes
27701 else
27702 glibcxx_cv_func_quick_exit_use=no
27703 fi
27704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27705 ac_ext=c
27706 ac_cpp='$CPP $CPPFLAGS'
27707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27710
27711
27712 fi
27713
27714 fi
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27716 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27717 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27718 for ac_func in quick_exit
27719 do :
27720 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27721 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27722 cat >>confdefs.h <<_ACEOF
27723 #define HAVE_QUICK_EXIT 1
27724 _ACEOF
27725
27726 fi
27727 done
27728
27729 fi
27730
27731
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27733 $as_echo_n "checking for strtold declaration... " >&6; }
27734 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27735 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27736 $as_echo_n "(cached) " >&6
27737 else
27738
27739
27740 ac_ext=cpp
27741 ac_cpp='$CXXCPP $CPPFLAGS'
27742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27745
27746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27747 /* end confdefs.h. */
27748 #include <stdlib.h>
27749 int
27750 main ()
27751 {
27752 strtold(0, 0);
27753 ;
27754 return 0;
27755 }
27756 _ACEOF
27757 if ac_fn_cxx_try_compile "$LINENO"; then :
27758 glibcxx_cv_func_strtold_use=yes
27759 else
27760 glibcxx_cv_func_strtold_use=no
27761 fi
27762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27763 ac_ext=c
27764 ac_cpp='$CPP $CPPFLAGS'
27765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27768
27769
27770 fi
27771
27772 fi
27773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27774 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27775 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27776 for ac_func in strtold
27777 do :
27778 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27779 if test "x$ac_cv_func_strtold" = x""yes; then :
27780 cat >>confdefs.h <<_ACEOF
27781 #define HAVE_STRTOLD 1
27782 _ACEOF
27783
27784 fi
27785 done
27786
27787 fi
27788
27789
27790
27791
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27793 $as_echo_n "checking for strtof declaration... " >&6; }
27794 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27795 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27796 $as_echo_n "(cached) " >&6
27797 else
27798
27799
27800 ac_ext=cpp
27801 ac_cpp='$CXXCPP $CPPFLAGS'
27802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27805
27806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27807 /* end confdefs.h. */
27808 #include <stdlib.h>
27809 int
27810 main ()
27811 {
27812 strtof(0, 0);
27813 ;
27814 return 0;
27815 }
27816 _ACEOF
27817 if ac_fn_cxx_try_compile "$LINENO"; then :
27818 glibcxx_cv_func_strtof_use=yes
27819 else
27820 glibcxx_cv_func_strtof_use=no
27821 fi
27822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27823 ac_ext=c
27824 ac_cpp='$CPP $CPPFLAGS'
27825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27828
27829
27830 fi
27831
27832 fi
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27834 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27835 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27836 for ac_func in strtof
27837 do :
27838 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27839 if test "x$ac_cv_func_strtof" = x""yes; then :
27840 cat >>confdefs.h <<_ACEOF
27841 #define HAVE_STRTOF 1
27842 _ACEOF
27843
27844 fi
27845 done
27846
27847 fi
27848
27849
27850
27851
27852 CXXFLAGS="$ac_save_CXXFLAGS"
27853
27854
27855 # For /dev/random and /dev/urandom for TR1.
27856
27857
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27859 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27860 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27861 $as_echo_n "(cached) " >&6
27862 else
27863
27864 if test -r /dev/random && test -r /dev/urandom; then
27865 ## For MSys environment the test above is detect as false-positive
27866 ## on mingw-targets. So disable it explicit for them.
27867 case ${target_os} in
27868 *mingw*) glibcxx_cv_random_tr1=no ;;
27869 *) glibcxx_cv_random_tr1=yes ;;
27870 esac
27871 else
27872 glibcxx_cv_random_tr1=no;
27873 fi
27874
27875 fi
27876
27877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27878 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27879
27880 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27881
27882 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27883
27884 fi
27885
27886
27887
27888 # For TLS support.
27889
27890
27891 # Check whether --enable-tls was given.
27892 if test "${enable_tls+set}" = set; then :
27893 enableval=$enable_tls;
27894 case "$enableval" in
27895 yes|no) ;;
27896 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27897 esac
27898
27899 else
27900 enable_tls=yes
27901 fi
27902
27903
27904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27905 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27906 if test "${gcc_cv_have_tls+set}" = set; then :
27907 $as_echo_n "(cached) " >&6
27908 else
27909
27910 if test "$cross_compiling" = yes; then :
27911 if test x$gcc_no_link = xyes; then
27912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27913 fi
27914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27915 /* end confdefs.h. */
27916 __thread int a; int b; int main() { return a = b; }
27917 _ACEOF
27918 if ac_fn_c_try_link "$LINENO"; then :
27919 chktls_save_LDFLAGS="$LDFLAGS"
27920 case $host in
27921 *-*-linux*)
27922 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27923 ;;
27924 esac
27925 chktls_save_CFLAGS="$CFLAGS"
27926 CFLAGS="-fPIC $CFLAGS"
27927 if test x$gcc_no_link = xyes; then
27928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27929 fi
27930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27931 /* end confdefs.h. */
27932 int f() { return 0; }
27933 _ACEOF
27934 if ac_fn_c_try_link "$LINENO"; then :
27935 if test x$gcc_no_link = xyes; then
27936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27937 fi
27938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27939 /* end confdefs.h. */
27940 __thread int a; int b; int f() { return a = b; }
27941 _ACEOF
27942 if ac_fn_c_try_link "$LINENO"; then :
27943 gcc_cv_have_tls=yes
27944 else
27945 gcc_cv_have_tls=no
27946 fi
27947 rm -f core conftest.err conftest.$ac_objext \
27948 conftest$ac_exeext conftest.$ac_ext
27949 else
27950 gcc_cv_have_tls=yes
27951 fi
27952 rm -f core conftest.err conftest.$ac_objext \
27953 conftest$ac_exeext conftest.$ac_ext
27954 CFLAGS="$chktls_save_CFLAGS"
27955 LDFLAGS="$chktls_save_LDFLAGS"
27956 else
27957 gcc_cv_have_tls=no
27958 fi
27959 rm -f core conftest.err conftest.$ac_objext \
27960 conftest$ac_exeext conftest.$ac_ext
27961
27962
27963 else
27964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27965 /* end confdefs.h. */
27966 __thread int a; int b; int main() { return a = b; }
27967 _ACEOF
27968 if ac_fn_c_try_run "$LINENO"; then :
27969 chktls_save_LDFLAGS="$LDFLAGS"
27970 LDFLAGS="-static $LDFLAGS"
27971 if test x$gcc_no_link = xyes; then
27972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27973 fi
27974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27975 /* end confdefs.h. */
27976 int main() { return 0; }
27977 _ACEOF
27978 if ac_fn_c_try_link "$LINENO"; then :
27979 if test "$cross_compiling" = yes; then :
27980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27982 as_fn_error "cannot run test program while cross compiling
27983 See \`config.log' for more details." "$LINENO" 5; }
27984 else
27985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27986 /* end confdefs.h. */
27987 __thread int a; int b; int main() { return a = b; }
27988 _ACEOF
27989 if ac_fn_c_try_run "$LINENO"; then :
27990 gcc_cv_have_tls=yes
27991 else
27992 gcc_cv_have_tls=no
27993 fi
27994 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27995 conftest.$ac_objext conftest.beam conftest.$ac_ext
27996 fi
27997
27998 else
27999 gcc_cv_have_tls=yes
28000 fi
28001 rm -f core conftest.err conftest.$ac_objext \
28002 conftest$ac_exeext conftest.$ac_ext
28003 LDFLAGS="$chktls_save_LDFLAGS"
28004 if test $gcc_cv_have_tls = yes; then
28005 chktls_save_CFLAGS="$CFLAGS"
28006 thread_CFLAGS=failed
28007 for flag in '' '-pthread' '-lpthread'; do
28008 CFLAGS="$flag $chktls_save_CFLAGS"
28009 if test x$gcc_no_link = xyes; then
28010 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28011 fi
28012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28013 /* end confdefs.h. */
28014 #include <pthread.h>
28015 void *g(void *d) { return NULL; }
28016 int
28017 main ()
28018 {
28019 pthread_t t; pthread_create(&t,NULL,g,NULL);
28020 ;
28021 return 0;
28022 }
28023 _ACEOF
28024 if ac_fn_c_try_link "$LINENO"; then :
28025 thread_CFLAGS="$flag"
28026 fi
28027 rm -f core conftest.err conftest.$ac_objext \
28028 conftest$ac_exeext conftest.$ac_ext
28029 if test "X$thread_CFLAGS" != Xfailed; then
28030 break
28031 fi
28032 done
28033 CFLAGS="$chktls_save_CFLAGS"
28034 if test "X$thread_CFLAGS" != Xfailed; then
28035 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28036 if test "$cross_compiling" = yes; then :
28037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28039 as_fn_error "cannot run test program while cross compiling
28040 See \`config.log' for more details." "$LINENO" 5; }
28041 else
28042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28043 /* end confdefs.h. */
28044 #include <pthread.h>
28045 __thread int a;
28046 static int *volatile a_in_other_thread;
28047 static void *
28048 thread_func (void *arg)
28049 {
28050 a_in_other_thread = &a;
28051 return (void *)0;
28052 }
28053 int
28054 main ()
28055 {
28056 pthread_t thread;
28057 void *thread_retval;
28058 int *volatile a_in_main_thread;
28059 a_in_main_thread = &a;
28060 if (pthread_create (&thread, (pthread_attr_t *)0,
28061 thread_func, (void *)0))
28062 return 0;
28063 if (pthread_join (thread, &thread_retval))
28064 return 0;
28065 return (a_in_other_thread == a_in_main_thread);
28066 ;
28067 return 0;
28068 }
28069 _ACEOF
28070 if ac_fn_c_try_run "$LINENO"; then :
28071 gcc_cv_have_tls=yes
28072 else
28073 gcc_cv_have_tls=no
28074 fi
28075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28076 conftest.$ac_objext conftest.beam conftest.$ac_ext
28077 fi
28078
28079 CFLAGS="$chktls_save_CFLAGS"
28080 fi
28081 fi
28082 else
28083 gcc_cv_have_tls=no
28084 fi
28085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28086 conftest.$ac_objext conftest.beam conftest.$ac_ext
28087 fi
28088
28089 fi
28090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28091 $as_echo "$gcc_cv_have_tls" >&6; }
28092 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28093
28094 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28095
28096 fi
28097
28098 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28099 do :
28100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28102 eval as_val=\$$as_ac_var
28103 if test "x$as_val" = x""yes; then :
28104 cat >>confdefs.h <<_ACEOF
28105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28106 _ACEOF
28107
28108 fi
28109 done
28110
28111 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28112 do :
28113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28115 eval as_val=\$$as_ac_var
28116 if test "x$as_val" = x""yes; then :
28117 cat >>confdefs.h <<_ACEOF
28118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28119 _ACEOF
28120
28121 fi
28122 done
28123
28124 for ac_func in _wfopen
28125 do :
28126 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28127 if test "x$ac_cv_func__wfopen" = x""yes; then :
28128 cat >>confdefs.h <<_ACEOF
28129 #define HAVE__WFOPEN 1
28130 _ACEOF
28131
28132 fi
28133 done
28134
28135
28136 # For iconv support.
28137
28138 if test "X$prefix" = "XNONE"; then
28139 acl_final_prefix="$ac_default_prefix"
28140 else
28141 acl_final_prefix="$prefix"
28142 fi
28143 if test "X$exec_prefix" = "XNONE"; then
28144 acl_final_exec_prefix='${prefix}'
28145 else
28146 acl_final_exec_prefix="$exec_prefix"
28147 fi
28148 acl_save_prefix="$prefix"
28149 prefix="$acl_final_prefix"
28150 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28151 prefix="$acl_save_prefix"
28152
28153
28154 # Check whether --with-gnu-ld was given.
28155 if test "${with_gnu_ld+set}" = set; then :
28156 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28157 else
28158 with_gnu_ld=no
28159 fi
28160
28161 # Prepare PATH_SEPARATOR.
28162 # The user is always right.
28163 if test "${PATH_SEPARATOR+set}" != set; then
28164 echo "#! /bin/sh" >conf$$.sh
28165 echo "exit 0" >>conf$$.sh
28166 chmod +x conf$$.sh
28167 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28168 PATH_SEPARATOR=';'
28169 else
28170 PATH_SEPARATOR=:
28171 fi
28172 rm -f conf$$.sh
28173 fi
28174 ac_prog=ld
28175 if test "$GCC" = yes; then
28176 # Check if gcc -print-prog-name=ld gives a path.
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28178 $as_echo_n "checking for ld used by GCC... " >&6; }
28179 case $host in
28180 *-*-mingw*)
28181 # gcc leaves a trailing carriage return which upsets mingw
28182 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28183 *)
28184 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28185 esac
28186 case $ac_prog in
28187 # Accept absolute paths.
28188 [\\/]* | [A-Za-z]:[\\/]*)
28189 re_direlt='/[^/][^/]*/\.\./'
28190 # Canonicalize the path of ld
28191 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28192 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28193 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28194 done
28195 test -z "$LD" && LD="$ac_prog"
28196 ;;
28197 "")
28198 # If it fails, then pretend we aren't using GCC.
28199 ac_prog=ld
28200 ;;
28201 *)
28202 # If it is relative, then search for the first ld in PATH.
28203 with_gnu_ld=unknown
28204 ;;
28205 esac
28206 elif test "$with_gnu_ld" = yes; then
28207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28208 $as_echo_n "checking for GNU ld... " >&6; }
28209 else
28210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28211 $as_echo_n "checking for non-GNU ld... " >&6; }
28212 fi
28213 if test "${acl_cv_path_LD+set}" = set; then :
28214 $as_echo_n "(cached) " >&6
28215 else
28216 if test -z "$LD"; then
28217 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28218 for ac_dir in $PATH; do
28219 test -z "$ac_dir" && ac_dir=.
28220 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28221 acl_cv_path_LD="$ac_dir/$ac_prog"
28222 # Check to see if the program is GNU ld. I'd rather use --version,
28223 # but apparently some GNU ld's only accept -v.
28224 # Break only if it was the GNU/non-GNU ld that we prefer.
28225 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28226 test "$with_gnu_ld" != no && break
28227 else
28228 test "$with_gnu_ld" != yes && break
28229 fi
28230 fi
28231 done
28232 IFS="$ac_save_ifs"
28233 else
28234 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28235 fi
28236 fi
28237
28238 LD="$acl_cv_path_LD"
28239 if test -n "$LD"; then
28240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28241 $as_echo "$LD" >&6; }
28242 else
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28244 $as_echo "no" >&6; }
28245 fi
28246 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28248 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28249 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28250 $as_echo_n "(cached) " >&6
28251 else
28252 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28253 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28254 acl_cv_prog_gnu_ld=yes
28255 else
28256 acl_cv_prog_gnu_ld=no
28257 fi
28258 fi
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28260 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28261 with_gnu_ld=$acl_cv_prog_gnu_ld
28262
28263
28264
28265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28266 $as_echo_n "checking for shared library run path origin... " >&6; }
28267 if test "${acl_cv_rpath+set}" = set; then :
28268 $as_echo_n "(cached) " >&6
28269 else
28270
28271 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28272 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28273 . ./conftest.sh
28274 rm -f ./conftest.sh
28275 acl_cv_rpath=done
28276
28277 fi
28278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28279 $as_echo "$acl_cv_rpath" >&6; }
28280 wl="$acl_cv_wl"
28281 libext="$acl_cv_libext"
28282 shlibext="$acl_cv_shlibext"
28283 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28284 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28285 hardcode_direct="$acl_cv_hardcode_direct"
28286 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28287 # Check whether --enable-rpath was given.
28288 if test "${enable_rpath+set}" = set; then :
28289 enableval=$enable_rpath; :
28290 else
28291 enable_rpath=yes
28292 fi
28293
28294
28295
28296
28297
28298
28299
28300
28301 use_additional=yes
28302
28303 acl_save_prefix="$prefix"
28304 prefix="$acl_final_prefix"
28305 acl_save_exec_prefix="$exec_prefix"
28306 exec_prefix="$acl_final_exec_prefix"
28307
28308 eval additional_includedir=\"$includedir\"
28309 eval additional_libdir=\"$libdir\"
28310
28311 exec_prefix="$acl_save_exec_prefix"
28312 prefix="$acl_save_prefix"
28313
28314
28315 # Check whether --with-libiconv-prefix was given.
28316 if test "${with_libiconv_prefix+set}" = set; then :
28317 withval=$with_libiconv_prefix;
28318 if test "X$withval" = "Xno"; then
28319 use_additional=no
28320 else
28321 if test "X$withval" = "X"; then
28322
28323 acl_save_prefix="$prefix"
28324 prefix="$acl_final_prefix"
28325 acl_save_exec_prefix="$exec_prefix"
28326 exec_prefix="$acl_final_exec_prefix"
28327
28328 eval additional_includedir=\"$includedir\"
28329 eval additional_libdir=\"$libdir\"
28330
28331 exec_prefix="$acl_save_exec_prefix"
28332 prefix="$acl_save_prefix"
28333
28334 else
28335 additional_includedir="$withval/include"
28336 additional_libdir="$withval/lib"
28337 fi
28338 fi
28339
28340 fi
28341
28342 LIBICONV=
28343 LTLIBICONV=
28344 INCICONV=
28345 rpathdirs=
28346 ltrpathdirs=
28347 names_already_handled=
28348 names_next_round='iconv '
28349 while test -n "$names_next_round"; do
28350 names_this_round="$names_next_round"
28351 names_next_round=
28352 for name in $names_this_round; do
28353 already_handled=
28354 for n in $names_already_handled; do
28355 if test "$n" = "$name"; then
28356 already_handled=yes
28357 break
28358 fi
28359 done
28360 if test -z "$already_handled"; then
28361 names_already_handled="$names_already_handled $name"
28362 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28363 eval value=\"\$HAVE_LIB$uppername\"
28364 if test -n "$value"; then
28365 if test "$value" = yes; then
28366 eval value=\"\$LIB$uppername\"
28367 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28368 eval value=\"\$LTLIB$uppername\"
28369 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28370 else
28371 :
28372 fi
28373 else
28374 found_dir=
28375 found_la=
28376 found_so=
28377 found_a=
28378 if test $use_additional = yes; then
28379 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28380 found_dir="$additional_libdir"
28381 found_so="$additional_libdir/lib$name.$shlibext"
28382 if test -f "$additional_libdir/lib$name.la"; then
28383 found_la="$additional_libdir/lib$name.la"
28384 fi
28385 else
28386 if test -f "$additional_libdir/lib$name.$libext"; then
28387 found_dir="$additional_libdir"
28388 found_a="$additional_libdir/lib$name.$libext"
28389 if test -f "$additional_libdir/lib$name.la"; then
28390 found_la="$additional_libdir/lib$name.la"
28391 fi
28392 fi
28393 fi
28394 fi
28395 if test "X$found_dir" = "X"; then
28396 for x in $LDFLAGS $LTLIBICONV; do
28397
28398 acl_save_prefix="$prefix"
28399 prefix="$acl_final_prefix"
28400 acl_save_exec_prefix="$exec_prefix"
28401 exec_prefix="$acl_final_exec_prefix"
28402 eval x=\"$x\"
28403 exec_prefix="$acl_save_exec_prefix"
28404 prefix="$acl_save_prefix"
28405
28406 case "$x" in
28407 -L*)
28408 dir=`echo "X$x" | sed -e 's/^X-L//'`
28409 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28410 found_dir="$dir"
28411 found_so="$dir/lib$name.$shlibext"
28412 if test -f "$dir/lib$name.la"; then
28413 found_la="$dir/lib$name.la"
28414 fi
28415 else
28416 if test -f "$dir/lib$name.$libext"; then
28417 found_dir="$dir"
28418 found_a="$dir/lib$name.$libext"
28419 if test -f "$dir/lib$name.la"; then
28420 found_la="$dir/lib$name.la"
28421 fi
28422 fi
28423 fi
28424 ;;
28425 esac
28426 if test "X$found_dir" != "X"; then
28427 break
28428 fi
28429 done
28430 fi
28431 if test "X$found_dir" != "X"; then
28432 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28433 if test "X$found_so" != "X"; then
28434 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28435 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28436 else
28437 haveit=
28438 for x in $ltrpathdirs; do
28439 if test "X$x" = "X$found_dir"; then
28440 haveit=yes
28441 break
28442 fi
28443 done
28444 if test -z "$haveit"; then
28445 ltrpathdirs="$ltrpathdirs $found_dir"
28446 fi
28447 if test "$hardcode_direct" = yes; then
28448 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28449 else
28450 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28451 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28452 haveit=
28453 for x in $rpathdirs; do
28454 if test "X$x" = "X$found_dir"; then
28455 haveit=yes
28456 break
28457 fi
28458 done
28459 if test -z "$haveit"; then
28460 rpathdirs="$rpathdirs $found_dir"
28461 fi
28462 else
28463 haveit=
28464 for x in $LDFLAGS $LIBICONV; do
28465
28466 acl_save_prefix="$prefix"
28467 prefix="$acl_final_prefix"
28468 acl_save_exec_prefix="$exec_prefix"
28469 exec_prefix="$acl_final_exec_prefix"
28470 eval x=\"$x\"
28471 exec_prefix="$acl_save_exec_prefix"
28472 prefix="$acl_save_prefix"
28473
28474 if test "X$x" = "X-L$found_dir"; then
28475 haveit=yes
28476 break
28477 fi
28478 done
28479 if test -z "$haveit"; then
28480 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28481 fi
28482 if test "$hardcode_minus_L" != no; then
28483 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28484 else
28485 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28486 fi
28487 fi
28488 fi
28489 fi
28490 else
28491 if test "X$found_a" != "X"; then
28492 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28493 else
28494 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28495 fi
28496 fi
28497 additional_includedir=
28498 case "$found_dir" in
28499 */lib | */lib/)
28500 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28501 additional_includedir="$basedir/include"
28502 ;;
28503 esac
28504 if test "X$additional_includedir" != "X"; then
28505 if test "X$additional_includedir" != "X/usr/include"; then
28506 haveit=
28507 if test "X$additional_includedir" = "X/usr/local/include"; then
28508 if test -n "$GCC"; then
28509 case $host_os in
28510 linux*) haveit=yes;;
28511 esac
28512 fi
28513 fi
28514 if test -z "$haveit"; then
28515 for x in $CPPFLAGS $INCICONV; do
28516
28517 acl_save_prefix="$prefix"
28518 prefix="$acl_final_prefix"
28519 acl_save_exec_prefix="$exec_prefix"
28520 exec_prefix="$acl_final_exec_prefix"
28521 eval x=\"$x\"
28522 exec_prefix="$acl_save_exec_prefix"
28523 prefix="$acl_save_prefix"
28524
28525 if test "X$x" = "X-I$additional_includedir"; then
28526 haveit=yes
28527 break
28528 fi
28529 done
28530 if test -z "$haveit"; then
28531 if test -d "$additional_includedir"; then
28532 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28533 fi
28534 fi
28535 fi
28536 fi
28537 fi
28538 if test -n "$found_la"; then
28539 save_libdir="$libdir"
28540 case "$found_la" in
28541 */* | *\\*) . "$found_la" ;;
28542 *) . "./$found_la" ;;
28543 esac
28544 libdir="$save_libdir"
28545 for dep in $dependency_libs; do
28546 case "$dep" in
28547 -L*)
28548 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28549 if test "X$additional_libdir" != "X/usr/lib"; then
28550 haveit=
28551 if test "X$additional_libdir" = "X/usr/local/lib"; then
28552 if test -n "$GCC"; then
28553 case $host_os in
28554 linux*) haveit=yes;;
28555 esac
28556 fi
28557 fi
28558 if test -z "$haveit"; then
28559 haveit=
28560 for x in $LDFLAGS $LIBICONV; do
28561
28562 acl_save_prefix="$prefix"
28563 prefix="$acl_final_prefix"
28564 acl_save_exec_prefix="$exec_prefix"
28565 exec_prefix="$acl_final_exec_prefix"
28566 eval x=\"$x\"
28567 exec_prefix="$acl_save_exec_prefix"
28568 prefix="$acl_save_prefix"
28569
28570 if test "X$x" = "X-L$additional_libdir"; then
28571 haveit=yes
28572 break
28573 fi
28574 done
28575 if test -z "$haveit"; then
28576 if test -d "$additional_libdir"; then
28577 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28578 fi
28579 fi
28580 haveit=
28581 for x in $LDFLAGS $LTLIBICONV; do
28582
28583 acl_save_prefix="$prefix"
28584 prefix="$acl_final_prefix"
28585 acl_save_exec_prefix="$exec_prefix"
28586 exec_prefix="$acl_final_exec_prefix"
28587 eval x=\"$x\"
28588 exec_prefix="$acl_save_exec_prefix"
28589 prefix="$acl_save_prefix"
28590
28591 if test "X$x" = "X-L$additional_libdir"; then
28592 haveit=yes
28593 break
28594 fi
28595 done
28596 if test -z "$haveit"; then
28597 if test -d "$additional_libdir"; then
28598 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28599 fi
28600 fi
28601 fi
28602 fi
28603 ;;
28604 -R*)
28605 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28606 if test "$enable_rpath" != no; then
28607 haveit=
28608 for x in $rpathdirs; do
28609 if test "X$x" = "X$dir"; then
28610 haveit=yes
28611 break
28612 fi
28613 done
28614 if test -z "$haveit"; then
28615 rpathdirs="$rpathdirs $dir"
28616 fi
28617 haveit=
28618 for x in $ltrpathdirs; do
28619 if test "X$x" = "X$dir"; then
28620 haveit=yes
28621 break
28622 fi
28623 done
28624 if test -z "$haveit"; then
28625 ltrpathdirs="$ltrpathdirs $dir"
28626 fi
28627 fi
28628 ;;
28629 -l*)
28630 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28631 ;;
28632 *.la)
28633 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28634 ;;
28635 *)
28636 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28637 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28638 ;;
28639 esac
28640 done
28641 fi
28642 else
28643 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28644 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28645 fi
28646 fi
28647 fi
28648 done
28649 done
28650 if test "X$rpathdirs" != "X"; then
28651 if test -n "$hardcode_libdir_separator"; then
28652 alldirs=
28653 for found_dir in $rpathdirs; do
28654 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28655 done
28656 acl_save_libdir="$libdir"
28657 libdir="$alldirs"
28658 eval flag=\"$hardcode_libdir_flag_spec\"
28659 libdir="$acl_save_libdir"
28660 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28661 else
28662 for found_dir in $rpathdirs; do
28663 acl_save_libdir="$libdir"
28664 libdir="$found_dir"
28665 eval flag=\"$hardcode_libdir_flag_spec\"
28666 libdir="$acl_save_libdir"
28667 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28668 done
28669 fi
28670 fi
28671 if test "X$ltrpathdirs" != "X"; then
28672 for found_dir in $ltrpathdirs; do
28673 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28674 done
28675 fi
28676
28677
28678
28679
28680
28681
28682
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28684 $as_echo_n "checking for iconv... " >&6; }
28685 if test "${am_cv_func_iconv+set}" = set; then :
28686 $as_echo_n "(cached) " >&6
28687 else
28688
28689 am_cv_func_iconv="no, consider installing GNU libiconv"
28690 am_cv_lib_iconv=no
28691 am_save_CPPFLAGS="$CPPFLAGS"
28692 CPPFLAGS="$CPPFLAGS $INCICONV"
28693 if test x$gcc_no_link = xyes; then
28694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28695 fi
28696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28697 /* end confdefs.h. */
28698 #include <stdlib.h>
28699 #include <iconv.h>
28700 int
28701 main ()
28702 {
28703 iconv_t cd = iconv_open("","");
28704 iconv(cd,NULL,NULL,NULL,NULL);
28705 iconv_close(cd);
28706 ;
28707 return 0;
28708 }
28709 _ACEOF
28710 if ac_fn_c_try_link "$LINENO"; then :
28711 am_cv_func_iconv=yes
28712 fi
28713 rm -f core conftest.err conftest.$ac_objext \
28714 conftest$ac_exeext conftest.$ac_ext
28715 CPPFLAGS="$am_save_CPPFLAGS"
28716
28717 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28718 for _libs in .libs _libs; do
28719 am_save_CPPFLAGS="$CPPFLAGS"
28720 am_save_LIBS="$LIBS"
28721 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28722 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28723 if test x$gcc_no_link = xyes; then
28724 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28725 fi
28726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28727 /* end confdefs.h. */
28728 #include <stdlib.h>
28729 #include <iconv.h>
28730 int
28731 main ()
28732 {
28733 iconv_t cd = iconv_open("","");
28734 iconv(cd,NULL,NULL,NULL,NULL);
28735 iconv_close(cd);
28736 ;
28737 return 0;
28738 }
28739 _ACEOF
28740 if ac_fn_c_try_link "$LINENO"; then :
28741 INCICONV="-I../libiconv/include"
28742 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28743 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28744 am_cv_lib_iconv=yes
28745 am_cv_func_iconv=yes
28746 fi
28747 rm -f core conftest.err conftest.$ac_objext \
28748 conftest$ac_exeext conftest.$ac_ext
28749 CPPFLAGS="$am_save_CPPFLAGS"
28750 LIBS="$am_save_LIBS"
28751 if test "$am_cv_func_iconv" = "yes"; then
28752 break
28753 fi
28754 done
28755 fi
28756
28757 if test "$am_cv_func_iconv" != yes; then
28758 am_save_CPPFLAGS="$CPPFLAGS"
28759 am_save_LIBS="$LIBS"
28760 CPPFLAGS="$LIBS $INCICONV"
28761 LIBS="$LIBS $LIBICONV"
28762 if test x$gcc_no_link = xyes; then
28763 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28764 fi
28765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28766 /* end confdefs.h. */
28767 #include <stdlib.h>
28768 #include <iconv.h>
28769 int
28770 main ()
28771 {
28772 iconv_t cd = iconv_open("","");
28773 iconv(cd,NULL,NULL,NULL,NULL);
28774 iconv_close(cd);
28775 ;
28776 return 0;
28777 }
28778 _ACEOF
28779 if ac_fn_c_try_link "$LINENO"; then :
28780 am_cv_lib_iconv=yes
28781 am_cv_func_iconv=yes
28782 fi
28783 rm -f core conftest.err conftest.$ac_objext \
28784 conftest$ac_exeext conftest.$ac_ext
28785 CPPFLAGS="$am_save_CPPFLAGS"
28786 LIBS="$am_save_LIBS"
28787 fi
28788
28789 fi
28790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28791 $as_echo "$am_cv_func_iconv" >&6; }
28792 if test "$am_cv_func_iconv" = yes; then
28793
28794 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28795
28796 fi
28797 if test "$am_cv_lib_iconv" = yes; then
28798
28799 for element in $INCICONV; do
28800 haveit=
28801 for x in $CPPFLAGS; do
28802
28803 acl_save_prefix="$prefix"
28804 prefix="$acl_final_prefix"
28805 acl_save_exec_prefix="$exec_prefix"
28806 exec_prefix="$acl_final_exec_prefix"
28807 eval x=\"$x\"
28808 exec_prefix="$acl_save_exec_prefix"
28809 prefix="$acl_save_prefix"
28810
28811 if test "X$x" = "X$element"; then
28812 haveit=yes
28813 break
28814 fi
28815 done
28816 if test -z "$haveit"; then
28817 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28818 fi
28819 done
28820
28821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28822 $as_echo_n "checking how to link with libiconv... " >&6; }
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28824 $as_echo "$LIBICONV" >&6; }
28825 else
28826 LIBICONV=
28827 LTLIBICONV=
28828 fi
28829
28830
28831
28832 if test "$am_cv_func_iconv" = yes; then
28833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28834 $as_echo_n "checking for iconv declaration... " >&6; }
28835 if test "${am_cv_proto_iconv+set}" = set; then :
28836 $as_echo_n "(cached) " >&6
28837 else
28838
28839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28840 /* end confdefs.h. */
28841
28842 #include <stdlib.h>
28843 #include <iconv.h>
28844 extern
28845 #ifdef __cplusplus
28846 "C"
28847 #endif
28848 #if defined(__STDC__) || defined(__cplusplus)
28849 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28850 #else
28851 size_t iconv();
28852 #endif
28853
28854 int
28855 main ()
28856 {
28857
28858 ;
28859 return 0;
28860 }
28861 _ACEOF
28862 if ac_fn_c_try_compile "$LINENO"; then :
28863 am_cv_proto_iconv_arg1=""
28864 else
28865 am_cv_proto_iconv_arg1="const"
28866 fi
28867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28868 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);"
28869 fi
28870
28871 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28873 }$am_cv_proto_iconv" >&5
28874 $as_echo "${ac_t:-
28875 }$am_cv_proto_iconv" >&6; }
28876
28877 cat >>confdefs.h <<_ACEOF
28878 #define ICONV_CONST $am_cv_proto_iconv_arg1
28879 _ACEOF
28880
28881 fi
28882
28883
28884 else
28885
28886 # This lets us hard-code the functionality we know we'll have in the cross
28887 # target environment. "Let" is a sugar-coated word placed on an especially
28888 # dull and tedious hack, actually.
28889 #
28890 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28891 # that involve linking, can't be used:
28892 # "cannot open sim-crt0.o"
28893 # "cannot open crt0.o"
28894 # etc. All this is because there currently exists no unified, consistent
28895 # way for top level CC information to be passed down to target directories:
28896 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28897 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28898 # crosses can be removed.
28899
28900 # If Canadian cross, then don't pick up tools from the build directory.
28901 # Used only in GLIBCXX_EXPORT_INCLUDES.
28902 if test -n "$with_cross_host" &&
28903 test x"$build_alias" != x"$with_cross_host" &&
28904 test x"$build" != x"$target";
28905 then
28906 CANADIAN=yes
28907 else
28908 CANADIAN=no
28909 fi
28910
28911 # Construct crosses by hand, eliminating bits that need ld...
28912 # GLIBCXX_CHECK_MATH_SUPPORT
28913
28914 # First, test for "known" system libraries. We may be using newlib even
28915 # on a hosted environment.
28916 if test "x${with_newlib}" = "xyes"; then
28917 os_include_dir="os/newlib"
28918 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28919
28920
28921 # GLIBCXX_CHECK_STDLIB_SUPPORT
28922 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28923
28924
28925 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28926
28927 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28928
28929 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28930
28931 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28932
28933 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28934
28935 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28936
28937 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28938
28939 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28940
28941 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28942
28943 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28944
28945 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28946
28947 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28948
28949 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28950
28951 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28952
28953 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28954
28955 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28956
28957 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28958
28959 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28960
28961 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28962
28963 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28964
28965 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28966
28967 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28968
28969
28970 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28971
28972 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28973
28974 else
28975
28976 # Base decisions on target environment.
28977 case "${host}" in
28978 arm*-*-symbianelf*)
28979 # This is a freestanding configuration; there is nothing to do here.
28980 ;;
28981
28982 avr*-*-*)
28983 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28984
28985 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28986
28987 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28988
28989 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28990
28991 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28992
28993 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28994
28995 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28996
28997 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28998
28999 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29000
29001 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29002
29003 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29004
29005 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29006
29007 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29008
29009 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29010
29011 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29012
29013 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29014
29015 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29016
29017 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29018
29019 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29020
29021 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29022
29023 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29024
29025 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29026
29027 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29028
29029 ;;
29030
29031 mips*-sde-elf*)
29032 # These definitions are for the SDE C library rather than newlib.
29033 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29034
29035
29036 # All these tests are for C++; save the language and the compiler flags.
29037 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29038 # found in GLIBCXX_CONFIGURE.
29039
29040 ac_ext=cpp
29041 ac_cpp='$CXXCPP $CPPFLAGS'
29042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29045
29046 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29047 ac_save_CXXFLAGS="$CXXFLAGS"
29048
29049 # Check for -ffunction-sections -fdata-sections
29050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29051 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29052 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29054 /* end confdefs.h. */
29055 int foo; void bar() { };
29056 int
29057 main ()
29058 {
29059
29060 ;
29061 return 0;
29062 }
29063 _ACEOF
29064 if ac_fn_cxx_try_compile "$LINENO"; then :
29065 ac_fdsections=yes
29066 else
29067 ac_fdsections=no
29068 fi
29069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29070 if test "$ac_test_CXXFLAGS" = set; then
29071 CXXFLAGS="$ac_save_CXXFLAGS"
29072 else
29073 # this is the suspicious part
29074 CXXFLAGS=''
29075 fi
29076 if test x"$ac_fdsections" = x"yes"; then
29077 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29078 fi
29079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29080 $as_echo "$ac_fdsections" >&6; }
29081
29082 ac_ext=c
29083 ac_cpp='$CPP $CPPFLAGS'
29084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29087
29088
29089
29090
29091 # If we're not using GNU ld, then there's no point in even trying these
29092 # tests. Check for that first. We should have already tested for gld
29093 # by now (in libtool), but require it now just to be safe...
29094 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29095 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29096
29097
29098
29099 # The name set by libtool depends on the version of libtool. Shame on us
29100 # for depending on an impl detail, but c'est la vie. Older versions used
29101 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29102 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29103 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29104 # set (hence we're using an older libtool), then set it.
29105 if test x${with_gnu_ld+set} != xset; then
29106 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29107 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29108 with_gnu_ld=no
29109 else
29110 with_gnu_ld=$ac_cv_prog_gnu_ld
29111 fi
29112 fi
29113
29114 # Start by getting the version number. I think the libtool test already
29115 # does some of this, but throws away the result.
29116 glibcxx_ld_is_gold=no
29117 if test x"$with_gnu_ld" = x"yes"; then
29118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29119 $as_echo_n "checking for ld version... " >&6; }
29120
29121 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29122 glibcxx_ld_is_gold=yes
29123 fi
29124 ldver=`$LD --version 2>/dev/null |
29125 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'`
29126
29127 glibcxx_gnu_ld_version=`echo $ldver | \
29128 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29130 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29131 fi
29132
29133 # Set --gc-sections.
29134 glibcxx_have_gc_sections=no
29135 if test "$glibcxx_ld_is_gold" = "yes"; then
29136 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29137 glibcxx_have_gc_sections=yes
29138 fi
29139 else
29140 glibcxx_gcsections_min_ld=21602
29141 if test x"$with_gnu_ld" = x"yes" &&
29142 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29143 glibcxx_have_gc_sections=yes
29144 fi
29145 fi
29146 if test "$glibcxx_have_gc_sections" = "yes"; then
29147 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29148 # NB: This flag only works reliably after 2.16.1. Configure tests
29149 # for this are difficult, so hard wire a value that should work.
29150
29151 ac_test_CFLAGS="${CFLAGS+set}"
29152 ac_save_CFLAGS="$CFLAGS"
29153 CFLAGS='-Wl,--gc-sections'
29154
29155 # Check for -Wl,--gc-sections
29156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29157 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29158 if test x$gcc_no_link = xyes; then
29159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29160 fi
29161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29162 /* end confdefs.h. */
29163 int one(void) { return 1; }
29164 int two(void) { return 2; }
29165
29166 int
29167 main ()
29168 {
29169 two();
29170 ;
29171 return 0;
29172 }
29173 _ACEOF
29174 if ac_fn_c_try_link "$LINENO"; then :
29175 ac_gcsections=yes
29176 else
29177 ac_gcsections=no
29178 fi
29179 rm -f core conftest.err conftest.$ac_objext \
29180 conftest$ac_exeext conftest.$ac_ext
29181 if test "$ac_gcsections" = "yes"; then
29182 rm -f conftest.c
29183 touch conftest.c
29184 if $CC -c conftest.c; then
29185 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29186 grep "Warning: gc-sections option ignored" > /dev/null; then
29187 ac_gcsections=no
29188 fi
29189 fi
29190 rm -f conftest.c conftest.o conftest
29191 fi
29192 if test "$ac_gcsections" = "yes"; then
29193 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29194 fi
29195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29196 $as_echo "$ac_gcsections" >&6; }
29197
29198 if test "$ac_test_CFLAGS" = set; then
29199 CFLAGS="$ac_save_CFLAGS"
29200 else
29201 # this is the suspicious part
29202 CFLAGS=''
29203 fi
29204 fi
29205
29206 # Set -z,relro.
29207 # Note this is only for shared objects.
29208 ac_ld_relro=no
29209 if test x"$with_gnu_ld" = x"yes"; then
29210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29211 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29212 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29213 if test -n "$cxx_z_relo"; then
29214 OPT_LDFLAGS="-Wl,-z,relro"
29215 ac_ld_relro=yes
29216 fi
29217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29218 $as_echo "$ac_ld_relro" >&6; }
29219 fi
29220
29221 # Set linker optimization flags.
29222 if test x"$with_gnu_ld" = x"yes"; then
29223 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29224 fi
29225
29226
29227
29228
29229
29230 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29231 ac_save_CXXFLAGS="$CXXFLAGS"
29232 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29233
29234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29235 $as_echo_n "checking for sin in -lm... " >&6; }
29236 if test "${ac_cv_lib_m_sin+set}" = set; then :
29237 $as_echo_n "(cached) " >&6
29238 else
29239 ac_check_lib_save_LIBS=$LIBS
29240 LIBS="-lm $LIBS"
29241 if test x$gcc_no_link = xyes; then
29242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29243 fi
29244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29245 /* end confdefs.h. */
29246
29247 /* Override any GCC internal prototype to avoid an error.
29248 Use char because int might match the return type of a GCC
29249 builtin and then its argument prototype would still apply. */
29250 #ifdef __cplusplus
29251 extern "C"
29252 #endif
29253 char sin ();
29254 int
29255 main ()
29256 {
29257 return sin ();
29258 ;
29259 return 0;
29260 }
29261 _ACEOF
29262 if ac_fn_c_try_link "$LINENO"; then :
29263 ac_cv_lib_m_sin=yes
29264 else
29265 ac_cv_lib_m_sin=no
29266 fi
29267 rm -f core conftest.err conftest.$ac_objext \
29268 conftest$ac_exeext conftest.$ac_ext
29269 LIBS=$ac_check_lib_save_LIBS
29270 fi
29271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29272 $as_echo "$ac_cv_lib_m_sin" >&6; }
29273 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29274 libm="-lm"
29275 fi
29276
29277 ac_save_LIBS="$LIBS"
29278 LIBS="$LIBS $libm"
29279
29280
29281
29282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29283 $as_echo_n "checking for isinf declaration... " >&6; }
29284 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29285 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29286 $as_echo_n "(cached) " >&6
29287 else
29288
29289
29290 ac_ext=cpp
29291 ac_cpp='$CXXCPP $CPPFLAGS'
29292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29295
29296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29297 /* end confdefs.h. */
29298 #include <math.h>
29299 #ifdef HAVE_IEEEFP_H
29300 #include <ieeefp.h>
29301 #endif
29302
29303 int
29304 main ()
29305 {
29306 isinf(0);
29307 ;
29308 return 0;
29309 }
29310 _ACEOF
29311 if ac_fn_cxx_try_compile "$LINENO"; then :
29312 glibcxx_cv_func_isinf_use=yes
29313 else
29314 glibcxx_cv_func_isinf_use=no
29315 fi
29316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29317 ac_ext=c
29318 ac_cpp='$CPP $CPPFLAGS'
29319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29322
29323
29324 fi
29325
29326 fi
29327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29328 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29329
29330 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29331 for ac_func in isinf
29332 do :
29333 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29334 if test "x$ac_cv_func_isinf" = x""yes; then :
29335 cat >>confdefs.h <<_ACEOF
29336 #define HAVE_ISINF 1
29337 _ACEOF
29338
29339 fi
29340 done
29341
29342 else
29343
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29345 $as_echo_n "checking for _isinf declaration... " >&6; }
29346 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29347 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29348 $as_echo_n "(cached) " >&6
29349 else
29350
29351
29352 ac_ext=cpp
29353 ac_cpp='$CXXCPP $CPPFLAGS'
29354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29357
29358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29359 /* end confdefs.h. */
29360 #include <math.h>
29361 #ifdef HAVE_IEEEFP_H
29362 #include <ieeefp.h>
29363 #endif
29364
29365 int
29366 main ()
29367 {
29368 _isinf(0);
29369 ;
29370 return 0;
29371 }
29372 _ACEOF
29373 if ac_fn_cxx_try_compile "$LINENO"; then :
29374 glibcxx_cv_func__isinf_use=yes
29375 else
29376 glibcxx_cv_func__isinf_use=no
29377 fi
29378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29379 ac_ext=c
29380 ac_cpp='$CPP $CPPFLAGS'
29381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29384
29385
29386 fi
29387
29388 fi
29389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29390 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29391
29392 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29393 for ac_func in _isinf
29394 do :
29395 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29396 if test "x$ac_cv_func__isinf" = x""yes; then :
29397 cat >>confdefs.h <<_ACEOF
29398 #define HAVE__ISINF 1
29399 _ACEOF
29400
29401 fi
29402 done
29403
29404 fi
29405 fi
29406
29407
29408
29409
29410
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29412 $as_echo_n "checking for isnan declaration... " >&6; }
29413 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29414 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29415 $as_echo_n "(cached) " >&6
29416 else
29417
29418
29419 ac_ext=cpp
29420 ac_cpp='$CXXCPP $CPPFLAGS'
29421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29424
29425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29426 /* end confdefs.h. */
29427 #include <math.h>
29428 #ifdef HAVE_IEEEFP_H
29429 #include <ieeefp.h>
29430 #endif
29431
29432 int
29433 main ()
29434 {
29435 isnan(0);
29436 ;
29437 return 0;
29438 }
29439 _ACEOF
29440 if ac_fn_cxx_try_compile "$LINENO"; then :
29441 glibcxx_cv_func_isnan_use=yes
29442 else
29443 glibcxx_cv_func_isnan_use=no
29444 fi
29445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29446 ac_ext=c
29447 ac_cpp='$CPP $CPPFLAGS'
29448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29451
29452
29453 fi
29454
29455 fi
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29457 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29458
29459 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29460 for ac_func in isnan
29461 do :
29462 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29463 if test "x$ac_cv_func_isnan" = x""yes; then :
29464 cat >>confdefs.h <<_ACEOF
29465 #define HAVE_ISNAN 1
29466 _ACEOF
29467
29468 fi
29469 done
29470
29471 else
29472
29473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29474 $as_echo_n "checking for _isnan declaration... " >&6; }
29475 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29476 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29477 $as_echo_n "(cached) " >&6
29478 else
29479
29480
29481 ac_ext=cpp
29482 ac_cpp='$CXXCPP $CPPFLAGS'
29483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29486
29487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29488 /* end confdefs.h. */
29489 #include <math.h>
29490 #ifdef HAVE_IEEEFP_H
29491 #include <ieeefp.h>
29492 #endif
29493
29494 int
29495 main ()
29496 {
29497 _isnan(0);
29498 ;
29499 return 0;
29500 }
29501 _ACEOF
29502 if ac_fn_cxx_try_compile "$LINENO"; then :
29503 glibcxx_cv_func__isnan_use=yes
29504 else
29505 glibcxx_cv_func__isnan_use=no
29506 fi
29507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29508 ac_ext=c
29509 ac_cpp='$CPP $CPPFLAGS'
29510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29513
29514
29515 fi
29516
29517 fi
29518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29519 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29520
29521 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29522 for ac_func in _isnan
29523 do :
29524 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29525 if test "x$ac_cv_func__isnan" = x""yes; then :
29526 cat >>confdefs.h <<_ACEOF
29527 #define HAVE__ISNAN 1
29528 _ACEOF
29529
29530 fi
29531 done
29532
29533 fi
29534 fi
29535
29536
29537
29538
29539
29540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29541 $as_echo_n "checking for finite declaration... " >&6; }
29542 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29543 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29544 $as_echo_n "(cached) " >&6
29545 else
29546
29547
29548 ac_ext=cpp
29549 ac_cpp='$CXXCPP $CPPFLAGS'
29550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29553
29554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29555 /* end confdefs.h. */
29556 #include <math.h>
29557 #ifdef HAVE_IEEEFP_H
29558 #include <ieeefp.h>
29559 #endif
29560
29561 int
29562 main ()
29563 {
29564 finite(0);
29565 ;
29566 return 0;
29567 }
29568 _ACEOF
29569 if ac_fn_cxx_try_compile "$LINENO"; then :
29570 glibcxx_cv_func_finite_use=yes
29571 else
29572 glibcxx_cv_func_finite_use=no
29573 fi
29574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29575 ac_ext=c
29576 ac_cpp='$CPP $CPPFLAGS'
29577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29580
29581
29582 fi
29583
29584 fi
29585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29586 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29587
29588 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29589 for ac_func in finite
29590 do :
29591 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29592 if test "x$ac_cv_func_finite" = x""yes; then :
29593 cat >>confdefs.h <<_ACEOF
29594 #define HAVE_FINITE 1
29595 _ACEOF
29596
29597 fi
29598 done
29599
29600 else
29601
29602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29603 $as_echo_n "checking for _finite declaration... " >&6; }
29604 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29605 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29606 $as_echo_n "(cached) " >&6
29607 else
29608
29609
29610 ac_ext=cpp
29611 ac_cpp='$CXXCPP $CPPFLAGS'
29612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29615
29616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29617 /* end confdefs.h. */
29618 #include <math.h>
29619 #ifdef HAVE_IEEEFP_H
29620 #include <ieeefp.h>
29621 #endif
29622
29623 int
29624 main ()
29625 {
29626 _finite(0);
29627 ;
29628 return 0;
29629 }
29630 _ACEOF
29631 if ac_fn_cxx_try_compile "$LINENO"; then :
29632 glibcxx_cv_func__finite_use=yes
29633 else
29634 glibcxx_cv_func__finite_use=no
29635 fi
29636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29637 ac_ext=c
29638 ac_cpp='$CPP $CPPFLAGS'
29639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29642
29643
29644 fi
29645
29646 fi
29647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29648 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29649
29650 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29651 for ac_func in _finite
29652 do :
29653 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29654 if test "x$ac_cv_func__finite" = x""yes; then :
29655 cat >>confdefs.h <<_ACEOF
29656 #define HAVE__FINITE 1
29657 _ACEOF
29658
29659 fi
29660 done
29661
29662 fi
29663 fi
29664
29665
29666
29667
29668
29669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29670 $as_echo_n "checking for sincos declaration... " >&6; }
29671 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29672 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29673 $as_echo_n "(cached) " >&6
29674 else
29675
29676
29677 ac_ext=cpp
29678 ac_cpp='$CXXCPP $CPPFLAGS'
29679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29682
29683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29684 /* end confdefs.h. */
29685 #include <math.h>
29686 int
29687 main ()
29688 {
29689 sincos(0, 0, 0);
29690 ;
29691 return 0;
29692 }
29693 _ACEOF
29694 if ac_fn_cxx_try_compile "$LINENO"; then :
29695 glibcxx_cv_func_sincos_use=yes
29696 else
29697 glibcxx_cv_func_sincos_use=no
29698 fi
29699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29700 ac_ext=c
29701 ac_cpp='$CPP $CPPFLAGS'
29702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29705
29706
29707 fi
29708
29709 fi
29710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29711 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29712
29713 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29714 for ac_func in sincos
29715 do :
29716 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29717 if test "x$ac_cv_func_sincos" = x""yes; then :
29718 cat >>confdefs.h <<_ACEOF
29719 #define HAVE_SINCOS 1
29720 _ACEOF
29721
29722 fi
29723 done
29724
29725 else
29726
29727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29728 $as_echo_n "checking for _sincos declaration... " >&6; }
29729 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29730 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29731 $as_echo_n "(cached) " >&6
29732 else
29733
29734
29735 ac_ext=cpp
29736 ac_cpp='$CXXCPP $CPPFLAGS'
29737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29740
29741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29742 /* end confdefs.h. */
29743 #include <math.h>
29744 int
29745 main ()
29746 {
29747 _sincos(0, 0, 0);
29748 ;
29749 return 0;
29750 }
29751 _ACEOF
29752 if ac_fn_cxx_try_compile "$LINENO"; then :
29753 glibcxx_cv_func__sincos_use=yes
29754 else
29755 glibcxx_cv_func__sincos_use=no
29756 fi
29757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29758 ac_ext=c
29759 ac_cpp='$CPP $CPPFLAGS'
29760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29763
29764
29765 fi
29766
29767 fi
29768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29769 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29770
29771 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29772 for ac_func in _sincos
29773 do :
29774 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29775 if test "x$ac_cv_func__sincos" = x""yes; then :
29776 cat >>confdefs.h <<_ACEOF
29777 #define HAVE__SINCOS 1
29778 _ACEOF
29779
29780 fi
29781 done
29782
29783 fi
29784 fi
29785
29786
29787
29788
29789
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29791 $as_echo_n "checking for fpclass declaration... " >&6; }
29792 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29793 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29794 $as_echo_n "(cached) " >&6
29795 else
29796
29797
29798 ac_ext=cpp
29799 ac_cpp='$CXXCPP $CPPFLAGS'
29800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29803
29804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29805 /* end confdefs.h. */
29806 #include <math.h>
29807 #ifdef HAVE_IEEEFP_H
29808 #include <ieeefp.h>
29809 #endif
29810
29811 int
29812 main ()
29813 {
29814 fpclass(0);
29815 ;
29816 return 0;
29817 }
29818 _ACEOF
29819 if ac_fn_cxx_try_compile "$LINENO"; then :
29820 glibcxx_cv_func_fpclass_use=yes
29821 else
29822 glibcxx_cv_func_fpclass_use=no
29823 fi
29824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29825 ac_ext=c
29826 ac_cpp='$CPP $CPPFLAGS'
29827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29830
29831
29832 fi
29833
29834 fi
29835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29836 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29837
29838 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29839 for ac_func in fpclass
29840 do :
29841 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29842 if test "x$ac_cv_func_fpclass" = x""yes; then :
29843 cat >>confdefs.h <<_ACEOF
29844 #define HAVE_FPCLASS 1
29845 _ACEOF
29846
29847 fi
29848 done
29849
29850 else
29851
29852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29853 $as_echo_n "checking for _fpclass declaration... " >&6; }
29854 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29855 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29856 $as_echo_n "(cached) " >&6
29857 else
29858
29859
29860 ac_ext=cpp
29861 ac_cpp='$CXXCPP $CPPFLAGS'
29862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29865
29866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29867 /* end confdefs.h. */
29868 #include <math.h>
29869 #ifdef HAVE_IEEEFP_H
29870 #include <ieeefp.h>
29871 #endif
29872
29873 int
29874 main ()
29875 {
29876 _fpclass(0);
29877 ;
29878 return 0;
29879 }
29880 _ACEOF
29881 if ac_fn_cxx_try_compile "$LINENO"; then :
29882 glibcxx_cv_func__fpclass_use=yes
29883 else
29884 glibcxx_cv_func__fpclass_use=no
29885 fi
29886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29887 ac_ext=c
29888 ac_cpp='$CPP $CPPFLAGS'
29889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29892
29893
29894 fi
29895
29896 fi
29897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29898 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29899
29900 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29901 for ac_func in _fpclass
29902 do :
29903 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29904 if test "x$ac_cv_func__fpclass" = x""yes; then :
29905 cat >>confdefs.h <<_ACEOF
29906 #define HAVE__FPCLASS 1
29907 _ACEOF
29908
29909 fi
29910 done
29911
29912 fi
29913 fi
29914
29915
29916
29917
29918
29919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29920 $as_echo_n "checking for qfpclass declaration... " >&6; }
29921 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29922 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29923 $as_echo_n "(cached) " >&6
29924 else
29925
29926
29927 ac_ext=cpp
29928 ac_cpp='$CXXCPP $CPPFLAGS'
29929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29932
29933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29934 /* end confdefs.h. */
29935 #include <math.h>
29936 #ifdef HAVE_IEEEFP_H
29937 #include <ieeefp.h>
29938 #endif
29939
29940 int
29941 main ()
29942 {
29943 qfpclass(0);
29944 ;
29945 return 0;
29946 }
29947 _ACEOF
29948 if ac_fn_cxx_try_compile "$LINENO"; then :
29949 glibcxx_cv_func_qfpclass_use=yes
29950 else
29951 glibcxx_cv_func_qfpclass_use=no
29952 fi
29953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29954 ac_ext=c
29955 ac_cpp='$CPP $CPPFLAGS'
29956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29959
29960
29961 fi
29962
29963 fi
29964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29965 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29966
29967 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29968 for ac_func in qfpclass
29969 do :
29970 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29971 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29972 cat >>confdefs.h <<_ACEOF
29973 #define HAVE_QFPCLASS 1
29974 _ACEOF
29975
29976 fi
29977 done
29978
29979 else
29980
29981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29982 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29983 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29984 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29985 $as_echo_n "(cached) " >&6
29986 else
29987
29988
29989 ac_ext=cpp
29990 ac_cpp='$CXXCPP $CPPFLAGS'
29991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29994
29995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29996 /* end confdefs.h. */
29997 #include <math.h>
29998 #ifdef HAVE_IEEEFP_H
29999 #include <ieeefp.h>
30000 #endif
30001
30002 int
30003 main ()
30004 {
30005 _qfpclass(0);
30006 ;
30007 return 0;
30008 }
30009 _ACEOF
30010 if ac_fn_cxx_try_compile "$LINENO"; then :
30011 glibcxx_cv_func__qfpclass_use=yes
30012 else
30013 glibcxx_cv_func__qfpclass_use=no
30014 fi
30015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30016 ac_ext=c
30017 ac_cpp='$CPP $CPPFLAGS'
30018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30021
30022
30023 fi
30024
30025 fi
30026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30027 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30028
30029 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30030 for ac_func in _qfpclass
30031 do :
30032 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30033 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30034 cat >>confdefs.h <<_ACEOF
30035 #define HAVE__QFPCLASS 1
30036 _ACEOF
30037
30038 fi
30039 done
30040
30041 fi
30042 fi
30043
30044
30045
30046
30047
30048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30049 $as_echo_n "checking for hypot declaration... " >&6; }
30050 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30051 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30052 $as_echo_n "(cached) " >&6
30053 else
30054
30055
30056 ac_ext=cpp
30057 ac_cpp='$CXXCPP $CPPFLAGS'
30058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30061
30062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30063 /* end confdefs.h. */
30064 #include <math.h>
30065 int
30066 main ()
30067 {
30068 hypot(0, 0);
30069 ;
30070 return 0;
30071 }
30072 _ACEOF
30073 if ac_fn_cxx_try_compile "$LINENO"; then :
30074 glibcxx_cv_func_hypot_use=yes
30075 else
30076 glibcxx_cv_func_hypot_use=no
30077 fi
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30079 ac_ext=c
30080 ac_cpp='$CPP $CPPFLAGS'
30081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30084
30085
30086 fi
30087
30088 fi
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30090 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30091
30092 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30093 for ac_func in hypot
30094 do :
30095 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30096 if test "x$ac_cv_func_hypot" = x""yes; then :
30097 cat >>confdefs.h <<_ACEOF
30098 #define HAVE_HYPOT 1
30099 _ACEOF
30100
30101 fi
30102 done
30103
30104 else
30105
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30107 $as_echo_n "checking for _hypot declaration... " >&6; }
30108 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30109 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30110 $as_echo_n "(cached) " >&6
30111 else
30112
30113
30114 ac_ext=cpp
30115 ac_cpp='$CXXCPP $CPPFLAGS'
30116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30119
30120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30121 /* end confdefs.h. */
30122 #include <math.h>
30123 int
30124 main ()
30125 {
30126 _hypot(0, 0);
30127 ;
30128 return 0;
30129 }
30130 _ACEOF
30131 if ac_fn_cxx_try_compile "$LINENO"; then :
30132 glibcxx_cv_func__hypot_use=yes
30133 else
30134 glibcxx_cv_func__hypot_use=no
30135 fi
30136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30137 ac_ext=c
30138 ac_cpp='$CPP $CPPFLAGS'
30139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30142
30143
30144 fi
30145
30146 fi
30147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30148 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30149
30150 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30151 for ac_func in _hypot
30152 do :
30153 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30154 if test "x$ac_cv_func__hypot" = x""yes; then :
30155 cat >>confdefs.h <<_ACEOF
30156 #define HAVE__HYPOT 1
30157 _ACEOF
30158
30159 fi
30160 done
30161
30162 fi
30163 fi
30164
30165
30166
30167
30168
30169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30170 $as_echo_n "checking for float trig functions... " >&6; }
30171 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30172 $as_echo_n "(cached) " >&6
30173 else
30174
30175
30176 ac_ext=cpp
30177 ac_cpp='$CXXCPP $CPPFLAGS'
30178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30181
30182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30183 /* end confdefs.h. */
30184 #include <math.h>
30185 int
30186 main ()
30187 {
30188 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30189 ;
30190 return 0;
30191 }
30192 _ACEOF
30193 if ac_fn_cxx_try_compile "$LINENO"; then :
30194 glibcxx_cv_func_float_trig_use=yes
30195 else
30196 glibcxx_cv_func_float_trig_use=no
30197 fi
30198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30199 ac_ext=c
30200 ac_cpp='$CPP $CPPFLAGS'
30201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30204
30205 fi
30206
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30208 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30209 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30210 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30211 do :
30212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30214 eval as_val=\$$as_ac_var
30215 if test "x$as_val" = x""yes; then :
30216 cat >>confdefs.h <<_ACEOF
30217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30218 _ACEOF
30219
30220 fi
30221 done
30222
30223 else
30224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30225 $as_echo_n "checking for _float trig functions... " >&6; }
30226 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30227 $as_echo_n "(cached) " >&6
30228 else
30229
30230
30231 ac_ext=cpp
30232 ac_cpp='$CXXCPP $CPPFLAGS'
30233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30236
30237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30238 /* end confdefs.h. */
30239 #include <math.h>
30240 int
30241 main ()
30242 {
30243 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30244 ;
30245 return 0;
30246 }
30247 _ACEOF
30248 if ac_fn_cxx_try_compile "$LINENO"; then :
30249 glibcxx_cv_func__float_trig_use=yes
30250 else
30251 glibcxx_cv_func__float_trig_use=no
30252 fi
30253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30254 ac_ext=c
30255 ac_cpp='$CPP $CPPFLAGS'
30256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30259
30260 fi
30261
30262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30263 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30264 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30265 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30266 do :
30267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30269 eval as_val=\$$as_ac_var
30270 if test "x$as_val" = x""yes; then :
30271 cat >>confdefs.h <<_ACEOF
30272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30273 _ACEOF
30274
30275 fi
30276 done
30277
30278 fi
30279 fi
30280
30281
30282
30283
30284
30285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30286 $as_echo_n "checking for float round functions... " >&6; }
30287 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30288 $as_echo_n "(cached) " >&6
30289 else
30290
30291
30292 ac_ext=cpp
30293 ac_cpp='$CXXCPP $CPPFLAGS'
30294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30297
30298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30299 /* end confdefs.h. */
30300 #include <math.h>
30301 int
30302 main ()
30303 {
30304 ceilf (0); floorf (0);
30305 ;
30306 return 0;
30307 }
30308 _ACEOF
30309 if ac_fn_cxx_try_compile "$LINENO"; then :
30310 glibcxx_cv_func_float_round_use=yes
30311 else
30312 glibcxx_cv_func_float_round_use=no
30313 fi
30314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30315 ac_ext=c
30316 ac_cpp='$CPP $CPPFLAGS'
30317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30320
30321 fi
30322
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30324 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30325 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30326 for ac_func in ceilf floorf
30327 do :
30328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30330 eval as_val=\$$as_ac_var
30331 if test "x$as_val" = x""yes; then :
30332 cat >>confdefs.h <<_ACEOF
30333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30334 _ACEOF
30335
30336 fi
30337 done
30338
30339 else
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30341 $as_echo_n "checking for _float round functions... " >&6; }
30342 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30343 $as_echo_n "(cached) " >&6
30344 else
30345
30346
30347 ac_ext=cpp
30348 ac_cpp='$CXXCPP $CPPFLAGS'
30349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30352
30353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30354 /* end confdefs.h. */
30355 #include <math.h>
30356 int
30357 main ()
30358 {
30359 _ceilf (0); _floorf (0);
30360 ;
30361 return 0;
30362 }
30363 _ACEOF
30364 if ac_fn_cxx_try_compile "$LINENO"; then :
30365 glibcxx_cv_func__float_round_use=yes
30366 else
30367 glibcxx_cv_func__float_round_use=no
30368 fi
30369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30370 ac_ext=c
30371 ac_cpp='$CPP $CPPFLAGS'
30372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30375
30376 fi
30377
30378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30379 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30380 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30381 for ac_func in _ceilf _floorf
30382 do :
30383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30385 eval as_val=\$$as_ac_var
30386 if test "x$as_val" = x""yes; then :
30387 cat >>confdefs.h <<_ACEOF
30388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30389 _ACEOF
30390
30391 fi
30392 done
30393
30394 fi
30395 fi
30396
30397
30398
30399
30400
30401
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30403 $as_echo_n "checking for expf declaration... " >&6; }
30404 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30405 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30406 $as_echo_n "(cached) " >&6
30407 else
30408
30409
30410 ac_ext=cpp
30411 ac_cpp='$CXXCPP $CPPFLAGS'
30412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30415
30416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30417 /* end confdefs.h. */
30418 #include <math.h>
30419 #ifdef HAVE_IEEEFP_H
30420 #include <ieeefp.h>
30421 #endif
30422
30423 int
30424 main ()
30425 {
30426 expf(0);
30427 ;
30428 return 0;
30429 }
30430 _ACEOF
30431 if ac_fn_cxx_try_compile "$LINENO"; then :
30432 glibcxx_cv_func_expf_use=yes
30433 else
30434 glibcxx_cv_func_expf_use=no
30435 fi
30436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30437 ac_ext=c
30438 ac_cpp='$CPP $CPPFLAGS'
30439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30442
30443
30444 fi
30445
30446 fi
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30448 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30449
30450 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30451 for ac_func in expf
30452 do :
30453 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30454 if test "x$ac_cv_func_expf" = x""yes; then :
30455 cat >>confdefs.h <<_ACEOF
30456 #define HAVE_EXPF 1
30457 _ACEOF
30458
30459 fi
30460 done
30461
30462 else
30463
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30465 $as_echo_n "checking for _expf declaration... " >&6; }
30466 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30467 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30468 $as_echo_n "(cached) " >&6
30469 else
30470
30471
30472 ac_ext=cpp
30473 ac_cpp='$CXXCPP $CPPFLAGS'
30474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30477
30478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30479 /* end confdefs.h. */
30480 #include <math.h>
30481 #ifdef HAVE_IEEEFP_H
30482 #include <ieeefp.h>
30483 #endif
30484
30485 int
30486 main ()
30487 {
30488 _expf(0);
30489 ;
30490 return 0;
30491 }
30492 _ACEOF
30493 if ac_fn_cxx_try_compile "$LINENO"; then :
30494 glibcxx_cv_func__expf_use=yes
30495 else
30496 glibcxx_cv_func__expf_use=no
30497 fi
30498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30499 ac_ext=c
30500 ac_cpp='$CPP $CPPFLAGS'
30501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30504
30505
30506 fi
30507
30508 fi
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30510 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30511
30512 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30513 for ac_func in _expf
30514 do :
30515 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30516 if test "x$ac_cv_func__expf" = x""yes; then :
30517 cat >>confdefs.h <<_ACEOF
30518 #define HAVE__EXPF 1
30519 _ACEOF
30520
30521 fi
30522 done
30523
30524 fi
30525 fi
30526
30527
30528
30529
30530
30531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30532 $as_echo_n "checking for isnanf declaration... " >&6; }
30533 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30534 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30535 $as_echo_n "(cached) " >&6
30536 else
30537
30538
30539 ac_ext=cpp
30540 ac_cpp='$CXXCPP $CPPFLAGS'
30541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30544
30545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30546 /* end confdefs.h. */
30547 #include <math.h>
30548 #ifdef HAVE_IEEEFP_H
30549 #include <ieeefp.h>
30550 #endif
30551
30552 int
30553 main ()
30554 {
30555 isnanf(0);
30556 ;
30557 return 0;
30558 }
30559 _ACEOF
30560 if ac_fn_cxx_try_compile "$LINENO"; then :
30561 glibcxx_cv_func_isnanf_use=yes
30562 else
30563 glibcxx_cv_func_isnanf_use=no
30564 fi
30565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30566 ac_ext=c
30567 ac_cpp='$CPP $CPPFLAGS'
30568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30571
30572
30573 fi
30574
30575 fi
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30577 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30578
30579 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30580 for ac_func in isnanf
30581 do :
30582 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30583 if test "x$ac_cv_func_isnanf" = x""yes; then :
30584 cat >>confdefs.h <<_ACEOF
30585 #define HAVE_ISNANF 1
30586 _ACEOF
30587
30588 fi
30589 done
30590
30591 else
30592
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30594 $as_echo_n "checking for _isnanf declaration... " >&6; }
30595 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30596 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30597 $as_echo_n "(cached) " >&6
30598 else
30599
30600
30601 ac_ext=cpp
30602 ac_cpp='$CXXCPP $CPPFLAGS'
30603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30606
30607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30608 /* end confdefs.h. */
30609 #include <math.h>
30610 #ifdef HAVE_IEEEFP_H
30611 #include <ieeefp.h>
30612 #endif
30613
30614 int
30615 main ()
30616 {
30617 _isnanf(0);
30618 ;
30619 return 0;
30620 }
30621 _ACEOF
30622 if ac_fn_cxx_try_compile "$LINENO"; then :
30623 glibcxx_cv_func__isnanf_use=yes
30624 else
30625 glibcxx_cv_func__isnanf_use=no
30626 fi
30627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30628 ac_ext=c
30629 ac_cpp='$CPP $CPPFLAGS'
30630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30633
30634
30635 fi
30636
30637 fi
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30639 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30640
30641 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30642 for ac_func in _isnanf
30643 do :
30644 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30645 if test "x$ac_cv_func__isnanf" = x""yes; then :
30646 cat >>confdefs.h <<_ACEOF
30647 #define HAVE__ISNANF 1
30648 _ACEOF
30649
30650 fi
30651 done
30652
30653 fi
30654 fi
30655
30656
30657
30658
30659
30660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30661 $as_echo_n "checking for isinff declaration... " >&6; }
30662 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30663 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30664 $as_echo_n "(cached) " >&6
30665 else
30666
30667
30668 ac_ext=cpp
30669 ac_cpp='$CXXCPP $CPPFLAGS'
30670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30673
30674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30675 /* end confdefs.h. */
30676 #include <math.h>
30677 #ifdef HAVE_IEEEFP_H
30678 #include <ieeefp.h>
30679 #endif
30680
30681 int
30682 main ()
30683 {
30684 isinff(0);
30685 ;
30686 return 0;
30687 }
30688 _ACEOF
30689 if ac_fn_cxx_try_compile "$LINENO"; then :
30690 glibcxx_cv_func_isinff_use=yes
30691 else
30692 glibcxx_cv_func_isinff_use=no
30693 fi
30694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30695 ac_ext=c
30696 ac_cpp='$CPP $CPPFLAGS'
30697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30700
30701
30702 fi
30703
30704 fi
30705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30706 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30707
30708 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30709 for ac_func in isinff
30710 do :
30711 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30712 if test "x$ac_cv_func_isinff" = x""yes; then :
30713 cat >>confdefs.h <<_ACEOF
30714 #define HAVE_ISINFF 1
30715 _ACEOF
30716
30717 fi
30718 done
30719
30720 else
30721
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30723 $as_echo_n "checking for _isinff declaration... " >&6; }
30724 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30725 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30726 $as_echo_n "(cached) " >&6
30727 else
30728
30729
30730 ac_ext=cpp
30731 ac_cpp='$CXXCPP $CPPFLAGS'
30732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30735
30736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30737 /* end confdefs.h. */
30738 #include <math.h>
30739 #ifdef HAVE_IEEEFP_H
30740 #include <ieeefp.h>
30741 #endif
30742
30743 int
30744 main ()
30745 {
30746 _isinff(0);
30747 ;
30748 return 0;
30749 }
30750 _ACEOF
30751 if ac_fn_cxx_try_compile "$LINENO"; then :
30752 glibcxx_cv_func__isinff_use=yes
30753 else
30754 glibcxx_cv_func__isinff_use=no
30755 fi
30756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30757 ac_ext=c
30758 ac_cpp='$CPP $CPPFLAGS'
30759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30762
30763
30764 fi
30765
30766 fi
30767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30768 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30769
30770 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30771 for ac_func in _isinff
30772 do :
30773 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30774 if test "x$ac_cv_func__isinff" = x""yes; then :
30775 cat >>confdefs.h <<_ACEOF
30776 #define HAVE__ISINFF 1
30777 _ACEOF
30778
30779 fi
30780 done
30781
30782 fi
30783 fi
30784
30785
30786
30787
30788
30789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30790 $as_echo_n "checking for atan2f declaration... " >&6; }
30791 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30792 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30793 $as_echo_n "(cached) " >&6
30794 else
30795
30796
30797 ac_ext=cpp
30798 ac_cpp='$CXXCPP $CPPFLAGS'
30799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30802
30803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30804 /* end confdefs.h. */
30805 #include <math.h>
30806 int
30807 main ()
30808 {
30809 atan2f(0, 0);
30810 ;
30811 return 0;
30812 }
30813 _ACEOF
30814 if ac_fn_cxx_try_compile "$LINENO"; then :
30815 glibcxx_cv_func_atan2f_use=yes
30816 else
30817 glibcxx_cv_func_atan2f_use=no
30818 fi
30819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30820 ac_ext=c
30821 ac_cpp='$CPP $CPPFLAGS'
30822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30825
30826
30827 fi
30828
30829 fi
30830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30831 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30832
30833 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30834 for ac_func in atan2f
30835 do :
30836 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30837 if test "x$ac_cv_func_atan2f" = x""yes; then :
30838 cat >>confdefs.h <<_ACEOF
30839 #define HAVE_ATAN2F 1
30840 _ACEOF
30841
30842 fi
30843 done
30844
30845 else
30846
30847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30848 $as_echo_n "checking for _atan2f declaration... " >&6; }
30849 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30850 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30851 $as_echo_n "(cached) " >&6
30852 else
30853
30854
30855 ac_ext=cpp
30856 ac_cpp='$CXXCPP $CPPFLAGS'
30857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30860
30861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30862 /* end confdefs.h. */
30863 #include <math.h>
30864 int
30865 main ()
30866 {
30867 _atan2f(0, 0);
30868 ;
30869 return 0;
30870 }
30871 _ACEOF
30872 if ac_fn_cxx_try_compile "$LINENO"; then :
30873 glibcxx_cv_func__atan2f_use=yes
30874 else
30875 glibcxx_cv_func__atan2f_use=no
30876 fi
30877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30878 ac_ext=c
30879 ac_cpp='$CPP $CPPFLAGS'
30880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30883
30884
30885 fi
30886
30887 fi
30888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30889 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30890
30891 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30892 for ac_func in _atan2f
30893 do :
30894 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30895 if test "x$ac_cv_func__atan2f" = x""yes; then :
30896 cat >>confdefs.h <<_ACEOF
30897 #define HAVE__ATAN2F 1
30898 _ACEOF
30899
30900 fi
30901 done
30902
30903 fi
30904 fi
30905
30906
30907
30908
30909
30910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30911 $as_echo_n "checking for fabsf declaration... " >&6; }
30912 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30913 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30914 $as_echo_n "(cached) " >&6
30915 else
30916
30917
30918 ac_ext=cpp
30919 ac_cpp='$CXXCPP $CPPFLAGS'
30920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30923
30924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30925 /* end confdefs.h. */
30926 #include <math.h>
30927 #ifdef HAVE_IEEEFP_H
30928 #include <ieeefp.h>
30929 #endif
30930
30931 int
30932 main ()
30933 {
30934 fabsf(0);
30935 ;
30936 return 0;
30937 }
30938 _ACEOF
30939 if ac_fn_cxx_try_compile "$LINENO"; then :
30940 glibcxx_cv_func_fabsf_use=yes
30941 else
30942 glibcxx_cv_func_fabsf_use=no
30943 fi
30944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30945 ac_ext=c
30946 ac_cpp='$CPP $CPPFLAGS'
30947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30950
30951
30952 fi
30953
30954 fi
30955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30956 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30957
30958 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30959 for ac_func in fabsf
30960 do :
30961 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30962 if test "x$ac_cv_func_fabsf" = x""yes; then :
30963 cat >>confdefs.h <<_ACEOF
30964 #define HAVE_FABSF 1
30965 _ACEOF
30966
30967 fi
30968 done
30969
30970 else
30971
30972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30973 $as_echo_n "checking for _fabsf declaration... " >&6; }
30974 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30975 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30976 $as_echo_n "(cached) " >&6
30977 else
30978
30979
30980 ac_ext=cpp
30981 ac_cpp='$CXXCPP $CPPFLAGS'
30982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30985
30986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30987 /* end confdefs.h. */
30988 #include <math.h>
30989 #ifdef HAVE_IEEEFP_H
30990 #include <ieeefp.h>
30991 #endif
30992
30993 int
30994 main ()
30995 {
30996 _fabsf(0);
30997 ;
30998 return 0;
30999 }
31000 _ACEOF
31001 if ac_fn_cxx_try_compile "$LINENO"; then :
31002 glibcxx_cv_func__fabsf_use=yes
31003 else
31004 glibcxx_cv_func__fabsf_use=no
31005 fi
31006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31007 ac_ext=c
31008 ac_cpp='$CPP $CPPFLAGS'
31009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31012
31013
31014 fi
31015
31016 fi
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31018 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31019
31020 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31021 for ac_func in _fabsf
31022 do :
31023 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31024 if test "x$ac_cv_func__fabsf" = x""yes; then :
31025 cat >>confdefs.h <<_ACEOF
31026 #define HAVE__FABSF 1
31027 _ACEOF
31028
31029 fi
31030 done
31031
31032 fi
31033 fi
31034
31035
31036
31037
31038
31039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31040 $as_echo_n "checking for fmodf declaration... " >&6; }
31041 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31042 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31043 $as_echo_n "(cached) " >&6
31044 else
31045
31046
31047 ac_ext=cpp
31048 ac_cpp='$CXXCPP $CPPFLAGS'
31049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31052
31053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31054 /* end confdefs.h. */
31055 #include <math.h>
31056 int
31057 main ()
31058 {
31059 fmodf(0, 0);
31060 ;
31061 return 0;
31062 }
31063 _ACEOF
31064 if ac_fn_cxx_try_compile "$LINENO"; then :
31065 glibcxx_cv_func_fmodf_use=yes
31066 else
31067 glibcxx_cv_func_fmodf_use=no
31068 fi
31069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31070 ac_ext=c
31071 ac_cpp='$CPP $CPPFLAGS'
31072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31075
31076
31077 fi
31078
31079 fi
31080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31081 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31082
31083 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31084 for ac_func in fmodf
31085 do :
31086 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31087 if test "x$ac_cv_func_fmodf" = x""yes; then :
31088 cat >>confdefs.h <<_ACEOF
31089 #define HAVE_FMODF 1
31090 _ACEOF
31091
31092 fi
31093 done
31094
31095 else
31096
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31098 $as_echo_n "checking for _fmodf declaration... " >&6; }
31099 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31100 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31101 $as_echo_n "(cached) " >&6
31102 else
31103
31104
31105 ac_ext=cpp
31106 ac_cpp='$CXXCPP $CPPFLAGS'
31107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31110
31111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31112 /* end confdefs.h. */
31113 #include <math.h>
31114 int
31115 main ()
31116 {
31117 _fmodf(0, 0);
31118 ;
31119 return 0;
31120 }
31121 _ACEOF
31122 if ac_fn_cxx_try_compile "$LINENO"; then :
31123 glibcxx_cv_func__fmodf_use=yes
31124 else
31125 glibcxx_cv_func__fmodf_use=no
31126 fi
31127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31128 ac_ext=c
31129 ac_cpp='$CPP $CPPFLAGS'
31130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31133
31134
31135 fi
31136
31137 fi
31138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31139 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31140
31141 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31142 for ac_func in _fmodf
31143 do :
31144 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31145 if test "x$ac_cv_func__fmodf" = x""yes; then :
31146 cat >>confdefs.h <<_ACEOF
31147 #define HAVE__FMODF 1
31148 _ACEOF
31149
31150 fi
31151 done
31152
31153 fi
31154 fi
31155
31156
31157
31158
31159
31160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31161 $as_echo_n "checking for frexpf declaration... " >&6; }
31162 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31163 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31164 $as_echo_n "(cached) " >&6
31165 else
31166
31167
31168 ac_ext=cpp
31169 ac_cpp='$CXXCPP $CPPFLAGS'
31170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31173
31174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31175 /* end confdefs.h. */
31176 #include <math.h>
31177 int
31178 main ()
31179 {
31180 frexpf(0, 0);
31181 ;
31182 return 0;
31183 }
31184 _ACEOF
31185 if ac_fn_cxx_try_compile "$LINENO"; then :
31186 glibcxx_cv_func_frexpf_use=yes
31187 else
31188 glibcxx_cv_func_frexpf_use=no
31189 fi
31190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31191 ac_ext=c
31192 ac_cpp='$CPP $CPPFLAGS'
31193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31196
31197
31198 fi
31199
31200 fi
31201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31202 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31203
31204 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31205 for ac_func in frexpf
31206 do :
31207 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31208 if test "x$ac_cv_func_frexpf" = x""yes; then :
31209 cat >>confdefs.h <<_ACEOF
31210 #define HAVE_FREXPF 1
31211 _ACEOF
31212
31213 fi
31214 done
31215
31216 else
31217
31218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31219 $as_echo_n "checking for _frexpf declaration... " >&6; }
31220 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31221 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31222 $as_echo_n "(cached) " >&6
31223 else
31224
31225
31226 ac_ext=cpp
31227 ac_cpp='$CXXCPP $CPPFLAGS'
31228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31231
31232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31233 /* end confdefs.h. */
31234 #include <math.h>
31235 int
31236 main ()
31237 {
31238 _frexpf(0, 0);
31239 ;
31240 return 0;
31241 }
31242 _ACEOF
31243 if ac_fn_cxx_try_compile "$LINENO"; then :
31244 glibcxx_cv_func__frexpf_use=yes
31245 else
31246 glibcxx_cv_func__frexpf_use=no
31247 fi
31248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31249 ac_ext=c
31250 ac_cpp='$CPP $CPPFLAGS'
31251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31254
31255
31256 fi
31257
31258 fi
31259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31260 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31261
31262 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31263 for ac_func in _frexpf
31264 do :
31265 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31266 if test "x$ac_cv_func__frexpf" = x""yes; then :
31267 cat >>confdefs.h <<_ACEOF
31268 #define HAVE__FREXPF 1
31269 _ACEOF
31270
31271 fi
31272 done
31273
31274 fi
31275 fi
31276
31277
31278
31279
31280
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31282 $as_echo_n "checking for hypotf declaration... " >&6; }
31283 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31284 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31285 $as_echo_n "(cached) " >&6
31286 else
31287
31288
31289 ac_ext=cpp
31290 ac_cpp='$CXXCPP $CPPFLAGS'
31291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31294
31295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31296 /* end confdefs.h. */
31297 #include <math.h>
31298 int
31299 main ()
31300 {
31301 hypotf(0, 0);
31302 ;
31303 return 0;
31304 }
31305 _ACEOF
31306 if ac_fn_cxx_try_compile "$LINENO"; then :
31307 glibcxx_cv_func_hypotf_use=yes
31308 else
31309 glibcxx_cv_func_hypotf_use=no
31310 fi
31311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31312 ac_ext=c
31313 ac_cpp='$CPP $CPPFLAGS'
31314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31317
31318
31319 fi
31320
31321 fi
31322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31323 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31324
31325 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31326 for ac_func in hypotf
31327 do :
31328 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31329 if test "x$ac_cv_func_hypotf" = x""yes; then :
31330 cat >>confdefs.h <<_ACEOF
31331 #define HAVE_HYPOTF 1
31332 _ACEOF
31333
31334 fi
31335 done
31336
31337 else
31338
31339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31340 $as_echo_n "checking for _hypotf declaration... " >&6; }
31341 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31342 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31343 $as_echo_n "(cached) " >&6
31344 else
31345
31346
31347 ac_ext=cpp
31348 ac_cpp='$CXXCPP $CPPFLAGS'
31349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31352
31353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31354 /* end confdefs.h. */
31355 #include <math.h>
31356 int
31357 main ()
31358 {
31359 _hypotf(0, 0);
31360 ;
31361 return 0;
31362 }
31363 _ACEOF
31364 if ac_fn_cxx_try_compile "$LINENO"; then :
31365 glibcxx_cv_func__hypotf_use=yes
31366 else
31367 glibcxx_cv_func__hypotf_use=no
31368 fi
31369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31370 ac_ext=c
31371 ac_cpp='$CPP $CPPFLAGS'
31372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31375
31376
31377 fi
31378
31379 fi
31380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31381 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31382
31383 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31384 for ac_func in _hypotf
31385 do :
31386 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31387 if test "x$ac_cv_func__hypotf" = x""yes; then :
31388 cat >>confdefs.h <<_ACEOF
31389 #define HAVE__HYPOTF 1
31390 _ACEOF
31391
31392 fi
31393 done
31394
31395 fi
31396 fi
31397
31398
31399
31400
31401
31402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31403 $as_echo_n "checking for ldexpf declaration... " >&6; }
31404 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31405 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31406 $as_echo_n "(cached) " >&6
31407 else
31408
31409
31410 ac_ext=cpp
31411 ac_cpp='$CXXCPP $CPPFLAGS'
31412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31415
31416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31417 /* end confdefs.h. */
31418 #include <math.h>
31419 int
31420 main ()
31421 {
31422 ldexpf(0, 0);
31423 ;
31424 return 0;
31425 }
31426 _ACEOF
31427 if ac_fn_cxx_try_compile "$LINENO"; then :
31428 glibcxx_cv_func_ldexpf_use=yes
31429 else
31430 glibcxx_cv_func_ldexpf_use=no
31431 fi
31432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31433 ac_ext=c
31434 ac_cpp='$CPP $CPPFLAGS'
31435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31438
31439
31440 fi
31441
31442 fi
31443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31444 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31445
31446 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31447 for ac_func in ldexpf
31448 do :
31449 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31450 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31451 cat >>confdefs.h <<_ACEOF
31452 #define HAVE_LDEXPF 1
31453 _ACEOF
31454
31455 fi
31456 done
31457
31458 else
31459
31460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31461 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31462 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31463 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31464 $as_echo_n "(cached) " >&6
31465 else
31466
31467
31468 ac_ext=cpp
31469 ac_cpp='$CXXCPP $CPPFLAGS'
31470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31473
31474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31475 /* end confdefs.h. */
31476 #include <math.h>
31477 int
31478 main ()
31479 {
31480 _ldexpf(0, 0);
31481 ;
31482 return 0;
31483 }
31484 _ACEOF
31485 if ac_fn_cxx_try_compile "$LINENO"; then :
31486 glibcxx_cv_func__ldexpf_use=yes
31487 else
31488 glibcxx_cv_func__ldexpf_use=no
31489 fi
31490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31491 ac_ext=c
31492 ac_cpp='$CPP $CPPFLAGS'
31493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31496
31497
31498 fi
31499
31500 fi
31501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31502 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31503
31504 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31505 for ac_func in _ldexpf
31506 do :
31507 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31508 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31509 cat >>confdefs.h <<_ACEOF
31510 #define HAVE__LDEXPF 1
31511 _ACEOF
31512
31513 fi
31514 done
31515
31516 fi
31517 fi
31518
31519
31520
31521
31522
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31524 $as_echo_n "checking for logf declaration... " >&6; }
31525 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31526 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31527 $as_echo_n "(cached) " >&6
31528 else
31529
31530
31531 ac_ext=cpp
31532 ac_cpp='$CXXCPP $CPPFLAGS'
31533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31536
31537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31538 /* end confdefs.h. */
31539 #include <math.h>
31540 #ifdef HAVE_IEEEFP_H
31541 #include <ieeefp.h>
31542 #endif
31543
31544 int
31545 main ()
31546 {
31547 logf(0);
31548 ;
31549 return 0;
31550 }
31551 _ACEOF
31552 if ac_fn_cxx_try_compile "$LINENO"; then :
31553 glibcxx_cv_func_logf_use=yes
31554 else
31555 glibcxx_cv_func_logf_use=no
31556 fi
31557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31558 ac_ext=c
31559 ac_cpp='$CPP $CPPFLAGS'
31560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31563
31564
31565 fi
31566
31567 fi
31568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31569 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31570
31571 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31572 for ac_func in logf
31573 do :
31574 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31575 if test "x$ac_cv_func_logf" = x""yes; then :
31576 cat >>confdefs.h <<_ACEOF
31577 #define HAVE_LOGF 1
31578 _ACEOF
31579
31580 fi
31581 done
31582
31583 else
31584
31585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31586 $as_echo_n "checking for _logf declaration... " >&6; }
31587 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31588 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31589 $as_echo_n "(cached) " >&6
31590 else
31591
31592
31593 ac_ext=cpp
31594 ac_cpp='$CXXCPP $CPPFLAGS'
31595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31598
31599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31600 /* end confdefs.h. */
31601 #include <math.h>
31602 #ifdef HAVE_IEEEFP_H
31603 #include <ieeefp.h>
31604 #endif
31605
31606 int
31607 main ()
31608 {
31609 _logf(0);
31610 ;
31611 return 0;
31612 }
31613 _ACEOF
31614 if ac_fn_cxx_try_compile "$LINENO"; then :
31615 glibcxx_cv_func__logf_use=yes
31616 else
31617 glibcxx_cv_func__logf_use=no
31618 fi
31619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31620 ac_ext=c
31621 ac_cpp='$CPP $CPPFLAGS'
31622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31625
31626
31627 fi
31628
31629 fi
31630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31631 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31632
31633 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31634 for ac_func in _logf
31635 do :
31636 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31637 if test "x$ac_cv_func__logf" = x""yes; then :
31638 cat >>confdefs.h <<_ACEOF
31639 #define HAVE__LOGF 1
31640 _ACEOF
31641
31642 fi
31643 done
31644
31645 fi
31646 fi
31647
31648
31649
31650
31651
31652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31653 $as_echo_n "checking for log10f declaration... " >&6; }
31654 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31655 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31656 $as_echo_n "(cached) " >&6
31657 else
31658
31659
31660 ac_ext=cpp
31661 ac_cpp='$CXXCPP $CPPFLAGS'
31662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31665
31666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31667 /* end confdefs.h. */
31668 #include <math.h>
31669 #ifdef HAVE_IEEEFP_H
31670 #include <ieeefp.h>
31671 #endif
31672
31673 int
31674 main ()
31675 {
31676 log10f(0);
31677 ;
31678 return 0;
31679 }
31680 _ACEOF
31681 if ac_fn_cxx_try_compile "$LINENO"; then :
31682 glibcxx_cv_func_log10f_use=yes
31683 else
31684 glibcxx_cv_func_log10f_use=no
31685 fi
31686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31687 ac_ext=c
31688 ac_cpp='$CPP $CPPFLAGS'
31689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31692
31693
31694 fi
31695
31696 fi
31697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31698 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31699
31700 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31701 for ac_func in log10f
31702 do :
31703 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31704 if test "x$ac_cv_func_log10f" = x""yes; then :
31705 cat >>confdefs.h <<_ACEOF
31706 #define HAVE_LOG10F 1
31707 _ACEOF
31708
31709 fi
31710 done
31711
31712 else
31713
31714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31715 $as_echo_n "checking for _log10f declaration... " >&6; }
31716 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31717 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31718 $as_echo_n "(cached) " >&6
31719 else
31720
31721
31722 ac_ext=cpp
31723 ac_cpp='$CXXCPP $CPPFLAGS'
31724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31727
31728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31729 /* end confdefs.h. */
31730 #include <math.h>
31731 #ifdef HAVE_IEEEFP_H
31732 #include <ieeefp.h>
31733 #endif
31734
31735 int
31736 main ()
31737 {
31738 _log10f(0);
31739 ;
31740 return 0;
31741 }
31742 _ACEOF
31743 if ac_fn_cxx_try_compile "$LINENO"; then :
31744 glibcxx_cv_func__log10f_use=yes
31745 else
31746 glibcxx_cv_func__log10f_use=no
31747 fi
31748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31749 ac_ext=c
31750 ac_cpp='$CPP $CPPFLAGS'
31751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31754
31755
31756 fi
31757
31758 fi
31759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31760 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31761
31762 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31763 for ac_func in _log10f
31764 do :
31765 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31766 if test "x$ac_cv_func__log10f" = x""yes; then :
31767 cat >>confdefs.h <<_ACEOF
31768 #define HAVE__LOG10F 1
31769 _ACEOF
31770
31771 fi
31772 done
31773
31774 fi
31775 fi
31776
31777
31778
31779
31780
31781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31782 $as_echo_n "checking for modff declaration... " >&6; }
31783 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31784 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31785 $as_echo_n "(cached) " >&6
31786 else
31787
31788
31789 ac_ext=cpp
31790 ac_cpp='$CXXCPP $CPPFLAGS'
31791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31794
31795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31796 /* end confdefs.h. */
31797 #include <math.h>
31798 int
31799 main ()
31800 {
31801 modff(0, 0);
31802 ;
31803 return 0;
31804 }
31805 _ACEOF
31806 if ac_fn_cxx_try_compile "$LINENO"; then :
31807 glibcxx_cv_func_modff_use=yes
31808 else
31809 glibcxx_cv_func_modff_use=no
31810 fi
31811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31812 ac_ext=c
31813 ac_cpp='$CPP $CPPFLAGS'
31814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31817
31818
31819 fi
31820
31821 fi
31822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31823 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31824
31825 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31826 for ac_func in modff
31827 do :
31828 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31829 if test "x$ac_cv_func_modff" = x""yes; then :
31830 cat >>confdefs.h <<_ACEOF
31831 #define HAVE_MODFF 1
31832 _ACEOF
31833
31834 fi
31835 done
31836
31837 else
31838
31839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31840 $as_echo_n "checking for _modff declaration... " >&6; }
31841 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31842 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31843 $as_echo_n "(cached) " >&6
31844 else
31845
31846
31847 ac_ext=cpp
31848 ac_cpp='$CXXCPP $CPPFLAGS'
31849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31852
31853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31854 /* end confdefs.h. */
31855 #include <math.h>
31856 int
31857 main ()
31858 {
31859 _modff(0, 0);
31860 ;
31861 return 0;
31862 }
31863 _ACEOF
31864 if ac_fn_cxx_try_compile "$LINENO"; then :
31865 glibcxx_cv_func__modff_use=yes
31866 else
31867 glibcxx_cv_func__modff_use=no
31868 fi
31869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31870 ac_ext=c
31871 ac_cpp='$CPP $CPPFLAGS'
31872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31875
31876
31877 fi
31878
31879 fi
31880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31881 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31882
31883 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31884 for ac_func in _modff
31885 do :
31886 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31887 if test "x$ac_cv_func__modff" = x""yes; then :
31888 cat >>confdefs.h <<_ACEOF
31889 #define HAVE__MODFF 1
31890 _ACEOF
31891
31892 fi
31893 done
31894
31895 fi
31896 fi
31897
31898
31899
31900
31901
31902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31903 $as_echo_n "checking for modf declaration... " >&6; }
31904 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31905 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31906 $as_echo_n "(cached) " >&6
31907 else
31908
31909
31910 ac_ext=cpp
31911 ac_cpp='$CXXCPP $CPPFLAGS'
31912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31915
31916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31917 /* end confdefs.h. */
31918 #include <math.h>
31919 int
31920 main ()
31921 {
31922 modf(0, 0);
31923 ;
31924 return 0;
31925 }
31926 _ACEOF
31927 if ac_fn_cxx_try_compile "$LINENO"; then :
31928 glibcxx_cv_func_modf_use=yes
31929 else
31930 glibcxx_cv_func_modf_use=no
31931 fi
31932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31933 ac_ext=c
31934 ac_cpp='$CPP $CPPFLAGS'
31935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31938
31939
31940 fi
31941
31942 fi
31943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31944 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31945
31946 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31947 for ac_func in modf
31948 do :
31949 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31950 if test "x$ac_cv_func_modf" = x""yes; then :
31951 cat >>confdefs.h <<_ACEOF
31952 #define HAVE_MODF 1
31953 _ACEOF
31954
31955 fi
31956 done
31957
31958 else
31959
31960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31961 $as_echo_n "checking for _modf declaration... " >&6; }
31962 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31963 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31964 $as_echo_n "(cached) " >&6
31965 else
31966
31967
31968 ac_ext=cpp
31969 ac_cpp='$CXXCPP $CPPFLAGS'
31970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31973
31974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31975 /* end confdefs.h. */
31976 #include <math.h>
31977 int
31978 main ()
31979 {
31980 _modf(0, 0);
31981 ;
31982 return 0;
31983 }
31984 _ACEOF
31985 if ac_fn_cxx_try_compile "$LINENO"; then :
31986 glibcxx_cv_func__modf_use=yes
31987 else
31988 glibcxx_cv_func__modf_use=no
31989 fi
31990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31991 ac_ext=c
31992 ac_cpp='$CPP $CPPFLAGS'
31993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31996
31997
31998 fi
31999
32000 fi
32001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32002 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32003
32004 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32005 for ac_func in _modf
32006 do :
32007 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32008 if test "x$ac_cv_func__modf" = x""yes; then :
32009 cat >>confdefs.h <<_ACEOF
32010 #define HAVE__MODF 1
32011 _ACEOF
32012
32013 fi
32014 done
32015
32016 fi
32017 fi
32018
32019
32020
32021
32022
32023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32024 $as_echo_n "checking for powf declaration... " >&6; }
32025 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32026 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32027 $as_echo_n "(cached) " >&6
32028 else
32029
32030
32031 ac_ext=cpp
32032 ac_cpp='$CXXCPP $CPPFLAGS'
32033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32036
32037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32038 /* end confdefs.h. */
32039 #include <math.h>
32040 int
32041 main ()
32042 {
32043 powf(0, 0);
32044 ;
32045 return 0;
32046 }
32047 _ACEOF
32048 if ac_fn_cxx_try_compile "$LINENO"; then :
32049 glibcxx_cv_func_powf_use=yes
32050 else
32051 glibcxx_cv_func_powf_use=no
32052 fi
32053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32054 ac_ext=c
32055 ac_cpp='$CPP $CPPFLAGS'
32056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32059
32060
32061 fi
32062
32063 fi
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32065 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32066
32067 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32068 for ac_func in powf
32069 do :
32070 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32071 if test "x$ac_cv_func_powf" = x""yes; then :
32072 cat >>confdefs.h <<_ACEOF
32073 #define HAVE_POWF 1
32074 _ACEOF
32075
32076 fi
32077 done
32078
32079 else
32080
32081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32082 $as_echo_n "checking for _powf declaration... " >&6; }
32083 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32084 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32085 $as_echo_n "(cached) " >&6
32086 else
32087
32088
32089 ac_ext=cpp
32090 ac_cpp='$CXXCPP $CPPFLAGS'
32091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32094
32095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32096 /* end confdefs.h. */
32097 #include <math.h>
32098 int
32099 main ()
32100 {
32101 _powf(0, 0);
32102 ;
32103 return 0;
32104 }
32105 _ACEOF
32106 if ac_fn_cxx_try_compile "$LINENO"; then :
32107 glibcxx_cv_func__powf_use=yes
32108 else
32109 glibcxx_cv_func__powf_use=no
32110 fi
32111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32112 ac_ext=c
32113 ac_cpp='$CPP $CPPFLAGS'
32114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32117
32118
32119 fi
32120
32121 fi
32122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32123 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32124
32125 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32126 for ac_func in _powf
32127 do :
32128 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32129 if test "x$ac_cv_func__powf" = x""yes; then :
32130 cat >>confdefs.h <<_ACEOF
32131 #define HAVE__POWF 1
32132 _ACEOF
32133
32134 fi
32135 done
32136
32137 fi
32138 fi
32139
32140
32141
32142
32143
32144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32145 $as_echo_n "checking for sqrtf declaration... " >&6; }
32146 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32147 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32148 $as_echo_n "(cached) " >&6
32149 else
32150
32151
32152 ac_ext=cpp
32153 ac_cpp='$CXXCPP $CPPFLAGS'
32154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32157
32158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32159 /* end confdefs.h. */
32160 #include <math.h>
32161 #ifdef HAVE_IEEEFP_H
32162 #include <ieeefp.h>
32163 #endif
32164
32165 int
32166 main ()
32167 {
32168 sqrtf(0);
32169 ;
32170 return 0;
32171 }
32172 _ACEOF
32173 if ac_fn_cxx_try_compile "$LINENO"; then :
32174 glibcxx_cv_func_sqrtf_use=yes
32175 else
32176 glibcxx_cv_func_sqrtf_use=no
32177 fi
32178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32179 ac_ext=c
32180 ac_cpp='$CPP $CPPFLAGS'
32181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32184
32185
32186 fi
32187
32188 fi
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32190 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32191
32192 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32193 for ac_func in sqrtf
32194 do :
32195 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32196 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32197 cat >>confdefs.h <<_ACEOF
32198 #define HAVE_SQRTF 1
32199 _ACEOF
32200
32201 fi
32202 done
32203
32204 else
32205
32206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32207 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32208 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32209 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32210 $as_echo_n "(cached) " >&6
32211 else
32212
32213
32214 ac_ext=cpp
32215 ac_cpp='$CXXCPP $CPPFLAGS'
32216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32219
32220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32221 /* end confdefs.h. */
32222 #include <math.h>
32223 #ifdef HAVE_IEEEFP_H
32224 #include <ieeefp.h>
32225 #endif
32226
32227 int
32228 main ()
32229 {
32230 _sqrtf(0);
32231 ;
32232 return 0;
32233 }
32234 _ACEOF
32235 if ac_fn_cxx_try_compile "$LINENO"; then :
32236 glibcxx_cv_func__sqrtf_use=yes
32237 else
32238 glibcxx_cv_func__sqrtf_use=no
32239 fi
32240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32241 ac_ext=c
32242 ac_cpp='$CPP $CPPFLAGS'
32243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32246
32247
32248 fi
32249
32250 fi
32251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32252 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32253
32254 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32255 for ac_func in _sqrtf
32256 do :
32257 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32258 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32259 cat >>confdefs.h <<_ACEOF
32260 #define HAVE__SQRTF 1
32261 _ACEOF
32262
32263 fi
32264 done
32265
32266 fi
32267 fi
32268
32269
32270
32271
32272
32273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32274 $as_echo_n "checking for sincosf declaration... " >&6; }
32275 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32276 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32277 $as_echo_n "(cached) " >&6
32278 else
32279
32280
32281 ac_ext=cpp
32282 ac_cpp='$CXXCPP $CPPFLAGS'
32283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32286
32287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32288 /* end confdefs.h. */
32289 #include <math.h>
32290 int
32291 main ()
32292 {
32293 sincosf(0, 0, 0);
32294 ;
32295 return 0;
32296 }
32297 _ACEOF
32298 if ac_fn_cxx_try_compile "$LINENO"; then :
32299 glibcxx_cv_func_sincosf_use=yes
32300 else
32301 glibcxx_cv_func_sincosf_use=no
32302 fi
32303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32304 ac_ext=c
32305 ac_cpp='$CPP $CPPFLAGS'
32306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32309
32310
32311 fi
32312
32313 fi
32314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32315 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32316
32317 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32318 for ac_func in sincosf
32319 do :
32320 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32321 if test "x$ac_cv_func_sincosf" = x""yes; then :
32322 cat >>confdefs.h <<_ACEOF
32323 #define HAVE_SINCOSF 1
32324 _ACEOF
32325
32326 fi
32327 done
32328
32329 else
32330
32331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32332 $as_echo_n "checking for _sincosf declaration... " >&6; }
32333 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32334 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32335 $as_echo_n "(cached) " >&6
32336 else
32337
32338
32339 ac_ext=cpp
32340 ac_cpp='$CXXCPP $CPPFLAGS'
32341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32344
32345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32346 /* end confdefs.h. */
32347 #include <math.h>
32348 int
32349 main ()
32350 {
32351 _sincosf(0, 0, 0);
32352 ;
32353 return 0;
32354 }
32355 _ACEOF
32356 if ac_fn_cxx_try_compile "$LINENO"; then :
32357 glibcxx_cv_func__sincosf_use=yes
32358 else
32359 glibcxx_cv_func__sincosf_use=no
32360 fi
32361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32362 ac_ext=c
32363 ac_cpp='$CPP $CPPFLAGS'
32364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32367
32368
32369 fi
32370
32371 fi
32372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32373 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32374
32375 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32376 for ac_func in _sincosf
32377 do :
32378 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32379 if test "x$ac_cv_func__sincosf" = x""yes; then :
32380 cat >>confdefs.h <<_ACEOF
32381 #define HAVE__SINCOSF 1
32382 _ACEOF
32383
32384 fi
32385 done
32386
32387 fi
32388 fi
32389
32390
32391
32392
32393
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32395 $as_echo_n "checking for finitef declaration... " >&6; }
32396 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32397 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32398 $as_echo_n "(cached) " >&6
32399 else
32400
32401
32402 ac_ext=cpp
32403 ac_cpp='$CXXCPP $CPPFLAGS'
32404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32407
32408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32409 /* end confdefs.h. */
32410 #include <math.h>
32411 #ifdef HAVE_IEEEFP_H
32412 #include <ieeefp.h>
32413 #endif
32414
32415 int
32416 main ()
32417 {
32418 finitef(0);
32419 ;
32420 return 0;
32421 }
32422 _ACEOF
32423 if ac_fn_cxx_try_compile "$LINENO"; then :
32424 glibcxx_cv_func_finitef_use=yes
32425 else
32426 glibcxx_cv_func_finitef_use=no
32427 fi
32428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32429 ac_ext=c
32430 ac_cpp='$CPP $CPPFLAGS'
32431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32434
32435
32436 fi
32437
32438 fi
32439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32440 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32441
32442 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32443 for ac_func in finitef
32444 do :
32445 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32446 if test "x$ac_cv_func_finitef" = x""yes; then :
32447 cat >>confdefs.h <<_ACEOF
32448 #define HAVE_FINITEF 1
32449 _ACEOF
32450
32451 fi
32452 done
32453
32454 else
32455
32456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32457 $as_echo_n "checking for _finitef declaration... " >&6; }
32458 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32459 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32460 $as_echo_n "(cached) " >&6
32461 else
32462
32463
32464 ac_ext=cpp
32465 ac_cpp='$CXXCPP $CPPFLAGS'
32466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32469
32470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32471 /* end confdefs.h. */
32472 #include <math.h>
32473 #ifdef HAVE_IEEEFP_H
32474 #include <ieeefp.h>
32475 #endif
32476
32477 int
32478 main ()
32479 {
32480 _finitef(0);
32481 ;
32482 return 0;
32483 }
32484 _ACEOF
32485 if ac_fn_cxx_try_compile "$LINENO"; then :
32486 glibcxx_cv_func__finitef_use=yes
32487 else
32488 glibcxx_cv_func__finitef_use=no
32489 fi
32490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32491 ac_ext=c
32492 ac_cpp='$CPP $CPPFLAGS'
32493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32496
32497
32498 fi
32499
32500 fi
32501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32502 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32503
32504 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32505 for ac_func in _finitef
32506 do :
32507 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32508 if test "x$ac_cv_func__finitef" = x""yes; then :
32509 cat >>confdefs.h <<_ACEOF
32510 #define HAVE__FINITEF 1
32511 _ACEOF
32512
32513 fi
32514 done
32515
32516 fi
32517 fi
32518
32519
32520
32521
32522
32523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32524 $as_echo_n "checking for long double trig functions... " >&6; }
32525 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32526 $as_echo_n "(cached) " >&6
32527 else
32528
32529
32530 ac_ext=cpp
32531 ac_cpp='$CXXCPP $CPPFLAGS'
32532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32535
32536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32537 /* end confdefs.h. */
32538 #include <math.h>
32539 int
32540 main ()
32541 {
32542 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32543 ;
32544 return 0;
32545 }
32546 _ACEOF
32547 if ac_fn_cxx_try_compile "$LINENO"; then :
32548 glibcxx_cv_func_long_double_trig_use=yes
32549 else
32550 glibcxx_cv_func_long_double_trig_use=no
32551 fi
32552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32553 ac_ext=c
32554 ac_cpp='$CPP $CPPFLAGS'
32555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32558
32559 fi
32560
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32562 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32563 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32564 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32565 do :
32566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32568 eval as_val=\$$as_ac_var
32569 if test "x$as_val" = x""yes; then :
32570 cat >>confdefs.h <<_ACEOF
32571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32572 _ACEOF
32573
32574 fi
32575 done
32576
32577 else
32578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32579 $as_echo_n "checking for _long double trig functions... " >&6; }
32580 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32581 $as_echo_n "(cached) " >&6
32582 else
32583
32584
32585 ac_ext=cpp
32586 ac_cpp='$CXXCPP $CPPFLAGS'
32587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32590
32591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32592 /* end confdefs.h. */
32593 #include <math.h>
32594 int
32595 main ()
32596 {
32597 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32598 ;
32599 return 0;
32600 }
32601 _ACEOF
32602 if ac_fn_cxx_try_compile "$LINENO"; then :
32603 glibcxx_cv_func__long_double_trig_use=yes
32604 else
32605 glibcxx_cv_func__long_double_trig_use=no
32606 fi
32607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32608 ac_ext=c
32609 ac_cpp='$CPP $CPPFLAGS'
32610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32613
32614 fi
32615
32616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32617 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32618 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32619 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32620 do :
32621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32623 eval as_val=\$$as_ac_var
32624 if test "x$as_val" = x""yes; then :
32625 cat >>confdefs.h <<_ACEOF
32626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32627 _ACEOF
32628
32629 fi
32630 done
32631
32632 fi
32633 fi
32634
32635
32636
32637
32638
32639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32640 $as_echo_n "checking for long double round functions... " >&6; }
32641 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32642 $as_echo_n "(cached) " >&6
32643 else
32644
32645
32646 ac_ext=cpp
32647 ac_cpp='$CXXCPP $CPPFLAGS'
32648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32651
32652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32653 /* end confdefs.h. */
32654 #include <math.h>
32655 int
32656 main ()
32657 {
32658 ceill (0); floorl (0);
32659 ;
32660 return 0;
32661 }
32662 _ACEOF
32663 if ac_fn_cxx_try_compile "$LINENO"; then :
32664 glibcxx_cv_func_long_double_round_use=yes
32665 else
32666 glibcxx_cv_func_long_double_round_use=no
32667 fi
32668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32669 ac_ext=c
32670 ac_cpp='$CPP $CPPFLAGS'
32671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32674
32675 fi
32676
32677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32678 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32679 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32680 for ac_func in ceill floorl
32681 do :
32682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32684 eval as_val=\$$as_ac_var
32685 if test "x$as_val" = x""yes; then :
32686 cat >>confdefs.h <<_ACEOF
32687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32688 _ACEOF
32689
32690 fi
32691 done
32692
32693 else
32694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32695 $as_echo_n "checking for _long double round functions... " >&6; }
32696 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32697 $as_echo_n "(cached) " >&6
32698 else
32699
32700
32701 ac_ext=cpp
32702 ac_cpp='$CXXCPP $CPPFLAGS'
32703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32706
32707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32708 /* end confdefs.h. */
32709 #include <math.h>
32710 int
32711 main ()
32712 {
32713 _ceill (0); _floorl (0);
32714 ;
32715 return 0;
32716 }
32717 _ACEOF
32718 if ac_fn_cxx_try_compile "$LINENO"; then :
32719 glibcxx_cv_func__long_double_round_use=yes
32720 else
32721 glibcxx_cv_func__long_double_round_use=no
32722 fi
32723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32724 ac_ext=c
32725 ac_cpp='$CPP $CPPFLAGS'
32726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32729
32730 fi
32731
32732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32733 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32734 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32735 for ac_func in _ceill _floorl
32736 do :
32737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32739 eval as_val=\$$as_ac_var
32740 if test "x$as_val" = x""yes; then :
32741 cat >>confdefs.h <<_ACEOF
32742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32743 _ACEOF
32744
32745 fi
32746 done
32747
32748 fi
32749 fi
32750
32751
32752
32753
32754
32755
32756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32757 $as_echo_n "checking for isnanl declaration... " >&6; }
32758 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32759 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32760 $as_echo_n "(cached) " >&6
32761 else
32762
32763
32764 ac_ext=cpp
32765 ac_cpp='$CXXCPP $CPPFLAGS'
32766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32769
32770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32771 /* end confdefs.h. */
32772 #include <math.h>
32773 #ifdef HAVE_IEEEFP_H
32774 #include <ieeefp.h>
32775 #endif
32776
32777 int
32778 main ()
32779 {
32780 isnanl(0);
32781 ;
32782 return 0;
32783 }
32784 _ACEOF
32785 if ac_fn_cxx_try_compile "$LINENO"; then :
32786 glibcxx_cv_func_isnanl_use=yes
32787 else
32788 glibcxx_cv_func_isnanl_use=no
32789 fi
32790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32791 ac_ext=c
32792 ac_cpp='$CPP $CPPFLAGS'
32793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32796
32797
32798 fi
32799
32800 fi
32801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32802 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32803
32804 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32805 for ac_func in isnanl
32806 do :
32807 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32808 if test "x$ac_cv_func_isnanl" = x""yes; then :
32809 cat >>confdefs.h <<_ACEOF
32810 #define HAVE_ISNANL 1
32811 _ACEOF
32812
32813 fi
32814 done
32815
32816 else
32817
32818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32819 $as_echo_n "checking for _isnanl declaration... " >&6; }
32820 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32821 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32822 $as_echo_n "(cached) " >&6
32823 else
32824
32825
32826 ac_ext=cpp
32827 ac_cpp='$CXXCPP $CPPFLAGS'
32828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32831
32832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32833 /* end confdefs.h. */
32834 #include <math.h>
32835 #ifdef HAVE_IEEEFP_H
32836 #include <ieeefp.h>
32837 #endif
32838
32839 int
32840 main ()
32841 {
32842 _isnanl(0);
32843 ;
32844 return 0;
32845 }
32846 _ACEOF
32847 if ac_fn_cxx_try_compile "$LINENO"; then :
32848 glibcxx_cv_func__isnanl_use=yes
32849 else
32850 glibcxx_cv_func__isnanl_use=no
32851 fi
32852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32853 ac_ext=c
32854 ac_cpp='$CPP $CPPFLAGS'
32855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32858
32859
32860 fi
32861
32862 fi
32863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32864 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32865
32866 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32867 for ac_func in _isnanl
32868 do :
32869 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32870 if test "x$ac_cv_func__isnanl" = x""yes; then :
32871 cat >>confdefs.h <<_ACEOF
32872 #define HAVE__ISNANL 1
32873 _ACEOF
32874
32875 fi
32876 done
32877
32878 fi
32879 fi
32880
32881
32882
32883
32884
32885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32886 $as_echo_n "checking for isinfl declaration... " >&6; }
32887 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32888 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32889 $as_echo_n "(cached) " >&6
32890 else
32891
32892
32893 ac_ext=cpp
32894 ac_cpp='$CXXCPP $CPPFLAGS'
32895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32898
32899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32900 /* end confdefs.h. */
32901 #include <math.h>
32902 #ifdef HAVE_IEEEFP_H
32903 #include <ieeefp.h>
32904 #endif
32905
32906 int
32907 main ()
32908 {
32909 isinfl(0);
32910 ;
32911 return 0;
32912 }
32913 _ACEOF
32914 if ac_fn_cxx_try_compile "$LINENO"; then :
32915 glibcxx_cv_func_isinfl_use=yes
32916 else
32917 glibcxx_cv_func_isinfl_use=no
32918 fi
32919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32920 ac_ext=c
32921 ac_cpp='$CPP $CPPFLAGS'
32922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32925
32926
32927 fi
32928
32929 fi
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32931 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32932
32933 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32934 for ac_func in isinfl
32935 do :
32936 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32937 if test "x$ac_cv_func_isinfl" = x""yes; then :
32938 cat >>confdefs.h <<_ACEOF
32939 #define HAVE_ISINFL 1
32940 _ACEOF
32941
32942 fi
32943 done
32944
32945 else
32946
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32948 $as_echo_n "checking for _isinfl declaration... " >&6; }
32949 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32950 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32951 $as_echo_n "(cached) " >&6
32952 else
32953
32954
32955 ac_ext=cpp
32956 ac_cpp='$CXXCPP $CPPFLAGS'
32957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32960
32961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32962 /* end confdefs.h. */
32963 #include <math.h>
32964 #ifdef HAVE_IEEEFP_H
32965 #include <ieeefp.h>
32966 #endif
32967
32968 int
32969 main ()
32970 {
32971 _isinfl(0);
32972 ;
32973 return 0;
32974 }
32975 _ACEOF
32976 if ac_fn_cxx_try_compile "$LINENO"; then :
32977 glibcxx_cv_func__isinfl_use=yes
32978 else
32979 glibcxx_cv_func__isinfl_use=no
32980 fi
32981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32982 ac_ext=c
32983 ac_cpp='$CPP $CPPFLAGS'
32984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32987
32988
32989 fi
32990
32991 fi
32992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32993 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32994
32995 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32996 for ac_func in _isinfl
32997 do :
32998 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32999 if test "x$ac_cv_func__isinfl" = x""yes; then :
33000 cat >>confdefs.h <<_ACEOF
33001 #define HAVE__ISINFL 1
33002 _ACEOF
33003
33004 fi
33005 done
33006
33007 fi
33008 fi
33009
33010
33011
33012
33013
33014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33015 $as_echo_n "checking for atan2l declaration... " >&6; }
33016 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33017 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33018 $as_echo_n "(cached) " >&6
33019 else
33020
33021
33022 ac_ext=cpp
33023 ac_cpp='$CXXCPP $CPPFLAGS'
33024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33027
33028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029 /* end confdefs.h. */
33030 #include <math.h>
33031 int
33032 main ()
33033 {
33034 atan2l(0, 0);
33035 ;
33036 return 0;
33037 }
33038 _ACEOF
33039 if ac_fn_cxx_try_compile "$LINENO"; then :
33040 glibcxx_cv_func_atan2l_use=yes
33041 else
33042 glibcxx_cv_func_atan2l_use=no
33043 fi
33044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33045 ac_ext=c
33046 ac_cpp='$CPP $CPPFLAGS'
33047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33050
33051
33052 fi
33053
33054 fi
33055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33056 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33057
33058 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33059 for ac_func in atan2l
33060 do :
33061 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33062 if test "x$ac_cv_func_atan2l" = x""yes; then :
33063 cat >>confdefs.h <<_ACEOF
33064 #define HAVE_ATAN2L 1
33065 _ACEOF
33066
33067 fi
33068 done
33069
33070 else
33071
33072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33073 $as_echo_n "checking for _atan2l declaration... " >&6; }
33074 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33075 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33076 $as_echo_n "(cached) " >&6
33077 else
33078
33079
33080 ac_ext=cpp
33081 ac_cpp='$CXXCPP $CPPFLAGS'
33082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33085
33086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33087 /* end confdefs.h. */
33088 #include <math.h>
33089 int
33090 main ()
33091 {
33092 _atan2l(0, 0);
33093 ;
33094 return 0;
33095 }
33096 _ACEOF
33097 if ac_fn_cxx_try_compile "$LINENO"; then :
33098 glibcxx_cv_func__atan2l_use=yes
33099 else
33100 glibcxx_cv_func__atan2l_use=no
33101 fi
33102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33103 ac_ext=c
33104 ac_cpp='$CPP $CPPFLAGS'
33105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33108
33109
33110 fi
33111
33112 fi
33113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33114 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33115
33116 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33117 for ac_func in _atan2l
33118 do :
33119 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33120 if test "x$ac_cv_func__atan2l" = x""yes; then :
33121 cat >>confdefs.h <<_ACEOF
33122 #define HAVE__ATAN2L 1
33123 _ACEOF
33124
33125 fi
33126 done
33127
33128 fi
33129 fi
33130
33131
33132
33133
33134
33135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33136 $as_echo_n "checking for expl declaration... " >&6; }
33137 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33138 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33139 $as_echo_n "(cached) " >&6
33140 else
33141
33142
33143 ac_ext=cpp
33144 ac_cpp='$CXXCPP $CPPFLAGS'
33145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33148
33149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33150 /* end confdefs.h. */
33151 #include <math.h>
33152 #ifdef HAVE_IEEEFP_H
33153 #include <ieeefp.h>
33154 #endif
33155
33156 int
33157 main ()
33158 {
33159 expl(0);
33160 ;
33161 return 0;
33162 }
33163 _ACEOF
33164 if ac_fn_cxx_try_compile "$LINENO"; then :
33165 glibcxx_cv_func_expl_use=yes
33166 else
33167 glibcxx_cv_func_expl_use=no
33168 fi
33169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33170 ac_ext=c
33171 ac_cpp='$CPP $CPPFLAGS'
33172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33175
33176
33177 fi
33178
33179 fi
33180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33181 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33182
33183 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33184 for ac_func in expl
33185 do :
33186 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33187 if test "x$ac_cv_func_expl" = x""yes; then :
33188 cat >>confdefs.h <<_ACEOF
33189 #define HAVE_EXPL 1
33190 _ACEOF
33191
33192 fi
33193 done
33194
33195 else
33196
33197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33198 $as_echo_n "checking for _expl declaration... " >&6; }
33199 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33200 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33201 $as_echo_n "(cached) " >&6
33202 else
33203
33204
33205 ac_ext=cpp
33206 ac_cpp='$CXXCPP $CPPFLAGS'
33207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33210
33211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33212 /* end confdefs.h. */
33213 #include <math.h>
33214 #ifdef HAVE_IEEEFP_H
33215 #include <ieeefp.h>
33216 #endif
33217
33218 int
33219 main ()
33220 {
33221 _expl(0);
33222 ;
33223 return 0;
33224 }
33225 _ACEOF
33226 if ac_fn_cxx_try_compile "$LINENO"; then :
33227 glibcxx_cv_func__expl_use=yes
33228 else
33229 glibcxx_cv_func__expl_use=no
33230 fi
33231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33232 ac_ext=c
33233 ac_cpp='$CPP $CPPFLAGS'
33234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33237
33238
33239 fi
33240
33241 fi
33242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33243 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33244
33245 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33246 for ac_func in _expl
33247 do :
33248 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33249 if test "x$ac_cv_func__expl" = x""yes; then :
33250 cat >>confdefs.h <<_ACEOF
33251 #define HAVE__EXPL 1
33252 _ACEOF
33253
33254 fi
33255 done
33256
33257 fi
33258 fi
33259
33260
33261
33262
33263
33264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33265 $as_echo_n "checking for fabsl declaration... " >&6; }
33266 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33267 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33268 $as_echo_n "(cached) " >&6
33269 else
33270
33271
33272 ac_ext=cpp
33273 ac_cpp='$CXXCPP $CPPFLAGS'
33274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33277
33278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33279 /* end confdefs.h. */
33280 #include <math.h>
33281 #ifdef HAVE_IEEEFP_H
33282 #include <ieeefp.h>
33283 #endif
33284
33285 int
33286 main ()
33287 {
33288 fabsl(0);
33289 ;
33290 return 0;
33291 }
33292 _ACEOF
33293 if ac_fn_cxx_try_compile "$LINENO"; then :
33294 glibcxx_cv_func_fabsl_use=yes
33295 else
33296 glibcxx_cv_func_fabsl_use=no
33297 fi
33298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33299 ac_ext=c
33300 ac_cpp='$CPP $CPPFLAGS'
33301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33304
33305
33306 fi
33307
33308 fi
33309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33310 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33311
33312 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33313 for ac_func in fabsl
33314 do :
33315 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33316 if test "x$ac_cv_func_fabsl" = x""yes; then :
33317 cat >>confdefs.h <<_ACEOF
33318 #define HAVE_FABSL 1
33319 _ACEOF
33320
33321 fi
33322 done
33323
33324 else
33325
33326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33327 $as_echo_n "checking for _fabsl declaration... " >&6; }
33328 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33329 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33330 $as_echo_n "(cached) " >&6
33331 else
33332
33333
33334 ac_ext=cpp
33335 ac_cpp='$CXXCPP $CPPFLAGS'
33336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33339
33340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33341 /* end confdefs.h. */
33342 #include <math.h>
33343 #ifdef HAVE_IEEEFP_H
33344 #include <ieeefp.h>
33345 #endif
33346
33347 int
33348 main ()
33349 {
33350 _fabsl(0);
33351 ;
33352 return 0;
33353 }
33354 _ACEOF
33355 if ac_fn_cxx_try_compile "$LINENO"; then :
33356 glibcxx_cv_func__fabsl_use=yes
33357 else
33358 glibcxx_cv_func__fabsl_use=no
33359 fi
33360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33361 ac_ext=c
33362 ac_cpp='$CPP $CPPFLAGS'
33363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33366
33367
33368 fi
33369
33370 fi
33371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33372 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33373
33374 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33375 for ac_func in _fabsl
33376 do :
33377 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33378 if test "x$ac_cv_func__fabsl" = x""yes; then :
33379 cat >>confdefs.h <<_ACEOF
33380 #define HAVE__FABSL 1
33381 _ACEOF
33382
33383 fi
33384 done
33385
33386 fi
33387 fi
33388
33389
33390
33391
33392
33393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33394 $as_echo_n "checking for fmodl declaration... " >&6; }
33395 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33396 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33397 $as_echo_n "(cached) " >&6
33398 else
33399
33400
33401 ac_ext=cpp
33402 ac_cpp='$CXXCPP $CPPFLAGS'
33403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33406
33407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33408 /* end confdefs.h. */
33409 #include <math.h>
33410 int
33411 main ()
33412 {
33413 fmodl(0, 0);
33414 ;
33415 return 0;
33416 }
33417 _ACEOF
33418 if ac_fn_cxx_try_compile "$LINENO"; then :
33419 glibcxx_cv_func_fmodl_use=yes
33420 else
33421 glibcxx_cv_func_fmodl_use=no
33422 fi
33423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33424 ac_ext=c
33425 ac_cpp='$CPP $CPPFLAGS'
33426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33429
33430
33431 fi
33432
33433 fi
33434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33435 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33436
33437 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33438 for ac_func in fmodl
33439 do :
33440 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33441 if test "x$ac_cv_func_fmodl" = x""yes; then :
33442 cat >>confdefs.h <<_ACEOF
33443 #define HAVE_FMODL 1
33444 _ACEOF
33445
33446 fi
33447 done
33448
33449 else
33450
33451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33452 $as_echo_n "checking for _fmodl declaration... " >&6; }
33453 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33454 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33455 $as_echo_n "(cached) " >&6
33456 else
33457
33458
33459 ac_ext=cpp
33460 ac_cpp='$CXXCPP $CPPFLAGS'
33461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33464
33465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33466 /* end confdefs.h. */
33467 #include <math.h>
33468 int
33469 main ()
33470 {
33471 _fmodl(0, 0);
33472 ;
33473 return 0;
33474 }
33475 _ACEOF
33476 if ac_fn_cxx_try_compile "$LINENO"; then :
33477 glibcxx_cv_func__fmodl_use=yes
33478 else
33479 glibcxx_cv_func__fmodl_use=no
33480 fi
33481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33482 ac_ext=c
33483 ac_cpp='$CPP $CPPFLAGS'
33484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33487
33488
33489 fi
33490
33491 fi
33492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33493 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33494
33495 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33496 for ac_func in _fmodl
33497 do :
33498 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33499 if test "x$ac_cv_func__fmodl" = x""yes; then :
33500 cat >>confdefs.h <<_ACEOF
33501 #define HAVE__FMODL 1
33502 _ACEOF
33503
33504 fi
33505 done
33506
33507 fi
33508 fi
33509
33510
33511
33512
33513
33514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33515 $as_echo_n "checking for frexpl declaration... " >&6; }
33516 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33517 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33518 $as_echo_n "(cached) " >&6
33519 else
33520
33521
33522 ac_ext=cpp
33523 ac_cpp='$CXXCPP $CPPFLAGS'
33524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33527
33528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33529 /* end confdefs.h. */
33530 #include <math.h>
33531 int
33532 main ()
33533 {
33534 frexpl(0, 0);
33535 ;
33536 return 0;
33537 }
33538 _ACEOF
33539 if ac_fn_cxx_try_compile "$LINENO"; then :
33540 glibcxx_cv_func_frexpl_use=yes
33541 else
33542 glibcxx_cv_func_frexpl_use=no
33543 fi
33544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33545 ac_ext=c
33546 ac_cpp='$CPP $CPPFLAGS'
33547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33550
33551
33552 fi
33553
33554 fi
33555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33556 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33557
33558 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33559 for ac_func in frexpl
33560 do :
33561 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33562 if test "x$ac_cv_func_frexpl" = x""yes; then :
33563 cat >>confdefs.h <<_ACEOF
33564 #define HAVE_FREXPL 1
33565 _ACEOF
33566
33567 fi
33568 done
33569
33570 else
33571
33572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33573 $as_echo_n "checking for _frexpl declaration... " >&6; }
33574 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33575 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33576 $as_echo_n "(cached) " >&6
33577 else
33578
33579
33580 ac_ext=cpp
33581 ac_cpp='$CXXCPP $CPPFLAGS'
33582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33585
33586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33587 /* end confdefs.h. */
33588 #include <math.h>
33589 int
33590 main ()
33591 {
33592 _frexpl(0, 0);
33593 ;
33594 return 0;
33595 }
33596 _ACEOF
33597 if ac_fn_cxx_try_compile "$LINENO"; then :
33598 glibcxx_cv_func__frexpl_use=yes
33599 else
33600 glibcxx_cv_func__frexpl_use=no
33601 fi
33602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33603 ac_ext=c
33604 ac_cpp='$CPP $CPPFLAGS'
33605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33608
33609
33610 fi
33611
33612 fi
33613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33614 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33615
33616 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33617 for ac_func in _frexpl
33618 do :
33619 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33620 if test "x$ac_cv_func__frexpl" = x""yes; then :
33621 cat >>confdefs.h <<_ACEOF
33622 #define HAVE__FREXPL 1
33623 _ACEOF
33624
33625 fi
33626 done
33627
33628 fi
33629 fi
33630
33631
33632
33633
33634
33635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33636 $as_echo_n "checking for hypotl declaration... " >&6; }
33637 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33638 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33639 $as_echo_n "(cached) " >&6
33640 else
33641
33642
33643 ac_ext=cpp
33644 ac_cpp='$CXXCPP $CPPFLAGS'
33645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33648
33649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33650 /* end confdefs.h. */
33651 #include <math.h>
33652 int
33653 main ()
33654 {
33655 hypotl(0, 0);
33656 ;
33657 return 0;
33658 }
33659 _ACEOF
33660 if ac_fn_cxx_try_compile "$LINENO"; then :
33661 glibcxx_cv_func_hypotl_use=yes
33662 else
33663 glibcxx_cv_func_hypotl_use=no
33664 fi
33665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33666 ac_ext=c
33667 ac_cpp='$CPP $CPPFLAGS'
33668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33671
33672
33673 fi
33674
33675 fi
33676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33677 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33678
33679 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33680 for ac_func in hypotl
33681 do :
33682 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33683 if test "x$ac_cv_func_hypotl" = x""yes; then :
33684 cat >>confdefs.h <<_ACEOF
33685 #define HAVE_HYPOTL 1
33686 _ACEOF
33687
33688 fi
33689 done
33690
33691 else
33692
33693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33694 $as_echo_n "checking for _hypotl declaration... " >&6; }
33695 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33696 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33697 $as_echo_n "(cached) " >&6
33698 else
33699
33700
33701 ac_ext=cpp
33702 ac_cpp='$CXXCPP $CPPFLAGS'
33703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33706
33707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33708 /* end confdefs.h. */
33709 #include <math.h>
33710 int
33711 main ()
33712 {
33713 _hypotl(0, 0);
33714 ;
33715 return 0;
33716 }
33717 _ACEOF
33718 if ac_fn_cxx_try_compile "$LINENO"; then :
33719 glibcxx_cv_func__hypotl_use=yes
33720 else
33721 glibcxx_cv_func__hypotl_use=no
33722 fi
33723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33724 ac_ext=c
33725 ac_cpp='$CPP $CPPFLAGS'
33726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33729
33730
33731 fi
33732
33733 fi
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33735 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33736
33737 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33738 for ac_func in _hypotl
33739 do :
33740 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33741 if test "x$ac_cv_func__hypotl" = x""yes; then :
33742 cat >>confdefs.h <<_ACEOF
33743 #define HAVE__HYPOTL 1
33744 _ACEOF
33745
33746 fi
33747 done
33748
33749 fi
33750 fi
33751
33752
33753
33754
33755
33756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33757 $as_echo_n "checking for ldexpl declaration... " >&6; }
33758 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33759 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33760 $as_echo_n "(cached) " >&6
33761 else
33762
33763
33764 ac_ext=cpp
33765 ac_cpp='$CXXCPP $CPPFLAGS'
33766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33769
33770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33771 /* end confdefs.h. */
33772 #include <math.h>
33773 int
33774 main ()
33775 {
33776 ldexpl(0, 0);
33777 ;
33778 return 0;
33779 }
33780 _ACEOF
33781 if ac_fn_cxx_try_compile "$LINENO"; then :
33782 glibcxx_cv_func_ldexpl_use=yes
33783 else
33784 glibcxx_cv_func_ldexpl_use=no
33785 fi
33786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33787 ac_ext=c
33788 ac_cpp='$CPP $CPPFLAGS'
33789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33792
33793
33794 fi
33795
33796 fi
33797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33798 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33799
33800 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33801 for ac_func in ldexpl
33802 do :
33803 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33804 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33805 cat >>confdefs.h <<_ACEOF
33806 #define HAVE_LDEXPL 1
33807 _ACEOF
33808
33809 fi
33810 done
33811
33812 else
33813
33814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33815 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33816 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33817 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33818 $as_echo_n "(cached) " >&6
33819 else
33820
33821
33822 ac_ext=cpp
33823 ac_cpp='$CXXCPP $CPPFLAGS'
33824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33827
33828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33829 /* end confdefs.h. */
33830 #include <math.h>
33831 int
33832 main ()
33833 {
33834 _ldexpl(0, 0);
33835 ;
33836 return 0;
33837 }
33838 _ACEOF
33839 if ac_fn_cxx_try_compile "$LINENO"; then :
33840 glibcxx_cv_func__ldexpl_use=yes
33841 else
33842 glibcxx_cv_func__ldexpl_use=no
33843 fi
33844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33845 ac_ext=c
33846 ac_cpp='$CPP $CPPFLAGS'
33847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33850
33851
33852 fi
33853
33854 fi
33855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33856 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33857
33858 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33859 for ac_func in _ldexpl
33860 do :
33861 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33862 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33863 cat >>confdefs.h <<_ACEOF
33864 #define HAVE__LDEXPL 1
33865 _ACEOF
33866
33867 fi
33868 done
33869
33870 fi
33871 fi
33872
33873
33874
33875
33876
33877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33878 $as_echo_n "checking for logl declaration... " >&6; }
33879 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33880 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33881 $as_echo_n "(cached) " >&6
33882 else
33883
33884
33885 ac_ext=cpp
33886 ac_cpp='$CXXCPP $CPPFLAGS'
33887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33890
33891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33892 /* end confdefs.h. */
33893 #include <math.h>
33894 #ifdef HAVE_IEEEFP_H
33895 #include <ieeefp.h>
33896 #endif
33897
33898 int
33899 main ()
33900 {
33901 logl(0);
33902 ;
33903 return 0;
33904 }
33905 _ACEOF
33906 if ac_fn_cxx_try_compile "$LINENO"; then :
33907 glibcxx_cv_func_logl_use=yes
33908 else
33909 glibcxx_cv_func_logl_use=no
33910 fi
33911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33912 ac_ext=c
33913 ac_cpp='$CPP $CPPFLAGS'
33914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33917
33918
33919 fi
33920
33921 fi
33922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33923 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33924
33925 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33926 for ac_func in logl
33927 do :
33928 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33929 if test "x$ac_cv_func_logl" = x""yes; then :
33930 cat >>confdefs.h <<_ACEOF
33931 #define HAVE_LOGL 1
33932 _ACEOF
33933
33934 fi
33935 done
33936
33937 else
33938
33939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33940 $as_echo_n "checking for _logl declaration... " >&6; }
33941 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33942 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33943 $as_echo_n "(cached) " >&6
33944 else
33945
33946
33947 ac_ext=cpp
33948 ac_cpp='$CXXCPP $CPPFLAGS'
33949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33952
33953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33954 /* end confdefs.h. */
33955 #include <math.h>
33956 #ifdef HAVE_IEEEFP_H
33957 #include <ieeefp.h>
33958 #endif
33959
33960 int
33961 main ()
33962 {
33963 _logl(0);
33964 ;
33965 return 0;
33966 }
33967 _ACEOF
33968 if ac_fn_cxx_try_compile "$LINENO"; then :
33969 glibcxx_cv_func__logl_use=yes
33970 else
33971 glibcxx_cv_func__logl_use=no
33972 fi
33973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33974 ac_ext=c
33975 ac_cpp='$CPP $CPPFLAGS'
33976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33979
33980
33981 fi
33982
33983 fi
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33985 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33986
33987 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33988 for ac_func in _logl
33989 do :
33990 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33991 if test "x$ac_cv_func__logl" = x""yes; then :
33992 cat >>confdefs.h <<_ACEOF
33993 #define HAVE__LOGL 1
33994 _ACEOF
33995
33996 fi
33997 done
33998
33999 fi
34000 fi
34001
34002
34003
34004
34005
34006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34007 $as_echo_n "checking for log10l declaration... " >&6; }
34008 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34009 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34010 $as_echo_n "(cached) " >&6
34011 else
34012
34013
34014 ac_ext=cpp
34015 ac_cpp='$CXXCPP $CPPFLAGS'
34016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34019
34020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34021 /* end confdefs.h. */
34022 #include <math.h>
34023 #ifdef HAVE_IEEEFP_H
34024 #include <ieeefp.h>
34025 #endif
34026
34027 int
34028 main ()
34029 {
34030 log10l(0);
34031 ;
34032 return 0;
34033 }
34034 _ACEOF
34035 if ac_fn_cxx_try_compile "$LINENO"; then :
34036 glibcxx_cv_func_log10l_use=yes
34037 else
34038 glibcxx_cv_func_log10l_use=no
34039 fi
34040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34041 ac_ext=c
34042 ac_cpp='$CPP $CPPFLAGS'
34043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34046
34047
34048 fi
34049
34050 fi
34051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34052 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34053
34054 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34055 for ac_func in log10l
34056 do :
34057 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34058 if test "x$ac_cv_func_log10l" = x""yes; then :
34059 cat >>confdefs.h <<_ACEOF
34060 #define HAVE_LOG10L 1
34061 _ACEOF
34062
34063 fi
34064 done
34065
34066 else
34067
34068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34069 $as_echo_n "checking for _log10l declaration... " >&6; }
34070 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34071 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34072 $as_echo_n "(cached) " >&6
34073 else
34074
34075
34076 ac_ext=cpp
34077 ac_cpp='$CXXCPP $CPPFLAGS'
34078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34081
34082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34083 /* end confdefs.h. */
34084 #include <math.h>
34085 #ifdef HAVE_IEEEFP_H
34086 #include <ieeefp.h>
34087 #endif
34088
34089 int
34090 main ()
34091 {
34092 _log10l(0);
34093 ;
34094 return 0;
34095 }
34096 _ACEOF
34097 if ac_fn_cxx_try_compile "$LINENO"; then :
34098 glibcxx_cv_func__log10l_use=yes
34099 else
34100 glibcxx_cv_func__log10l_use=no
34101 fi
34102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34103 ac_ext=c
34104 ac_cpp='$CPP $CPPFLAGS'
34105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34108
34109
34110 fi
34111
34112 fi
34113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34114 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34115
34116 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34117 for ac_func in _log10l
34118 do :
34119 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34120 if test "x$ac_cv_func__log10l" = x""yes; then :
34121 cat >>confdefs.h <<_ACEOF
34122 #define HAVE__LOG10L 1
34123 _ACEOF
34124
34125 fi
34126 done
34127
34128 fi
34129 fi
34130
34131
34132
34133
34134
34135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34136 $as_echo_n "checking for modfl declaration... " >&6; }
34137 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34138 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34139 $as_echo_n "(cached) " >&6
34140 else
34141
34142
34143 ac_ext=cpp
34144 ac_cpp='$CXXCPP $CPPFLAGS'
34145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34148
34149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34150 /* end confdefs.h. */
34151 #include <math.h>
34152 int
34153 main ()
34154 {
34155 modfl(0, 0);
34156 ;
34157 return 0;
34158 }
34159 _ACEOF
34160 if ac_fn_cxx_try_compile "$LINENO"; then :
34161 glibcxx_cv_func_modfl_use=yes
34162 else
34163 glibcxx_cv_func_modfl_use=no
34164 fi
34165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34166 ac_ext=c
34167 ac_cpp='$CPP $CPPFLAGS'
34168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34171
34172
34173 fi
34174
34175 fi
34176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34177 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34178
34179 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34180 for ac_func in modfl
34181 do :
34182 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34183 if test "x$ac_cv_func_modfl" = x""yes; then :
34184 cat >>confdefs.h <<_ACEOF
34185 #define HAVE_MODFL 1
34186 _ACEOF
34187
34188 fi
34189 done
34190
34191 else
34192
34193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34194 $as_echo_n "checking for _modfl declaration... " >&6; }
34195 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34196 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34197 $as_echo_n "(cached) " >&6
34198 else
34199
34200
34201 ac_ext=cpp
34202 ac_cpp='$CXXCPP $CPPFLAGS'
34203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34206
34207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34208 /* end confdefs.h. */
34209 #include <math.h>
34210 int
34211 main ()
34212 {
34213 _modfl(0, 0);
34214 ;
34215 return 0;
34216 }
34217 _ACEOF
34218 if ac_fn_cxx_try_compile "$LINENO"; then :
34219 glibcxx_cv_func__modfl_use=yes
34220 else
34221 glibcxx_cv_func__modfl_use=no
34222 fi
34223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34224 ac_ext=c
34225 ac_cpp='$CPP $CPPFLAGS'
34226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34229
34230
34231 fi
34232
34233 fi
34234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34235 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34236
34237 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34238 for ac_func in _modfl
34239 do :
34240 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34241 if test "x$ac_cv_func__modfl" = x""yes; then :
34242 cat >>confdefs.h <<_ACEOF
34243 #define HAVE__MODFL 1
34244 _ACEOF
34245
34246 fi
34247 done
34248
34249 fi
34250 fi
34251
34252
34253
34254
34255
34256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34257 $as_echo_n "checking for powl declaration... " >&6; }
34258 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34259 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34260 $as_echo_n "(cached) " >&6
34261 else
34262
34263
34264 ac_ext=cpp
34265 ac_cpp='$CXXCPP $CPPFLAGS'
34266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34269
34270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34271 /* end confdefs.h. */
34272 #include <math.h>
34273 int
34274 main ()
34275 {
34276 powl(0, 0);
34277 ;
34278 return 0;
34279 }
34280 _ACEOF
34281 if ac_fn_cxx_try_compile "$LINENO"; then :
34282 glibcxx_cv_func_powl_use=yes
34283 else
34284 glibcxx_cv_func_powl_use=no
34285 fi
34286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287 ac_ext=c
34288 ac_cpp='$CPP $CPPFLAGS'
34289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34292
34293
34294 fi
34295
34296 fi
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34298 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34299
34300 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34301 for ac_func in powl
34302 do :
34303 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34304 if test "x$ac_cv_func_powl" = x""yes; then :
34305 cat >>confdefs.h <<_ACEOF
34306 #define HAVE_POWL 1
34307 _ACEOF
34308
34309 fi
34310 done
34311
34312 else
34313
34314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34315 $as_echo_n "checking for _powl declaration... " >&6; }
34316 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34317 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34318 $as_echo_n "(cached) " >&6
34319 else
34320
34321
34322 ac_ext=cpp
34323 ac_cpp='$CXXCPP $CPPFLAGS'
34324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34327
34328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34329 /* end confdefs.h. */
34330 #include <math.h>
34331 int
34332 main ()
34333 {
34334 _powl(0, 0);
34335 ;
34336 return 0;
34337 }
34338 _ACEOF
34339 if ac_fn_cxx_try_compile "$LINENO"; then :
34340 glibcxx_cv_func__powl_use=yes
34341 else
34342 glibcxx_cv_func__powl_use=no
34343 fi
34344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34345 ac_ext=c
34346 ac_cpp='$CPP $CPPFLAGS'
34347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34350
34351
34352 fi
34353
34354 fi
34355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34356 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34357
34358 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34359 for ac_func in _powl
34360 do :
34361 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34362 if test "x$ac_cv_func__powl" = x""yes; then :
34363 cat >>confdefs.h <<_ACEOF
34364 #define HAVE__POWL 1
34365 _ACEOF
34366
34367 fi
34368 done
34369
34370 fi
34371 fi
34372
34373
34374
34375
34376
34377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34378 $as_echo_n "checking for sqrtl declaration... " >&6; }
34379 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34380 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34381 $as_echo_n "(cached) " >&6
34382 else
34383
34384
34385 ac_ext=cpp
34386 ac_cpp='$CXXCPP $CPPFLAGS'
34387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34390
34391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34392 /* end confdefs.h. */
34393 #include <math.h>
34394 #ifdef HAVE_IEEEFP_H
34395 #include <ieeefp.h>
34396 #endif
34397
34398 int
34399 main ()
34400 {
34401 sqrtl(0);
34402 ;
34403 return 0;
34404 }
34405 _ACEOF
34406 if ac_fn_cxx_try_compile "$LINENO"; then :
34407 glibcxx_cv_func_sqrtl_use=yes
34408 else
34409 glibcxx_cv_func_sqrtl_use=no
34410 fi
34411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34412 ac_ext=c
34413 ac_cpp='$CPP $CPPFLAGS'
34414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34417
34418
34419 fi
34420
34421 fi
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34423 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34424
34425 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34426 for ac_func in sqrtl
34427 do :
34428 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34429 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34430 cat >>confdefs.h <<_ACEOF
34431 #define HAVE_SQRTL 1
34432 _ACEOF
34433
34434 fi
34435 done
34436
34437 else
34438
34439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34440 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34441 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34442 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34443 $as_echo_n "(cached) " >&6
34444 else
34445
34446
34447 ac_ext=cpp
34448 ac_cpp='$CXXCPP $CPPFLAGS'
34449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34452
34453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34454 /* end confdefs.h. */
34455 #include <math.h>
34456 #ifdef HAVE_IEEEFP_H
34457 #include <ieeefp.h>
34458 #endif
34459
34460 int
34461 main ()
34462 {
34463 _sqrtl(0);
34464 ;
34465 return 0;
34466 }
34467 _ACEOF
34468 if ac_fn_cxx_try_compile "$LINENO"; then :
34469 glibcxx_cv_func__sqrtl_use=yes
34470 else
34471 glibcxx_cv_func__sqrtl_use=no
34472 fi
34473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34474 ac_ext=c
34475 ac_cpp='$CPP $CPPFLAGS'
34476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34479
34480
34481 fi
34482
34483 fi
34484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34485 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34486
34487 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34488 for ac_func in _sqrtl
34489 do :
34490 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34491 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34492 cat >>confdefs.h <<_ACEOF
34493 #define HAVE__SQRTL 1
34494 _ACEOF
34495
34496 fi
34497 done
34498
34499 fi
34500 fi
34501
34502
34503
34504
34505
34506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34507 $as_echo_n "checking for sincosl declaration... " >&6; }
34508 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34509 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34510 $as_echo_n "(cached) " >&6
34511 else
34512
34513
34514 ac_ext=cpp
34515 ac_cpp='$CXXCPP $CPPFLAGS'
34516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34519
34520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34521 /* end confdefs.h. */
34522 #include <math.h>
34523 int
34524 main ()
34525 {
34526 sincosl(0, 0, 0);
34527 ;
34528 return 0;
34529 }
34530 _ACEOF
34531 if ac_fn_cxx_try_compile "$LINENO"; then :
34532 glibcxx_cv_func_sincosl_use=yes
34533 else
34534 glibcxx_cv_func_sincosl_use=no
34535 fi
34536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34537 ac_ext=c
34538 ac_cpp='$CPP $CPPFLAGS'
34539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34542
34543
34544 fi
34545
34546 fi
34547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34548 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34549
34550 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34551 for ac_func in sincosl
34552 do :
34553 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34554 if test "x$ac_cv_func_sincosl" = x""yes; then :
34555 cat >>confdefs.h <<_ACEOF
34556 #define HAVE_SINCOSL 1
34557 _ACEOF
34558
34559 fi
34560 done
34561
34562 else
34563
34564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34565 $as_echo_n "checking for _sincosl declaration... " >&6; }
34566 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34567 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34568 $as_echo_n "(cached) " >&6
34569 else
34570
34571
34572 ac_ext=cpp
34573 ac_cpp='$CXXCPP $CPPFLAGS'
34574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34577
34578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34579 /* end confdefs.h. */
34580 #include <math.h>
34581 int
34582 main ()
34583 {
34584 _sincosl(0, 0, 0);
34585 ;
34586 return 0;
34587 }
34588 _ACEOF
34589 if ac_fn_cxx_try_compile "$LINENO"; then :
34590 glibcxx_cv_func__sincosl_use=yes
34591 else
34592 glibcxx_cv_func__sincosl_use=no
34593 fi
34594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34595 ac_ext=c
34596 ac_cpp='$CPP $CPPFLAGS'
34597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34600
34601
34602 fi
34603
34604 fi
34605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34606 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34607
34608 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34609 for ac_func in _sincosl
34610 do :
34611 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34612 if test "x$ac_cv_func__sincosl" = x""yes; then :
34613 cat >>confdefs.h <<_ACEOF
34614 #define HAVE__SINCOSL 1
34615 _ACEOF
34616
34617 fi
34618 done
34619
34620 fi
34621 fi
34622
34623
34624
34625
34626
34627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34628 $as_echo_n "checking for finitel declaration... " >&6; }
34629 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34630 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34631 $as_echo_n "(cached) " >&6
34632 else
34633
34634
34635 ac_ext=cpp
34636 ac_cpp='$CXXCPP $CPPFLAGS'
34637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34640
34641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34642 /* end confdefs.h. */
34643 #include <math.h>
34644 #ifdef HAVE_IEEEFP_H
34645 #include <ieeefp.h>
34646 #endif
34647
34648 int
34649 main ()
34650 {
34651 finitel(0);
34652 ;
34653 return 0;
34654 }
34655 _ACEOF
34656 if ac_fn_cxx_try_compile "$LINENO"; then :
34657 glibcxx_cv_func_finitel_use=yes
34658 else
34659 glibcxx_cv_func_finitel_use=no
34660 fi
34661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34662 ac_ext=c
34663 ac_cpp='$CPP $CPPFLAGS'
34664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34667
34668
34669 fi
34670
34671 fi
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34673 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34674
34675 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34676 for ac_func in finitel
34677 do :
34678 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34679 if test "x$ac_cv_func_finitel" = x""yes; then :
34680 cat >>confdefs.h <<_ACEOF
34681 #define HAVE_FINITEL 1
34682 _ACEOF
34683
34684 fi
34685 done
34686
34687 else
34688
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34690 $as_echo_n "checking for _finitel declaration... " >&6; }
34691 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34692 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34693 $as_echo_n "(cached) " >&6
34694 else
34695
34696
34697 ac_ext=cpp
34698 ac_cpp='$CXXCPP $CPPFLAGS'
34699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34702
34703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34704 /* end confdefs.h. */
34705 #include <math.h>
34706 #ifdef HAVE_IEEEFP_H
34707 #include <ieeefp.h>
34708 #endif
34709
34710 int
34711 main ()
34712 {
34713 _finitel(0);
34714 ;
34715 return 0;
34716 }
34717 _ACEOF
34718 if ac_fn_cxx_try_compile "$LINENO"; then :
34719 glibcxx_cv_func__finitel_use=yes
34720 else
34721 glibcxx_cv_func__finitel_use=no
34722 fi
34723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34724 ac_ext=c
34725 ac_cpp='$CPP $CPPFLAGS'
34726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34729
34730
34731 fi
34732
34733 fi
34734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34735 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34736
34737 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34738 for ac_func in _finitel
34739 do :
34740 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34741 if test "x$ac_cv_func__finitel" = x""yes; then :
34742 cat >>confdefs.h <<_ACEOF
34743 #define HAVE__FINITEL 1
34744 _ACEOF
34745
34746 fi
34747 done
34748
34749 fi
34750 fi
34751
34752
34753
34754
34755 LIBS="$ac_save_LIBS"
34756 CXXFLAGS="$ac_save_CXXFLAGS"
34757
34758
34759 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34760 ac_save_CXXFLAGS="$CXXFLAGS"
34761 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34762
34763
34764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34765 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34766 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34767 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34768 $as_echo_n "(cached) " >&6
34769 else
34770
34771
34772 ac_ext=cpp
34773 ac_cpp='$CXXCPP $CPPFLAGS'
34774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34777
34778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34779 /* end confdefs.h. */
34780 #include <stdlib.h>
34781 int
34782 main ()
34783 {
34784 at_quick_exit(0);
34785 ;
34786 return 0;
34787 }
34788 _ACEOF
34789 if ac_fn_cxx_try_compile "$LINENO"; then :
34790 glibcxx_cv_func_at_quick_exit_use=yes
34791 else
34792 glibcxx_cv_func_at_quick_exit_use=no
34793 fi
34794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34795 ac_ext=c
34796 ac_cpp='$CPP $CPPFLAGS'
34797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34800
34801
34802 fi
34803
34804 fi
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34806 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34807 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34808 for ac_func in at_quick_exit
34809 do :
34810 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34811 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34812 cat >>confdefs.h <<_ACEOF
34813 #define HAVE_AT_QUICK_EXIT 1
34814 _ACEOF
34815
34816 fi
34817 done
34818
34819 fi
34820
34821
34822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34823 $as_echo_n "checking for quick_exit declaration... " >&6; }
34824 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34825 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34826 $as_echo_n "(cached) " >&6
34827 else
34828
34829
34830 ac_ext=cpp
34831 ac_cpp='$CXXCPP $CPPFLAGS'
34832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34835
34836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34837 /* end confdefs.h. */
34838 #include <stdlib.h>
34839 int
34840 main ()
34841 {
34842 quick_exit(0);
34843 ;
34844 return 0;
34845 }
34846 _ACEOF
34847 if ac_fn_cxx_try_compile "$LINENO"; then :
34848 glibcxx_cv_func_quick_exit_use=yes
34849 else
34850 glibcxx_cv_func_quick_exit_use=no
34851 fi
34852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34853 ac_ext=c
34854 ac_cpp='$CPP $CPPFLAGS'
34855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34858
34859
34860 fi
34861
34862 fi
34863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34864 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34865 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34866 for ac_func in quick_exit
34867 do :
34868 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34869 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34870 cat >>confdefs.h <<_ACEOF
34871 #define HAVE_QUICK_EXIT 1
34872 _ACEOF
34873
34874 fi
34875 done
34876
34877 fi
34878
34879
34880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34881 $as_echo_n "checking for strtold declaration... " >&6; }
34882 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34883 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34884 $as_echo_n "(cached) " >&6
34885 else
34886
34887
34888 ac_ext=cpp
34889 ac_cpp='$CXXCPP $CPPFLAGS'
34890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34893
34894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34895 /* end confdefs.h. */
34896 #include <stdlib.h>
34897 int
34898 main ()
34899 {
34900 strtold(0, 0);
34901 ;
34902 return 0;
34903 }
34904 _ACEOF
34905 if ac_fn_cxx_try_compile "$LINENO"; then :
34906 glibcxx_cv_func_strtold_use=yes
34907 else
34908 glibcxx_cv_func_strtold_use=no
34909 fi
34910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34911 ac_ext=c
34912 ac_cpp='$CPP $CPPFLAGS'
34913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34916
34917
34918 fi
34919
34920 fi
34921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34922 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34923 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34924 for ac_func in strtold
34925 do :
34926 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34927 if test "x$ac_cv_func_strtold" = x""yes; then :
34928 cat >>confdefs.h <<_ACEOF
34929 #define HAVE_STRTOLD 1
34930 _ACEOF
34931
34932 fi
34933 done
34934
34935 fi
34936
34937
34938
34939
34940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34941 $as_echo_n "checking for strtof declaration... " >&6; }
34942 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34943 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34944 $as_echo_n "(cached) " >&6
34945 else
34946
34947
34948 ac_ext=cpp
34949 ac_cpp='$CXXCPP $CPPFLAGS'
34950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34953
34954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34955 /* end confdefs.h. */
34956 #include <stdlib.h>
34957 int
34958 main ()
34959 {
34960 strtof(0, 0);
34961 ;
34962 return 0;
34963 }
34964 _ACEOF
34965 if ac_fn_cxx_try_compile "$LINENO"; then :
34966 glibcxx_cv_func_strtof_use=yes
34967 else
34968 glibcxx_cv_func_strtof_use=no
34969 fi
34970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34971 ac_ext=c
34972 ac_cpp='$CPP $CPPFLAGS'
34973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34976
34977
34978 fi
34979
34980 fi
34981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34982 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34983 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34984 for ac_func in strtof
34985 do :
34986 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34987 if test "x$ac_cv_func_strtof" = x""yes; then :
34988 cat >>confdefs.h <<_ACEOF
34989 #define HAVE_STRTOF 1
34990 _ACEOF
34991
34992 fi
34993 done
34994
34995 fi
34996
34997
34998
34999
35000 CXXFLAGS="$ac_save_CXXFLAGS"
35001
35002
35003 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35004
35005 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35006
35007 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35008
35009 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35010
35011
35012 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35013
35014 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35015
35016 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35017
35018 ;;
35019
35020 spu-*-elf*)
35021
35022 # All these tests are for C++; save the language and the compiler flags.
35023 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35024 # found in GLIBCXX_CONFIGURE.
35025
35026 ac_ext=cpp
35027 ac_cpp='$CXXCPP $CPPFLAGS'
35028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35031
35032 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35033 ac_save_CXXFLAGS="$CXXFLAGS"
35034
35035 # Check for -ffunction-sections -fdata-sections
35036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35037 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35038 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35040 /* end confdefs.h. */
35041 int foo; void bar() { };
35042 int
35043 main ()
35044 {
35045
35046 ;
35047 return 0;
35048 }
35049 _ACEOF
35050 if ac_fn_cxx_try_compile "$LINENO"; then :
35051 ac_fdsections=yes
35052 else
35053 ac_fdsections=no
35054 fi
35055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35056 if test "$ac_test_CXXFLAGS" = set; then
35057 CXXFLAGS="$ac_save_CXXFLAGS"
35058 else
35059 # this is the suspicious part
35060 CXXFLAGS=''
35061 fi
35062 if test x"$ac_fdsections" = x"yes"; then
35063 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35064 fi
35065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35066 $as_echo "$ac_fdsections" >&6; }
35067
35068 ac_ext=c
35069 ac_cpp='$CPP $CPPFLAGS'
35070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35073
35074
35075
35076
35077 # If we're not using GNU ld, then there's no point in even trying these
35078 # tests. Check for that first. We should have already tested for gld
35079 # by now (in libtool), but require it now just to be safe...
35080 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35081 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35082
35083
35084
35085 # The name set by libtool depends on the version of libtool. Shame on us
35086 # for depending on an impl detail, but c'est la vie. Older versions used
35087 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35088 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35089 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35090 # set (hence we're using an older libtool), then set it.
35091 if test x${with_gnu_ld+set} != xset; then
35092 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35093 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35094 with_gnu_ld=no
35095 else
35096 with_gnu_ld=$ac_cv_prog_gnu_ld
35097 fi
35098 fi
35099
35100 # Start by getting the version number. I think the libtool test already
35101 # does some of this, but throws away the result.
35102 glibcxx_ld_is_gold=no
35103 if test x"$with_gnu_ld" = x"yes"; then
35104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35105 $as_echo_n "checking for ld version... " >&6; }
35106
35107 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35108 glibcxx_ld_is_gold=yes
35109 fi
35110 ldver=`$LD --version 2>/dev/null |
35111 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'`
35112
35113 glibcxx_gnu_ld_version=`echo $ldver | \
35114 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35116 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35117 fi
35118
35119 # Set --gc-sections.
35120 glibcxx_have_gc_sections=no
35121 if test "$glibcxx_ld_is_gold" = "yes"; then
35122 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35123 glibcxx_have_gc_sections=yes
35124 fi
35125 else
35126 glibcxx_gcsections_min_ld=21602
35127 if test x"$with_gnu_ld" = x"yes" &&
35128 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35129 glibcxx_have_gc_sections=yes
35130 fi
35131 fi
35132 if test "$glibcxx_have_gc_sections" = "yes"; then
35133 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35134 # NB: This flag only works reliably after 2.16.1. Configure tests
35135 # for this are difficult, so hard wire a value that should work.
35136
35137 ac_test_CFLAGS="${CFLAGS+set}"
35138 ac_save_CFLAGS="$CFLAGS"
35139 CFLAGS='-Wl,--gc-sections'
35140
35141 # Check for -Wl,--gc-sections
35142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35143 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35144 if test x$gcc_no_link = xyes; then
35145 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35146 fi
35147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35148 /* end confdefs.h. */
35149 int one(void) { return 1; }
35150 int two(void) { return 2; }
35151
35152 int
35153 main ()
35154 {
35155 two();
35156 ;
35157 return 0;
35158 }
35159 _ACEOF
35160 if ac_fn_c_try_link "$LINENO"; then :
35161 ac_gcsections=yes
35162 else
35163 ac_gcsections=no
35164 fi
35165 rm -f core conftest.err conftest.$ac_objext \
35166 conftest$ac_exeext conftest.$ac_ext
35167 if test "$ac_gcsections" = "yes"; then
35168 rm -f conftest.c
35169 touch conftest.c
35170 if $CC -c conftest.c; then
35171 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35172 grep "Warning: gc-sections option ignored" > /dev/null; then
35173 ac_gcsections=no
35174 fi
35175 fi
35176 rm -f conftest.c conftest.o conftest
35177 fi
35178 if test "$ac_gcsections" = "yes"; then
35179 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35180 fi
35181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35182 $as_echo "$ac_gcsections" >&6; }
35183
35184 if test "$ac_test_CFLAGS" = set; then
35185 CFLAGS="$ac_save_CFLAGS"
35186 else
35187 # this is the suspicious part
35188 CFLAGS=''
35189 fi
35190 fi
35191
35192 # Set -z,relro.
35193 # Note this is only for shared objects.
35194 ac_ld_relro=no
35195 if test x"$with_gnu_ld" = x"yes"; then
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35197 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35198 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35199 if test -n "$cxx_z_relo"; then
35200 OPT_LDFLAGS="-Wl,-z,relro"
35201 ac_ld_relro=yes
35202 fi
35203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35204 $as_echo "$ac_ld_relro" >&6; }
35205 fi
35206
35207 # Set linker optimization flags.
35208 if test x"$with_gnu_ld" = x"yes"; then
35209 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35210 fi
35211
35212
35213
35214
35215
35216 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35217 ac_save_CXXFLAGS="$CXXFLAGS"
35218 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35219
35220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35221 $as_echo_n "checking for sin in -lm... " >&6; }
35222 if test "${ac_cv_lib_m_sin+set}" = set; then :
35223 $as_echo_n "(cached) " >&6
35224 else
35225 ac_check_lib_save_LIBS=$LIBS
35226 LIBS="-lm $LIBS"
35227 if test x$gcc_no_link = xyes; then
35228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35229 fi
35230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35231 /* end confdefs.h. */
35232
35233 /* Override any GCC internal prototype to avoid an error.
35234 Use char because int might match the return type of a GCC
35235 builtin and then its argument prototype would still apply. */
35236 #ifdef __cplusplus
35237 extern "C"
35238 #endif
35239 char sin ();
35240 int
35241 main ()
35242 {
35243 return sin ();
35244 ;
35245 return 0;
35246 }
35247 _ACEOF
35248 if ac_fn_c_try_link "$LINENO"; then :
35249 ac_cv_lib_m_sin=yes
35250 else
35251 ac_cv_lib_m_sin=no
35252 fi
35253 rm -f core conftest.err conftest.$ac_objext \
35254 conftest$ac_exeext conftest.$ac_ext
35255 LIBS=$ac_check_lib_save_LIBS
35256 fi
35257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35258 $as_echo "$ac_cv_lib_m_sin" >&6; }
35259 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35260 libm="-lm"
35261 fi
35262
35263 ac_save_LIBS="$LIBS"
35264 LIBS="$LIBS $libm"
35265
35266
35267
35268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35269 $as_echo_n "checking for isinf declaration... " >&6; }
35270 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35271 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35272 $as_echo_n "(cached) " >&6
35273 else
35274
35275
35276 ac_ext=cpp
35277 ac_cpp='$CXXCPP $CPPFLAGS'
35278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35281
35282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35283 /* end confdefs.h. */
35284 #include <math.h>
35285 #ifdef HAVE_IEEEFP_H
35286 #include <ieeefp.h>
35287 #endif
35288
35289 int
35290 main ()
35291 {
35292 isinf(0);
35293 ;
35294 return 0;
35295 }
35296 _ACEOF
35297 if ac_fn_cxx_try_compile "$LINENO"; then :
35298 glibcxx_cv_func_isinf_use=yes
35299 else
35300 glibcxx_cv_func_isinf_use=no
35301 fi
35302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35303 ac_ext=c
35304 ac_cpp='$CPP $CPPFLAGS'
35305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35308
35309
35310 fi
35311
35312 fi
35313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35314 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35315
35316 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35317 for ac_func in isinf
35318 do :
35319 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35320 if test "x$ac_cv_func_isinf" = x""yes; then :
35321 cat >>confdefs.h <<_ACEOF
35322 #define HAVE_ISINF 1
35323 _ACEOF
35324
35325 fi
35326 done
35327
35328 else
35329
35330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35331 $as_echo_n "checking for _isinf declaration... " >&6; }
35332 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35333 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35334 $as_echo_n "(cached) " >&6
35335 else
35336
35337
35338 ac_ext=cpp
35339 ac_cpp='$CXXCPP $CPPFLAGS'
35340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35343
35344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35345 /* end confdefs.h. */
35346 #include <math.h>
35347 #ifdef HAVE_IEEEFP_H
35348 #include <ieeefp.h>
35349 #endif
35350
35351 int
35352 main ()
35353 {
35354 _isinf(0);
35355 ;
35356 return 0;
35357 }
35358 _ACEOF
35359 if ac_fn_cxx_try_compile "$LINENO"; then :
35360 glibcxx_cv_func__isinf_use=yes
35361 else
35362 glibcxx_cv_func__isinf_use=no
35363 fi
35364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35365 ac_ext=c
35366 ac_cpp='$CPP $CPPFLAGS'
35367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35370
35371
35372 fi
35373
35374 fi
35375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35376 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35377
35378 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35379 for ac_func in _isinf
35380 do :
35381 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35382 if test "x$ac_cv_func__isinf" = x""yes; then :
35383 cat >>confdefs.h <<_ACEOF
35384 #define HAVE__ISINF 1
35385 _ACEOF
35386
35387 fi
35388 done
35389
35390 fi
35391 fi
35392
35393
35394
35395
35396
35397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35398 $as_echo_n "checking for isnan declaration... " >&6; }
35399 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35400 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35401 $as_echo_n "(cached) " >&6
35402 else
35403
35404
35405 ac_ext=cpp
35406 ac_cpp='$CXXCPP $CPPFLAGS'
35407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35410
35411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35412 /* end confdefs.h. */
35413 #include <math.h>
35414 #ifdef HAVE_IEEEFP_H
35415 #include <ieeefp.h>
35416 #endif
35417
35418 int
35419 main ()
35420 {
35421 isnan(0);
35422 ;
35423 return 0;
35424 }
35425 _ACEOF
35426 if ac_fn_cxx_try_compile "$LINENO"; then :
35427 glibcxx_cv_func_isnan_use=yes
35428 else
35429 glibcxx_cv_func_isnan_use=no
35430 fi
35431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35432 ac_ext=c
35433 ac_cpp='$CPP $CPPFLAGS'
35434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35437
35438
35439 fi
35440
35441 fi
35442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35443 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35444
35445 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35446 for ac_func in isnan
35447 do :
35448 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35449 if test "x$ac_cv_func_isnan" = x""yes; then :
35450 cat >>confdefs.h <<_ACEOF
35451 #define HAVE_ISNAN 1
35452 _ACEOF
35453
35454 fi
35455 done
35456
35457 else
35458
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35460 $as_echo_n "checking for _isnan declaration... " >&6; }
35461 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35462 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35463 $as_echo_n "(cached) " >&6
35464 else
35465
35466
35467 ac_ext=cpp
35468 ac_cpp='$CXXCPP $CPPFLAGS'
35469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35472
35473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35474 /* end confdefs.h. */
35475 #include <math.h>
35476 #ifdef HAVE_IEEEFP_H
35477 #include <ieeefp.h>
35478 #endif
35479
35480 int
35481 main ()
35482 {
35483 _isnan(0);
35484 ;
35485 return 0;
35486 }
35487 _ACEOF
35488 if ac_fn_cxx_try_compile "$LINENO"; then :
35489 glibcxx_cv_func__isnan_use=yes
35490 else
35491 glibcxx_cv_func__isnan_use=no
35492 fi
35493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35494 ac_ext=c
35495 ac_cpp='$CPP $CPPFLAGS'
35496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35499
35500
35501 fi
35502
35503 fi
35504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35505 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35506
35507 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35508 for ac_func in _isnan
35509 do :
35510 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35511 if test "x$ac_cv_func__isnan" = x""yes; then :
35512 cat >>confdefs.h <<_ACEOF
35513 #define HAVE__ISNAN 1
35514 _ACEOF
35515
35516 fi
35517 done
35518
35519 fi
35520 fi
35521
35522
35523
35524
35525
35526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35527 $as_echo_n "checking for finite declaration... " >&6; }
35528 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35529 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35530 $as_echo_n "(cached) " >&6
35531 else
35532
35533
35534 ac_ext=cpp
35535 ac_cpp='$CXXCPP $CPPFLAGS'
35536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35539
35540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35541 /* end confdefs.h. */
35542 #include <math.h>
35543 #ifdef HAVE_IEEEFP_H
35544 #include <ieeefp.h>
35545 #endif
35546
35547 int
35548 main ()
35549 {
35550 finite(0);
35551 ;
35552 return 0;
35553 }
35554 _ACEOF
35555 if ac_fn_cxx_try_compile "$LINENO"; then :
35556 glibcxx_cv_func_finite_use=yes
35557 else
35558 glibcxx_cv_func_finite_use=no
35559 fi
35560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35561 ac_ext=c
35562 ac_cpp='$CPP $CPPFLAGS'
35563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35566
35567
35568 fi
35569
35570 fi
35571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35572 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35573
35574 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35575 for ac_func in finite
35576 do :
35577 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35578 if test "x$ac_cv_func_finite" = x""yes; then :
35579 cat >>confdefs.h <<_ACEOF
35580 #define HAVE_FINITE 1
35581 _ACEOF
35582
35583 fi
35584 done
35585
35586 else
35587
35588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35589 $as_echo_n "checking for _finite declaration... " >&6; }
35590 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35591 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35592 $as_echo_n "(cached) " >&6
35593 else
35594
35595
35596 ac_ext=cpp
35597 ac_cpp='$CXXCPP $CPPFLAGS'
35598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35601
35602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35603 /* end confdefs.h. */
35604 #include <math.h>
35605 #ifdef HAVE_IEEEFP_H
35606 #include <ieeefp.h>
35607 #endif
35608
35609 int
35610 main ()
35611 {
35612 _finite(0);
35613 ;
35614 return 0;
35615 }
35616 _ACEOF
35617 if ac_fn_cxx_try_compile "$LINENO"; then :
35618 glibcxx_cv_func__finite_use=yes
35619 else
35620 glibcxx_cv_func__finite_use=no
35621 fi
35622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35623 ac_ext=c
35624 ac_cpp='$CPP $CPPFLAGS'
35625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35628
35629
35630 fi
35631
35632 fi
35633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35634 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35635
35636 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35637 for ac_func in _finite
35638 do :
35639 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35640 if test "x$ac_cv_func__finite" = x""yes; then :
35641 cat >>confdefs.h <<_ACEOF
35642 #define HAVE__FINITE 1
35643 _ACEOF
35644
35645 fi
35646 done
35647
35648 fi
35649 fi
35650
35651
35652
35653
35654
35655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35656 $as_echo_n "checking for sincos declaration... " >&6; }
35657 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35658 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35659 $as_echo_n "(cached) " >&6
35660 else
35661
35662
35663 ac_ext=cpp
35664 ac_cpp='$CXXCPP $CPPFLAGS'
35665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35668
35669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35670 /* end confdefs.h. */
35671 #include <math.h>
35672 int
35673 main ()
35674 {
35675 sincos(0, 0, 0);
35676 ;
35677 return 0;
35678 }
35679 _ACEOF
35680 if ac_fn_cxx_try_compile "$LINENO"; then :
35681 glibcxx_cv_func_sincos_use=yes
35682 else
35683 glibcxx_cv_func_sincos_use=no
35684 fi
35685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35686 ac_ext=c
35687 ac_cpp='$CPP $CPPFLAGS'
35688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35691
35692
35693 fi
35694
35695 fi
35696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35697 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35698
35699 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35700 for ac_func in sincos
35701 do :
35702 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35703 if test "x$ac_cv_func_sincos" = x""yes; then :
35704 cat >>confdefs.h <<_ACEOF
35705 #define HAVE_SINCOS 1
35706 _ACEOF
35707
35708 fi
35709 done
35710
35711 else
35712
35713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35714 $as_echo_n "checking for _sincos declaration... " >&6; }
35715 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35716 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35717 $as_echo_n "(cached) " >&6
35718 else
35719
35720
35721 ac_ext=cpp
35722 ac_cpp='$CXXCPP $CPPFLAGS'
35723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35726
35727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35728 /* end confdefs.h. */
35729 #include <math.h>
35730 int
35731 main ()
35732 {
35733 _sincos(0, 0, 0);
35734 ;
35735 return 0;
35736 }
35737 _ACEOF
35738 if ac_fn_cxx_try_compile "$LINENO"; then :
35739 glibcxx_cv_func__sincos_use=yes
35740 else
35741 glibcxx_cv_func__sincos_use=no
35742 fi
35743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35744 ac_ext=c
35745 ac_cpp='$CPP $CPPFLAGS'
35746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35749
35750
35751 fi
35752
35753 fi
35754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35755 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35756
35757 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35758 for ac_func in _sincos
35759 do :
35760 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35761 if test "x$ac_cv_func__sincos" = x""yes; then :
35762 cat >>confdefs.h <<_ACEOF
35763 #define HAVE__SINCOS 1
35764 _ACEOF
35765
35766 fi
35767 done
35768
35769 fi
35770 fi
35771
35772
35773
35774
35775
35776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35777 $as_echo_n "checking for fpclass declaration... " >&6; }
35778 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35779 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35780 $as_echo_n "(cached) " >&6
35781 else
35782
35783
35784 ac_ext=cpp
35785 ac_cpp='$CXXCPP $CPPFLAGS'
35786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35789
35790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35791 /* end confdefs.h. */
35792 #include <math.h>
35793 #ifdef HAVE_IEEEFP_H
35794 #include <ieeefp.h>
35795 #endif
35796
35797 int
35798 main ()
35799 {
35800 fpclass(0);
35801 ;
35802 return 0;
35803 }
35804 _ACEOF
35805 if ac_fn_cxx_try_compile "$LINENO"; then :
35806 glibcxx_cv_func_fpclass_use=yes
35807 else
35808 glibcxx_cv_func_fpclass_use=no
35809 fi
35810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35811 ac_ext=c
35812 ac_cpp='$CPP $CPPFLAGS'
35813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35816
35817
35818 fi
35819
35820 fi
35821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35822 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35823
35824 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35825 for ac_func in fpclass
35826 do :
35827 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35828 if test "x$ac_cv_func_fpclass" = x""yes; then :
35829 cat >>confdefs.h <<_ACEOF
35830 #define HAVE_FPCLASS 1
35831 _ACEOF
35832
35833 fi
35834 done
35835
35836 else
35837
35838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35839 $as_echo_n "checking for _fpclass declaration... " >&6; }
35840 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35841 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35842 $as_echo_n "(cached) " >&6
35843 else
35844
35845
35846 ac_ext=cpp
35847 ac_cpp='$CXXCPP $CPPFLAGS'
35848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35851
35852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35853 /* end confdefs.h. */
35854 #include <math.h>
35855 #ifdef HAVE_IEEEFP_H
35856 #include <ieeefp.h>
35857 #endif
35858
35859 int
35860 main ()
35861 {
35862 _fpclass(0);
35863 ;
35864 return 0;
35865 }
35866 _ACEOF
35867 if ac_fn_cxx_try_compile "$LINENO"; then :
35868 glibcxx_cv_func__fpclass_use=yes
35869 else
35870 glibcxx_cv_func__fpclass_use=no
35871 fi
35872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35873 ac_ext=c
35874 ac_cpp='$CPP $CPPFLAGS'
35875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35878
35879
35880 fi
35881
35882 fi
35883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35884 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35885
35886 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35887 for ac_func in _fpclass
35888 do :
35889 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35890 if test "x$ac_cv_func__fpclass" = x""yes; then :
35891 cat >>confdefs.h <<_ACEOF
35892 #define HAVE__FPCLASS 1
35893 _ACEOF
35894
35895 fi
35896 done
35897
35898 fi
35899 fi
35900
35901
35902
35903
35904
35905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35906 $as_echo_n "checking for qfpclass declaration... " >&6; }
35907 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35908 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35909 $as_echo_n "(cached) " >&6
35910 else
35911
35912
35913 ac_ext=cpp
35914 ac_cpp='$CXXCPP $CPPFLAGS'
35915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35918
35919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35920 /* end confdefs.h. */
35921 #include <math.h>
35922 #ifdef HAVE_IEEEFP_H
35923 #include <ieeefp.h>
35924 #endif
35925
35926 int
35927 main ()
35928 {
35929 qfpclass(0);
35930 ;
35931 return 0;
35932 }
35933 _ACEOF
35934 if ac_fn_cxx_try_compile "$LINENO"; then :
35935 glibcxx_cv_func_qfpclass_use=yes
35936 else
35937 glibcxx_cv_func_qfpclass_use=no
35938 fi
35939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35940 ac_ext=c
35941 ac_cpp='$CPP $CPPFLAGS'
35942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35945
35946
35947 fi
35948
35949 fi
35950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35951 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35952
35953 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35954 for ac_func in qfpclass
35955 do :
35956 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35957 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35958 cat >>confdefs.h <<_ACEOF
35959 #define HAVE_QFPCLASS 1
35960 _ACEOF
35961
35962 fi
35963 done
35964
35965 else
35966
35967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35968 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35969 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35970 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35971 $as_echo_n "(cached) " >&6
35972 else
35973
35974
35975 ac_ext=cpp
35976 ac_cpp='$CXXCPP $CPPFLAGS'
35977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35980
35981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35982 /* end confdefs.h. */
35983 #include <math.h>
35984 #ifdef HAVE_IEEEFP_H
35985 #include <ieeefp.h>
35986 #endif
35987
35988 int
35989 main ()
35990 {
35991 _qfpclass(0);
35992 ;
35993 return 0;
35994 }
35995 _ACEOF
35996 if ac_fn_cxx_try_compile "$LINENO"; then :
35997 glibcxx_cv_func__qfpclass_use=yes
35998 else
35999 glibcxx_cv_func__qfpclass_use=no
36000 fi
36001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36002 ac_ext=c
36003 ac_cpp='$CPP $CPPFLAGS'
36004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36007
36008
36009 fi
36010
36011 fi
36012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36013 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36014
36015 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36016 for ac_func in _qfpclass
36017 do :
36018 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36019 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36020 cat >>confdefs.h <<_ACEOF
36021 #define HAVE__QFPCLASS 1
36022 _ACEOF
36023
36024 fi
36025 done
36026
36027 fi
36028 fi
36029
36030
36031
36032
36033
36034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36035 $as_echo_n "checking for hypot declaration... " >&6; }
36036 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36037 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36038 $as_echo_n "(cached) " >&6
36039 else
36040
36041
36042 ac_ext=cpp
36043 ac_cpp='$CXXCPP $CPPFLAGS'
36044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36047
36048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36049 /* end confdefs.h. */
36050 #include <math.h>
36051 int
36052 main ()
36053 {
36054 hypot(0, 0);
36055 ;
36056 return 0;
36057 }
36058 _ACEOF
36059 if ac_fn_cxx_try_compile "$LINENO"; then :
36060 glibcxx_cv_func_hypot_use=yes
36061 else
36062 glibcxx_cv_func_hypot_use=no
36063 fi
36064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36065 ac_ext=c
36066 ac_cpp='$CPP $CPPFLAGS'
36067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36070
36071
36072 fi
36073
36074 fi
36075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36076 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36077
36078 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36079 for ac_func in hypot
36080 do :
36081 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36082 if test "x$ac_cv_func_hypot" = x""yes; then :
36083 cat >>confdefs.h <<_ACEOF
36084 #define HAVE_HYPOT 1
36085 _ACEOF
36086
36087 fi
36088 done
36089
36090 else
36091
36092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36093 $as_echo_n "checking for _hypot declaration... " >&6; }
36094 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36095 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36096 $as_echo_n "(cached) " >&6
36097 else
36098
36099
36100 ac_ext=cpp
36101 ac_cpp='$CXXCPP $CPPFLAGS'
36102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36105
36106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36107 /* end confdefs.h. */
36108 #include <math.h>
36109 int
36110 main ()
36111 {
36112 _hypot(0, 0);
36113 ;
36114 return 0;
36115 }
36116 _ACEOF
36117 if ac_fn_cxx_try_compile "$LINENO"; then :
36118 glibcxx_cv_func__hypot_use=yes
36119 else
36120 glibcxx_cv_func__hypot_use=no
36121 fi
36122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36123 ac_ext=c
36124 ac_cpp='$CPP $CPPFLAGS'
36125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36128
36129
36130 fi
36131
36132 fi
36133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36134 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36135
36136 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36137 for ac_func in _hypot
36138 do :
36139 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36140 if test "x$ac_cv_func__hypot" = x""yes; then :
36141 cat >>confdefs.h <<_ACEOF
36142 #define HAVE__HYPOT 1
36143 _ACEOF
36144
36145 fi
36146 done
36147
36148 fi
36149 fi
36150
36151
36152
36153
36154
36155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36156 $as_echo_n "checking for float trig functions... " >&6; }
36157 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36158 $as_echo_n "(cached) " >&6
36159 else
36160
36161
36162 ac_ext=cpp
36163 ac_cpp='$CXXCPP $CPPFLAGS'
36164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36167
36168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36169 /* end confdefs.h. */
36170 #include <math.h>
36171 int
36172 main ()
36173 {
36174 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36175 ;
36176 return 0;
36177 }
36178 _ACEOF
36179 if ac_fn_cxx_try_compile "$LINENO"; then :
36180 glibcxx_cv_func_float_trig_use=yes
36181 else
36182 glibcxx_cv_func_float_trig_use=no
36183 fi
36184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36185 ac_ext=c
36186 ac_cpp='$CPP $CPPFLAGS'
36187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36190
36191 fi
36192
36193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36194 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36195 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36196 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36197 do :
36198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36200 eval as_val=\$$as_ac_var
36201 if test "x$as_val" = x""yes; then :
36202 cat >>confdefs.h <<_ACEOF
36203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36204 _ACEOF
36205
36206 fi
36207 done
36208
36209 else
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36211 $as_echo_n "checking for _float trig functions... " >&6; }
36212 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36213 $as_echo_n "(cached) " >&6
36214 else
36215
36216
36217 ac_ext=cpp
36218 ac_cpp='$CXXCPP $CPPFLAGS'
36219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36222
36223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36224 /* end confdefs.h. */
36225 #include <math.h>
36226 int
36227 main ()
36228 {
36229 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36230 ;
36231 return 0;
36232 }
36233 _ACEOF
36234 if ac_fn_cxx_try_compile "$LINENO"; then :
36235 glibcxx_cv_func__float_trig_use=yes
36236 else
36237 glibcxx_cv_func__float_trig_use=no
36238 fi
36239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240 ac_ext=c
36241 ac_cpp='$CPP $CPPFLAGS'
36242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36245
36246 fi
36247
36248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36249 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36250 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36251 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36252 do :
36253 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36255 eval as_val=\$$as_ac_var
36256 if test "x$as_val" = x""yes; then :
36257 cat >>confdefs.h <<_ACEOF
36258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36259 _ACEOF
36260
36261 fi
36262 done
36263
36264 fi
36265 fi
36266
36267
36268
36269
36270
36271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36272 $as_echo_n "checking for float round functions... " >&6; }
36273 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36274 $as_echo_n "(cached) " >&6
36275 else
36276
36277
36278 ac_ext=cpp
36279 ac_cpp='$CXXCPP $CPPFLAGS'
36280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36283
36284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36285 /* end confdefs.h. */
36286 #include <math.h>
36287 int
36288 main ()
36289 {
36290 ceilf (0); floorf (0);
36291 ;
36292 return 0;
36293 }
36294 _ACEOF
36295 if ac_fn_cxx_try_compile "$LINENO"; then :
36296 glibcxx_cv_func_float_round_use=yes
36297 else
36298 glibcxx_cv_func_float_round_use=no
36299 fi
36300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36301 ac_ext=c
36302 ac_cpp='$CPP $CPPFLAGS'
36303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36306
36307 fi
36308
36309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36310 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36311 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36312 for ac_func in ceilf floorf
36313 do :
36314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36316 eval as_val=\$$as_ac_var
36317 if test "x$as_val" = x""yes; then :
36318 cat >>confdefs.h <<_ACEOF
36319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36320 _ACEOF
36321
36322 fi
36323 done
36324
36325 else
36326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36327 $as_echo_n "checking for _float round functions... " >&6; }
36328 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36329 $as_echo_n "(cached) " >&6
36330 else
36331
36332
36333 ac_ext=cpp
36334 ac_cpp='$CXXCPP $CPPFLAGS'
36335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36338
36339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36340 /* end confdefs.h. */
36341 #include <math.h>
36342 int
36343 main ()
36344 {
36345 _ceilf (0); _floorf (0);
36346 ;
36347 return 0;
36348 }
36349 _ACEOF
36350 if ac_fn_cxx_try_compile "$LINENO"; then :
36351 glibcxx_cv_func__float_round_use=yes
36352 else
36353 glibcxx_cv_func__float_round_use=no
36354 fi
36355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36356 ac_ext=c
36357 ac_cpp='$CPP $CPPFLAGS'
36358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36361
36362 fi
36363
36364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36365 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36366 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36367 for ac_func in _ceilf _floorf
36368 do :
36369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36371 eval as_val=\$$as_ac_var
36372 if test "x$as_val" = x""yes; then :
36373 cat >>confdefs.h <<_ACEOF
36374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36375 _ACEOF
36376
36377 fi
36378 done
36379
36380 fi
36381 fi
36382
36383
36384
36385
36386
36387
36388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36389 $as_echo_n "checking for expf declaration... " >&6; }
36390 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36391 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36392 $as_echo_n "(cached) " >&6
36393 else
36394
36395
36396 ac_ext=cpp
36397 ac_cpp='$CXXCPP $CPPFLAGS'
36398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36401
36402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36403 /* end confdefs.h. */
36404 #include <math.h>
36405 #ifdef HAVE_IEEEFP_H
36406 #include <ieeefp.h>
36407 #endif
36408
36409 int
36410 main ()
36411 {
36412 expf(0);
36413 ;
36414 return 0;
36415 }
36416 _ACEOF
36417 if ac_fn_cxx_try_compile "$LINENO"; then :
36418 glibcxx_cv_func_expf_use=yes
36419 else
36420 glibcxx_cv_func_expf_use=no
36421 fi
36422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36423 ac_ext=c
36424 ac_cpp='$CPP $CPPFLAGS'
36425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36428
36429
36430 fi
36431
36432 fi
36433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36434 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36435
36436 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36437 for ac_func in expf
36438 do :
36439 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36440 if test "x$ac_cv_func_expf" = x""yes; then :
36441 cat >>confdefs.h <<_ACEOF
36442 #define HAVE_EXPF 1
36443 _ACEOF
36444
36445 fi
36446 done
36447
36448 else
36449
36450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36451 $as_echo_n "checking for _expf declaration... " >&6; }
36452 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36453 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36454 $as_echo_n "(cached) " >&6
36455 else
36456
36457
36458 ac_ext=cpp
36459 ac_cpp='$CXXCPP $CPPFLAGS'
36460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36463
36464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36465 /* end confdefs.h. */
36466 #include <math.h>
36467 #ifdef HAVE_IEEEFP_H
36468 #include <ieeefp.h>
36469 #endif
36470
36471 int
36472 main ()
36473 {
36474 _expf(0);
36475 ;
36476 return 0;
36477 }
36478 _ACEOF
36479 if ac_fn_cxx_try_compile "$LINENO"; then :
36480 glibcxx_cv_func__expf_use=yes
36481 else
36482 glibcxx_cv_func__expf_use=no
36483 fi
36484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36485 ac_ext=c
36486 ac_cpp='$CPP $CPPFLAGS'
36487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36490
36491
36492 fi
36493
36494 fi
36495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36496 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36497
36498 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36499 for ac_func in _expf
36500 do :
36501 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36502 if test "x$ac_cv_func__expf" = x""yes; then :
36503 cat >>confdefs.h <<_ACEOF
36504 #define HAVE__EXPF 1
36505 _ACEOF
36506
36507 fi
36508 done
36509
36510 fi
36511 fi
36512
36513
36514
36515
36516
36517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36518 $as_echo_n "checking for isnanf declaration... " >&6; }
36519 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36520 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36521 $as_echo_n "(cached) " >&6
36522 else
36523
36524
36525 ac_ext=cpp
36526 ac_cpp='$CXXCPP $CPPFLAGS'
36527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36530
36531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36532 /* end confdefs.h. */
36533 #include <math.h>
36534 #ifdef HAVE_IEEEFP_H
36535 #include <ieeefp.h>
36536 #endif
36537
36538 int
36539 main ()
36540 {
36541 isnanf(0);
36542 ;
36543 return 0;
36544 }
36545 _ACEOF
36546 if ac_fn_cxx_try_compile "$LINENO"; then :
36547 glibcxx_cv_func_isnanf_use=yes
36548 else
36549 glibcxx_cv_func_isnanf_use=no
36550 fi
36551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36552 ac_ext=c
36553 ac_cpp='$CPP $CPPFLAGS'
36554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36557
36558
36559 fi
36560
36561 fi
36562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36563 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36564
36565 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36566 for ac_func in isnanf
36567 do :
36568 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36569 if test "x$ac_cv_func_isnanf" = x""yes; then :
36570 cat >>confdefs.h <<_ACEOF
36571 #define HAVE_ISNANF 1
36572 _ACEOF
36573
36574 fi
36575 done
36576
36577 else
36578
36579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36580 $as_echo_n "checking for _isnanf declaration... " >&6; }
36581 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36582 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36583 $as_echo_n "(cached) " >&6
36584 else
36585
36586
36587 ac_ext=cpp
36588 ac_cpp='$CXXCPP $CPPFLAGS'
36589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36592
36593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36594 /* end confdefs.h. */
36595 #include <math.h>
36596 #ifdef HAVE_IEEEFP_H
36597 #include <ieeefp.h>
36598 #endif
36599
36600 int
36601 main ()
36602 {
36603 _isnanf(0);
36604 ;
36605 return 0;
36606 }
36607 _ACEOF
36608 if ac_fn_cxx_try_compile "$LINENO"; then :
36609 glibcxx_cv_func__isnanf_use=yes
36610 else
36611 glibcxx_cv_func__isnanf_use=no
36612 fi
36613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36614 ac_ext=c
36615 ac_cpp='$CPP $CPPFLAGS'
36616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36619
36620
36621 fi
36622
36623 fi
36624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36625 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36626
36627 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36628 for ac_func in _isnanf
36629 do :
36630 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36631 if test "x$ac_cv_func__isnanf" = x""yes; then :
36632 cat >>confdefs.h <<_ACEOF
36633 #define HAVE__ISNANF 1
36634 _ACEOF
36635
36636 fi
36637 done
36638
36639 fi
36640 fi
36641
36642
36643
36644
36645
36646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36647 $as_echo_n "checking for isinff declaration... " >&6; }
36648 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36649 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36650 $as_echo_n "(cached) " >&6
36651 else
36652
36653
36654 ac_ext=cpp
36655 ac_cpp='$CXXCPP $CPPFLAGS'
36656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36659
36660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36661 /* end confdefs.h. */
36662 #include <math.h>
36663 #ifdef HAVE_IEEEFP_H
36664 #include <ieeefp.h>
36665 #endif
36666
36667 int
36668 main ()
36669 {
36670 isinff(0);
36671 ;
36672 return 0;
36673 }
36674 _ACEOF
36675 if ac_fn_cxx_try_compile "$LINENO"; then :
36676 glibcxx_cv_func_isinff_use=yes
36677 else
36678 glibcxx_cv_func_isinff_use=no
36679 fi
36680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36681 ac_ext=c
36682 ac_cpp='$CPP $CPPFLAGS'
36683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36686
36687
36688 fi
36689
36690 fi
36691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36692 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36693
36694 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36695 for ac_func in isinff
36696 do :
36697 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36698 if test "x$ac_cv_func_isinff" = x""yes; then :
36699 cat >>confdefs.h <<_ACEOF
36700 #define HAVE_ISINFF 1
36701 _ACEOF
36702
36703 fi
36704 done
36705
36706 else
36707
36708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36709 $as_echo_n "checking for _isinff declaration... " >&6; }
36710 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36711 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36712 $as_echo_n "(cached) " >&6
36713 else
36714
36715
36716 ac_ext=cpp
36717 ac_cpp='$CXXCPP $CPPFLAGS'
36718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36721
36722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36723 /* end confdefs.h. */
36724 #include <math.h>
36725 #ifdef HAVE_IEEEFP_H
36726 #include <ieeefp.h>
36727 #endif
36728
36729 int
36730 main ()
36731 {
36732 _isinff(0);
36733 ;
36734 return 0;
36735 }
36736 _ACEOF
36737 if ac_fn_cxx_try_compile "$LINENO"; then :
36738 glibcxx_cv_func__isinff_use=yes
36739 else
36740 glibcxx_cv_func__isinff_use=no
36741 fi
36742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36743 ac_ext=c
36744 ac_cpp='$CPP $CPPFLAGS'
36745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36748
36749
36750 fi
36751
36752 fi
36753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36754 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36755
36756 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36757 for ac_func in _isinff
36758 do :
36759 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36760 if test "x$ac_cv_func__isinff" = x""yes; then :
36761 cat >>confdefs.h <<_ACEOF
36762 #define HAVE__ISINFF 1
36763 _ACEOF
36764
36765 fi
36766 done
36767
36768 fi
36769 fi
36770
36771
36772
36773
36774
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36776 $as_echo_n "checking for atan2f declaration... " >&6; }
36777 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36778 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36779 $as_echo_n "(cached) " >&6
36780 else
36781
36782
36783 ac_ext=cpp
36784 ac_cpp='$CXXCPP $CPPFLAGS'
36785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36788
36789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36790 /* end confdefs.h. */
36791 #include <math.h>
36792 int
36793 main ()
36794 {
36795 atan2f(0, 0);
36796 ;
36797 return 0;
36798 }
36799 _ACEOF
36800 if ac_fn_cxx_try_compile "$LINENO"; then :
36801 glibcxx_cv_func_atan2f_use=yes
36802 else
36803 glibcxx_cv_func_atan2f_use=no
36804 fi
36805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36806 ac_ext=c
36807 ac_cpp='$CPP $CPPFLAGS'
36808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36811
36812
36813 fi
36814
36815 fi
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36817 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36818
36819 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36820 for ac_func in atan2f
36821 do :
36822 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36823 if test "x$ac_cv_func_atan2f" = x""yes; then :
36824 cat >>confdefs.h <<_ACEOF
36825 #define HAVE_ATAN2F 1
36826 _ACEOF
36827
36828 fi
36829 done
36830
36831 else
36832
36833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36834 $as_echo_n "checking for _atan2f declaration... " >&6; }
36835 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36836 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36837 $as_echo_n "(cached) " >&6
36838 else
36839
36840
36841 ac_ext=cpp
36842 ac_cpp='$CXXCPP $CPPFLAGS'
36843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36846
36847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36848 /* end confdefs.h. */
36849 #include <math.h>
36850 int
36851 main ()
36852 {
36853 _atan2f(0, 0);
36854 ;
36855 return 0;
36856 }
36857 _ACEOF
36858 if ac_fn_cxx_try_compile "$LINENO"; then :
36859 glibcxx_cv_func__atan2f_use=yes
36860 else
36861 glibcxx_cv_func__atan2f_use=no
36862 fi
36863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36864 ac_ext=c
36865 ac_cpp='$CPP $CPPFLAGS'
36866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36869
36870
36871 fi
36872
36873 fi
36874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36875 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36876
36877 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36878 for ac_func in _atan2f
36879 do :
36880 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36881 if test "x$ac_cv_func__atan2f" = x""yes; then :
36882 cat >>confdefs.h <<_ACEOF
36883 #define HAVE__ATAN2F 1
36884 _ACEOF
36885
36886 fi
36887 done
36888
36889 fi
36890 fi
36891
36892
36893
36894
36895
36896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36897 $as_echo_n "checking for fabsf declaration... " >&6; }
36898 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36899 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36900 $as_echo_n "(cached) " >&6
36901 else
36902
36903
36904 ac_ext=cpp
36905 ac_cpp='$CXXCPP $CPPFLAGS'
36906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36909
36910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36911 /* end confdefs.h. */
36912 #include <math.h>
36913 #ifdef HAVE_IEEEFP_H
36914 #include <ieeefp.h>
36915 #endif
36916
36917 int
36918 main ()
36919 {
36920 fabsf(0);
36921 ;
36922 return 0;
36923 }
36924 _ACEOF
36925 if ac_fn_cxx_try_compile "$LINENO"; then :
36926 glibcxx_cv_func_fabsf_use=yes
36927 else
36928 glibcxx_cv_func_fabsf_use=no
36929 fi
36930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36931 ac_ext=c
36932 ac_cpp='$CPP $CPPFLAGS'
36933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36936
36937
36938 fi
36939
36940 fi
36941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36942 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36943
36944 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36945 for ac_func in fabsf
36946 do :
36947 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36948 if test "x$ac_cv_func_fabsf" = x""yes; then :
36949 cat >>confdefs.h <<_ACEOF
36950 #define HAVE_FABSF 1
36951 _ACEOF
36952
36953 fi
36954 done
36955
36956 else
36957
36958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36959 $as_echo_n "checking for _fabsf declaration... " >&6; }
36960 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36961 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36962 $as_echo_n "(cached) " >&6
36963 else
36964
36965
36966 ac_ext=cpp
36967 ac_cpp='$CXXCPP $CPPFLAGS'
36968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36971
36972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36973 /* end confdefs.h. */
36974 #include <math.h>
36975 #ifdef HAVE_IEEEFP_H
36976 #include <ieeefp.h>
36977 #endif
36978
36979 int
36980 main ()
36981 {
36982 _fabsf(0);
36983 ;
36984 return 0;
36985 }
36986 _ACEOF
36987 if ac_fn_cxx_try_compile "$LINENO"; then :
36988 glibcxx_cv_func__fabsf_use=yes
36989 else
36990 glibcxx_cv_func__fabsf_use=no
36991 fi
36992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36993 ac_ext=c
36994 ac_cpp='$CPP $CPPFLAGS'
36995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36998
36999
37000 fi
37001
37002 fi
37003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37004 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37005
37006 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37007 for ac_func in _fabsf
37008 do :
37009 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37010 if test "x$ac_cv_func__fabsf" = x""yes; then :
37011 cat >>confdefs.h <<_ACEOF
37012 #define HAVE__FABSF 1
37013 _ACEOF
37014
37015 fi
37016 done
37017
37018 fi
37019 fi
37020
37021
37022
37023
37024
37025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37026 $as_echo_n "checking for fmodf declaration... " >&6; }
37027 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37028 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37029 $as_echo_n "(cached) " >&6
37030 else
37031
37032
37033 ac_ext=cpp
37034 ac_cpp='$CXXCPP $CPPFLAGS'
37035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37038
37039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37040 /* end confdefs.h. */
37041 #include <math.h>
37042 int
37043 main ()
37044 {
37045 fmodf(0, 0);
37046 ;
37047 return 0;
37048 }
37049 _ACEOF
37050 if ac_fn_cxx_try_compile "$LINENO"; then :
37051 glibcxx_cv_func_fmodf_use=yes
37052 else
37053 glibcxx_cv_func_fmodf_use=no
37054 fi
37055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37056 ac_ext=c
37057 ac_cpp='$CPP $CPPFLAGS'
37058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37061
37062
37063 fi
37064
37065 fi
37066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37067 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37068
37069 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37070 for ac_func in fmodf
37071 do :
37072 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37073 if test "x$ac_cv_func_fmodf" = x""yes; then :
37074 cat >>confdefs.h <<_ACEOF
37075 #define HAVE_FMODF 1
37076 _ACEOF
37077
37078 fi
37079 done
37080
37081 else
37082
37083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37084 $as_echo_n "checking for _fmodf declaration... " >&6; }
37085 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37086 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37087 $as_echo_n "(cached) " >&6
37088 else
37089
37090
37091 ac_ext=cpp
37092 ac_cpp='$CXXCPP $CPPFLAGS'
37093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37096
37097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37098 /* end confdefs.h. */
37099 #include <math.h>
37100 int
37101 main ()
37102 {
37103 _fmodf(0, 0);
37104 ;
37105 return 0;
37106 }
37107 _ACEOF
37108 if ac_fn_cxx_try_compile "$LINENO"; then :
37109 glibcxx_cv_func__fmodf_use=yes
37110 else
37111 glibcxx_cv_func__fmodf_use=no
37112 fi
37113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37114 ac_ext=c
37115 ac_cpp='$CPP $CPPFLAGS'
37116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37119
37120
37121 fi
37122
37123 fi
37124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37125 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37126
37127 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37128 for ac_func in _fmodf
37129 do :
37130 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37131 if test "x$ac_cv_func__fmodf" = x""yes; then :
37132 cat >>confdefs.h <<_ACEOF
37133 #define HAVE__FMODF 1
37134 _ACEOF
37135
37136 fi
37137 done
37138
37139 fi
37140 fi
37141
37142
37143
37144
37145
37146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37147 $as_echo_n "checking for frexpf declaration... " >&6; }
37148 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37149 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37150 $as_echo_n "(cached) " >&6
37151 else
37152
37153
37154 ac_ext=cpp
37155 ac_cpp='$CXXCPP $CPPFLAGS'
37156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37159
37160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37161 /* end confdefs.h. */
37162 #include <math.h>
37163 int
37164 main ()
37165 {
37166 frexpf(0, 0);
37167 ;
37168 return 0;
37169 }
37170 _ACEOF
37171 if ac_fn_cxx_try_compile "$LINENO"; then :
37172 glibcxx_cv_func_frexpf_use=yes
37173 else
37174 glibcxx_cv_func_frexpf_use=no
37175 fi
37176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37177 ac_ext=c
37178 ac_cpp='$CPP $CPPFLAGS'
37179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37182
37183
37184 fi
37185
37186 fi
37187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37188 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37189
37190 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37191 for ac_func in frexpf
37192 do :
37193 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37194 if test "x$ac_cv_func_frexpf" = x""yes; then :
37195 cat >>confdefs.h <<_ACEOF
37196 #define HAVE_FREXPF 1
37197 _ACEOF
37198
37199 fi
37200 done
37201
37202 else
37203
37204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37205 $as_echo_n "checking for _frexpf declaration... " >&6; }
37206 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37207 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37208 $as_echo_n "(cached) " >&6
37209 else
37210
37211
37212 ac_ext=cpp
37213 ac_cpp='$CXXCPP $CPPFLAGS'
37214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37217
37218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37219 /* end confdefs.h. */
37220 #include <math.h>
37221 int
37222 main ()
37223 {
37224 _frexpf(0, 0);
37225 ;
37226 return 0;
37227 }
37228 _ACEOF
37229 if ac_fn_cxx_try_compile "$LINENO"; then :
37230 glibcxx_cv_func__frexpf_use=yes
37231 else
37232 glibcxx_cv_func__frexpf_use=no
37233 fi
37234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37235 ac_ext=c
37236 ac_cpp='$CPP $CPPFLAGS'
37237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37240
37241
37242 fi
37243
37244 fi
37245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37246 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37247
37248 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37249 for ac_func in _frexpf
37250 do :
37251 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37252 if test "x$ac_cv_func__frexpf" = x""yes; then :
37253 cat >>confdefs.h <<_ACEOF
37254 #define HAVE__FREXPF 1
37255 _ACEOF
37256
37257 fi
37258 done
37259
37260 fi
37261 fi
37262
37263
37264
37265
37266
37267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37268 $as_echo_n "checking for hypotf declaration... " >&6; }
37269 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37270 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37271 $as_echo_n "(cached) " >&6
37272 else
37273
37274
37275 ac_ext=cpp
37276 ac_cpp='$CXXCPP $CPPFLAGS'
37277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37280
37281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37282 /* end confdefs.h. */
37283 #include <math.h>
37284 int
37285 main ()
37286 {
37287 hypotf(0, 0);
37288 ;
37289 return 0;
37290 }
37291 _ACEOF
37292 if ac_fn_cxx_try_compile "$LINENO"; then :
37293 glibcxx_cv_func_hypotf_use=yes
37294 else
37295 glibcxx_cv_func_hypotf_use=no
37296 fi
37297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37298 ac_ext=c
37299 ac_cpp='$CPP $CPPFLAGS'
37300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37303
37304
37305 fi
37306
37307 fi
37308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37309 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37310
37311 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37312 for ac_func in hypotf
37313 do :
37314 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37315 if test "x$ac_cv_func_hypotf" = x""yes; then :
37316 cat >>confdefs.h <<_ACEOF
37317 #define HAVE_HYPOTF 1
37318 _ACEOF
37319
37320 fi
37321 done
37322
37323 else
37324
37325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37326 $as_echo_n "checking for _hypotf declaration... " >&6; }
37327 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37328 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37329 $as_echo_n "(cached) " >&6
37330 else
37331
37332
37333 ac_ext=cpp
37334 ac_cpp='$CXXCPP $CPPFLAGS'
37335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37338
37339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37340 /* end confdefs.h. */
37341 #include <math.h>
37342 int
37343 main ()
37344 {
37345 _hypotf(0, 0);
37346 ;
37347 return 0;
37348 }
37349 _ACEOF
37350 if ac_fn_cxx_try_compile "$LINENO"; then :
37351 glibcxx_cv_func__hypotf_use=yes
37352 else
37353 glibcxx_cv_func__hypotf_use=no
37354 fi
37355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37356 ac_ext=c
37357 ac_cpp='$CPP $CPPFLAGS'
37358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37361
37362
37363 fi
37364
37365 fi
37366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37367 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37368
37369 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37370 for ac_func in _hypotf
37371 do :
37372 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37373 if test "x$ac_cv_func__hypotf" = x""yes; then :
37374 cat >>confdefs.h <<_ACEOF
37375 #define HAVE__HYPOTF 1
37376 _ACEOF
37377
37378 fi
37379 done
37380
37381 fi
37382 fi
37383
37384
37385
37386
37387
37388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37389 $as_echo_n "checking for ldexpf declaration... " >&6; }
37390 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37391 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37392 $as_echo_n "(cached) " >&6
37393 else
37394
37395
37396 ac_ext=cpp
37397 ac_cpp='$CXXCPP $CPPFLAGS'
37398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37401
37402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37403 /* end confdefs.h. */
37404 #include <math.h>
37405 int
37406 main ()
37407 {
37408 ldexpf(0, 0);
37409 ;
37410 return 0;
37411 }
37412 _ACEOF
37413 if ac_fn_cxx_try_compile "$LINENO"; then :
37414 glibcxx_cv_func_ldexpf_use=yes
37415 else
37416 glibcxx_cv_func_ldexpf_use=no
37417 fi
37418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37419 ac_ext=c
37420 ac_cpp='$CPP $CPPFLAGS'
37421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37424
37425
37426 fi
37427
37428 fi
37429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37430 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37431
37432 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37433 for ac_func in ldexpf
37434 do :
37435 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37436 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37437 cat >>confdefs.h <<_ACEOF
37438 #define HAVE_LDEXPF 1
37439 _ACEOF
37440
37441 fi
37442 done
37443
37444 else
37445
37446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37447 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37448 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37449 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37450 $as_echo_n "(cached) " >&6
37451 else
37452
37453
37454 ac_ext=cpp
37455 ac_cpp='$CXXCPP $CPPFLAGS'
37456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37459
37460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37461 /* end confdefs.h. */
37462 #include <math.h>
37463 int
37464 main ()
37465 {
37466 _ldexpf(0, 0);
37467 ;
37468 return 0;
37469 }
37470 _ACEOF
37471 if ac_fn_cxx_try_compile "$LINENO"; then :
37472 glibcxx_cv_func__ldexpf_use=yes
37473 else
37474 glibcxx_cv_func__ldexpf_use=no
37475 fi
37476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37477 ac_ext=c
37478 ac_cpp='$CPP $CPPFLAGS'
37479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37482
37483
37484 fi
37485
37486 fi
37487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37488 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37489
37490 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37491 for ac_func in _ldexpf
37492 do :
37493 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37494 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37495 cat >>confdefs.h <<_ACEOF
37496 #define HAVE__LDEXPF 1
37497 _ACEOF
37498
37499 fi
37500 done
37501
37502 fi
37503 fi
37504
37505
37506
37507
37508
37509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37510 $as_echo_n "checking for logf declaration... " >&6; }
37511 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37512 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37513 $as_echo_n "(cached) " >&6
37514 else
37515
37516
37517 ac_ext=cpp
37518 ac_cpp='$CXXCPP $CPPFLAGS'
37519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37522
37523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37524 /* end confdefs.h. */
37525 #include <math.h>
37526 #ifdef HAVE_IEEEFP_H
37527 #include <ieeefp.h>
37528 #endif
37529
37530 int
37531 main ()
37532 {
37533 logf(0);
37534 ;
37535 return 0;
37536 }
37537 _ACEOF
37538 if ac_fn_cxx_try_compile "$LINENO"; then :
37539 glibcxx_cv_func_logf_use=yes
37540 else
37541 glibcxx_cv_func_logf_use=no
37542 fi
37543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37544 ac_ext=c
37545 ac_cpp='$CPP $CPPFLAGS'
37546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37549
37550
37551 fi
37552
37553 fi
37554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37555 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37556
37557 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37558 for ac_func in logf
37559 do :
37560 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37561 if test "x$ac_cv_func_logf" = x""yes; then :
37562 cat >>confdefs.h <<_ACEOF
37563 #define HAVE_LOGF 1
37564 _ACEOF
37565
37566 fi
37567 done
37568
37569 else
37570
37571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37572 $as_echo_n "checking for _logf declaration... " >&6; }
37573 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37574 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37575 $as_echo_n "(cached) " >&6
37576 else
37577
37578
37579 ac_ext=cpp
37580 ac_cpp='$CXXCPP $CPPFLAGS'
37581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37584
37585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37586 /* end confdefs.h. */
37587 #include <math.h>
37588 #ifdef HAVE_IEEEFP_H
37589 #include <ieeefp.h>
37590 #endif
37591
37592 int
37593 main ()
37594 {
37595 _logf(0);
37596 ;
37597 return 0;
37598 }
37599 _ACEOF
37600 if ac_fn_cxx_try_compile "$LINENO"; then :
37601 glibcxx_cv_func__logf_use=yes
37602 else
37603 glibcxx_cv_func__logf_use=no
37604 fi
37605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37606 ac_ext=c
37607 ac_cpp='$CPP $CPPFLAGS'
37608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37611
37612
37613 fi
37614
37615 fi
37616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37617 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37618
37619 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37620 for ac_func in _logf
37621 do :
37622 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37623 if test "x$ac_cv_func__logf" = x""yes; then :
37624 cat >>confdefs.h <<_ACEOF
37625 #define HAVE__LOGF 1
37626 _ACEOF
37627
37628 fi
37629 done
37630
37631 fi
37632 fi
37633
37634
37635
37636
37637
37638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37639 $as_echo_n "checking for log10f declaration... " >&6; }
37640 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37641 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37642 $as_echo_n "(cached) " >&6
37643 else
37644
37645
37646 ac_ext=cpp
37647 ac_cpp='$CXXCPP $CPPFLAGS'
37648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37651
37652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37653 /* end confdefs.h. */
37654 #include <math.h>
37655 #ifdef HAVE_IEEEFP_H
37656 #include <ieeefp.h>
37657 #endif
37658
37659 int
37660 main ()
37661 {
37662 log10f(0);
37663 ;
37664 return 0;
37665 }
37666 _ACEOF
37667 if ac_fn_cxx_try_compile "$LINENO"; then :
37668 glibcxx_cv_func_log10f_use=yes
37669 else
37670 glibcxx_cv_func_log10f_use=no
37671 fi
37672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37673 ac_ext=c
37674 ac_cpp='$CPP $CPPFLAGS'
37675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37678
37679
37680 fi
37681
37682 fi
37683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37684 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37685
37686 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37687 for ac_func in log10f
37688 do :
37689 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37690 if test "x$ac_cv_func_log10f" = x""yes; then :
37691 cat >>confdefs.h <<_ACEOF
37692 #define HAVE_LOG10F 1
37693 _ACEOF
37694
37695 fi
37696 done
37697
37698 else
37699
37700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37701 $as_echo_n "checking for _log10f declaration... " >&6; }
37702 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37703 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37704 $as_echo_n "(cached) " >&6
37705 else
37706
37707
37708 ac_ext=cpp
37709 ac_cpp='$CXXCPP $CPPFLAGS'
37710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37713
37714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37715 /* end confdefs.h. */
37716 #include <math.h>
37717 #ifdef HAVE_IEEEFP_H
37718 #include <ieeefp.h>
37719 #endif
37720
37721 int
37722 main ()
37723 {
37724 _log10f(0);
37725 ;
37726 return 0;
37727 }
37728 _ACEOF
37729 if ac_fn_cxx_try_compile "$LINENO"; then :
37730 glibcxx_cv_func__log10f_use=yes
37731 else
37732 glibcxx_cv_func__log10f_use=no
37733 fi
37734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37735 ac_ext=c
37736 ac_cpp='$CPP $CPPFLAGS'
37737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37740
37741
37742 fi
37743
37744 fi
37745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37746 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37747
37748 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37749 for ac_func in _log10f
37750 do :
37751 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37752 if test "x$ac_cv_func__log10f" = x""yes; then :
37753 cat >>confdefs.h <<_ACEOF
37754 #define HAVE__LOG10F 1
37755 _ACEOF
37756
37757 fi
37758 done
37759
37760 fi
37761 fi
37762
37763
37764
37765
37766
37767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37768 $as_echo_n "checking for modff declaration... " >&6; }
37769 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37770 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37771 $as_echo_n "(cached) " >&6
37772 else
37773
37774
37775 ac_ext=cpp
37776 ac_cpp='$CXXCPP $CPPFLAGS'
37777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37780
37781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37782 /* end confdefs.h. */
37783 #include <math.h>
37784 int
37785 main ()
37786 {
37787 modff(0, 0);
37788 ;
37789 return 0;
37790 }
37791 _ACEOF
37792 if ac_fn_cxx_try_compile "$LINENO"; then :
37793 glibcxx_cv_func_modff_use=yes
37794 else
37795 glibcxx_cv_func_modff_use=no
37796 fi
37797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37798 ac_ext=c
37799 ac_cpp='$CPP $CPPFLAGS'
37800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37803
37804
37805 fi
37806
37807 fi
37808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37809 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37810
37811 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37812 for ac_func in modff
37813 do :
37814 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37815 if test "x$ac_cv_func_modff" = x""yes; then :
37816 cat >>confdefs.h <<_ACEOF
37817 #define HAVE_MODFF 1
37818 _ACEOF
37819
37820 fi
37821 done
37822
37823 else
37824
37825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37826 $as_echo_n "checking for _modff declaration... " >&6; }
37827 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37828 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37829 $as_echo_n "(cached) " >&6
37830 else
37831
37832
37833 ac_ext=cpp
37834 ac_cpp='$CXXCPP $CPPFLAGS'
37835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37838
37839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37840 /* end confdefs.h. */
37841 #include <math.h>
37842 int
37843 main ()
37844 {
37845 _modff(0, 0);
37846 ;
37847 return 0;
37848 }
37849 _ACEOF
37850 if ac_fn_cxx_try_compile "$LINENO"; then :
37851 glibcxx_cv_func__modff_use=yes
37852 else
37853 glibcxx_cv_func__modff_use=no
37854 fi
37855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37856 ac_ext=c
37857 ac_cpp='$CPP $CPPFLAGS'
37858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37861
37862
37863 fi
37864
37865 fi
37866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37867 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37868
37869 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37870 for ac_func in _modff
37871 do :
37872 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37873 if test "x$ac_cv_func__modff" = x""yes; then :
37874 cat >>confdefs.h <<_ACEOF
37875 #define HAVE__MODFF 1
37876 _ACEOF
37877
37878 fi
37879 done
37880
37881 fi
37882 fi
37883
37884
37885
37886
37887
37888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37889 $as_echo_n "checking for modf declaration... " >&6; }
37890 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37891 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37892 $as_echo_n "(cached) " >&6
37893 else
37894
37895
37896 ac_ext=cpp
37897 ac_cpp='$CXXCPP $CPPFLAGS'
37898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37901
37902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37903 /* end confdefs.h. */
37904 #include <math.h>
37905 int
37906 main ()
37907 {
37908 modf(0, 0);
37909 ;
37910 return 0;
37911 }
37912 _ACEOF
37913 if ac_fn_cxx_try_compile "$LINENO"; then :
37914 glibcxx_cv_func_modf_use=yes
37915 else
37916 glibcxx_cv_func_modf_use=no
37917 fi
37918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37919 ac_ext=c
37920 ac_cpp='$CPP $CPPFLAGS'
37921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37924
37925
37926 fi
37927
37928 fi
37929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37930 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37931
37932 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37933 for ac_func in modf
37934 do :
37935 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37936 if test "x$ac_cv_func_modf" = x""yes; then :
37937 cat >>confdefs.h <<_ACEOF
37938 #define HAVE_MODF 1
37939 _ACEOF
37940
37941 fi
37942 done
37943
37944 else
37945
37946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37947 $as_echo_n "checking for _modf declaration... " >&6; }
37948 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37949 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37950 $as_echo_n "(cached) " >&6
37951 else
37952
37953
37954 ac_ext=cpp
37955 ac_cpp='$CXXCPP $CPPFLAGS'
37956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37959
37960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37961 /* end confdefs.h. */
37962 #include <math.h>
37963 int
37964 main ()
37965 {
37966 _modf(0, 0);
37967 ;
37968 return 0;
37969 }
37970 _ACEOF
37971 if ac_fn_cxx_try_compile "$LINENO"; then :
37972 glibcxx_cv_func__modf_use=yes
37973 else
37974 glibcxx_cv_func__modf_use=no
37975 fi
37976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37977 ac_ext=c
37978 ac_cpp='$CPP $CPPFLAGS'
37979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37982
37983
37984 fi
37985
37986 fi
37987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37988 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37989
37990 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37991 for ac_func in _modf
37992 do :
37993 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37994 if test "x$ac_cv_func__modf" = x""yes; then :
37995 cat >>confdefs.h <<_ACEOF
37996 #define HAVE__MODF 1
37997 _ACEOF
37998
37999 fi
38000 done
38001
38002 fi
38003 fi
38004
38005
38006
38007
38008
38009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38010 $as_echo_n "checking for powf declaration... " >&6; }
38011 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38012 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38013 $as_echo_n "(cached) " >&6
38014 else
38015
38016
38017 ac_ext=cpp
38018 ac_cpp='$CXXCPP $CPPFLAGS'
38019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38022
38023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38024 /* end confdefs.h. */
38025 #include <math.h>
38026 int
38027 main ()
38028 {
38029 powf(0, 0);
38030 ;
38031 return 0;
38032 }
38033 _ACEOF
38034 if ac_fn_cxx_try_compile "$LINENO"; then :
38035 glibcxx_cv_func_powf_use=yes
38036 else
38037 glibcxx_cv_func_powf_use=no
38038 fi
38039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38040 ac_ext=c
38041 ac_cpp='$CPP $CPPFLAGS'
38042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38045
38046
38047 fi
38048
38049 fi
38050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38051 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38052
38053 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38054 for ac_func in powf
38055 do :
38056 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38057 if test "x$ac_cv_func_powf" = x""yes; then :
38058 cat >>confdefs.h <<_ACEOF
38059 #define HAVE_POWF 1
38060 _ACEOF
38061
38062 fi
38063 done
38064
38065 else
38066
38067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38068 $as_echo_n "checking for _powf declaration... " >&6; }
38069 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38070 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38071 $as_echo_n "(cached) " >&6
38072 else
38073
38074
38075 ac_ext=cpp
38076 ac_cpp='$CXXCPP $CPPFLAGS'
38077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38080
38081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38082 /* end confdefs.h. */
38083 #include <math.h>
38084 int
38085 main ()
38086 {
38087 _powf(0, 0);
38088 ;
38089 return 0;
38090 }
38091 _ACEOF
38092 if ac_fn_cxx_try_compile "$LINENO"; then :
38093 glibcxx_cv_func__powf_use=yes
38094 else
38095 glibcxx_cv_func__powf_use=no
38096 fi
38097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38098 ac_ext=c
38099 ac_cpp='$CPP $CPPFLAGS'
38100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38103
38104
38105 fi
38106
38107 fi
38108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38109 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38110
38111 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38112 for ac_func in _powf
38113 do :
38114 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38115 if test "x$ac_cv_func__powf" = x""yes; then :
38116 cat >>confdefs.h <<_ACEOF
38117 #define HAVE__POWF 1
38118 _ACEOF
38119
38120 fi
38121 done
38122
38123 fi
38124 fi
38125
38126
38127
38128
38129
38130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38131 $as_echo_n "checking for sqrtf declaration... " >&6; }
38132 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38133 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38134 $as_echo_n "(cached) " >&6
38135 else
38136
38137
38138 ac_ext=cpp
38139 ac_cpp='$CXXCPP $CPPFLAGS'
38140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38143
38144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38145 /* end confdefs.h. */
38146 #include <math.h>
38147 #ifdef HAVE_IEEEFP_H
38148 #include <ieeefp.h>
38149 #endif
38150
38151 int
38152 main ()
38153 {
38154 sqrtf(0);
38155 ;
38156 return 0;
38157 }
38158 _ACEOF
38159 if ac_fn_cxx_try_compile "$LINENO"; then :
38160 glibcxx_cv_func_sqrtf_use=yes
38161 else
38162 glibcxx_cv_func_sqrtf_use=no
38163 fi
38164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38165 ac_ext=c
38166 ac_cpp='$CPP $CPPFLAGS'
38167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38170
38171
38172 fi
38173
38174 fi
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38176 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38177
38178 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38179 for ac_func in sqrtf
38180 do :
38181 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38182 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38183 cat >>confdefs.h <<_ACEOF
38184 #define HAVE_SQRTF 1
38185 _ACEOF
38186
38187 fi
38188 done
38189
38190 else
38191
38192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38193 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38194 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38195 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38196 $as_echo_n "(cached) " >&6
38197 else
38198
38199
38200 ac_ext=cpp
38201 ac_cpp='$CXXCPP $CPPFLAGS'
38202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38205
38206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38207 /* end confdefs.h. */
38208 #include <math.h>
38209 #ifdef HAVE_IEEEFP_H
38210 #include <ieeefp.h>
38211 #endif
38212
38213 int
38214 main ()
38215 {
38216 _sqrtf(0);
38217 ;
38218 return 0;
38219 }
38220 _ACEOF
38221 if ac_fn_cxx_try_compile "$LINENO"; then :
38222 glibcxx_cv_func__sqrtf_use=yes
38223 else
38224 glibcxx_cv_func__sqrtf_use=no
38225 fi
38226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38227 ac_ext=c
38228 ac_cpp='$CPP $CPPFLAGS'
38229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38232
38233
38234 fi
38235
38236 fi
38237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38238 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38239
38240 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38241 for ac_func in _sqrtf
38242 do :
38243 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38244 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38245 cat >>confdefs.h <<_ACEOF
38246 #define HAVE__SQRTF 1
38247 _ACEOF
38248
38249 fi
38250 done
38251
38252 fi
38253 fi
38254
38255
38256
38257
38258
38259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38260 $as_echo_n "checking for sincosf declaration... " >&6; }
38261 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38262 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38263 $as_echo_n "(cached) " >&6
38264 else
38265
38266
38267 ac_ext=cpp
38268 ac_cpp='$CXXCPP $CPPFLAGS'
38269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38272
38273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38274 /* end confdefs.h. */
38275 #include <math.h>
38276 int
38277 main ()
38278 {
38279 sincosf(0, 0, 0);
38280 ;
38281 return 0;
38282 }
38283 _ACEOF
38284 if ac_fn_cxx_try_compile "$LINENO"; then :
38285 glibcxx_cv_func_sincosf_use=yes
38286 else
38287 glibcxx_cv_func_sincosf_use=no
38288 fi
38289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38290 ac_ext=c
38291 ac_cpp='$CPP $CPPFLAGS'
38292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38295
38296
38297 fi
38298
38299 fi
38300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38301 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38302
38303 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38304 for ac_func in sincosf
38305 do :
38306 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38307 if test "x$ac_cv_func_sincosf" = x""yes; then :
38308 cat >>confdefs.h <<_ACEOF
38309 #define HAVE_SINCOSF 1
38310 _ACEOF
38311
38312 fi
38313 done
38314
38315 else
38316
38317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38318 $as_echo_n "checking for _sincosf declaration... " >&6; }
38319 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38320 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38321 $as_echo_n "(cached) " >&6
38322 else
38323
38324
38325 ac_ext=cpp
38326 ac_cpp='$CXXCPP $CPPFLAGS'
38327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38330
38331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38332 /* end confdefs.h. */
38333 #include <math.h>
38334 int
38335 main ()
38336 {
38337 _sincosf(0, 0, 0);
38338 ;
38339 return 0;
38340 }
38341 _ACEOF
38342 if ac_fn_cxx_try_compile "$LINENO"; then :
38343 glibcxx_cv_func__sincosf_use=yes
38344 else
38345 glibcxx_cv_func__sincosf_use=no
38346 fi
38347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38348 ac_ext=c
38349 ac_cpp='$CPP $CPPFLAGS'
38350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38353
38354
38355 fi
38356
38357 fi
38358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38359 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38360
38361 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38362 for ac_func in _sincosf
38363 do :
38364 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38365 if test "x$ac_cv_func__sincosf" = x""yes; then :
38366 cat >>confdefs.h <<_ACEOF
38367 #define HAVE__SINCOSF 1
38368 _ACEOF
38369
38370 fi
38371 done
38372
38373 fi
38374 fi
38375
38376
38377
38378
38379
38380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38381 $as_echo_n "checking for finitef declaration... " >&6; }
38382 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38383 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38384 $as_echo_n "(cached) " >&6
38385 else
38386
38387
38388 ac_ext=cpp
38389 ac_cpp='$CXXCPP $CPPFLAGS'
38390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38393
38394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38395 /* end confdefs.h. */
38396 #include <math.h>
38397 #ifdef HAVE_IEEEFP_H
38398 #include <ieeefp.h>
38399 #endif
38400
38401 int
38402 main ()
38403 {
38404 finitef(0);
38405 ;
38406 return 0;
38407 }
38408 _ACEOF
38409 if ac_fn_cxx_try_compile "$LINENO"; then :
38410 glibcxx_cv_func_finitef_use=yes
38411 else
38412 glibcxx_cv_func_finitef_use=no
38413 fi
38414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38415 ac_ext=c
38416 ac_cpp='$CPP $CPPFLAGS'
38417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38420
38421
38422 fi
38423
38424 fi
38425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38426 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38427
38428 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38429 for ac_func in finitef
38430 do :
38431 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38432 if test "x$ac_cv_func_finitef" = x""yes; then :
38433 cat >>confdefs.h <<_ACEOF
38434 #define HAVE_FINITEF 1
38435 _ACEOF
38436
38437 fi
38438 done
38439
38440 else
38441
38442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38443 $as_echo_n "checking for _finitef declaration... " >&6; }
38444 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38445 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38446 $as_echo_n "(cached) " >&6
38447 else
38448
38449
38450 ac_ext=cpp
38451 ac_cpp='$CXXCPP $CPPFLAGS'
38452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38455
38456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38457 /* end confdefs.h. */
38458 #include <math.h>
38459 #ifdef HAVE_IEEEFP_H
38460 #include <ieeefp.h>
38461 #endif
38462
38463 int
38464 main ()
38465 {
38466 _finitef(0);
38467 ;
38468 return 0;
38469 }
38470 _ACEOF
38471 if ac_fn_cxx_try_compile "$LINENO"; then :
38472 glibcxx_cv_func__finitef_use=yes
38473 else
38474 glibcxx_cv_func__finitef_use=no
38475 fi
38476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38477 ac_ext=c
38478 ac_cpp='$CPP $CPPFLAGS'
38479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38482
38483
38484 fi
38485
38486 fi
38487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38488 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38489
38490 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38491 for ac_func in _finitef
38492 do :
38493 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38494 if test "x$ac_cv_func__finitef" = x""yes; then :
38495 cat >>confdefs.h <<_ACEOF
38496 #define HAVE__FINITEF 1
38497 _ACEOF
38498
38499 fi
38500 done
38501
38502 fi
38503 fi
38504
38505
38506
38507
38508
38509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38510 $as_echo_n "checking for long double trig functions... " >&6; }
38511 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38512 $as_echo_n "(cached) " >&6
38513 else
38514
38515
38516 ac_ext=cpp
38517 ac_cpp='$CXXCPP $CPPFLAGS'
38518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38521
38522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38523 /* end confdefs.h. */
38524 #include <math.h>
38525 int
38526 main ()
38527 {
38528 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38529 ;
38530 return 0;
38531 }
38532 _ACEOF
38533 if ac_fn_cxx_try_compile "$LINENO"; then :
38534 glibcxx_cv_func_long_double_trig_use=yes
38535 else
38536 glibcxx_cv_func_long_double_trig_use=no
38537 fi
38538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38539 ac_ext=c
38540 ac_cpp='$CPP $CPPFLAGS'
38541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38544
38545 fi
38546
38547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38548 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38549 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38550 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38551 do :
38552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38554 eval as_val=\$$as_ac_var
38555 if test "x$as_val" = x""yes; then :
38556 cat >>confdefs.h <<_ACEOF
38557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38558 _ACEOF
38559
38560 fi
38561 done
38562
38563 else
38564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38565 $as_echo_n "checking for _long double trig functions... " >&6; }
38566 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38567 $as_echo_n "(cached) " >&6
38568 else
38569
38570
38571 ac_ext=cpp
38572 ac_cpp='$CXXCPP $CPPFLAGS'
38573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38576
38577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38578 /* end confdefs.h. */
38579 #include <math.h>
38580 int
38581 main ()
38582 {
38583 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38584 ;
38585 return 0;
38586 }
38587 _ACEOF
38588 if ac_fn_cxx_try_compile "$LINENO"; then :
38589 glibcxx_cv_func__long_double_trig_use=yes
38590 else
38591 glibcxx_cv_func__long_double_trig_use=no
38592 fi
38593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38594 ac_ext=c
38595 ac_cpp='$CPP $CPPFLAGS'
38596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38599
38600 fi
38601
38602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38603 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38604 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38605 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38606 do :
38607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38609 eval as_val=\$$as_ac_var
38610 if test "x$as_val" = x""yes; then :
38611 cat >>confdefs.h <<_ACEOF
38612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38613 _ACEOF
38614
38615 fi
38616 done
38617
38618 fi
38619 fi
38620
38621
38622
38623
38624
38625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38626 $as_echo_n "checking for long double round functions... " >&6; }
38627 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38628 $as_echo_n "(cached) " >&6
38629 else
38630
38631
38632 ac_ext=cpp
38633 ac_cpp='$CXXCPP $CPPFLAGS'
38634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38637
38638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38639 /* end confdefs.h. */
38640 #include <math.h>
38641 int
38642 main ()
38643 {
38644 ceill (0); floorl (0);
38645 ;
38646 return 0;
38647 }
38648 _ACEOF
38649 if ac_fn_cxx_try_compile "$LINENO"; then :
38650 glibcxx_cv_func_long_double_round_use=yes
38651 else
38652 glibcxx_cv_func_long_double_round_use=no
38653 fi
38654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38655 ac_ext=c
38656 ac_cpp='$CPP $CPPFLAGS'
38657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38660
38661 fi
38662
38663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38664 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38665 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38666 for ac_func in ceill floorl
38667 do :
38668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38670 eval as_val=\$$as_ac_var
38671 if test "x$as_val" = x""yes; then :
38672 cat >>confdefs.h <<_ACEOF
38673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38674 _ACEOF
38675
38676 fi
38677 done
38678
38679 else
38680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38681 $as_echo_n "checking for _long double round functions... " >&6; }
38682 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38683 $as_echo_n "(cached) " >&6
38684 else
38685
38686
38687 ac_ext=cpp
38688 ac_cpp='$CXXCPP $CPPFLAGS'
38689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38692
38693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38694 /* end confdefs.h. */
38695 #include <math.h>
38696 int
38697 main ()
38698 {
38699 _ceill (0); _floorl (0);
38700 ;
38701 return 0;
38702 }
38703 _ACEOF
38704 if ac_fn_cxx_try_compile "$LINENO"; then :
38705 glibcxx_cv_func__long_double_round_use=yes
38706 else
38707 glibcxx_cv_func__long_double_round_use=no
38708 fi
38709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38710 ac_ext=c
38711 ac_cpp='$CPP $CPPFLAGS'
38712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38715
38716 fi
38717
38718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38719 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38720 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38721 for ac_func in _ceill _floorl
38722 do :
38723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38725 eval as_val=\$$as_ac_var
38726 if test "x$as_val" = x""yes; then :
38727 cat >>confdefs.h <<_ACEOF
38728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38729 _ACEOF
38730
38731 fi
38732 done
38733
38734 fi
38735 fi
38736
38737
38738
38739
38740
38741
38742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38743 $as_echo_n "checking for isnanl declaration... " >&6; }
38744 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38745 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38746 $as_echo_n "(cached) " >&6
38747 else
38748
38749
38750 ac_ext=cpp
38751 ac_cpp='$CXXCPP $CPPFLAGS'
38752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38755
38756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38757 /* end confdefs.h. */
38758 #include <math.h>
38759 #ifdef HAVE_IEEEFP_H
38760 #include <ieeefp.h>
38761 #endif
38762
38763 int
38764 main ()
38765 {
38766 isnanl(0);
38767 ;
38768 return 0;
38769 }
38770 _ACEOF
38771 if ac_fn_cxx_try_compile "$LINENO"; then :
38772 glibcxx_cv_func_isnanl_use=yes
38773 else
38774 glibcxx_cv_func_isnanl_use=no
38775 fi
38776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38777 ac_ext=c
38778 ac_cpp='$CPP $CPPFLAGS'
38779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38782
38783
38784 fi
38785
38786 fi
38787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38788 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38789
38790 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38791 for ac_func in isnanl
38792 do :
38793 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38794 if test "x$ac_cv_func_isnanl" = x""yes; then :
38795 cat >>confdefs.h <<_ACEOF
38796 #define HAVE_ISNANL 1
38797 _ACEOF
38798
38799 fi
38800 done
38801
38802 else
38803
38804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38805 $as_echo_n "checking for _isnanl declaration... " >&6; }
38806 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38807 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38808 $as_echo_n "(cached) " >&6
38809 else
38810
38811
38812 ac_ext=cpp
38813 ac_cpp='$CXXCPP $CPPFLAGS'
38814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38817
38818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38819 /* end confdefs.h. */
38820 #include <math.h>
38821 #ifdef HAVE_IEEEFP_H
38822 #include <ieeefp.h>
38823 #endif
38824
38825 int
38826 main ()
38827 {
38828 _isnanl(0);
38829 ;
38830 return 0;
38831 }
38832 _ACEOF
38833 if ac_fn_cxx_try_compile "$LINENO"; then :
38834 glibcxx_cv_func__isnanl_use=yes
38835 else
38836 glibcxx_cv_func__isnanl_use=no
38837 fi
38838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38839 ac_ext=c
38840 ac_cpp='$CPP $CPPFLAGS'
38841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38844
38845
38846 fi
38847
38848 fi
38849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38850 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38851
38852 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38853 for ac_func in _isnanl
38854 do :
38855 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38856 if test "x$ac_cv_func__isnanl" = x""yes; then :
38857 cat >>confdefs.h <<_ACEOF
38858 #define HAVE__ISNANL 1
38859 _ACEOF
38860
38861 fi
38862 done
38863
38864 fi
38865 fi
38866
38867
38868
38869
38870
38871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38872 $as_echo_n "checking for isinfl declaration... " >&6; }
38873 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38874 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38875 $as_echo_n "(cached) " >&6
38876 else
38877
38878
38879 ac_ext=cpp
38880 ac_cpp='$CXXCPP $CPPFLAGS'
38881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38884
38885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38886 /* end confdefs.h. */
38887 #include <math.h>
38888 #ifdef HAVE_IEEEFP_H
38889 #include <ieeefp.h>
38890 #endif
38891
38892 int
38893 main ()
38894 {
38895 isinfl(0);
38896 ;
38897 return 0;
38898 }
38899 _ACEOF
38900 if ac_fn_cxx_try_compile "$LINENO"; then :
38901 glibcxx_cv_func_isinfl_use=yes
38902 else
38903 glibcxx_cv_func_isinfl_use=no
38904 fi
38905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38906 ac_ext=c
38907 ac_cpp='$CPP $CPPFLAGS'
38908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38911
38912
38913 fi
38914
38915 fi
38916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38917 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38918
38919 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38920 for ac_func in isinfl
38921 do :
38922 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38923 if test "x$ac_cv_func_isinfl" = x""yes; then :
38924 cat >>confdefs.h <<_ACEOF
38925 #define HAVE_ISINFL 1
38926 _ACEOF
38927
38928 fi
38929 done
38930
38931 else
38932
38933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38934 $as_echo_n "checking for _isinfl declaration... " >&6; }
38935 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38936 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38937 $as_echo_n "(cached) " >&6
38938 else
38939
38940
38941 ac_ext=cpp
38942 ac_cpp='$CXXCPP $CPPFLAGS'
38943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38946
38947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38948 /* end confdefs.h. */
38949 #include <math.h>
38950 #ifdef HAVE_IEEEFP_H
38951 #include <ieeefp.h>
38952 #endif
38953
38954 int
38955 main ()
38956 {
38957 _isinfl(0);
38958 ;
38959 return 0;
38960 }
38961 _ACEOF
38962 if ac_fn_cxx_try_compile "$LINENO"; then :
38963 glibcxx_cv_func__isinfl_use=yes
38964 else
38965 glibcxx_cv_func__isinfl_use=no
38966 fi
38967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38968 ac_ext=c
38969 ac_cpp='$CPP $CPPFLAGS'
38970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38973
38974
38975 fi
38976
38977 fi
38978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38979 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38980
38981 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38982 for ac_func in _isinfl
38983 do :
38984 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38985 if test "x$ac_cv_func__isinfl" = x""yes; then :
38986 cat >>confdefs.h <<_ACEOF
38987 #define HAVE__ISINFL 1
38988 _ACEOF
38989
38990 fi
38991 done
38992
38993 fi
38994 fi
38995
38996
38997
38998
38999
39000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39001 $as_echo_n "checking for atan2l declaration... " >&6; }
39002 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39003 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39004 $as_echo_n "(cached) " >&6
39005 else
39006
39007
39008 ac_ext=cpp
39009 ac_cpp='$CXXCPP $CPPFLAGS'
39010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39013
39014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39015 /* end confdefs.h. */
39016 #include <math.h>
39017 int
39018 main ()
39019 {
39020 atan2l(0, 0);
39021 ;
39022 return 0;
39023 }
39024 _ACEOF
39025 if ac_fn_cxx_try_compile "$LINENO"; then :
39026 glibcxx_cv_func_atan2l_use=yes
39027 else
39028 glibcxx_cv_func_atan2l_use=no
39029 fi
39030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39031 ac_ext=c
39032 ac_cpp='$CPP $CPPFLAGS'
39033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39036
39037
39038 fi
39039
39040 fi
39041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39042 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39043
39044 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39045 for ac_func in atan2l
39046 do :
39047 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39048 if test "x$ac_cv_func_atan2l" = x""yes; then :
39049 cat >>confdefs.h <<_ACEOF
39050 #define HAVE_ATAN2L 1
39051 _ACEOF
39052
39053 fi
39054 done
39055
39056 else
39057
39058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39059 $as_echo_n "checking for _atan2l declaration... " >&6; }
39060 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39061 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39062 $as_echo_n "(cached) " >&6
39063 else
39064
39065
39066 ac_ext=cpp
39067 ac_cpp='$CXXCPP $CPPFLAGS'
39068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39071
39072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39073 /* end confdefs.h. */
39074 #include <math.h>
39075 int
39076 main ()
39077 {
39078 _atan2l(0, 0);
39079 ;
39080 return 0;
39081 }
39082 _ACEOF
39083 if ac_fn_cxx_try_compile "$LINENO"; then :
39084 glibcxx_cv_func__atan2l_use=yes
39085 else
39086 glibcxx_cv_func__atan2l_use=no
39087 fi
39088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39089 ac_ext=c
39090 ac_cpp='$CPP $CPPFLAGS'
39091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39094
39095
39096 fi
39097
39098 fi
39099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39100 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39101
39102 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39103 for ac_func in _atan2l
39104 do :
39105 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39106 if test "x$ac_cv_func__atan2l" = x""yes; then :
39107 cat >>confdefs.h <<_ACEOF
39108 #define HAVE__ATAN2L 1
39109 _ACEOF
39110
39111 fi
39112 done
39113
39114 fi
39115 fi
39116
39117
39118
39119
39120
39121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39122 $as_echo_n "checking for expl declaration... " >&6; }
39123 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39124 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39125 $as_echo_n "(cached) " >&6
39126 else
39127
39128
39129 ac_ext=cpp
39130 ac_cpp='$CXXCPP $CPPFLAGS'
39131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39134
39135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39136 /* end confdefs.h. */
39137 #include <math.h>
39138 #ifdef HAVE_IEEEFP_H
39139 #include <ieeefp.h>
39140 #endif
39141
39142 int
39143 main ()
39144 {
39145 expl(0);
39146 ;
39147 return 0;
39148 }
39149 _ACEOF
39150 if ac_fn_cxx_try_compile "$LINENO"; then :
39151 glibcxx_cv_func_expl_use=yes
39152 else
39153 glibcxx_cv_func_expl_use=no
39154 fi
39155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39156 ac_ext=c
39157 ac_cpp='$CPP $CPPFLAGS'
39158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39161
39162
39163 fi
39164
39165 fi
39166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39167 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39168
39169 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39170 for ac_func in expl
39171 do :
39172 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39173 if test "x$ac_cv_func_expl" = x""yes; then :
39174 cat >>confdefs.h <<_ACEOF
39175 #define HAVE_EXPL 1
39176 _ACEOF
39177
39178 fi
39179 done
39180
39181 else
39182
39183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39184 $as_echo_n "checking for _expl declaration... " >&6; }
39185 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39186 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39187 $as_echo_n "(cached) " >&6
39188 else
39189
39190
39191 ac_ext=cpp
39192 ac_cpp='$CXXCPP $CPPFLAGS'
39193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39196
39197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39198 /* end confdefs.h. */
39199 #include <math.h>
39200 #ifdef HAVE_IEEEFP_H
39201 #include <ieeefp.h>
39202 #endif
39203
39204 int
39205 main ()
39206 {
39207 _expl(0);
39208 ;
39209 return 0;
39210 }
39211 _ACEOF
39212 if ac_fn_cxx_try_compile "$LINENO"; then :
39213 glibcxx_cv_func__expl_use=yes
39214 else
39215 glibcxx_cv_func__expl_use=no
39216 fi
39217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39218 ac_ext=c
39219 ac_cpp='$CPP $CPPFLAGS'
39220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39223
39224
39225 fi
39226
39227 fi
39228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39229 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39230
39231 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39232 for ac_func in _expl
39233 do :
39234 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39235 if test "x$ac_cv_func__expl" = x""yes; then :
39236 cat >>confdefs.h <<_ACEOF
39237 #define HAVE__EXPL 1
39238 _ACEOF
39239
39240 fi
39241 done
39242
39243 fi
39244 fi
39245
39246
39247
39248
39249
39250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39251 $as_echo_n "checking for fabsl declaration... " >&6; }
39252 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39253 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39254 $as_echo_n "(cached) " >&6
39255 else
39256
39257
39258 ac_ext=cpp
39259 ac_cpp='$CXXCPP $CPPFLAGS'
39260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39263
39264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39265 /* end confdefs.h. */
39266 #include <math.h>
39267 #ifdef HAVE_IEEEFP_H
39268 #include <ieeefp.h>
39269 #endif
39270
39271 int
39272 main ()
39273 {
39274 fabsl(0);
39275 ;
39276 return 0;
39277 }
39278 _ACEOF
39279 if ac_fn_cxx_try_compile "$LINENO"; then :
39280 glibcxx_cv_func_fabsl_use=yes
39281 else
39282 glibcxx_cv_func_fabsl_use=no
39283 fi
39284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39285 ac_ext=c
39286 ac_cpp='$CPP $CPPFLAGS'
39287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39290
39291
39292 fi
39293
39294 fi
39295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39296 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39297
39298 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39299 for ac_func in fabsl
39300 do :
39301 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39302 if test "x$ac_cv_func_fabsl" = x""yes; then :
39303 cat >>confdefs.h <<_ACEOF
39304 #define HAVE_FABSL 1
39305 _ACEOF
39306
39307 fi
39308 done
39309
39310 else
39311
39312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39313 $as_echo_n "checking for _fabsl declaration... " >&6; }
39314 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39315 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39316 $as_echo_n "(cached) " >&6
39317 else
39318
39319
39320 ac_ext=cpp
39321 ac_cpp='$CXXCPP $CPPFLAGS'
39322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39325
39326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39327 /* end confdefs.h. */
39328 #include <math.h>
39329 #ifdef HAVE_IEEEFP_H
39330 #include <ieeefp.h>
39331 #endif
39332
39333 int
39334 main ()
39335 {
39336 _fabsl(0);
39337 ;
39338 return 0;
39339 }
39340 _ACEOF
39341 if ac_fn_cxx_try_compile "$LINENO"; then :
39342 glibcxx_cv_func__fabsl_use=yes
39343 else
39344 glibcxx_cv_func__fabsl_use=no
39345 fi
39346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39347 ac_ext=c
39348 ac_cpp='$CPP $CPPFLAGS'
39349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39352
39353
39354 fi
39355
39356 fi
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39358 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39359
39360 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39361 for ac_func in _fabsl
39362 do :
39363 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39364 if test "x$ac_cv_func__fabsl" = x""yes; then :
39365 cat >>confdefs.h <<_ACEOF
39366 #define HAVE__FABSL 1
39367 _ACEOF
39368
39369 fi
39370 done
39371
39372 fi
39373 fi
39374
39375
39376
39377
39378
39379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39380 $as_echo_n "checking for fmodl declaration... " >&6; }
39381 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39382 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39383 $as_echo_n "(cached) " >&6
39384 else
39385
39386
39387 ac_ext=cpp
39388 ac_cpp='$CXXCPP $CPPFLAGS'
39389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39392
39393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39394 /* end confdefs.h. */
39395 #include <math.h>
39396 int
39397 main ()
39398 {
39399 fmodl(0, 0);
39400 ;
39401 return 0;
39402 }
39403 _ACEOF
39404 if ac_fn_cxx_try_compile "$LINENO"; then :
39405 glibcxx_cv_func_fmodl_use=yes
39406 else
39407 glibcxx_cv_func_fmodl_use=no
39408 fi
39409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39410 ac_ext=c
39411 ac_cpp='$CPP $CPPFLAGS'
39412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39415
39416
39417 fi
39418
39419 fi
39420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39421 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39422
39423 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39424 for ac_func in fmodl
39425 do :
39426 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39427 if test "x$ac_cv_func_fmodl" = x""yes; then :
39428 cat >>confdefs.h <<_ACEOF
39429 #define HAVE_FMODL 1
39430 _ACEOF
39431
39432 fi
39433 done
39434
39435 else
39436
39437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39438 $as_echo_n "checking for _fmodl declaration... " >&6; }
39439 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39440 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39441 $as_echo_n "(cached) " >&6
39442 else
39443
39444
39445 ac_ext=cpp
39446 ac_cpp='$CXXCPP $CPPFLAGS'
39447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39450
39451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39452 /* end confdefs.h. */
39453 #include <math.h>
39454 int
39455 main ()
39456 {
39457 _fmodl(0, 0);
39458 ;
39459 return 0;
39460 }
39461 _ACEOF
39462 if ac_fn_cxx_try_compile "$LINENO"; then :
39463 glibcxx_cv_func__fmodl_use=yes
39464 else
39465 glibcxx_cv_func__fmodl_use=no
39466 fi
39467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39468 ac_ext=c
39469 ac_cpp='$CPP $CPPFLAGS'
39470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39473
39474
39475 fi
39476
39477 fi
39478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39479 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39480
39481 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39482 for ac_func in _fmodl
39483 do :
39484 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39485 if test "x$ac_cv_func__fmodl" = x""yes; then :
39486 cat >>confdefs.h <<_ACEOF
39487 #define HAVE__FMODL 1
39488 _ACEOF
39489
39490 fi
39491 done
39492
39493 fi
39494 fi
39495
39496
39497
39498
39499
39500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39501 $as_echo_n "checking for frexpl declaration... " >&6; }
39502 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39503 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39504 $as_echo_n "(cached) " >&6
39505 else
39506
39507
39508 ac_ext=cpp
39509 ac_cpp='$CXXCPP $CPPFLAGS'
39510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39513
39514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39515 /* end confdefs.h. */
39516 #include <math.h>
39517 int
39518 main ()
39519 {
39520 frexpl(0, 0);
39521 ;
39522 return 0;
39523 }
39524 _ACEOF
39525 if ac_fn_cxx_try_compile "$LINENO"; then :
39526 glibcxx_cv_func_frexpl_use=yes
39527 else
39528 glibcxx_cv_func_frexpl_use=no
39529 fi
39530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39531 ac_ext=c
39532 ac_cpp='$CPP $CPPFLAGS'
39533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39536
39537
39538 fi
39539
39540 fi
39541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39542 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39543
39544 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39545 for ac_func in frexpl
39546 do :
39547 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39548 if test "x$ac_cv_func_frexpl" = x""yes; then :
39549 cat >>confdefs.h <<_ACEOF
39550 #define HAVE_FREXPL 1
39551 _ACEOF
39552
39553 fi
39554 done
39555
39556 else
39557
39558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39559 $as_echo_n "checking for _frexpl declaration... " >&6; }
39560 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39561 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39562 $as_echo_n "(cached) " >&6
39563 else
39564
39565
39566 ac_ext=cpp
39567 ac_cpp='$CXXCPP $CPPFLAGS'
39568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39571
39572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39573 /* end confdefs.h. */
39574 #include <math.h>
39575 int
39576 main ()
39577 {
39578 _frexpl(0, 0);
39579 ;
39580 return 0;
39581 }
39582 _ACEOF
39583 if ac_fn_cxx_try_compile "$LINENO"; then :
39584 glibcxx_cv_func__frexpl_use=yes
39585 else
39586 glibcxx_cv_func__frexpl_use=no
39587 fi
39588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39589 ac_ext=c
39590 ac_cpp='$CPP $CPPFLAGS'
39591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39594
39595
39596 fi
39597
39598 fi
39599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39600 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39601
39602 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39603 for ac_func in _frexpl
39604 do :
39605 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39606 if test "x$ac_cv_func__frexpl" = x""yes; then :
39607 cat >>confdefs.h <<_ACEOF
39608 #define HAVE__FREXPL 1
39609 _ACEOF
39610
39611 fi
39612 done
39613
39614 fi
39615 fi
39616
39617
39618
39619
39620
39621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39622 $as_echo_n "checking for hypotl declaration... " >&6; }
39623 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39624 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39625 $as_echo_n "(cached) " >&6
39626 else
39627
39628
39629 ac_ext=cpp
39630 ac_cpp='$CXXCPP $CPPFLAGS'
39631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39634
39635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39636 /* end confdefs.h. */
39637 #include <math.h>
39638 int
39639 main ()
39640 {
39641 hypotl(0, 0);
39642 ;
39643 return 0;
39644 }
39645 _ACEOF
39646 if ac_fn_cxx_try_compile "$LINENO"; then :
39647 glibcxx_cv_func_hypotl_use=yes
39648 else
39649 glibcxx_cv_func_hypotl_use=no
39650 fi
39651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39652 ac_ext=c
39653 ac_cpp='$CPP $CPPFLAGS'
39654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39657
39658
39659 fi
39660
39661 fi
39662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39663 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39664
39665 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39666 for ac_func in hypotl
39667 do :
39668 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39669 if test "x$ac_cv_func_hypotl" = x""yes; then :
39670 cat >>confdefs.h <<_ACEOF
39671 #define HAVE_HYPOTL 1
39672 _ACEOF
39673
39674 fi
39675 done
39676
39677 else
39678
39679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39680 $as_echo_n "checking for _hypotl declaration... " >&6; }
39681 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39682 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39683 $as_echo_n "(cached) " >&6
39684 else
39685
39686
39687 ac_ext=cpp
39688 ac_cpp='$CXXCPP $CPPFLAGS'
39689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39692
39693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39694 /* end confdefs.h. */
39695 #include <math.h>
39696 int
39697 main ()
39698 {
39699 _hypotl(0, 0);
39700 ;
39701 return 0;
39702 }
39703 _ACEOF
39704 if ac_fn_cxx_try_compile "$LINENO"; then :
39705 glibcxx_cv_func__hypotl_use=yes
39706 else
39707 glibcxx_cv_func__hypotl_use=no
39708 fi
39709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39710 ac_ext=c
39711 ac_cpp='$CPP $CPPFLAGS'
39712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39715
39716
39717 fi
39718
39719 fi
39720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39721 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39722
39723 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39724 for ac_func in _hypotl
39725 do :
39726 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39727 if test "x$ac_cv_func__hypotl" = x""yes; then :
39728 cat >>confdefs.h <<_ACEOF
39729 #define HAVE__HYPOTL 1
39730 _ACEOF
39731
39732 fi
39733 done
39734
39735 fi
39736 fi
39737
39738
39739
39740
39741
39742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39743 $as_echo_n "checking for ldexpl declaration... " >&6; }
39744 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39745 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39746 $as_echo_n "(cached) " >&6
39747 else
39748
39749
39750 ac_ext=cpp
39751 ac_cpp='$CXXCPP $CPPFLAGS'
39752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39755
39756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39757 /* end confdefs.h. */
39758 #include <math.h>
39759 int
39760 main ()
39761 {
39762 ldexpl(0, 0);
39763 ;
39764 return 0;
39765 }
39766 _ACEOF
39767 if ac_fn_cxx_try_compile "$LINENO"; then :
39768 glibcxx_cv_func_ldexpl_use=yes
39769 else
39770 glibcxx_cv_func_ldexpl_use=no
39771 fi
39772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39773 ac_ext=c
39774 ac_cpp='$CPP $CPPFLAGS'
39775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39778
39779
39780 fi
39781
39782 fi
39783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39784 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39785
39786 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39787 for ac_func in ldexpl
39788 do :
39789 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39790 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39791 cat >>confdefs.h <<_ACEOF
39792 #define HAVE_LDEXPL 1
39793 _ACEOF
39794
39795 fi
39796 done
39797
39798 else
39799
39800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39801 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39802 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39803 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39804 $as_echo_n "(cached) " >&6
39805 else
39806
39807
39808 ac_ext=cpp
39809 ac_cpp='$CXXCPP $CPPFLAGS'
39810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39813
39814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39815 /* end confdefs.h. */
39816 #include <math.h>
39817 int
39818 main ()
39819 {
39820 _ldexpl(0, 0);
39821 ;
39822 return 0;
39823 }
39824 _ACEOF
39825 if ac_fn_cxx_try_compile "$LINENO"; then :
39826 glibcxx_cv_func__ldexpl_use=yes
39827 else
39828 glibcxx_cv_func__ldexpl_use=no
39829 fi
39830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39831 ac_ext=c
39832 ac_cpp='$CPP $CPPFLAGS'
39833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39836
39837
39838 fi
39839
39840 fi
39841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39842 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39843
39844 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39845 for ac_func in _ldexpl
39846 do :
39847 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39848 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39849 cat >>confdefs.h <<_ACEOF
39850 #define HAVE__LDEXPL 1
39851 _ACEOF
39852
39853 fi
39854 done
39855
39856 fi
39857 fi
39858
39859
39860
39861
39862
39863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39864 $as_echo_n "checking for logl declaration... " >&6; }
39865 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39866 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39867 $as_echo_n "(cached) " >&6
39868 else
39869
39870
39871 ac_ext=cpp
39872 ac_cpp='$CXXCPP $CPPFLAGS'
39873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39876
39877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39878 /* end confdefs.h. */
39879 #include <math.h>
39880 #ifdef HAVE_IEEEFP_H
39881 #include <ieeefp.h>
39882 #endif
39883
39884 int
39885 main ()
39886 {
39887 logl(0);
39888 ;
39889 return 0;
39890 }
39891 _ACEOF
39892 if ac_fn_cxx_try_compile "$LINENO"; then :
39893 glibcxx_cv_func_logl_use=yes
39894 else
39895 glibcxx_cv_func_logl_use=no
39896 fi
39897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39898 ac_ext=c
39899 ac_cpp='$CPP $CPPFLAGS'
39900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39903
39904
39905 fi
39906
39907 fi
39908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39909 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39910
39911 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39912 for ac_func in logl
39913 do :
39914 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39915 if test "x$ac_cv_func_logl" = x""yes; then :
39916 cat >>confdefs.h <<_ACEOF
39917 #define HAVE_LOGL 1
39918 _ACEOF
39919
39920 fi
39921 done
39922
39923 else
39924
39925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39926 $as_echo_n "checking for _logl declaration... " >&6; }
39927 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39928 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39929 $as_echo_n "(cached) " >&6
39930 else
39931
39932
39933 ac_ext=cpp
39934 ac_cpp='$CXXCPP $CPPFLAGS'
39935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39938
39939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39940 /* end confdefs.h. */
39941 #include <math.h>
39942 #ifdef HAVE_IEEEFP_H
39943 #include <ieeefp.h>
39944 #endif
39945
39946 int
39947 main ()
39948 {
39949 _logl(0);
39950 ;
39951 return 0;
39952 }
39953 _ACEOF
39954 if ac_fn_cxx_try_compile "$LINENO"; then :
39955 glibcxx_cv_func__logl_use=yes
39956 else
39957 glibcxx_cv_func__logl_use=no
39958 fi
39959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39960 ac_ext=c
39961 ac_cpp='$CPP $CPPFLAGS'
39962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39965
39966
39967 fi
39968
39969 fi
39970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39971 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39972
39973 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39974 for ac_func in _logl
39975 do :
39976 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39977 if test "x$ac_cv_func__logl" = x""yes; then :
39978 cat >>confdefs.h <<_ACEOF
39979 #define HAVE__LOGL 1
39980 _ACEOF
39981
39982 fi
39983 done
39984
39985 fi
39986 fi
39987
39988
39989
39990
39991
39992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39993 $as_echo_n "checking for log10l declaration... " >&6; }
39994 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39995 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39996 $as_echo_n "(cached) " >&6
39997 else
39998
39999
40000 ac_ext=cpp
40001 ac_cpp='$CXXCPP $CPPFLAGS'
40002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40005
40006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40007 /* end confdefs.h. */
40008 #include <math.h>
40009 #ifdef HAVE_IEEEFP_H
40010 #include <ieeefp.h>
40011 #endif
40012
40013 int
40014 main ()
40015 {
40016 log10l(0);
40017 ;
40018 return 0;
40019 }
40020 _ACEOF
40021 if ac_fn_cxx_try_compile "$LINENO"; then :
40022 glibcxx_cv_func_log10l_use=yes
40023 else
40024 glibcxx_cv_func_log10l_use=no
40025 fi
40026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40027 ac_ext=c
40028 ac_cpp='$CPP $CPPFLAGS'
40029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40032
40033
40034 fi
40035
40036 fi
40037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40038 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40039
40040 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40041 for ac_func in log10l
40042 do :
40043 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40044 if test "x$ac_cv_func_log10l" = x""yes; then :
40045 cat >>confdefs.h <<_ACEOF
40046 #define HAVE_LOG10L 1
40047 _ACEOF
40048
40049 fi
40050 done
40051
40052 else
40053
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40055 $as_echo_n "checking for _log10l declaration... " >&6; }
40056 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40057 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40058 $as_echo_n "(cached) " >&6
40059 else
40060
40061
40062 ac_ext=cpp
40063 ac_cpp='$CXXCPP $CPPFLAGS'
40064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40067
40068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40069 /* end confdefs.h. */
40070 #include <math.h>
40071 #ifdef HAVE_IEEEFP_H
40072 #include <ieeefp.h>
40073 #endif
40074
40075 int
40076 main ()
40077 {
40078 _log10l(0);
40079 ;
40080 return 0;
40081 }
40082 _ACEOF
40083 if ac_fn_cxx_try_compile "$LINENO"; then :
40084 glibcxx_cv_func__log10l_use=yes
40085 else
40086 glibcxx_cv_func__log10l_use=no
40087 fi
40088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40089 ac_ext=c
40090 ac_cpp='$CPP $CPPFLAGS'
40091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40094
40095
40096 fi
40097
40098 fi
40099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40100 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40101
40102 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40103 for ac_func in _log10l
40104 do :
40105 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40106 if test "x$ac_cv_func__log10l" = x""yes; then :
40107 cat >>confdefs.h <<_ACEOF
40108 #define HAVE__LOG10L 1
40109 _ACEOF
40110
40111 fi
40112 done
40113
40114 fi
40115 fi
40116
40117
40118
40119
40120
40121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40122 $as_echo_n "checking for modfl declaration... " >&6; }
40123 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40124 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40125 $as_echo_n "(cached) " >&6
40126 else
40127
40128
40129 ac_ext=cpp
40130 ac_cpp='$CXXCPP $CPPFLAGS'
40131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40134
40135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40136 /* end confdefs.h. */
40137 #include <math.h>
40138 int
40139 main ()
40140 {
40141 modfl(0, 0);
40142 ;
40143 return 0;
40144 }
40145 _ACEOF
40146 if ac_fn_cxx_try_compile "$LINENO"; then :
40147 glibcxx_cv_func_modfl_use=yes
40148 else
40149 glibcxx_cv_func_modfl_use=no
40150 fi
40151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40152 ac_ext=c
40153 ac_cpp='$CPP $CPPFLAGS'
40154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40157
40158
40159 fi
40160
40161 fi
40162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40163 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40164
40165 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40166 for ac_func in modfl
40167 do :
40168 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40169 if test "x$ac_cv_func_modfl" = x""yes; then :
40170 cat >>confdefs.h <<_ACEOF
40171 #define HAVE_MODFL 1
40172 _ACEOF
40173
40174 fi
40175 done
40176
40177 else
40178
40179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40180 $as_echo_n "checking for _modfl declaration... " >&6; }
40181 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40182 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40183 $as_echo_n "(cached) " >&6
40184 else
40185
40186
40187 ac_ext=cpp
40188 ac_cpp='$CXXCPP $CPPFLAGS'
40189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40192
40193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40194 /* end confdefs.h. */
40195 #include <math.h>
40196 int
40197 main ()
40198 {
40199 _modfl(0, 0);
40200 ;
40201 return 0;
40202 }
40203 _ACEOF
40204 if ac_fn_cxx_try_compile "$LINENO"; then :
40205 glibcxx_cv_func__modfl_use=yes
40206 else
40207 glibcxx_cv_func__modfl_use=no
40208 fi
40209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40210 ac_ext=c
40211 ac_cpp='$CPP $CPPFLAGS'
40212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40215
40216
40217 fi
40218
40219 fi
40220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40221 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40222
40223 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40224 for ac_func in _modfl
40225 do :
40226 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40227 if test "x$ac_cv_func__modfl" = x""yes; then :
40228 cat >>confdefs.h <<_ACEOF
40229 #define HAVE__MODFL 1
40230 _ACEOF
40231
40232 fi
40233 done
40234
40235 fi
40236 fi
40237
40238
40239
40240
40241
40242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40243 $as_echo_n "checking for powl declaration... " >&6; }
40244 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40245 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40246 $as_echo_n "(cached) " >&6
40247 else
40248
40249
40250 ac_ext=cpp
40251 ac_cpp='$CXXCPP $CPPFLAGS'
40252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40255
40256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40257 /* end confdefs.h. */
40258 #include <math.h>
40259 int
40260 main ()
40261 {
40262 powl(0, 0);
40263 ;
40264 return 0;
40265 }
40266 _ACEOF
40267 if ac_fn_cxx_try_compile "$LINENO"; then :
40268 glibcxx_cv_func_powl_use=yes
40269 else
40270 glibcxx_cv_func_powl_use=no
40271 fi
40272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40273 ac_ext=c
40274 ac_cpp='$CPP $CPPFLAGS'
40275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40278
40279
40280 fi
40281
40282 fi
40283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40284 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40285
40286 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40287 for ac_func in powl
40288 do :
40289 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40290 if test "x$ac_cv_func_powl" = x""yes; then :
40291 cat >>confdefs.h <<_ACEOF
40292 #define HAVE_POWL 1
40293 _ACEOF
40294
40295 fi
40296 done
40297
40298 else
40299
40300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40301 $as_echo_n "checking for _powl declaration... " >&6; }
40302 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40303 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40304 $as_echo_n "(cached) " >&6
40305 else
40306
40307
40308 ac_ext=cpp
40309 ac_cpp='$CXXCPP $CPPFLAGS'
40310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40313
40314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40315 /* end confdefs.h. */
40316 #include <math.h>
40317 int
40318 main ()
40319 {
40320 _powl(0, 0);
40321 ;
40322 return 0;
40323 }
40324 _ACEOF
40325 if ac_fn_cxx_try_compile "$LINENO"; then :
40326 glibcxx_cv_func__powl_use=yes
40327 else
40328 glibcxx_cv_func__powl_use=no
40329 fi
40330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40331 ac_ext=c
40332 ac_cpp='$CPP $CPPFLAGS'
40333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40336
40337
40338 fi
40339
40340 fi
40341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40342 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40343
40344 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40345 for ac_func in _powl
40346 do :
40347 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40348 if test "x$ac_cv_func__powl" = x""yes; then :
40349 cat >>confdefs.h <<_ACEOF
40350 #define HAVE__POWL 1
40351 _ACEOF
40352
40353 fi
40354 done
40355
40356 fi
40357 fi
40358
40359
40360
40361
40362
40363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40364 $as_echo_n "checking for sqrtl declaration... " >&6; }
40365 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40366 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40367 $as_echo_n "(cached) " >&6
40368 else
40369
40370
40371 ac_ext=cpp
40372 ac_cpp='$CXXCPP $CPPFLAGS'
40373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40376
40377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40378 /* end confdefs.h. */
40379 #include <math.h>
40380 #ifdef HAVE_IEEEFP_H
40381 #include <ieeefp.h>
40382 #endif
40383
40384 int
40385 main ()
40386 {
40387 sqrtl(0);
40388 ;
40389 return 0;
40390 }
40391 _ACEOF
40392 if ac_fn_cxx_try_compile "$LINENO"; then :
40393 glibcxx_cv_func_sqrtl_use=yes
40394 else
40395 glibcxx_cv_func_sqrtl_use=no
40396 fi
40397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40398 ac_ext=c
40399 ac_cpp='$CPP $CPPFLAGS'
40400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40403
40404
40405 fi
40406
40407 fi
40408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40409 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40410
40411 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40412 for ac_func in sqrtl
40413 do :
40414 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40415 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40416 cat >>confdefs.h <<_ACEOF
40417 #define HAVE_SQRTL 1
40418 _ACEOF
40419
40420 fi
40421 done
40422
40423 else
40424
40425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40426 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40427 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40428 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40429 $as_echo_n "(cached) " >&6
40430 else
40431
40432
40433 ac_ext=cpp
40434 ac_cpp='$CXXCPP $CPPFLAGS'
40435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40438
40439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40440 /* end confdefs.h. */
40441 #include <math.h>
40442 #ifdef HAVE_IEEEFP_H
40443 #include <ieeefp.h>
40444 #endif
40445
40446 int
40447 main ()
40448 {
40449 _sqrtl(0);
40450 ;
40451 return 0;
40452 }
40453 _ACEOF
40454 if ac_fn_cxx_try_compile "$LINENO"; then :
40455 glibcxx_cv_func__sqrtl_use=yes
40456 else
40457 glibcxx_cv_func__sqrtl_use=no
40458 fi
40459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40460 ac_ext=c
40461 ac_cpp='$CPP $CPPFLAGS'
40462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40465
40466
40467 fi
40468
40469 fi
40470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40471 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40472
40473 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40474 for ac_func in _sqrtl
40475 do :
40476 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40477 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40478 cat >>confdefs.h <<_ACEOF
40479 #define HAVE__SQRTL 1
40480 _ACEOF
40481
40482 fi
40483 done
40484
40485 fi
40486 fi
40487
40488
40489
40490
40491
40492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40493 $as_echo_n "checking for sincosl declaration... " >&6; }
40494 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40495 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40496 $as_echo_n "(cached) " >&6
40497 else
40498
40499
40500 ac_ext=cpp
40501 ac_cpp='$CXXCPP $CPPFLAGS'
40502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40505
40506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40507 /* end confdefs.h. */
40508 #include <math.h>
40509 int
40510 main ()
40511 {
40512 sincosl(0, 0, 0);
40513 ;
40514 return 0;
40515 }
40516 _ACEOF
40517 if ac_fn_cxx_try_compile "$LINENO"; then :
40518 glibcxx_cv_func_sincosl_use=yes
40519 else
40520 glibcxx_cv_func_sincosl_use=no
40521 fi
40522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40523 ac_ext=c
40524 ac_cpp='$CPP $CPPFLAGS'
40525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40528
40529
40530 fi
40531
40532 fi
40533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40534 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40535
40536 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40537 for ac_func in sincosl
40538 do :
40539 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40540 if test "x$ac_cv_func_sincosl" = x""yes; then :
40541 cat >>confdefs.h <<_ACEOF
40542 #define HAVE_SINCOSL 1
40543 _ACEOF
40544
40545 fi
40546 done
40547
40548 else
40549
40550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40551 $as_echo_n "checking for _sincosl declaration... " >&6; }
40552 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40553 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40554 $as_echo_n "(cached) " >&6
40555 else
40556
40557
40558 ac_ext=cpp
40559 ac_cpp='$CXXCPP $CPPFLAGS'
40560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40563
40564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40565 /* end confdefs.h. */
40566 #include <math.h>
40567 int
40568 main ()
40569 {
40570 _sincosl(0, 0, 0);
40571 ;
40572 return 0;
40573 }
40574 _ACEOF
40575 if ac_fn_cxx_try_compile "$LINENO"; then :
40576 glibcxx_cv_func__sincosl_use=yes
40577 else
40578 glibcxx_cv_func__sincosl_use=no
40579 fi
40580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40581 ac_ext=c
40582 ac_cpp='$CPP $CPPFLAGS'
40583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40586
40587
40588 fi
40589
40590 fi
40591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40592 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40593
40594 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40595 for ac_func in _sincosl
40596 do :
40597 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40598 if test "x$ac_cv_func__sincosl" = x""yes; then :
40599 cat >>confdefs.h <<_ACEOF
40600 #define HAVE__SINCOSL 1
40601 _ACEOF
40602
40603 fi
40604 done
40605
40606 fi
40607 fi
40608
40609
40610
40611
40612
40613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40614 $as_echo_n "checking for finitel declaration... " >&6; }
40615 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40616 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40617 $as_echo_n "(cached) " >&6
40618 else
40619
40620
40621 ac_ext=cpp
40622 ac_cpp='$CXXCPP $CPPFLAGS'
40623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40626
40627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40628 /* end confdefs.h. */
40629 #include <math.h>
40630 #ifdef HAVE_IEEEFP_H
40631 #include <ieeefp.h>
40632 #endif
40633
40634 int
40635 main ()
40636 {
40637 finitel(0);
40638 ;
40639 return 0;
40640 }
40641 _ACEOF
40642 if ac_fn_cxx_try_compile "$LINENO"; then :
40643 glibcxx_cv_func_finitel_use=yes
40644 else
40645 glibcxx_cv_func_finitel_use=no
40646 fi
40647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40648 ac_ext=c
40649 ac_cpp='$CPP $CPPFLAGS'
40650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40653
40654
40655 fi
40656
40657 fi
40658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40659 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40660
40661 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40662 for ac_func in finitel
40663 do :
40664 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40665 if test "x$ac_cv_func_finitel" = x""yes; then :
40666 cat >>confdefs.h <<_ACEOF
40667 #define HAVE_FINITEL 1
40668 _ACEOF
40669
40670 fi
40671 done
40672
40673 else
40674
40675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40676 $as_echo_n "checking for _finitel declaration... " >&6; }
40677 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40678 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40679 $as_echo_n "(cached) " >&6
40680 else
40681
40682
40683 ac_ext=cpp
40684 ac_cpp='$CXXCPP $CPPFLAGS'
40685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40688
40689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40690 /* end confdefs.h. */
40691 #include <math.h>
40692 #ifdef HAVE_IEEEFP_H
40693 #include <ieeefp.h>
40694 #endif
40695
40696 int
40697 main ()
40698 {
40699 _finitel(0);
40700 ;
40701 return 0;
40702 }
40703 _ACEOF
40704 if ac_fn_cxx_try_compile "$LINENO"; then :
40705 glibcxx_cv_func__finitel_use=yes
40706 else
40707 glibcxx_cv_func__finitel_use=no
40708 fi
40709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40710 ac_ext=c
40711 ac_cpp='$CPP $CPPFLAGS'
40712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40715
40716
40717 fi
40718
40719 fi
40720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40721 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40722
40723 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40724 for ac_func in _finitel
40725 do :
40726 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40727 if test "x$ac_cv_func__finitel" = x""yes; then :
40728 cat >>confdefs.h <<_ACEOF
40729 #define HAVE__FINITEL 1
40730 _ACEOF
40731
40732 fi
40733 done
40734
40735 fi
40736 fi
40737
40738
40739
40740
40741 LIBS="$ac_save_LIBS"
40742 CXXFLAGS="$ac_save_CXXFLAGS"
40743
40744
40745 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40746 ac_save_CXXFLAGS="$CXXFLAGS"
40747 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40748
40749
40750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40751 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40752 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40753 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40754 $as_echo_n "(cached) " >&6
40755 else
40756
40757
40758 ac_ext=cpp
40759 ac_cpp='$CXXCPP $CPPFLAGS'
40760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40763
40764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40765 /* end confdefs.h. */
40766 #include <stdlib.h>
40767 int
40768 main ()
40769 {
40770 at_quick_exit(0);
40771 ;
40772 return 0;
40773 }
40774 _ACEOF
40775 if ac_fn_cxx_try_compile "$LINENO"; then :
40776 glibcxx_cv_func_at_quick_exit_use=yes
40777 else
40778 glibcxx_cv_func_at_quick_exit_use=no
40779 fi
40780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40781 ac_ext=c
40782 ac_cpp='$CPP $CPPFLAGS'
40783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40786
40787
40788 fi
40789
40790 fi
40791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40792 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40793 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40794 for ac_func in at_quick_exit
40795 do :
40796 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40797 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40798 cat >>confdefs.h <<_ACEOF
40799 #define HAVE_AT_QUICK_EXIT 1
40800 _ACEOF
40801
40802 fi
40803 done
40804
40805 fi
40806
40807
40808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40809 $as_echo_n "checking for quick_exit declaration... " >&6; }
40810 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40811 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40812 $as_echo_n "(cached) " >&6
40813 else
40814
40815
40816 ac_ext=cpp
40817 ac_cpp='$CXXCPP $CPPFLAGS'
40818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40821
40822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40823 /* end confdefs.h. */
40824 #include <stdlib.h>
40825 int
40826 main ()
40827 {
40828 quick_exit(0);
40829 ;
40830 return 0;
40831 }
40832 _ACEOF
40833 if ac_fn_cxx_try_compile "$LINENO"; then :
40834 glibcxx_cv_func_quick_exit_use=yes
40835 else
40836 glibcxx_cv_func_quick_exit_use=no
40837 fi
40838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40839 ac_ext=c
40840 ac_cpp='$CPP $CPPFLAGS'
40841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40844
40845
40846 fi
40847
40848 fi
40849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40850 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40851 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40852 for ac_func in quick_exit
40853 do :
40854 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40855 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40856 cat >>confdefs.h <<_ACEOF
40857 #define HAVE_QUICK_EXIT 1
40858 _ACEOF
40859
40860 fi
40861 done
40862
40863 fi
40864
40865
40866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40867 $as_echo_n "checking for strtold declaration... " >&6; }
40868 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40869 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40870 $as_echo_n "(cached) " >&6
40871 else
40872
40873
40874 ac_ext=cpp
40875 ac_cpp='$CXXCPP $CPPFLAGS'
40876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40879
40880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40881 /* end confdefs.h. */
40882 #include <stdlib.h>
40883 int
40884 main ()
40885 {
40886 strtold(0, 0);
40887 ;
40888 return 0;
40889 }
40890 _ACEOF
40891 if ac_fn_cxx_try_compile "$LINENO"; then :
40892 glibcxx_cv_func_strtold_use=yes
40893 else
40894 glibcxx_cv_func_strtold_use=no
40895 fi
40896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40897 ac_ext=c
40898 ac_cpp='$CPP $CPPFLAGS'
40899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40902
40903
40904 fi
40905
40906 fi
40907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40908 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40909 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40910 for ac_func in strtold
40911 do :
40912 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40913 if test "x$ac_cv_func_strtold" = x""yes; then :
40914 cat >>confdefs.h <<_ACEOF
40915 #define HAVE_STRTOLD 1
40916 _ACEOF
40917
40918 fi
40919 done
40920
40921 fi
40922
40923
40924
40925
40926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40927 $as_echo_n "checking for strtof declaration... " >&6; }
40928 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40929 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40930 $as_echo_n "(cached) " >&6
40931 else
40932
40933
40934 ac_ext=cpp
40935 ac_cpp='$CXXCPP $CPPFLAGS'
40936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40939
40940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40941 /* end confdefs.h. */
40942 #include <stdlib.h>
40943 int
40944 main ()
40945 {
40946 strtof(0, 0);
40947 ;
40948 return 0;
40949 }
40950 _ACEOF
40951 if ac_fn_cxx_try_compile "$LINENO"; then :
40952 glibcxx_cv_func_strtof_use=yes
40953 else
40954 glibcxx_cv_func_strtof_use=no
40955 fi
40956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40957 ac_ext=c
40958 ac_cpp='$CPP $CPPFLAGS'
40959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40962
40963
40964 fi
40965
40966 fi
40967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40968 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40969 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40970 for ac_func in strtof
40971 do :
40972 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40973 if test "x$ac_cv_func_strtof" = x""yes; then :
40974 cat >>confdefs.h <<_ACEOF
40975 #define HAVE_STRTOF 1
40976 _ACEOF
40977
40978 fi
40979 done
40980
40981 fi
40982
40983
40984
40985
40986 CXXFLAGS="$ac_save_CXXFLAGS"
40987
40988
40989
40990
40991
40992
40993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40994 $as_echo_n "checking for iconv... " >&6; }
40995 if test "${am_cv_func_iconv+set}" = set; then :
40996 $as_echo_n "(cached) " >&6
40997 else
40998
40999 am_cv_func_iconv="no, consider installing GNU libiconv"
41000 am_cv_lib_iconv=no
41001 am_save_CPPFLAGS="$CPPFLAGS"
41002 CPPFLAGS="$CPPFLAGS $INCICONV"
41003 if test x$gcc_no_link = xyes; then
41004 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41005 fi
41006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41007 /* end confdefs.h. */
41008 #include <stdlib.h>
41009 #include <iconv.h>
41010 int
41011 main ()
41012 {
41013 iconv_t cd = iconv_open("","");
41014 iconv(cd,NULL,NULL,NULL,NULL);
41015 iconv_close(cd);
41016 ;
41017 return 0;
41018 }
41019 _ACEOF
41020 if ac_fn_c_try_link "$LINENO"; then :
41021 am_cv_func_iconv=yes
41022 fi
41023 rm -f core conftest.err conftest.$ac_objext \
41024 conftest$ac_exeext conftest.$ac_ext
41025 CPPFLAGS="$am_save_CPPFLAGS"
41026
41027 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41028 for _libs in .libs _libs; do
41029 am_save_CPPFLAGS="$CPPFLAGS"
41030 am_save_LIBS="$LIBS"
41031 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41032 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41033 if test x$gcc_no_link = xyes; then
41034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41035 fi
41036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41037 /* end confdefs.h. */
41038 #include <stdlib.h>
41039 #include <iconv.h>
41040 int
41041 main ()
41042 {
41043 iconv_t cd = iconv_open("","");
41044 iconv(cd,NULL,NULL,NULL,NULL);
41045 iconv_close(cd);
41046 ;
41047 return 0;
41048 }
41049 _ACEOF
41050 if ac_fn_c_try_link "$LINENO"; then :
41051 INCICONV="-I../libiconv/include"
41052 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41053 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41054 am_cv_lib_iconv=yes
41055 am_cv_func_iconv=yes
41056 fi
41057 rm -f core conftest.err conftest.$ac_objext \
41058 conftest$ac_exeext conftest.$ac_ext
41059 CPPFLAGS="$am_save_CPPFLAGS"
41060 LIBS="$am_save_LIBS"
41061 if test "$am_cv_func_iconv" = "yes"; then
41062 break
41063 fi
41064 done
41065 fi
41066
41067 if test "$am_cv_func_iconv" != yes; then
41068 am_save_CPPFLAGS="$CPPFLAGS"
41069 am_save_LIBS="$LIBS"
41070 CPPFLAGS="$LIBS $INCICONV"
41071 LIBS="$LIBS $LIBICONV"
41072 if test x$gcc_no_link = xyes; then
41073 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41074 fi
41075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41076 /* end confdefs.h. */
41077 #include <stdlib.h>
41078 #include <iconv.h>
41079 int
41080 main ()
41081 {
41082 iconv_t cd = iconv_open("","");
41083 iconv(cd,NULL,NULL,NULL,NULL);
41084 iconv_close(cd);
41085 ;
41086 return 0;
41087 }
41088 _ACEOF
41089 if ac_fn_c_try_link "$LINENO"; then :
41090 am_cv_lib_iconv=yes
41091 am_cv_func_iconv=yes
41092 fi
41093 rm -f core conftest.err conftest.$ac_objext \
41094 conftest$ac_exeext conftest.$ac_ext
41095 CPPFLAGS="$am_save_CPPFLAGS"
41096 LIBS="$am_save_LIBS"
41097 fi
41098
41099 fi
41100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41101 $as_echo "$am_cv_func_iconv" >&6; }
41102 if test "$am_cv_func_iconv" = yes; then
41103
41104 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41105
41106 fi
41107 if test "$am_cv_lib_iconv" = yes; then
41108
41109 for element in $INCICONV; do
41110 haveit=
41111 for x in $CPPFLAGS; do
41112
41113 acl_save_prefix="$prefix"
41114 prefix="$acl_final_prefix"
41115 acl_save_exec_prefix="$exec_prefix"
41116 exec_prefix="$acl_final_exec_prefix"
41117 eval x=\"$x\"
41118 exec_prefix="$acl_save_exec_prefix"
41119 prefix="$acl_save_prefix"
41120
41121 if test "X$x" = "X$element"; then
41122 haveit=yes
41123 break
41124 fi
41125 done
41126 if test -z "$haveit"; then
41127 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41128 fi
41129 done
41130
41131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41132 $as_echo_n "checking how to link with libiconv... " >&6; }
41133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41134 $as_echo "$LIBICONV" >&6; }
41135 else
41136 LIBICONV=
41137 LTLIBICONV=
41138 fi
41139
41140
41141
41142 if test "$am_cv_func_iconv" = yes; then
41143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41144 $as_echo_n "checking for iconv declaration... " >&6; }
41145 if test "${am_cv_proto_iconv+set}" = set; then :
41146 $as_echo_n "(cached) " >&6
41147 else
41148
41149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41150 /* end confdefs.h. */
41151
41152 #include <stdlib.h>
41153 #include <iconv.h>
41154 extern
41155 #ifdef __cplusplus
41156 "C"
41157 #endif
41158 #if defined(__STDC__) || defined(__cplusplus)
41159 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41160 #else
41161 size_t iconv();
41162 #endif
41163
41164 int
41165 main ()
41166 {
41167
41168 ;
41169 return 0;
41170 }
41171 _ACEOF
41172 if ac_fn_c_try_compile "$LINENO"; then :
41173 am_cv_proto_iconv_arg1=""
41174 else
41175 am_cv_proto_iconv_arg1="const"
41176 fi
41177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41178 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);"
41179 fi
41180
41181 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41183 }$am_cv_proto_iconv" >&5
41184 $as_echo "${ac_t:-
41185 }$am_cv_proto_iconv" >&6; }
41186
41187 cat >>confdefs.h <<_ACEOF
41188 #define ICONV_CONST $am_cv_proto_iconv_arg1
41189 _ACEOF
41190
41191 fi
41192
41193 ;;
41194
41195 *-aix*)
41196
41197 # If we're not using GNU ld, then there's no point in even trying these
41198 # tests. Check for that first. We should have already tested for gld
41199 # by now (in libtool), but require it now just to be safe...
41200 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41201 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41202
41203
41204
41205 # The name set by libtool depends on the version of libtool. Shame on us
41206 # for depending on an impl detail, but c'est la vie. Older versions used
41207 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41208 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41209 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41210 # set (hence we're using an older libtool), then set it.
41211 if test x${with_gnu_ld+set} != xset; then
41212 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41213 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41214 with_gnu_ld=no
41215 else
41216 with_gnu_ld=$ac_cv_prog_gnu_ld
41217 fi
41218 fi
41219
41220 # Start by getting the version number. I think the libtool test already
41221 # does some of this, but throws away the result.
41222 glibcxx_ld_is_gold=no
41223 if test x"$with_gnu_ld" = x"yes"; then
41224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41225 $as_echo_n "checking for ld version... " >&6; }
41226
41227 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41228 glibcxx_ld_is_gold=yes
41229 fi
41230 ldver=`$LD --version 2>/dev/null |
41231 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'`
41232
41233 glibcxx_gnu_ld_version=`echo $ldver | \
41234 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41236 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41237 fi
41238
41239 # Set --gc-sections.
41240 glibcxx_have_gc_sections=no
41241 if test "$glibcxx_ld_is_gold" = "yes"; then
41242 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41243 glibcxx_have_gc_sections=yes
41244 fi
41245 else
41246 glibcxx_gcsections_min_ld=21602
41247 if test x"$with_gnu_ld" = x"yes" &&
41248 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41249 glibcxx_have_gc_sections=yes
41250 fi
41251 fi
41252 if test "$glibcxx_have_gc_sections" = "yes"; then
41253 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41254 # NB: This flag only works reliably after 2.16.1. Configure tests
41255 # for this are difficult, so hard wire a value that should work.
41256
41257 ac_test_CFLAGS="${CFLAGS+set}"
41258 ac_save_CFLAGS="$CFLAGS"
41259 CFLAGS='-Wl,--gc-sections'
41260
41261 # Check for -Wl,--gc-sections
41262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41263 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41264 if test x$gcc_no_link = xyes; then
41265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41266 fi
41267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41268 /* end confdefs.h. */
41269 int one(void) { return 1; }
41270 int two(void) { return 2; }
41271
41272 int
41273 main ()
41274 {
41275 two();
41276 ;
41277 return 0;
41278 }
41279 _ACEOF
41280 if ac_fn_c_try_link "$LINENO"; then :
41281 ac_gcsections=yes
41282 else
41283 ac_gcsections=no
41284 fi
41285 rm -f core conftest.err conftest.$ac_objext \
41286 conftest$ac_exeext conftest.$ac_ext
41287 if test "$ac_gcsections" = "yes"; then
41288 rm -f conftest.c
41289 touch conftest.c
41290 if $CC -c conftest.c; then
41291 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41292 grep "Warning: gc-sections option ignored" > /dev/null; then
41293 ac_gcsections=no
41294 fi
41295 fi
41296 rm -f conftest.c conftest.o conftest
41297 fi
41298 if test "$ac_gcsections" = "yes"; then
41299 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41300 fi
41301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41302 $as_echo "$ac_gcsections" >&6; }
41303
41304 if test "$ac_test_CFLAGS" = set; then
41305 CFLAGS="$ac_save_CFLAGS"
41306 else
41307 # this is the suspicious part
41308 CFLAGS=''
41309 fi
41310 fi
41311
41312 # Set -z,relro.
41313 # Note this is only for shared objects.
41314 ac_ld_relro=no
41315 if test x"$with_gnu_ld" = x"yes"; then
41316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41317 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41318 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41319 if test -n "$cxx_z_relo"; then
41320 OPT_LDFLAGS="-Wl,-z,relro"
41321 ac_ld_relro=yes
41322 fi
41323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41324 $as_echo "$ac_ld_relro" >&6; }
41325 fi
41326
41327 # Set linker optimization flags.
41328 if test x"$with_gnu_ld" = x"yes"; then
41329 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41330 fi
41331
41332
41333
41334
41335
41336 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41337 ac_save_CXXFLAGS="$CXXFLAGS"
41338 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41339
41340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41341 $as_echo_n "checking for sin in -lm... " >&6; }
41342 if test "${ac_cv_lib_m_sin+set}" = set; then :
41343 $as_echo_n "(cached) " >&6
41344 else
41345 ac_check_lib_save_LIBS=$LIBS
41346 LIBS="-lm $LIBS"
41347 if test x$gcc_no_link = xyes; then
41348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41349 fi
41350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41351 /* end confdefs.h. */
41352
41353 /* Override any GCC internal prototype to avoid an error.
41354 Use char because int might match the return type of a GCC
41355 builtin and then its argument prototype would still apply. */
41356 #ifdef __cplusplus
41357 extern "C"
41358 #endif
41359 char sin ();
41360 int
41361 main ()
41362 {
41363 return sin ();
41364 ;
41365 return 0;
41366 }
41367 _ACEOF
41368 if ac_fn_c_try_link "$LINENO"; then :
41369 ac_cv_lib_m_sin=yes
41370 else
41371 ac_cv_lib_m_sin=no
41372 fi
41373 rm -f core conftest.err conftest.$ac_objext \
41374 conftest$ac_exeext conftest.$ac_ext
41375 LIBS=$ac_check_lib_save_LIBS
41376 fi
41377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41378 $as_echo "$ac_cv_lib_m_sin" >&6; }
41379 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41380 libm="-lm"
41381 fi
41382
41383 ac_save_LIBS="$LIBS"
41384 LIBS="$LIBS $libm"
41385
41386
41387
41388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41389 $as_echo_n "checking for isinf declaration... " >&6; }
41390 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41391 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41392 $as_echo_n "(cached) " >&6
41393 else
41394
41395
41396 ac_ext=cpp
41397 ac_cpp='$CXXCPP $CPPFLAGS'
41398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41401
41402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41403 /* end confdefs.h. */
41404 #include <math.h>
41405 #ifdef HAVE_IEEEFP_H
41406 #include <ieeefp.h>
41407 #endif
41408
41409 int
41410 main ()
41411 {
41412 isinf(0);
41413 ;
41414 return 0;
41415 }
41416 _ACEOF
41417 if ac_fn_cxx_try_compile "$LINENO"; then :
41418 glibcxx_cv_func_isinf_use=yes
41419 else
41420 glibcxx_cv_func_isinf_use=no
41421 fi
41422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41423 ac_ext=c
41424 ac_cpp='$CPP $CPPFLAGS'
41425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41428
41429
41430 fi
41431
41432 fi
41433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41434 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41435
41436 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41437 for ac_func in isinf
41438 do :
41439 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41440 if test "x$ac_cv_func_isinf" = x""yes; then :
41441 cat >>confdefs.h <<_ACEOF
41442 #define HAVE_ISINF 1
41443 _ACEOF
41444
41445 fi
41446 done
41447
41448 else
41449
41450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41451 $as_echo_n "checking for _isinf declaration... " >&6; }
41452 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41453 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41454 $as_echo_n "(cached) " >&6
41455 else
41456
41457
41458 ac_ext=cpp
41459 ac_cpp='$CXXCPP $CPPFLAGS'
41460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41463
41464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41465 /* end confdefs.h. */
41466 #include <math.h>
41467 #ifdef HAVE_IEEEFP_H
41468 #include <ieeefp.h>
41469 #endif
41470
41471 int
41472 main ()
41473 {
41474 _isinf(0);
41475 ;
41476 return 0;
41477 }
41478 _ACEOF
41479 if ac_fn_cxx_try_compile "$LINENO"; then :
41480 glibcxx_cv_func__isinf_use=yes
41481 else
41482 glibcxx_cv_func__isinf_use=no
41483 fi
41484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41485 ac_ext=c
41486 ac_cpp='$CPP $CPPFLAGS'
41487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41490
41491
41492 fi
41493
41494 fi
41495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41496 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41497
41498 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41499 for ac_func in _isinf
41500 do :
41501 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41502 if test "x$ac_cv_func__isinf" = x""yes; then :
41503 cat >>confdefs.h <<_ACEOF
41504 #define HAVE__ISINF 1
41505 _ACEOF
41506
41507 fi
41508 done
41509
41510 fi
41511 fi
41512
41513
41514
41515
41516
41517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41518 $as_echo_n "checking for isnan declaration... " >&6; }
41519 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41520 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41521 $as_echo_n "(cached) " >&6
41522 else
41523
41524
41525 ac_ext=cpp
41526 ac_cpp='$CXXCPP $CPPFLAGS'
41527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41530
41531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41532 /* end confdefs.h. */
41533 #include <math.h>
41534 #ifdef HAVE_IEEEFP_H
41535 #include <ieeefp.h>
41536 #endif
41537
41538 int
41539 main ()
41540 {
41541 isnan(0);
41542 ;
41543 return 0;
41544 }
41545 _ACEOF
41546 if ac_fn_cxx_try_compile "$LINENO"; then :
41547 glibcxx_cv_func_isnan_use=yes
41548 else
41549 glibcxx_cv_func_isnan_use=no
41550 fi
41551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41552 ac_ext=c
41553 ac_cpp='$CPP $CPPFLAGS'
41554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41557
41558
41559 fi
41560
41561 fi
41562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41563 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41564
41565 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41566 for ac_func in isnan
41567 do :
41568 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41569 if test "x$ac_cv_func_isnan" = x""yes; then :
41570 cat >>confdefs.h <<_ACEOF
41571 #define HAVE_ISNAN 1
41572 _ACEOF
41573
41574 fi
41575 done
41576
41577 else
41578
41579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41580 $as_echo_n "checking for _isnan declaration... " >&6; }
41581 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41582 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41583 $as_echo_n "(cached) " >&6
41584 else
41585
41586
41587 ac_ext=cpp
41588 ac_cpp='$CXXCPP $CPPFLAGS'
41589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41592
41593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41594 /* end confdefs.h. */
41595 #include <math.h>
41596 #ifdef HAVE_IEEEFP_H
41597 #include <ieeefp.h>
41598 #endif
41599
41600 int
41601 main ()
41602 {
41603 _isnan(0);
41604 ;
41605 return 0;
41606 }
41607 _ACEOF
41608 if ac_fn_cxx_try_compile "$LINENO"; then :
41609 glibcxx_cv_func__isnan_use=yes
41610 else
41611 glibcxx_cv_func__isnan_use=no
41612 fi
41613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41614 ac_ext=c
41615 ac_cpp='$CPP $CPPFLAGS'
41616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41619
41620
41621 fi
41622
41623 fi
41624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41625 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41626
41627 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41628 for ac_func in _isnan
41629 do :
41630 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41631 if test "x$ac_cv_func__isnan" = x""yes; then :
41632 cat >>confdefs.h <<_ACEOF
41633 #define HAVE__ISNAN 1
41634 _ACEOF
41635
41636 fi
41637 done
41638
41639 fi
41640 fi
41641
41642
41643
41644
41645
41646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41647 $as_echo_n "checking for finite declaration... " >&6; }
41648 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41649 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41650 $as_echo_n "(cached) " >&6
41651 else
41652
41653
41654 ac_ext=cpp
41655 ac_cpp='$CXXCPP $CPPFLAGS'
41656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41659
41660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41661 /* end confdefs.h. */
41662 #include <math.h>
41663 #ifdef HAVE_IEEEFP_H
41664 #include <ieeefp.h>
41665 #endif
41666
41667 int
41668 main ()
41669 {
41670 finite(0);
41671 ;
41672 return 0;
41673 }
41674 _ACEOF
41675 if ac_fn_cxx_try_compile "$LINENO"; then :
41676 glibcxx_cv_func_finite_use=yes
41677 else
41678 glibcxx_cv_func_finite_use=no
41679 fi
41680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41681 ac_ext=c
41682 ac_cpp='$CPP $CPPFLAGS'
41683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41686
41687
41688 fi
41689
41690 fi
41691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41692 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41693
41694 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41695 for ac_func in finite
41696 do :
41697 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41698 if test "x$ac_cv_func_finite" = x""yes; then :
41699 cat >>confdefs.h <<_ACEOF
41700 #define HAVE_FINITE 1
41701 _ACEOF
41702
41703 fi
41704 done
41705
41706 else
41707
41708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41709 $as_echo_n "checking for _finite declaration... " >&6; }
41710 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41711 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41712 $as_echo_n "(cached) " >&6
41713 else
41714
41715
41716 ac_ext=cpp
41717 ac_cpp='$CXXCPP $CPPFLAGS'
41718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41721
41722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41723 /* end confdefs.h. */
41724 #include <math.h>
41725 #ifdef HAVE_IEEEFP_H
41726 #include <ieeefp.h>
41727 #endif
41728
41729 int
41730 main ()
41731 {
41732 _finite(0);
41733 ;
41734 return 0;
41735 }
41736 _ACEOF
41737 if ac_fn_cxx_try_compile "$LINENO"; then :
41738 glibcxx_cv_func__finite_use=yes
41739 else
41740 glibcxx_cv_func__finite_use=no
41741 fi
41742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41743 ac_ext=c
41744 ac_cpp='$CPP $CPPFLAGS'
41745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41748
41749
41750 fi
41751
41752 fi
41753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41754 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41755
41756 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41757 for ac_func in _finite
41758 do :
41759 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41760 if test "x$ac_cv_func__finite" = x""yes; then :
41761 cat >>confdefs.h <<_ACEOF
41762 #define HAVE__FINITE 1
41763 _ACEOF
41764
41765 fi
41766 done
41767
41768 fi
41769 fi
41770
41771
41772
41773
41774
41775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41776 $as_echo_n "checking for sincos declaration... " >&6; }
41777 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41778 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41779 $as_echo_n "(cached) " >&6
41780 else
41781
41782
41783 ac_ext=cpp
41784 ac_cpp='$CXXCPP $CPPFLAGS'
41785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41788
41789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41790 /* end confdefs.h. */
41791 #include <math.h>
41792 int
41793 main ()
41794 {
41795 sincos(0, 0, 0);
41796 ;
41797 return 0;
41798 }
41799 _ACEOF
41800 if ac_fn_cxx_try_compile "$LINENO"; then :
41801 glibcxx_cv_func_sincos_use=yes
41802 else
41803 glibcxx_cv_func_sincos_use=no
41804 fi
41805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41806 ac_ext=c
41807 ac_cpp='$CPP $CPPFLAGS'
41808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41811
41812
41813 fi
41814
41815 fi
41816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41817 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41818
41819 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41820 for ac_func in sincos
41821 do :
41822 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41823 if test "x$ac_cv_func_sincos" = x""yes; then :
41824 cat >>confdefs.h <<_ACEOF
41825 #define HAVE_SINCOS 1
41826 _ACEOF
41827
41828 fi
41829 done
41830
41831 else
41832
41833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41834 $as_echo_n "checking for _sincos declaration... " >&6; }
41835 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41836 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41837 $as_echo_n "(cached) " >&6
41838 else
41839
41840
41841 ac_ext=cpp
41842 ac_cpp='$CXXCPP $CPPFLAGS'
41843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41846
41847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41848 /* end confdefs.h. */
41849 #include <math.h>
41850 int
41851 main ()
41852 {
41853 _sincos(0, 0, 0);
41854 ;
41855 return 0;
41856 }
41857 _ACEOF
41858 if ac_fn_cxx_try_compile "$LINENO"; then :
41859 glibcxx_cv_func__sincos_use=yes
41860 else
41861 glibcxx_cv_func__sincos_use=no
41862 fi
41863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41864 ac_ext=c
41865 ac_cpp='$CPP $CPPFLAGS'
41866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41869
41870
41871 fi
41872
41873 fi
41874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41875 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41876
41877 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41878 for ac_func in _sincos
41879 do :
41880 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41881 if test "x$ac_cv_func__sincos" = x""yes; then :
41882 cat >>confdefs.h <<_ACEOF
41883 #define HAVE__SINCOS 1
41884 _ACEOF
41885
41886 fi
41887 done
41888
41889 fi
41890 fi
41891
41892
41893
41894
41895
41896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41897 $as_echo_n "checking for fpclass declaration... " >&6; }
41898 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41899 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41900 $as_echo_n "(cached) " >&6
41901 else
41902
41903
41904 ac_ext=cpp
41905 ac_cpp='$CXXCPP $CPPFLAGS'
41906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41909
41910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41911 /* end confdefs.h. */
41912 #include <math.h>
41913 #ifdef HAVE_IEEEFP_H
41914 #include <ieeefp.h>
41915 #endif
41916
41917 int
41918 main ()
41919 {
41920 fpclass(0);
41921 ;
41922 return 0;
41923 }
41924 _ACEOF
41925 if ac_fn_cxx_try_compile "$LINENO"; then :
41926 glibcxx_cv_func_fpclass_use=yes
41927 else
41928 glibcxx_cv_func_fpclass_use=no
41929 fi
41930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41931 ac_ext=c
41932 ac_cpp='$CPP $CPPFLAGS'
41933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41936
41937
41938 fi
41939
41940 fi
41941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41942 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41943
41944 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41945 for ac_func in fpclass
41946 do :
41947 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41948 if test "x$ac_cv_func_fpclass" = x""yes; then :
41949 cat >>confdefs.h <<_ACEOF
41950 #define HAVE_FPCLASS 1
41951 _ACEOF
41952
41953 fi
41954 done
41955
41956 else
41957
41958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41959 $as_echo_n "checking for _fpclass declaration... " >&6; }
41960 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41961 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41962 $as_echo_n "(cached) " >&6
41963 else
41964
41965
41966 ac_ext=cpp
41967 ac_cpp='$CXXCPP $CPPFLAGS'
41968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41971
41972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41973 /* end confdefs.h. */
41974 #include <math.h>
41975 #ifdef HAVE_IEEEFP_H
41976 #include <ieeefp.h>
41977 #endif
41978
41979 int
41980 main ()
41981 {
41982 _fpclass(0);
41983 ;
41984 return 0;
41985 }
41986 _ACEOF
41987 if ac_fn_cxx_try_compile "$LINENO"; then :
41988 glibcxx_cv_func__fpclass_use=yes
41989 else
41990 glibcxx_cv_func__fpclass_use=no
41991 fi
41992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41993 ac_ext=c
41994 ac_cpp='$CPP $CPPFLAGS'
41995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41998
41999
42000 fi
42001
42002 fi
42003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42004 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42005
42006 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42007 for ac_func in _fpclass
42008 do :
42009 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42010 if test "x$ac_cv_func__fpclass" = x""yes; then :
42011 cat >>confdefs.h <<_ACEOF
42012 #define HAVE__FPCLASS 1
42013 _ACEOF
42014
42015 fi
42016 done
42017
42018 fi
42019 fi
42020
42021
42022
42023
42024
42025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42026 $as_echo_n "checking for qfpclass declaration... " >&6; }
42027 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42028 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42029 $as_echo_n "(cached) " >&6
42030 else
42031
42032
42033 ac_ext=cpp
42034 ac_cpp='$CXXCPP $CPPFLAGS'
42035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42038
42039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42040 /* end confdefs.h. */
42041 #include <math.h>
42042 #ifdef HAVE_IEEEFP_H
42043 #include <ieeefp.h>
42044 #endif
42045
42046 int
42047 main ()
42048 {
42049 qfpclass(0);
42050 ;
42051 return 0;
42052 }
42053 _ACEOF
42054 if ac_fn_cxx_try_compile "$LINENO"; then :
42055 glibcxx_cv_func_qfpclass_use=yes
42056 else
42057 glibcxx_cv_func_qfpclass_use=no
42058 fi
42059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42060 ac_ext=c
42061 ac_cpp='$CPP $CPPFLAGS'
42062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42065
42066
42067 fi
42068
42069 fi
42070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42071 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42072
42073 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42074 for ac_func in qfpclass
42075 do :
42076 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42077 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42078 cat >>confdefs.h <<_ACEOF
42079 #define HAVE_QFPCLASS 1
42080 _ACEOF
42081
42082 fi
42083 done
42084
42085 else
42086
42087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42088 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42089 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42090 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42091 $as_echo_n "(cached) " >&6
42092 else
42093
42094
42095 ac_ext=cpp
42096 ac_cpp='$CXXCPP $CPPFLAGS'
42097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42100
42101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42102 /* end confdefs.h. */
42103 #include <math.h>
42104 #ifdef HAVE_IEEEFP_H
42105 #include <ieeefp.h>
42106 #endif
42107
42108 int
42109 main ()
42110 {
42111 _qfpclass(0);
42112 ;
42113 return 0;
42114 }
42115 _ACEOF
42116 if ac_fn_cxx_try_compile "$LINENO"; then :
42117 glibcxx_cv_func__qfpclass_use=yes
42118 else
42119 glibcxx_cv_func__qfpclass_use=no
42120 fi
42121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42122 ac_ext=c
42123 ac_cpp='$CPP $CPPFLAGS'
42124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42127
42128
42129 fi
42130
42131 fi
42132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42133 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42134
42135 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42136 for ac_func in _qfpclass
42137 do :
42138 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42139 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42140 cat >>confdefs.h <<_ACEOF
42141 #define HAVE__QFPCLASS 1
42142 _ACEOF
42143
42144 fi
42145 done
42146
42147 fi
42148 fi
42149
42150
42151
42152
42153
42154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42155 $as_echo_n "checking for hypot declaration... " >&6; }
42156 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42157 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42158 $as_echo_n "(cached) " >&6
42159 else
42160
42161
42162 ac_ext=cpp
42163 ac_cpp='$CXXCPP $CPPFLAGS'
42164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42167
42168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42169 /* end confdefs.h. */
42170 #include <math.h>
42171 int
42172 main ()
42173 {
42174 hypot(0, 0);
42175 ;
42176 return 0;
42177 }
42178 _ACEOF
42179 if ac_fn_cxx_try_compile "$LINENO"; then :
42180 glibcxx_cv_func_hypot_use=yes
42181 else
42182 glibcxx_cv_func_hypot_use=no
42183 fi
42184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42185 ac_ext=c
42186 ac_cpp='$CPP $CPPFLAGS'
42187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42190
42191
42192 fi
42193
42194 fi
42195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42196 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42197
42198 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42199 for ac_func in hypot
42200 do :
42201 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42202 if test "x$ac_cv_func_hypot" = x""yes; then :
42203 cat >>confdefs.h <<_ACEOF
42204 #define HAVE_HYPOT 1
42205 _ACEOF
42206
42207 fi
42208 done
42209
42210 else
42211
42212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42213 $as_echo_n "checking for _hypot declaration... " >&6; }
42214 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42215 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42216 $as_echo_n "(cached) " >&6
42217 else
42218
42219
42220 ac_ext=cpp
42221 ac_cpp='$CXXCPP $CPPFLAGS'
42222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42225
42226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42227 /* end confdefs.h. */
42228 #include <math.h>
42229 int
42230 main ()
42231 {
42232 _hypot(0, 0);
42233 ;
42234 return 0;
42235 }
42236 _ACEOF
42237 if ac_fn_cxx_try_compile "$LINENO"; then :
42238 glibcxx_cv_func__hypot_use=yes
42239 else
42240 glibcxx_cv_func__hypot_use=no
42241 fi
42242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42243 ac_ext=c
42244 ac_cpp='$CPP $CPPFLAGS'
42245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42248
42249
42250 fi
42251
42252 fi
42253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42254 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42255
42256 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42257 for ac_func in _hypot
42258 do :
42259 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42260 if test "x$ac_cv_func__hypot" = x""yes; then :
42261 cat >>confdefs.h <<_ACEOF
42262 #define HAVE__HYPOT 1
42263 _ACEOF
42264
42265 fi
42266 done
42267
42268 fi
42269 fi
42270
42271
42272
42273
42274
42275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42276 $as_echo_n "checking for float trig functions... " >&6; }
42277 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42278 $as_echo_n "(cached) " >&6
42279 else
42280
42281
42282 ac_ext=cpp
42283 ac_cpp='$CXXCPP $CPPFLAGS'
42284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42287
42288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42289 /* end confdefs.h. */
42290 #include <math.h>
42291 int
42292 main ()
42293 {
42294 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42295 ;
42296 return 0;
42297 }
42298 _ACEOF
42299 if ac_fn_cxx_try_compile "$LINENO"; then :
42300 glibcxx_cv_func_float_trig_use=yes
42301 else
42302 glibcxx_cv_func_float_trig_use=no
42303 fi
42304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42305 ac_ext=c
42306 ac_cpp='$CPP $CPPFLAGS'
42307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42310
42311 fi
42312
42313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42314 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42315 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42316 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42317 do :
42318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42320 eval as_val=\$$as_ac_var
42321 if test "x$as_val" = x""yes; then :
42322 cat >>confdefs.h <<_ACEOF
42323 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42324 _ACEOF
42325
42326 fi
42327 done
42328
42329 else
42330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42331 $as_echo_n "checking for _float trig functions... " >&6; }
42332 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42333 $as_echo_n "(cached) " >&6
42334 else
42335
42336
42337 ac_ext=cpp
42338 ac_cpp='$CXXCPP $CPPFLAGS'
42339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42342
42343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42344 /* end confdefs.h. */
42345 #include <math.h>
42346 int
42347 main ()
42348 {
42349 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42350 ;
42351 return 0;
42352 }
42353 _ACEOF
42354 if ac_fn_cxx_try_compile "$LINENO"; then :
42355 glibcxx_cv_func__float_trig_use=yes
42356 else
42357 glibcxx_cv_func__float_trig_use=no
42358 fi
42359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42360 ac_ext=c
42361 ac_cpp='$CPP $CPPFLAGS'
42362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42365
42366 fi
42367
42368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42369 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42370 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42371 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42372 do :
42373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42375 eval as_val=\$$as_ac_var
42376 if test "x$as_val" = x""yes; then :
42377 cat >>confdefs.h <<_ACEOF
42378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42379 _ACEOF
42380
42381 fi
42382 done
42383
42384 fi
42385 fi
42386
42387
42388
42389
42390
42391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42392 $as_echo_n "checking for float round functions... " >&6; }
42393 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42394 $as_echo_n "(cached) " >&6
42395 else
42396
42397
42398 ac_ext=cpp
42399 ac_cpp='$CXXCPP $CPPFLAGS'
42400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42403
42404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42405 /* end confdefs.h. */
42406 #include <math.h>
42407 int
42408 main ()
42409 {
42410 ceilf (0); floorf (0);
42411 ;
42412 return 0;
42413 }
42414 _ACEOF
42415 if ac_fn_cxx_try_compile "$LINENO"; then :
42416 glibcxx_cv_func_float_round_use=yes
42417 else
42418 glibcxx_cv_func_float_round_use=no
42419 fi
42420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42421 ac_ext=c
42422 ac_cpp='$CPP $CPPFLAGS'
42423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42426
42427 fi
42428
42429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42430 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42431 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42432 for ac_func in ceilf floorf
42433 do :
42434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42436 eval as_val=\$$as_ac_var
42437 if test "x$as_val" = x""yes; then :
42438 cat >>confdefs.h <<_ACEOF
42439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42440 _ACEOF
42441
42442 fi
42443 done
42444
42445 else
42446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42447 $as_echo_n "checking for _float round functions... " >&6; }
42448 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42449 $as_echo_n "(cached) " >&6
42450 else
42451
42452
42453 ac_ext=cpp
42454 ac_cpp='$CXXCPP $CPPFLAGS'
42455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42458
42459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42460 /* end confdefs.h. */
42461 #include <math.h>
42462 int
42463 main ()
42464 {
42465 _ceilf (0); _floorf (0);
42466 ;
42467 return 0;
42468 }
42469 _ACEOF
42470 if ac_fn_cxx_try_compile "$LINENO"; then :
42471 glibcxx_cv_func__float_round_use=yes
42472 else
42473 glibcxx_cv_func__float_round_use=no
42474 fi
42475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42476 ac_ext=c
42477 ac_cpp='$CPP $CPPFLAGS'
42478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42481
42482 fi
42483
42484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42485 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42486 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42487 for ac_func in _ceilf _floorf
42488 do :
42489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42491 eval as_val=\$$as_ac_var
42492 if test "x$as_val" = x""yes; then :
42493 cat >>confdefs.h <<_ACEOF
42494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42495 _ACEOF
42496
42497 fi
42498 done
42499
42500 fi
42501 fi
42502
42503
42504
42505
42506
42507
42508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42509 $as_echo_n "checking for expf declaration... " >&6; }
42510 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42511 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42512 $as_echo_n "(cached) " >&6
42513 else
42514
42515
42516 ac_ext=cpp
42517 ac_cpp='$CXXCPP $CPPFLAGS'
42518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42521
42522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42523 /* end confdefs.h. */
42524 #include <math.h>
42525 #ifdef HAVE_IEEEFP_H
42526 #include <ieeefp.h>
42527 #endif
42528
42529 int
42530 main ()
42531 {
42532 expf(0);
42533 ;
42534 return 0;
42535 }
42536 _ACEOF
42537 if ac_fn_cxx_try_compile "$LINENO"; then :
42538 glibcxx_cv_func_expf_use=yes
42539 else
42540 glibcxx_cv_func_expf_use=no
42541 fi
42542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42543 ac_ext=c
42544 ac_cpp='$CPP $CPPFLAGS'
42545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42548
42549
42550 fi
42551
42552 fi
42553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42554 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42555
42556 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42557 for ac_func in expf
42558 do :
42559 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42560 if test "x$ac_cv_func_expf" = x""yes; then :
42561 cat >>confdefs.h <<_ACEOF
42562 #define HAVE_EXPF 1
42563 _ACEOF
42564
42565 fi
42566 done
42567
42568 else
42569
42570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42571 $as_echo_n "checking for _expf declaration... " >&6; }
42572 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42573 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42574 $as_echo_n "(cached) " >&6
42575 else
42576
42577
42578 ac_ext=cpp
42579 ac_cpp='$CXXCPP $CPPFLAGS'
42580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42583
42584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42585 /* end confdefs.h. */
42586 #include <math.h>
42587 #ifdef HAVE_IEEEFP_H
42588 #include <ieeefp.h>
42589 #endif
42590
42591 int
42592 main ()
42593 {
42594 _expf(0);
42595 ;
42596 return 0;
42597 }
42598 _ACEOF
42599 if ac_fn_cxx_try_compile "$LINENO"; then :
42600 glibcxx_cv_func__expf_use=yes
42601 else
42602 glibcxx_cv_func__expf_use=no
42603 fi
42604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42605 ac_ext=c
42606 ac_cpp='$CPP $CPPFLAGS'
42607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42610
42611
42612 fi
42613
42614 fi
42615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42616 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42617
42618 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42619 for ac_func in _expf
42620 do :
42621 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42622 if test "x$ac_cv_func__expf" = x""yes; then :
42623 cat >>confdefs.h <<_ACEOF
42624 #define HAVE__EXPF 1
42625 _ACEOF
42626
42627 fi
42628 done
42629
42630 fi
42631 fi
42632
42633
42634
42635
42636
42637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42638 $as_echo_n "checking for isnanf declaration... " >&6; }
42639 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42640 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42641 $as_echo_n "(cached) " >&6
42642 else
42643
42644
42645 ac_ext=cpp
42646 ac_cpp='$CXXCPP $CPPFLAGS'
42647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42650
42651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42652 /* end confdefs.h. */
42653 #include <math.h>
42654 #ifdef HAVE_IEEEFP_H
42655 #include <ieeefp.h>
42656 #endif
42657
42658 int
42659 main ()
42660 {
42661 isnanf(0);
42662 ;
42663 return 0;
42664 }
42665 _ACEOF
42666 if ac_fn_cxx_try_compile "$LINENO"; then :
42667 glibcxx_cv_func_isnanf_use=yes
42668 else
42669 glibcxx_cv_func_isnanf_use=no
42670 fi
42671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42672 ac_ext=c
42673 ac_cpp='$CPP $CPPFLAGS'
42674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42677
42678
42679 fi
42680
42681 fi
42682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42683 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42684
42685 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42686 for ac_func in isnanf
42687 do :
42688 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42689 if test "x$ac_cv_func_isnanf" = x""yes; then :
42690 cat >>confdefs.h <<_ACEOF
42691 #define HAVE_ISNANF 1
42692 _ACEOF
42693
42694 fi
42695 done
42696
42697 else
42698
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42700 $as_echo_n "checking for _isnanf declaration... " >&6; }
42701 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42702 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42703 $as_echo_n "(cached) " >&6
42704 else
42705
42706
42707 ac_ext=cpp
42708 ac_cpp='$CXXCPP $CPPFLAGS'
42709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42712
42713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42714 /* end confdefs.h. */
42715 #include <math.h>
42716 #ifdef HAVE_IEEEFP_H
42717 #include <ieeefp.h>
42718 #endif
42719
42720 int
42721 main ()
42722 {
42723 _isnanf(0);
42724 ;
42725 return 0;
42726 }
42727 _ACEOF
42728 if ac_fn_cxx_try_compile "$LINENO"; then :
42729 glibcxx_cv_func__isnanf_use=yes
42730 else
42731 glibcxx_cv_func__isnanf_use=no
42732 fi
42733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42734 ac_ext=c
42735 ac_cpp='$CPP $CPPFLAGS'
42736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42739
42740
42741 fi
42742
42743 fi
42744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42745 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42746
42747 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42748 for ac_func in _isnanf
42749 do :
42750 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42751 if test "x$ac_cv_func__isnanf" = x""yes; then :
42752 cat >>confdefs.h <<_ACEOF
42753 #define HAVE__ISNANF 1
42754 _ACEOF
42755
42756 fi
42757 done
42758
42759 fi
42760 fi
42761
42762
42763
42764
42765
42766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42767 $as_echo_n "checking for isinff declaration... " >&6; }
42768 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42769 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42770 $as_echo_n "(cached) " >&6
42771 else
42772
42773
42774 ac_ext=cpp
42775 ac_cpp='$CXXCPP $CPPFLAGS'
42776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42779
42780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42781 /* end confdefs.h. */
42782 #include <math.h>
42783 #ifdef HAVE_IEEEFP_H
42784 #include <ieeefp.h>
42785 #endif
42786
42787 int
42788 main ()
42789 {
42790 isinff(0);
42791 ;
42792 return 0;
42793 }
42794 _ACEOF
42795 if ac_fn_cxx_try_compile "$LINENO"; then :
42796 glibcxx_cv_func_isinff_use=yes
42797 else
42798 glibcxx_cv_func_isinff_use=no
42799 fi
42800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42801 ac_ext=c
42802 ac_cpp='$CPP $CPPFLAGS'
42803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42806
42807
42808 fi
42809
42810 fi
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42812 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42813
42814 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42815 for ac_func in isinff
42816 do :
42817 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42818 if test "x$ac_cv_func_isinff" = x""yes; then :
42819 cat >>confdefs.h <<_ACEOF
42820 #define HAVE_ISINFF 1
42821 _ACEOF
42822
42823 fi
42824 done
42825
42826 else
42827
42828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42829 $as_echo_n "checking for _isinff declaration... " >&6; }
42830 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42831 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42832 $as_echo_n "(cached) " >&6
42833 else
42834
42835
42836 ac_ext=cpp
42837 ac_cpp='$CXXCPP $CPPFLAGS'
42838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42841
42842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42843 /* end confdefs.h. */
42844 #include <math.h>
42845 #ifdef HAVE_IEEEFP_H
42846 #include <ieeefp.h>
42847 #endif
42848
42849 int
42850 main ()
42851 {
42852 _isinff(0);
42853 ;
42854 return 0;
42855 }
42856 _ACEOF
42857 if ac_fn_cxx_try_compile "$LINENO"; then :
42858 glibcxx_cv_func__isinff_use=yes
42859 else
42860 glibcxx_cv_func__isinff_use=no
42861 fi
42862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42863 ac_ext=c
42864 ac_cpp='$CPP $CPPFLAGS'
42865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42868
42869
42870 fi
42871
42872 fi
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42874 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42875
42876 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42877 for ac_func in _isinff
42878 do :
42879 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42880 if test "x$ac_cv_func__isinff" = x""yes; then :
42881 cat >>confdefs.h <<_ACEOF
42882 #define HAVE__ISINFF 1
42883 _ACEOF
42884
42885 fi
42886 done
42887
42888 fi
42889 fi
42890
42891
42892
42893
42894
42895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42896 $as_echo_n "checking for atan2f declaration... " >&6; }
42897 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42898 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42899 $as_echo_n "(cached) " >&6
42900 else
42901
42902
42903 ac_ext=cpp
42904 ac_cpp='$CXXCPP $CPPFLAGS'
42905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42908
42909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42910 /* end confdefs.h. */
42911 #include <math.h>
42912 int
42913 main ()
42914 {
42915 atan2f(0, 0);
42916 ;
42917 return 0;
42918 }
42919 _ACEOF
42920 if ac_fn_cxx_try_compile "$LINENO"; then :
42921 glibcxx_cv_func_atan2f_use=yes
42922 else
42923 glibcxx_cv_func_atan2f_use=no
42924 fi
42925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42926 ac_ext=c
42927 ac_cpp='$CPP $CPPFLAGS'
42928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42931
42932
42933 fi
42934
42935 fi
42936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42937 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42938
42939 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42940 for ac_func in atan2f
42941 do :
42942 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42943 if test "x$ac_cv_func_atan2f" = x""yes; then :
42944 cat >>confdefs.h <<_ACEOF
42945 #define HAVE_ATAN2F 1
42946 _ACEOF
42947
42948 fi
42949 done
42950
42951 else
42952
42953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42954 $as_echo_n "checking for _atan2f declaration... " >&6; }
42955 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42956 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42957 $as_echo_n "(cached) " >&6
42958 else
42959
42960
42961 ac_ext=cpp
42962 ac_cpp='$CXXCPP $CPPFLAGS'
42963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42966
42967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42968 /* end confdefs.h. */
42969 #include <math.h>
42970 int
42971 main ()
42972 {
42973 _atan2f(0, 0);
42974 ;
42975 return 0;
42976 }
42977 _ACEOF
42978 if ac_fn_cxx_try_compile "$LINENO"; then :
42979 glibcxx_cv_func__atan2f_use=yes
42980 else
42981 glibcxx_cv_func__atan2f_use=no
42982 fi
42983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42984 ac_ext=c
42985 ac_cpp='$CPP $CPPFLAGS'
42986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42989
42990
42991 fi
42992
42993 fi
42994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42995 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42996
42997 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42998 for ac_func in _atan2f
42999 do :
43000 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43001 if test "x$ac_cv_func__atan2f" = x""yes; then :
43002 cat >>confdefs.h <<_ACEOF
43003 #define HAVE__ATAN2F 1
43004 _ACEOF
43005
43006 fi
43007 done
43008
43009 fi
43010 fi
43011
43012
43013
43014
43015
43016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43017 $as_echo_n "checking for fabsf declaration... " >&6; }
43018 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43019 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43020 $as_echo_n "(cached) " >&6
43021 else
43022
43023
43024 ac_ext=cpp
43025 ac_cpp='$CXXCPP $CPPFLAGS'
43026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43029
43030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43031 /* end confdefs.h. */
43032 #include <math.h>
43033 #ifdef HAVE_IEEEFP_H
43034 #include <ieeefp.h>
43035 #endif
43036
43037 int
43038 main ()
43039 {
43040 fabsf(0);
43041 ;
43042 return 0;
43043 }
43044 _ACEOF
43045 if ac_fn_cxx_try_compile "$LINENO"; then :
43046 glibcxx_cv_func_fabsf_use=yes
43047 else
43048 glibcxx_cv_func_fabsf_use=no
43049 fi
43050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43051 ac_ext=c
43052 ac_cpp='$CPP $CPPFLAGS'
43053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43056
43057
43058 fi
43059
43060 fi
43061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43062 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43063
43064 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43065 for ac_func in fabsf
43066 do :
43067 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43068 if test "x$ac_cv_func_fabsf" = x""yes; then :
43069 cat >>confdefs.h <<_ACEOF
43070 #define HAVE_FABSF 1
43071 _ACEOF
43072
43073 fi
43074 done
43075
43076 else
43077
43078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43079 $as_echo_n "checking for _fabsf declaration... " >&6; }
43080 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43081 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43082 $as_echo_n "(cached) " >&6
43083 else
43084
43085
43086 ac_ext=cpp
43087 ac_cpp='$CXXCPP $CPPFLAGS'
43088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43091
43092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43093 /* end confdefs.h. */
43094 #include <math.h>
43095 #ifdef HAVE_IEEEFP_H
43096 #include <ieeefp.h>
43097 #endif
43098
43099 int
43100 main ()
43101 {
43102 _fabsf(0);
43103 ;
43104 return 0;
43105 }
43106 _ACEOF
43107 if ac_fn_cxx_try_compile "$LINENO"; then :
43108 glibcxx_cv_func__fabsf_use=yes
43109 else
43110 glibcxx_cv_func__fabsf_use=no
43111 fi
43112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43113 ac_ext=c
43114 ac_cpp='$CPP $CPPFLAGS'
43115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43118
43119
43120 fi
43121
43122 fi
43123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43124 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43125
43126 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43127 for ac_func in _fabsf
43128 do :
43129 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43130 if test "x$ac_cv_func__fabsf" = x""yes; then :
43131 cat >>confdefs.h <<_ACEOF
43132 #define HAVE__FABSF 1
43133 _ACEOF
43134
43135 fi
43136 done
43137
43138 fi
43139 fi
43140
43141
43142
43143
43144
43145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43146 $as_echo_n "checking for fmodf declaration... " >&6; }
43147 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43148 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43149 $as_echo_n "(cached) " >&6
43150 else
43151
43152
43153 ac_ext=cpp
43154 ac_cpp='$CXXCPP $CPPFLAGS'
43155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43158
43159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43160 /* end confdefs.h. */
43161 #include <math.h>
43162 int
43163 main ()
43164 {
43165 fmodf(0, 0);
43166 ;
43167 return 0;
43168 }
43169 _ACEOF
43170 if ac_fn_cxx_try_compile "$LINENO"; then :
43171 glibcxx_cv_func_fmodf_use=yes
43172 else
43173 glibcxx_cv_func_fmodf_use=no
43174 fi
43175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43176 ac_ext=c
43177 ac_cpp='$CPP $CPPFLAGS'
43178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43181
43182
43183 fi
43184
43185 fi
43186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43187 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43188
43189 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43190 for ac_func in fmodf
43191 do :
43192 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43193 if test "x$ac_cv_func_fmodf" = x""yes; then :
43194 cat >>confdefs.h <<_ACEOF
43195 #define HAVE_FMODF 1
43196 _ACEOF
43197
43198 fi
43199 done
43200
43201 else
43202
43203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43204 $as_echo_n "checking for _fmodf declaration... " >&6; }
43205 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43206 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43207 $as_echo_n "(cached) " >&6
43208 else
43209
43210
43211 ac_ext=cpp
43212 ac_cpp='$CXXCPP $CPPFLAGS'
43213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43216
43217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43218 /* end confdefs.h. */
43219 #include <math.h>
43220 int
43221 main ()
43222 {
43223 _fmodf(0, 0);
43224 ;
43225 return 0;
43226 }
43227 _ACEOF
43228 if ac_fn_cxx_try_compile "$LINENO"; then :
43229 glibcxx_cv_func__fmodf_use=yes
43230 else
43231 glibcxx_cv_func__fmodf_use=no
43232 fi
43233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43234 ac_ext=c
43235 ac_cpp='$CPP $CPPFLAGS'
43236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43239
43240
43241 fi
43242
43243 fi
43244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43245 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43246
43247 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43248 for ac_func in _fmodf
43249 do :
43250 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43251 if test "x$ac_cv_func__fmodf" = x""yes; then :
43252 cat >>confdefs.h <<_ACEOF
43253 #define HAVE__FMODF 1
43254 _ACEOF
43255
43256 fi
43257 done
43258
43259 fi
43260 fi
43261
43262
43263
43264
43265
43266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43267 $as_echo_n "checking for frexpf declaration... " >&6; }
43268 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43269 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43270 $as_echo_n "(cached) " >&6
43271 else
43272
43273
43274 ac_ext=cpp
43275 ac_cpp='$CXXCPP $CPPFLAGS'
43276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43279
43280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43281 /* end confdefs.h. */
43282 #include <math.h>
43283 int
43284 main ()
43285 {
43286 frexpf(0, 0);
43287 ;
43288 return 0;
43289 }
43290 _ACEOF
43291 if ac_fn_cxx_try_compile "$LINENO"; then :
43292 glibcxx_cv_func_frexpf_use=yes
43293 else
43294 glibcxx_cv_func_frexpf_use=no
43295 fi
43296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43297 ac_ext=c
43298 ac_cpp='$CPP $CPPFLAGS'
43299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43302
43303
43304 fi
43305
43306 fi
43307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43308 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43309
43310 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43311 for ac_func in frexpf
43312 do :
43313 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43314 if test "x$ac_cv_func_frexpf" = x""yes; then :
43315 cat >>confdefs.h <<_ACEOF
43316 #define HAVE_FREXPF 1
43317 _ACEOF
43318
43319 fi
43320 done
43321
43322 else
43323
43324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43325 $as_echo_n "checking for _frexpf declaration... " >&6; }
43326 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43327 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43328 $as_echo_n "(cached) " >&6
43329 else
43330
43331
43332 ac_ext=cpp
43333 ac_cpp='$CXXCPP $CPPFLAGS'
43334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43337
43338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43339 /* end confdefs.h. */
43340 #include <math.h>
43341 int
43342 main ()
43343 {
43344 _frexpf(0, 0);
43345 ;
43346 return 0;
43347 }
43348 _ACEOF
43349 if ac_fn_cxx_try_compile "$LINENO"; then :
43350 glibcxx_cv_func__frexpf_use=yes
43351 else
43352 glibcxx_cv_func__frexpf_use=no
43353 fi
43354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43355 ac_ext=c
43356 ac_cpp='$CPP $CPPFLAGS'
43357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43360
43361
43362 fi
43363
43364 fi
43365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43366 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43367
43368 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43369 for ac_func in _frexpf
43370 do :
43371 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43372 if test "x$ac_cv_func__frexpf" = x""yes; then :
43373 cat >>confdefs.h <<_ACEOF
43374 #define HAVE__FREXPF 1
43375 _ACEOF
43376
43377 fi
43378 done
43379
43380 fi
43381 fi
43382
43383
43384
43385
43386
43387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43388 $as_echo_n "checking for hypotf declaration... " >&6; }
43389 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43390 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43391 $as_echo_n "(cached) " >&6
43392 else
43393
43394
43395 ac_ext=cpp
43396 ac_cpp='$CXXCPP $CPPFLAGS'
43397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43400
43401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43402 /* end confdefs.h. */
43403 #include <math.h>
43404 int
43405 main ()
43406 {
43407 hypotf(0, 0);
43408 ;
43409 return 0;
43410 }
43411 _ACEOF
43412 if ac_fn_cxx_try_compile "$LINENO"; then :
43413 glibcxx_cv_func_hypotf_use=yes
43414 else
43415 glibcxx_cv_func_hypotf_use=no
43416 fi
43417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43418 ac_ext=c
43419 ac_cpp='$CPP $CPPFLAGS'
43420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43423
43424
43425 fi
43426
43427 fi
43428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43429 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43430
43431 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43432 for ac_func in hypotf
43433 do :
43434 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43435 if test "x$ac_cv_func_hypotf" = x""yes; then :
43436 cat >>confdefs.h <<_ACEOF
43437 #define HAVE_HYPOTF 1
43438 _ACEOF
43439
43440 fi
43441 done
43442
43443 else
43444
43445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43446 $as_echo_n "checking for _hypotf declaration... " >&6; }
43447 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43448 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43449 $as_echo_n "(cached) " >&6
43450 else
43451
43452
43453 ac_ext=cpp
43454 ac_cpp='$CXXCPP $CPPFLAGS'
43455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43458
43459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43460 /* end confdefs.h. */
43461 #include <math.h>
43462 int
43463 main ()
43464 {
43465 _hypotf(0, 0);
43466 ;
43467 return 0;
43468 }
43469 _ACEOF
43470 if ac_fn_cxx_try_compile "$LINENO"; then :
43471 glibcxx_cv_func__hypotf_use=yes
43472 else
43473 glibcxx_cv_func__hypotf_use=no
43474 fi
43475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43476 ac_ext=c
43477 ac_cpp='$CPP $CPPFLAGS'
43478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43481
43482
43483 fi
43484
43485 fi
43486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43487 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43488
43489 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43490 for ac_func in _hypotf
43491 do :
43492 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43493 if test "x$ac_cv_func__hypotf" = x""yes; then :
43494 cat >>confdefs.h <<_ACEOF
43495 #define HAVE__HYPOTF 1
43496 _ACEOF
43497
43498 fi
43499 done
43500
43501 fi
43502 fi
43503
43504
43505
43506
43507
43508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43509 $as_echo_n "checking for ldexpf declaration... " >&6; }
43510 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43511 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43512 $as_echo_n "(cached) " >&6
43513 else
43514
43515
43516 ac_ext=cpp
43517 ac_cpp='$CXXCPP $CPPFLAGS'
43518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43521
43522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43523 /* end confdefs.h. */
43524 #include <math.h>
43525 int
43526 main ()
43527 {
43528 ldexpf(0, 0);
43529 ;
43530 return 0;
43531 }
43532 _ACEOF
43533 if ac_fn_cxx_try_compile "$LINENO"; then :
43534 glibcxx_cv_func_ldexpf_use=yes
43535 else
43536 glibcxx_cv_func_ldexpf_use=no
43537 fi
43538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43539 ac_ext=c
43540 ac_cpp='$CPP $CPPFLAGS'
43541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43544
43545
43546 fi
43547
43548 fi
43549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43550 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43551
43552 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43553 for ac_func in ldexpf
43554 do :
43555 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43556 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43557 cat >>confdefs.h <<_ACEOF
43558 #define HAVE_LDEXPF 1
43559 _ACEOF
43560
43561 fi
43562 done
43563
43564 else
43565
43566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43567 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43568 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43569 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43570 $as_echo_n "(cached) " >&6
43571 else
43572
43573
43574 ac_ext=cpp
43575 ac_cpp='$CXXCPP $CPPFLAGS'
43576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43579
43580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43581 /* end confdefs.h. */
43582 #include <math.h>
43583 int
43584 main ()
43585 {
43586 _ldexpf(0, 0);
43587 ;
43588 return 0;
43589 }
43590 _ACEOF
43591 if ac_fn_cxx_try_compile "$LINENO"; then :
43592 glibcxx_cv_func__ldexpf_use=yes
43593 else
43594 glibcxx_cv_func__ldexpf_use=no
43595 fi
43596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43597 ac_ext=c
43598 ac_cpp='$CPP $CPPFLAGS'
43599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43602
43603
43604 fi
43605
43606 fi
43607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43608 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43609
43610 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43611 for ac_func in _ldexpf
43612 do :
43613 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43614 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43615 cat >>confdefs.h <<_ACEOF
43616 #define HAVE__LDEXPF 1
43617 _ACEOF
43618
43619 fi
43620 done
43621
43622 fi
43623 fi
43624
43625
43626
43627
43628
43629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43630 $as_echo_n "checking for logf declaration... " >&6; }
43631 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43632 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43633 $as_echo_n "(cached) " >&6
43634 else
43635
43636
43637 ac_ext=cpp
43638 ac_cpp='$CXXCPP $CPPFLAGS'
43639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43642
43643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43644 /* end confdefs.h. */
43645 #include <math.h>
43646 #ifdef HAVE_IEEEFP_H
43647 #include <ieeefp.h>
43648 #endif
43649
43650 int
43651 main ()
43652 {
43653 logf(0);
43654 ;
43655 return 0;
43656 }
43657 _ACEOF
43658 if ac_fn_cxx_try_compile "$LINENO"; then :
43659 glibcxx_cv_func_logf_use=yes
43660 else
43661 glibcxx_cv_func_logf_use=no
43662 fi
43663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43664 ac_ext=c
43665 ac_cpp='$CPP $CPPFLAGS'
43666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43669
43670
43671 fi
43672
43673 fi
43674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43675 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43676
43677 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43678 for ac_func in logf
43679 do :
43680 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43681 if test "x$ac_cv_func_logf" = x""yes; then :
43682 cat >>confdefs.h <<_ACEOF
43683 #define HAVE_LOGF 1
43684 _ACEOF
43685
43686 fi
43687 done
43688
43689 else
43690
43691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43692 $as_echo_n "checking for _logf declaration... " >&6; }
43693 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43694 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43695 $as_echo_n "(cached) " >&6
43696 else
43697
43698
43699 ac_ext=cpp
43700 ac_cpp='$CXXCPP $CPPFLAGS'
43701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43704
43705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43706 /* end confdefs.h. */
43707 #include <math.h>
43708 #ifdef HAVE_IEEEFP_H
43709 #include <ieeefp.h>
43710 #endif
43711
43712 int
43713 main ()
43714 {
43715 _logf(0);
43716 ;
43717 return 0;
43718 }
43719 _ACEOF
43720 if ac_fn_cxx_try_compile "$LINENO"; then :
43721 glibcxx_cv_func__logf_use=yes
43722 else
43723 glibcxx_cv_func__logf_use=no
43724 fi
43725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43726 ac_ext=c
43727 ac_cpp='$CPP $CPPFLAGS'
43728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43731
43732
43733 fi
43734
43735 fi
43736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43737 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43738
43739 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43740 for ac_func in _logf
43741 do :
43742 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43743 if test "x$ac_cv_func__logf" = x""yes; then :
43744 cat >>confdefs.h <<_ACEOF
43745 #define HAVE__LOGF 1
43746 _ACEOF
43747
43748 fi
43749 done
43750
43751 fi
43752 fi
43753
43754
43755
43756
43757
43758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43759 $as_echo_n "checking for log10f declaration... " >&6; }
43760 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43761 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43762 $as_echo_n "(cached) " >&6
43763 else
43764
43765
43766 ac_ext=cpp
43767 ac_cpp='$CXXCPP $CPPFLAGS'
43768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43771
43772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43773 /* end confdefs.h. */
43774 #include <math.h>
43775 #ifdef HAVE_IEEEFP_H
43776 #include <ieeefp.h>
43777 #endif
43778
43779 int
43780 main ()
43781 {
43782 log10f(0);
43783 ;
43784 return 0;
43785 }
43786 _ACEOF
43787 if ac_fn_cxx_try_compile "$LINENO"; then :
43788 glibcxx_cv_func_log10f_use=yes
43789 else
43790 glibcxx_cv_func_log10f_use=no
43791 fi
43792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43793 ac_ext=c
43794 ac_cpp='$CPP $CPPFLAGS'
43795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43798
43799
43800 fi
43801
43802 fi
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43804 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43805
43806 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43807 for ac_func in log10f
43808 do :
43809 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43810 if test "x$ac_cv_func_log10f" = x""yes; then :
43811 cat >>confdefs.h <<_ACEOF
43812 #define HAVE_LOG10F 1
43813 _ACEOF
43814
43815 fi
43816 done
43817
43818 else
43819
43820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43821 $as_echo_n "checking for _log10f declaration... " >&6; }
43822 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43823 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43824 $as_echo_n "(cached) " >&6
43825 else
43826
43827
43828 ac_ext=cpp
43829 ac_cpp='$CXXCPP $CPPFLAGS'
43830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43833
43834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43835 /* end confdefs.h. */
43836 #include <math.h>
43837 #ifdef HAVE_IEEEFP_H
43838 #include <ieeefp.h>
43839 #endif
43840
43841 int
43842 main ()
43843 {
43844 _log10f(0);
43845 ;
43846 return 0;
43847 }
43848 _ACEOF
43849 if ac_fn_cxx_try_compile "$LINENO"; then :
43850 glibcxx_cv_func__log10f_use=yes
43851 else
43852 glibcxx_cv_func__log10f_use=no
43853 fi
43854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43855 ac_ext=c
43856 ac_cpp='$CPP $CPPFLAGS'
43857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43860
43861
43862 fi
43863
43864 fi
43865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43866 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43867
43868 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43869 for ac_func in _log10f
43870 do :
43871 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43872 if test "x$ac_cv_func__log10f" = x""yes; then :
43873 cat >>confdefs.h <<_ACEOF
43874 #define HAVE__LOG10F 1
43875 _ACEOF
43876
43877 fi
43878 done
43879
43880 fi
43881 fi
43882
43883
43884
43885
43886
43887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43888 $as_echo_n "checking for modff declaration... " >&6; }
43889 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43890 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43891 $as_echo_n "(cached) " >&6
43892 else
43893
43894
43895 ac_ext=cpp
43896 ac_cpp='$CXXCPP $CPPFLAGS'
43897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43900
43901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43902 /* end confdefs.h. */
43903 #include <math.h>
43904 int
43905 main ()
43906 {
43907 modff(0, 0);
43908 ;
43909 return 0;
43910 }
43911 _ACEOF
43912 if ac_fn_cxx_try_compile "$LINENO"; then :
43913 glibcxx_cv_func_modff_use=yes
43914 else
43915 glibcxx_cv_func_modff_use=no
43916 fi
43917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43918 ac_ext=c
43919 ac_cpp='$CPP $CPPFLAGS'
43920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43923
43924
43925 fi
43926
43927 fi
43928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43929 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43930
43931 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43932 for ac_func in modff
43933 do :
43934 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43935 if test "x$ac_cv_func_modff" = x""yes; then :
43936 cat >>confdefs.h <<_ACEOF
43937 #define HAVE_MODFF 1
43938 _ACEOF
43939
43940 fi
43941 done
43942
43943 else
43944
43945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43946 $as_echo_n "checking for _modff declaration... " >&6; }
43947 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43948 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43949 $as_echo_n "(cached) " >&6
43950 else
43951
43952
43953 ac_ext=cpp
43954 ac_cpp='$CXXCPP $CPPFLAGS'
43955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43958
43959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43960 /* end confdefs.h. */
43961 #include <math.h>
43962 int
43963 main ()
43964 {
43965 _modff(0, 0);
43966 ;
43967 return 0;
43968 }
43969 _ACEOF
43970 if ac_fn_cxx_try_compile "$LINENO"; then :
43971 glibcxx_cv_func__modff_use=yes
43972 else
43973 glibcxx_cv_func__modff_use=no
43974 fi
43975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43976 ac_ext=c
43977 ac_cpp='$CPP $CPPFLAGS'
43978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43981
43982
43983 fi
43984
43985 fi
43986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43987 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43988
43989 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43990 for ac_func in _modff
43991 do :
43992 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43993 if test "x$ac_cv_func__modff" = x""yes; then :
43994 cat >>confdefs.h <<_ACEOF
43995 #define HAVE__MODFF 1
43996 _ACEOF
43997
43998 fi
43999 done
44000
44001 fi
44002 fi
44003
44004
44005
44006
44007
44008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44009 $as_echo_n "checking for modf declaration... " >&6; }
44010 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44011 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44012 $as_echo_n "(cached) " >&6
44013 else
44014
44015
44016 ac_ext=cpp
44017 ac_cpp='$CXXCPP $CPPFLAGS'
44018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44021
44022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44023 /* end confdefs.h. */
44024 #include <math.h>
44025 int
44026 main ()
44027 {
44028 modf(0, 0);
44029 ;
44030 return 0;
44031 }
44032 _ACEOF
44033 if ac_fn_cxx_try_compile "$LINENO"; then :
44034 glibcxx_cv_func_modf_use=yes
44035 else
44036 glibcxx_cv_func_modf_use=no
44037 fi
44038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44039 ac_ext=c
44040 ac_cpp='$CPP $CPPFLAGS'
44041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44044
44045
44046 fi
44047
44048 fi
44049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44050 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44051
44052 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44053 for ac_func in modf
44054 do :
44055 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44056 if test "x$ac_cv_func_modf" = x""yes; then :
44057 cat >>confdefs.h <<_ACEOF
44058 #define HAVE_MODF 1
44059 _ACEOF
44060
44061 fi
44062 done
44063
44064 else
44065
44066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44067 $as_echo_n "checking for _modf declaration... " >&6; }
44068 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44069 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44070 $as_echo_n "(cached) " >&6
44071 else
44072
44073
44074 ac_ext=cpp
44075 ac_cpp='$CXXCPP $CPPFLAGS'
44076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44079
44080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44081 /* end confdefs.h. */
44082 #include <math.h>
44083 int
44084 main ()
44085 {
44086 _modf(0, 0);
44087 ;
44088 return 0;
44089 }
44090 _ACEOF
44091 if ac_fn_cxx_try_compile "$LINENO"; then :
44092 glibcxx_cv_func__modf_use=yes
44093 else
44094 glibcxx_cv_func__modf_use=no
44095 fi
44096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44097 ac_ext=c
44098 ac_cpp='$CPP $CPPFLAGS'
44099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44102
44103
44104 fi
44105
44106 fi
44107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44108 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44109
44110 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44111 for ac_func in _modf
44112 do :
44113 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44114 if test "x$ac_cv_func__modf" = x""yes; then :
44115 cat >>confdefs.h <<_ACEOF
44116 #define HAVE__MODF 1
44117 _ACEOF
44118
44119 fi
44120 done
44121
44122 fi
44123 fi
44124
44125
44126
44127
44128
44129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44130 $as_echo_n "checking for powf declaration... " >&6; }
44131 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44132 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44133 $as_echo_n "(cached) " >&6
44134 else
44135
44136
44137 ac_ext=cpp
44138 ac_cpp='$CXXCPP $CPPFLAGS'
44139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44142
44143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44144 /* end confdefs.h. */
44145 #include <math.h>
44146 int
44147 main ()
44148 {
44149 powf(0, 0);
44150 ;
44151 return 0;
44152 }
44153 _ACEOF
44154 if ac_fn_cxx_try_compile "$LINENO"; then :
44155 glibcxx_cv_func_powf_use=yes
44156 else
44157 glibcxx_cv_func_powf_use=no
44158 fi
44159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44160 ac_ext=c
44161 ac_cpp='$CPP $CPPFLAGS'
44162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44165
44166
44167 fi
44168
44169 fi
44170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44171 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44172
44173 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44174 for ac_func in powf
44175 do :
44176 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44177 if test "x$ac_cv_func_powf" = x""yes; then :
44178 cat >>confdefs.h <<_ACEOF
44179 #define HAVE_POWF 1
44180 _ACEOF
44181
44182 fi
44183 done
44184
44185 else
44186
44187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44188 $as_echo_n "checking for _powf declaration... " >&6; }
44189 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44190 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44191 $as_echo_n "(cached) " >&6
44192 else
44193
44194
44195 ac_ext=cpp
44196 ac_cpp='$CXXCPP $CPPFLAGS'
44197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44200
44201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44202 /* end confdefs.h. */
44203 #include <math.h>
44204 int
44205 main ()
44206 {
44207 _powf(0, 0);
44208 ;
44209 return 0;
44210 }
44211 _ACEOF
44212 if ac_fn_cxx_try_compile "$LINENO"; then :
44213 glibcxx_cv_func__powf_use=yes
44214 else
44215 glibcxx_cv_func__powf_use=no
44216 fi
44217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44218 ac_ext=c
44219 ac_cpp='$CPP $CPPFLAGS'
44220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44223
44224
44225 fi
44226
44227 fi
44228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44229 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44230
44231 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44232 for ac_func in _powf
44233 do :
44234 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44235 if test "x$ac_cv_func__powf" = x""yes; then :
44236 cat >>confdefs.h <<_ACEOF
44237 #define HAVE__POWF 1
44238 _ACEOF
44239
44240 fi
44241 done
44242
44243 fi
44244 fi
44245
44246
44247
44248
44249
44250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44251 $as_echo_n "checking for sqrtf declaration... " >&6; }
44252 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44253 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44254 $as_echo_n "(cached) " >&6
44255 else
44256
44257
44258 ac_ext=cpp
44259 ac_cpp='$CXXCPP $CPPFLAGS'
44260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44263
44264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44265 /* end confdefs.h. */
44266 #include <math.h>
44267 #ifdef HAVE_IEEEFP_H
44268 #include <ieeefp.h>
44269 #endif
44270
44271 int
44272 main ()
44273 {
44274 sqrtf(0);
44275 ;
44276 return 0;
44277 }
44278 _ACEOF
44279 if ac_fn_cxx_try_compile "$LINENO"; then :
44280 glibcxx_cv_func_sqrtf_use=yes
44281 else
44282 glibcxx_cv_func_sqrtf_use=no
44283 fi
44284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44285 ac_ext=c
44286 ac_cpp='$CPP $CPPFLAGS'
44287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44290
44291
44292 fi
44293
44294 fi
44295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44296 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44297
44298 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44299 for ac_func in sqrtf
44300 do :
44301 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44302 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44303 cat >>confdefs.h <<_ACEOF
44304 #define HAVE_SQRTF 1
44305 _ACEOF
44306
44307 fi
44308 done
44309
44310 else
44311
44312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44313 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44314 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44315 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44316 $as_echo_n "(cached) " >&6
44317 else
44318
44319
44320 ac_ext=cpp
44321 ac_cpp='$CXXCPP $CPPFLAGS'
44322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44325
44326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44327 /* end confdefs.h. */
44328 #include <math.h>
44329 #ifdef HAVE_IEEEFP_H
44330 #include <ieeefp.h>
44331 #endif
44332
44333 int
44334 main ()
44335 {
44336 _sqrtf(0);
44337 ;
44338 return 0;
44339 }
44340 _ACEOF
44341 if ac_fn_cxx_try_compile "$LINENO"; then :
44342 glibcxx_cv_func__sqrtf_use=yes
44343 else
44344 glibcxx_cv_func__sqrtf_use=no
44345 fi
44346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44347 ac_ext=c
44348 ac_cpp='$CPP $CPPFLAGS'
44349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44352
44353
44354 fi
44355
44356 fi
44357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44358 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44359
44360 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44361 for ac_func in _sqrtf
44362 do :
44363 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44364 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44365 cat >>confdefs.h <<_ACEOF
44366 #define HAVE__SQRTF 1
44367 _ACEOF
44368
44369 fi
44370 done
44371
44372 fi
44373 fi
44374
44375
44376
44377
44378
44379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44380 $as_echo_n "checking for sincosf declaration... " >&6; }
44381 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44382 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44383 $as_echo_n "(cached) " >&6
44384 else
44385
44386
44387 ac_ext=cpp
44388 ac_cpp='$CXXCPP $CPPFLAGS'
44389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44392
44393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44394 /* end confdefs.h. */
44395 #include <math.h>
44396 int
44397 main ()
44398 {
44399 sincosf(0, 0, 0);
44400 ;
44401 return 0;
44402 }
44403 _ACEOF
44404 if ac_fn_cxx_try_compile "$LINENO"; then :
44405 glibcxx_cv_func_sincosf_use=yes
44406 else
44407 glibcxx_cv_func_sincosf_use=no
44408 fi
44409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44410 ac_ext=c
44411 ac_cpp='$CPP $CPPFLAGS'
44412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44415
44416
44417 fi
44418
44419 fi
44420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44421 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44422
44423 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44424 for ac_func in sincosf
44425 do :
44426 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44427 if test "x$ac_cv_func_sincosf" = x""yes; then :
44428 cat >>confdefs.h <<_ACEOF
44429 #define HAVE_SINCOSF 1
44430 _ACEOF
44431
44432 fi
44433 done
44434
44435 else
44436
44437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44438 $as_echo_n "checking for _sincosf declaration... " >&6; }
44439 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44440 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44441 $as_echo_n "(cached) " >&6
44442 else
44443
44444
44445 ac_ext=cpp
44446 ac_cpp='$CXXCPP $CPPFLAGS'
44447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44450
44451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44452 /* end confdefs.h. */
44453 #include <math.h>
44454 int
44455 main ()
44456 {
44457 _sincosf(0, 0, 0);
44458 ;
44459 return 0;
44460 }
44461 _ACEOF
44462 if ac_fn_cxx_try_compile "$LINENO"; then :
44463 glibcxx_cv_func__sincosf_use=yes
44464 else
44465 glibcxx_cv_func__sincosf_use=no
44466 fi
44467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44468 ac_ext=c
44469 ac_cpp='$CPP $CPPFLAGS'
44470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44473
44474
44475 fi
44476
44477 fi
44478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44479 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44480
44481 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44482 for ac_func in _sincosf
44483 do :
44484 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44485 if test "x$ac_cv_func__sincosf" = x""yes; then :
44486 cat >>confdefs.h <<_ACEOF
44487 #define HAVE__SINCOSF 1
44488 _ACEOF
44489
44490 fi
44491 done
44492
44493 fi
44494 fi
44495
44496
44497
44498
44499
44500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44501 $as_echo_n "checking for finitef declaration... " >&6; }
44502 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44503 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44504 $as_echo_n "(cached) " >&6
44505 else
44506
44507
44508 ac_ext=cpp
44509 ac_cpp='$CXXCPP $CPPFLAGS'
44510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44513
44514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44515 /* end confdefs.h. */
44516 #include <math.h>
44517 #ifdef HAVE_IEEEFP_H
44518 #include <ieeefp.h>
44519 #endif
44520
44521 int
44522 main ()
44523 {
44524 finitef(0);
44525 ;
44526 return 0;
44527 }
44528 _ACEOF
44529 if ac_fn_cxx_try_compile "$LINENO"; then :
44530 glibcxx_cv_func_finitef_use=yes
44531 else
44532 glibcxx_cv_func_finitef_use=no
44533 fi
44534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44535 ac_ext=c
44536 ac_cpp='$CPP $CPPFLAGS'
44537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44540
44541
44542 fi
44543
44544 fi
44545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44546 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44547
44548 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44549 for ac_func in finitef
44550 do :
44551 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44552 if test "x$ac_cv_func_finitef" = x""yes; then :
44553 cat >>confdefs.h <<_ACEOF
44554 #define HAVE_FINITEF 1
44555 _ACEOF
44556
44557 fi
44558 done
44559
44560 else
44561
44562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44563 $as_echo_n "checking for _finitef declaration... " >&6; }
44564 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44565 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44566 $as_echo_n "(cached) " >&6
44567 else
44568
44569
44570 ac_ext=cpp
44571 ac_cpp='$CXXCPP $CPPFLAGS'
44572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44575
44576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44577 /* end confdefs.h. */
44578 #include <math.h>
44579 #ifdef HAVE_IEEEFP_H
44580 #include <ieeefp.h>
44581 #endif
44582
44583 int
44584 main ()
44585 {
44586 _finitef(0);
44587 ;
44588 return 0;
44589 }
44590 _ACEOF
44591 if ac_fn_cxx_try_compile "$LINENO"; then :
44592 glibcxx_cv_func__finitef_use=yes
44593 else
44594 glibcxx_cv_func__finitef_use=no
44595 fi
44596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44597 ac_ext=c
44598 ac_cpp='$CPP $CPPFLAGS'
44599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44602
44603
44604 fi
44605
44606 fi
44607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44608 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44609
44610 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44611 for ac_func in _finitef
44612 do :
44613 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44614 if test "x$ac_cv_func__finitef" = x""yes; then :
44615 cat >>confdefs.h <<_ACEOF
44616 #define HAVE__FINITEF 1
44617 _ACEOF
44618
44619 fi
44620 done
44621
44622 fi
44623 fi
44624
44625
44626
44627
44628
44629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44630 $as_echo_n "checking for long double trig functions... " >&6; }
44631 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44632 $as_echo_n "(cached) " >&6
44633 else
44634
44635
44636 ac_ext=cpp
44637 ac_cpp='$CXXCPP $CPPFLAGS'
44638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44641
44642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44643 /* end confdefs.h. */
44644 #include <math.h>
44645 int
44646 main ()
44647 {
44648 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44649 ;
44650 return 0;
44651 }
44652 _ACEOF
44653 if ac_fn_cxx_try_compile "$LINENO"; then :
44654 glibcxx_cv_func_long_double_trig_use=yes
44655 else
44656 glibcxx_cv_func_long_double_trig_use=no
44657 fi
44658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44659 ac_ext=c
44660 ac_cpp='$CPP $CPPFLAGS'
44661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44664
44665 fi
44666
44667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44668 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44669 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44670 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44671 do :
44672 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44673 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44674 eval as_val=\$$as_ac_var
44675 if test "x$as_val" = x""yes; then :
44676 cat >>confdefs.h <<_ACEOF
44677 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44678 _ACEOF
44679
44680 fi
44681 done
44682
44683 else
44684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44685 $as_echo_n "checking for _long double trig functions... " >&6; }
44686 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44687 $as_echo_n "(cached) " >&6
44688 else
44689
44690
44691 ac_ext=cpp
44692 ac_cpp='$CXXCPP $CPPFLAGS'
44693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44696
44697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44698 /* end confdefs.h. */
44699 #include <math.h>
44700 int
44701 main ()
44702 {
44703 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44704 ;
44705 return 0;
44706 }
44707 _ACEOF
44708 if ac_fn_cxx_try_compile "$LINENO"; then :
44709 glibcxx_cv_func__long_double_trig_use=yes
44710 else
44711 glibcxx_cv_func__long_double_trig_use=no
44712 fi
44713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44714 ac_ext=c
44715 ac_cpp='$CPP $CPPFLAGS'
44716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44719
44720 fi
44721
44722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44723 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44724 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44725 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44726 do :
44727 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44728 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44729 eval as_val=\$$as_ac_var
44730 if test "x$as_val" = x""yes; then :
44731 cat >>confdefs.h <<_ACEOF
44732 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44733 _ACEOF
44734
44735 fi
44736 done
44737
44738 fi
44739 fi
44740
44741
44742
44743
44744
44745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44746 $as_echo_n "checking for long double round functions... " >&6; }
44747 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44748 $as_echo_n "(cached) " >&6
44749 else
44750
44751
44752 ac_ext=cpp
44753 ac_cpp='$CXXCPP $CPPFLAGS'
44754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44757
44758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44759 /* end confdefs.h. */
44760 #include <math.h>
44761 int
44762 main ()
44763 {
44764 ceill (0); floorl (0);
44765 ;
44766 return 0;
44767 }
44768 _ACEOF
44769 if ac_fn_cxx_try_compile "$LINENO"; then :
44770 glibcxx_cv_func_long_double_round_use=yes
44771 else
44772 glibcxx_cv_func_long_double_round_use=no
44773 fi
44774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44775 ac_ext=c
44776 ac_cpp='$CPP $CPPFLAGS'
44777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44780
44781 fi
44782
44783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44784 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44785 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44786 for ac_func in ceill floorl
44787 do :
44788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44790 eval as_val=\$$as_ac_var
44791 if test "x$as_val" = x""yes; then :
44792 cat >>confdefs.h <<_ACEOF
44793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44794 _ACEOF
44795
44796 fi
44797 done
44798
44799 else
44800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44801 $as_echo_n "checking for _long double round functions... " >&6; }
44802 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44803 $as_echo_n "(cached) " >&6
44804 else
44805
44806
44807 ac_ext=cpp
44808 ac_cpp='$CXXCPP $CPPFLAGS'
44809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44812
44813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44814 /* end confdefs.h. */
44815 #include <math.h>
44816 int
44817 main ()
44818 {
44819 _ceill (0); _floorl (0);
44820 ;
44821 return 0;
44822 }
44823 _ACEOF
44824 if ac_fn_cxx_try_compile "$LINENO"; then :
44825 glibcxx_cv_func__long_double_round_use=yes
44826 else
44827 glibcxx_cv_func__long_double_round_use=no
44828 fi
44829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44830 ac_ext=c
44831 ac_cpp='$CPP $CPPFLAGS'
44832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44835
44836 fi
44837
44838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44839 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44840 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44841 for ac_func in _ceill _floorl
44842 do :
44843 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44844 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44845 eval as_val=\$$as_ac_var
44846 if test "x$as_val" = x""yes; then :
44847 cat >>confdefs.h <<_ACEOF
44848 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44849 _ACEOF
44850
44851 fi
44852 done
44853
44854 fi
44855 fi
44856
44857
44858
44859
44860
44861
44862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44863 $as_echo_n "checking for isnanl declaration... " >&6; }
44864 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44865 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44866 $as_echo_n "(cached) " >&6
44867 else
44868
44869
44870 ac_ext=cpp
44871 ac_cpp='$CXXCPP $CPPFLAGS'
44872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44875
44876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44877 /* end confdefs.h. */
44878 #include <math.h>
44879 #ifdef HAVE_IEEEFP_H
44880 #include <ieeefp.h>
44881 #endif
44882
44883 int
44884 main ()
44885 {
44886 isnanl(0);
44887 ;
44888 return 0;
44889 }
44890 _ACEOF
44891 if ac_fn_cxx_try_compile "$LINENO"; then :
44892 glibcxx_cv_func_isnanl_use=yes
44893 else
44894 glibcxx_cv_func_isnanl_use=no
44895 fi
44896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44897 ac_ext=c
44898 ac_cpp='$CPP $CPPFLAGS'
44899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44902
44903
44904 fi
44905
44906 fi
44907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44908 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44909
44910 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44911 for ac_func in isnanl
44912 do :
44913 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44914 if test "x$ac_cv_func_isnanl" = x""yes; then :
44915 cat >>confdefs.h <<_ACEOF
44916 #define HAVE_ISNANL 1
44917 _ACEOF
44918
44919 fi
44920 done
44921
44922 else
44923
44924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44925 $as_echo_n "checking for _isnanl declaration... " >&6; }
44926 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44927 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44928 $as_echo_n "(cached) " >&6
44929 else
44930
44931
44932 ac_ext=cpp
44933 ac_cpp='$CXXCPP $CPPFLAGS'
44934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44937
44938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44939 /* end confdefs.h. */
44940 #include <math.h>
44941 #ifdef HAVE_IEEEFP_H
44942 #include <ieeefp.h>
44943 #endif
44944
44945 int
44946 main ()
44947 {
44948 _isnanl(0);
44949 ;
44950 return 0;
44951 }
44952 _ACEOF
44953 if ac_fn_cxx_try_compile "$LINENO"; then :
44954 glibcxx_cv_func__isnanl_use=yes
44955 else
44956 glibcxx_cv_func__isnanl_use=no
44957 fi
44958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44959 ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44964
44965
44966 fi
44967
44968 fi
44969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44970 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44971
44972 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44973 for ac_func in _isnanl
44974 do :
44975 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44976 if test "x$ac_cv_func__isnanl" = x""yes; then :
44977 cat >>confdefs.h <<_ACEOF
44978 #define HAVE__ISNANL 1
44979 _ACEOF
44980
44981 fi
44982 done
44983
44984 fi
44985 fi
44986
44987
44988
44989
44990
44991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44992 $as_echo_n "checking for isinfl declaration... " >&6; }
44993 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44994 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44995 $as_echo_n "(cached) " >&6
44996 else
44997
44998
44999 ac_ext=cpp
45000 ac_cpp='$CXXCPP $CPPFLAGS'
45001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45004
45005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45006 /* end confdefs.h. */
45007 #include <math.h>
45008 #ifdef HAVE_IEEEFP_H
45009 #include <ieeefp.h>
45010 #endif
45011
45012 int
45013 main ()
45014 {
45015 isinfl(0);
45016 ;
45017 return 0;
45018 }
45019 _ACEOF
45020 if ac_fn_cxx_try_compile "$LINENO"; then :
45021 glibcxx_cv_func_isinfl_use=yes
45022 else
45023 glibcxx_cv_func_isinfl_use=no
45024 fi
45025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45026 ac_ext=c
45027 ac_cpp='$CPP $CPPFLAGS'
45028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45031
45032
45033 fi
45034
45035 fi
45036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45037 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45038
45039 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45040 for ac_func in isinfl
45041 do :
45042 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45043 if test "x$ac_cv_func_isinfl" = x""yes; then :
45044 cat >>confdefs.h <<_ACEOF
45045 #define HAVE_ISINFL 1
45046 _ACEOF
45047
45048 fi
45049 done
45050
45051 else
45052
45053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45054 $as_echo_n "checking for _isinfl declaration... " >&6; }
45055 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45056 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45057 $as_echo_n "(cached) " >&6
45058 else
45059
45060
45061 ac_ext=cpp
45062 ac_cpp='$CXXCPP $CPPFLAGS'
45063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45066
45067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45068 /* end confdefs.h. */
45069 #include <math.h>
45070 #ifdef HAVE_IEEEFP_H
45071 #include <ieeefp.h>
45072 #endif
45073
45074 int
45075 main ()
45076 {
45077 _isinfl(0);
45078 ;
45079 return 0;
45080 }
45081 _ACEOF
45082 if ac_fn_cxx_try_compile "$LINENO"; then :
45083 glibcxx_cv_func__isinfl_use=yes
45084 else
45085 glibcxx_cv_func__isinfl_use=no
45086 fi
45087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45088 ac_ext=c
45089 ac_cpp='$CPP $CPPFLAGS'
45090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45093
45094
45095 fi
45096
45097 fi
45098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45099 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45100
45101 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45102 for ac_func in _isinfl
45103 do :
45104 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45105 if test "x$ac_cv_func__isinfl" = x""yes; then :
45106 cat >>confdefs.h <<_ACEOF
45107 #define HAVE__ISINFL 1
45108 _ACEOF
45109
45110 fi
45111 done
45112
45113 fi
45114 fi
45115
45116
45117
45118
45119
45120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45121 $as_echo_n "checking for atan2l declaration... " >&6; }
45122 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45123 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45124 $as_echo_n "(cached) " >&6
45125 else
45126
45127
45128 ac_ext=cpp
45129 ac_cpp='$CXXCPP $CPPFLAGS'
45130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45133
45134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45135 /* end confdefs.h. */
45136 #include <math.h>
45137 int
45138 main ()
45139 {
45140 atan2l(0, 0);
45141 ;
45142 return 0;
45143 }
45144 _ACEOF
45145 if ac_fn_cxx_try_compile "$LINENO"; then :
45146 glibcxx_cv_func_atan2l_use=yes
45147 else
45148 glibcxx_cv_func_atan2l_use=no
45149 fi
45150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45151 ac_ext=c
45152 ac_cpp='$CPP $CPPFLAGS'
45153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45156
45157
45158 fi
45159
45160 fi
45161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45162 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45163
45164 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45165 for ac_func in atan2l
45166 do :
45167 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45168 if test "x$ac_cv_func_atan2l" = x""yes; then :
45169 cat >>confdefs.h <<_ACEOF
45170 #define HAVE_ATAN2L 1
45171 _ACEOF
45172
45173 fi
45174 done
45175
45176 else
45177
45178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45179 $as_echo_n "checking for _atan2l declaration... " >&6; }
45180 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45181 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45182 $as_echo_n "(cached) " >&6
45183 else
45184
45185
45186 ac_ext=cpp
45187 ac_cpp='$CXXCPP $CPPFLAGS'
45188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45191
45192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45193 /* end confdefs.h. */
45194 #include <math.h>
45195 int
45196 main ()
45197 {
45198 _atan2l(0, 0);
45199 ;
45200 return 0;
45201 }
45202 _ACEOF
45203 if ac_fn_cxx_try_compile "$LINENO"; then :
45204 glibcxx_cv_func__atan2l_use=yes
45205 else
45206 glibcxx_cv_func__atan2l_use=no
45207 fi
45208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45209 ac_ext=c
45210 ac_cpp='$CPP $CPPFLAGS'
45211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45214
45215
45216 fi
45217
45218 fi
45219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45220 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45221
45222 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45223 for ac_func in _atan2l
45224 do :
45225 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45226 if test "x$ac_cv_func__atan2l" = x""yes; then :
45227 cat >>confdefs.h <<_ACEOF
45228 #define HAVE__ATAN2L 1
45229 _ACEOF
45230
45231 fi
45232 done
45233
45234 fi
45235 fi
45236
45237
45238
45239
45240
45241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45242 $as_echo_n "checking for expl declaration... " >&6; }
45243 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45244 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45245 $as_echo_n "(cached) " >&6
45246 else
45247
45248
45249 ac_ext=cpp
45250 ac_cpp='$CXXCPP $CPPFLAGS'
45251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45254
45255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45256 /* end confdefs.h. */
45257 #include <math.h>
45258 #ifdef HAVE_IEEEFP_H
45259 #include <ieeefp.h>
45260 #endif
45261
45262 int
45263 main ()
45264 {
45265 expl(0);
45266 ;
45267 return 0;
45268 }
45269 _ACEOF
45270 if ac_fn_cxx_try_compile "$LINENO"; then :
45271 glibcxx_cv_func_expl_use=yes
45272 else
45273 glibcxx_cv_func_expl_use=no
45274 fi
45275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45276 ac_ext=c
45277 ac_cpp='$CPP $CPPFLAGS'
45278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45281
45282
45283 fi
45284
45285 fi
45286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45287 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45288
45289 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45290 for ac_func in expl
45291 do :
45292 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45293 if test "x$ac_cv_func_expl" = x""yes; then :
45294 cat >>confdefs.h <<_ACEOF
45295 #define HAVE_EXPL 1
45296 _ACEOF
45297
45298 fi
45299 done
45300
45301 else
45302
45303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45304 $as_echo_n "checking for _expl declaration... " >&6; }
45305 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45306 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45307 $as_echo_n "(cached) " >&6
45308 else
45309
45310
45311 ac_ext=cpp
45312 ac_cpp='$CXXCPP $CPPFLAGS'
45313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45316
45317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45318 /* end confdefs.h. */
45319 #include <math.h>
45320 #ifdef HAVE_IEEEFP_H
45321 #include <ieeefp.h>
45322 #endif
45323
45324 int
45325 main ()
45326 {
45327 _expl(0);
45328 ;
45329 return 0;
45330 }
45331 _ACEOF
45332 if ac_fn_cxx_try_compile "$LINENO"; then :
45333 glibcxx_cv_func__expl_use=yes
45334 else
45335 glibcxx_cv_func__expl_use=no
45336 fi
45337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45338 ac_ext=c
45339 ac_cpp='$CPP $CPPFLAGS'
45340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45343
45344
45345 fi
45346
45347 fi
45348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45349 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45350
45351 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45352 for ac_func in _expl
45353 do :
45354 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45355 if test "x$ac_cv_func__expl" = x""yes; then :
45356 cat >>confdefs.h <<_ACEOF
45357 #define HAVE__EXPL 1
45358 _ACEOF
45359
45360 fi
45361 done
45362
45363 fi
45364 fi
45365
45366
45367
45368
45369
45370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45371 $as_echo_n "checking for fabsl declaration... " >&6; }
45372 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45373 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45374 $as_echo_n "(cached) " >&6
45375 else
45376
45377
45378 ac_ext=cpp
45379 ac_cpp='$CXXCPP $CPPFLAGS'
45380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45383
45384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45385 /* end confdefs.h. */
45386 #include <math.h>
45387 #ifdef HAVE_IEEEFP_H
45388 #include <ieeefp.h>
45389 #endif
45390
45391 int
45392 main ()
45393 {
45394 fabsl(0);
45395 ;
45396 return 0;
45397 }
45398 _ACEOF
45399 if ac_fn_cxx_try_compile "$LINENO"; then :
45400 glibcxx_cv_func_fabsl_use=yes
45401 else
45402 glibcxx_cv_func_fabsl_use=no
45403 fi
45404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45405 ac_ext=c
45406 ac_cpp='$CPP $CPPFLAGS'
45407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45410
45411
45412 fi
45413
45414 fi
45415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45416 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45417
45418 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45419 for ac_func in fabsl
45420 do :
45421 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45422 if test "x$ac_cv_func_fabsl" = x""yes; then :
45423 cat >>confdefs.h <<_ACEOF
45424 #define HAVE_FABSL 1
45425 _ACEOF
45426
45427 fi
45428 done
45429
45430 else
45431
45432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45433 $as_echo_n "checking for _fabsl declaration... " >&6; }
45434 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45435 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45436 $as_echo_n "(cached) " >&6
45437 else
45438
45439
45440 ac_ext=cpp
45441 ac_cpp='$CXXCPP $CPPFLAGS'
45442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45445
45446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45447 /* end confdefs.h. */
45448 #include <math.h>
45449 #ifdef HAVE_IEEEFP_H
45450 #include <ieeefp.h>
45451 #endif
45452
45453 int
45454 main ()
45455 {
45456 _fabsl(0);
45457 ;
45458 return 0;
45459 }
45460 _ACEOF
45461 if ac_fn_cxx_try_compile "$LINENO"; then :
45462 glibcxx_cv_func__fabsl_use=yes
45463 else
45464 glibcxx_cv_func__fabsl_use=no
45465 fi
45466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45467 ac_ext=c
45468 ac_cpp='$CPP $CPPFLAGS'
45469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45472
45473
45474 fi
45475
45476 fi
45477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45478 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45479
45480 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45481 for ac_func in _fabsl
45482 do :
45483 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45484 if test "x$ac_cv_func__fabsl" = x""yes; then :
45485 cat >>confdefs.h <<_ACEOF
45486 #define HAVE__FABSL 1
45487 _ACEOF
45488
45489 fi
45490 done
45491
45492 fi
45493 fi
45494
45495
45496
45497
45498
45499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45500 $as_echo_n "checking for fmodl declaration... " >&6; }
45501 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45502 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45503 $as_echo_n "(cached) " >&6
45504 else
45505
45506
45507 ac_ext=cpp
45508 ac_cpp='$CXXCPP $CPPFLAGS'
45509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45512
45513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45514 /* end confdefs.h. */
45515 #include <math.h>
45516 int
45517 main ()
45518 {
45519 fmodl(0, 0);
45520 ;
45521 return 0;
45522 }
45523 _ACEOF
45524 if ac_fn_cxx_try_compile "$LINENO"; then :
45525 glibcxx_cv_func_fmodl_use=yes
45526 else
45527 glibcxx_cv_func_fmodl_use=no
45528 fi
45529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45530 ac_ext=c
45531 ac_cpp='$CPP $CPPFLAGS'
45532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45535
45536
45537 fi
45538
45539 fi
45540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45541 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45542
45543 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45544 for ac_func in fmodl
45545 do :
45546 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45547 if test "x$ac_cv_func_fmodl" = x""yes; then :
45548 cat >>confdefs.h <<_ACEOF
45549 #define HAVE_FMODL 1
45550 _ACEOF
45551
45552 fi
45553 done
45554
45555 else
45556
45557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45558 $as_echo_n "checking for _fmodl declaration... " >&6; }
45559 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45560 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45561 $as_echo_n "(cached) " >&6
45562 else
45563
45564
45565 ac_ext=cpp
45566 ac_cpp='$CXXCPP $CPPFLAGS'
45567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45570
45571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45572 /* end confdefs.h. */
45573 #include <math.h>
45574 int
45575 main ()
45576 {
45577 _fmodl(0, 0);
45578 ;
45579 return 0;
45580 }
45581 _ACEOF
45582 if ac_fn_cxx_try_compile "$LINENO"; then :
45583 glibcxx_cv_func__fmodl_use=yes
45584 else
45585 glibcxx_cv_func__fmodl_use=no
45586 fi
45587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45588 ac_ext=c
45589 ac_cpp='$CPP $CPPFLAGS'
45590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45593
45594
45595 fi
45596
45597 fi
45598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45599 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45600
45601 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45602 for ac_func in _fmodl
45603 do :
45604 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45605 if test "x$ac_cv_func__fmodl" = x""yes; then :
45606 cat >>confdefs.h <<_ACEOF
45607 #define HAVE__FMODL 1
45608 _ACEOF
45609
45610 fi
45611 done
45612
45613 fi
45614 fi
45615
45616
45617
45618
45619
45620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45621 $as_echo_n "checking for frexpl declaration... " >&6; }
45622 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45623 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45624 $as_echo_n "(cached) " >&6
45625 else
45626
45627
45628 ac_ext=cpp
45629 ac_cpp='$CXXCPP $CPPFLAGS'
45630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45633
45634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45635 /* end confdefs.h. */
45636 #include <math.h>
45637 int
45638 main ()
45639 {
45640 frexpl(0, 0);
45641 ;
45642 return 0;
45643 }
45644 _ACEOF
45645 if ac_fn_cxx_try_compile "$LINENO"; then :
45646 glibcxx_cv_func_frexpl_use=yes
45647 else
45648 glibcxx_cv_func_frexpl_use=no
45649 fi
45650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45651 ac_ext=c
45652 ac_cpp='$CPP $CPPFLAGS'
45653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45656
45657
45658 fi
45659
45660 fi
45661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45662 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45663
45664 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45665 for ac_func in frexpl
45666 do :
45667 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45668 if test "x$ac_cv_func_frexpl" = x""yes; then :
45669 cat >>confdefs.h <<_ACEOF
45670 #define HAVE_FREXPL 1
45671 _ACEOF
45672
45673 fi
45674 done
45675
45676 else
45677
45678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45679 $as_echo_n "checking for _frexpl declaration... " >&6; }
45680 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45681 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45682 $as_echo_n "(cached) " >&6
45683 else
45684
45685
45686 ac_ext=cpp
45687 ac_cpp='$CXXCPP $CPPFLAGS'
45688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45691
45692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45693 /* end confdefs.h. */
45694 #include <math.h>
45695 int
45696 main ()
45697 {
45698 _frexpl(0, 0);
45699 ;
45700 return 0;
45701 }
45702 _ACEOF
45703 if ac_fn_cxx_try_compile "$LINENO"; then :
45704 glibcxx_cv_func__frexpl_use=yes
45705 else
45706 glibcxx_cv_func__frexpl_use=no
45707 fi
45708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45709 ac_ext=c
45710 ac_cpp='$CPP $CPPFLAGS'
45711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45714
45715
45716 fi
45717
45718 fi
45719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45720 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45721
45722 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45723 for ac_func in _frexpl
45724 do :
45725 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45726 if test "x$ac_cv_func__frexpl" = x""yes; then :
45727 cat >>confdefs.h <<_ACEOF
45728 #define HAVE__FREXPL 1
45729 _ACEOF
45730
45731 fi
45732 done
45733
45734 fi
45735 fi
45736
45737
45738
45739
45740
45741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45742 $as_echo_n "checking for hypotl declaration... " >&6; }
45743 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45744 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45745 $as_echo_n "(cached) " >&6
45746 else
45747
45748
45749 ac_ext=cpp
45750 ac_cpp='$CXXCPP $CPPFLAGS'
45751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45754
45755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45756 /* end confdefs.h. */
45757 #include <math.h>
45758 int
45759 main ()
45760 {
45761 hypotl(0, 0);
45762 ;
45763 return 0;
45764 }
45765 _ACEOF
45766 if ac_fn_cxx_try_compile "$LINENO"; then :
45767 glibcxx_cv_func_hypotl_use=yes
45768 else
45769 glibcxx_cv_func_hypotl_use=no
45770 fi
45771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45772 ac_ext=c
45773 ac_cpp='$CPP $CPPFLAGS'
45774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45777
45778
45779 fi
45780
45781 fi
45782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45783 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45784
45785 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45786 for ac_func in hypotl
45787 do :
45788 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45789 if test "x$ac_cv_func_hypotl" = x""yes; then :
45790 cat >>confdefs.h <<_ACEOF
45791 #define HAVE_HYPOTL 1
45792 _ACEOF
45793
45794 fi
45795 done
45796
45797 else
45798
45799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45800 $as_echo_n "checking for _hypotl declaration... " >&6; }
45801 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45802 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45803 $as_echo_n "(cached) " >&6
45804 else
45805
45806
45807 ac_ext=cpp
45808 ac_cpp='$CXXCPP $CPPFLAGS'
45809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45812
45813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45814 /* end confdefs.h. */
45815 #include <math.h>
45816 int
45817 main ()
45818 {
45819 _hypotl(0, 0);
45820 ;
45821 return 0;
45822 }
45823 _ACEOF
45824 if ac_fn_cxx_try_compile "$LINENO"; then :
45825 glibcxx_cv_func__hypotl_use=yes
45826 else
45827 glibcxx_cv_func__hypotl_use=no
45828 fi
45829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45830 ac_ext=c
45831 ac_cpp='$CPP $CPPFLAGS'
45832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45835
45836
45837 fi
45838
45839 fi
45840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45841 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45842
45843 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45844 for ac_func in _hypotl
45845 do :
45846 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45847 if test "x$ac_cv_func__hypotl" = x""yes; then :
45848 cat >>confdefs.h <<_ACEOF
45849 #define HAVE__HYPOTL 1
45850 _ACEOF
45851
45852 fi
45853 done
45854
45855 fi
45856 fi
45857
45858
45859
45860
45861
45862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45863 $as_echo_n "checking for ldexpl declaration... " >&6; }
45864 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45865 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45866 $as_echo_n "(cached) " >&6
45867 else
45868
45869
45870 ac_ext=cpp
45871 ac_cpp='$CXXCPP $CPPFLAGS'
45872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45875
45876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45877 /* end confdefs.h. */
45878 #include <math.h>
45879 int
45880 main ()
45881 {
45882 ldexpl(0, 0);
45883 ;
45884 return 0;
45885 }
45886 _ACEOF
45887 if ac_fn_cxx_try_compile "$LINENO"; then :
45888 glibcxx_cv_func_ldexpl_use=yes
45889 else
45890 glibcxx_cv_func_ldexpl_use=no
45891 fi
45892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45893 ac_ext=c
45894 ac_cpp='$CPP $CPPFLAGS'
45895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45898
45899
45900 fi
45901
45902 fi
45903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45904 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45905
45906 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45907 for ac_func in ldexpl
45908 do :
45909 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45910 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45911 cat >>confdefs.h <<_ACEOF
45912 #define HAVE_LDEXPL 1
45913 _ACEOF
45914
45915 fi
45916 done
45917
45918 else
45919
45920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45921 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45922 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45923 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45924 $as_echo_n "(cached) " >&6
45925 else
45926
45927
45928 ac_ext=cpp
45929 ac_cpp='$CXXCPP $CPPFLAGS'
45930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45933
45934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45935 /* end confdefs.h. */
45936 #include <math.h>
45937 int
45938 main ()
45939 {
45940 _ldexpl(0, 0);
45941 ;
45942 return 0;
45943 }
45944 _ACEOF
45945 if ac_fn_cxx_try_compile "$LINENO"; then :
45946 glibcxx_cv_func__ldexpl_use=yes
45947 else
45948 glibcxx_cv_func__ldexpl_use=no
45949 fi
45950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45951 ac_ext=c
45952 ac_cpp='$CPP $CPPFLAGS'
45953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45956
45957
45958 fi
45959
45960 fi
45961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45962 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45963
45964 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45965 for ac_func in _ldexpl
45966 do :
45967 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45968 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45969 cat >>confdefs.h <<_ACEOF
45970 #define HAVE__LDEXPL 1
45971 _ACEOF
45972
45973 fi
45974 done
45975
45976 fi
45977 fi
45978
45979
45980
45981
45982
45983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45984 $as_echo_n "checking for logl declaration... " >&6; }
45985 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45986 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45987 $as_echo_n "(cached) " >&6
45988 else
45989
45990
45991 ac_ext=cpp
45992 ac_cpp='$CXXCPP $CPPFLAGS'
45993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45996
45997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45998 /* end confdefs.h. */
45999 #include <math.h>
46000 #ifdef HAVE_IEEEFP_H
46001 #include <ieeefp.h>
46002 #endif
46003
46004 int
46005 main ()
46006 {
46007 logl(0);
46008 ;
46009 return 0;
46010 }
46011 _ACEOF
46012 if ac_fn_cxx_try_compile "$LINENO"; then :
46013 glibcxx_cv_func_logl_use=yes
46014 else
46015 glibcxx_cv_func_logl_use=no
46016 fi
46017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46018 ac_ext=c
46019 ac_cpp='$CPP $CPPFLAGS'
46020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46023
46024
46025 fi
46026
46027 fi
46028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46029 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46030
46031 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46032 for ac_func in logl
46033 do :
46034 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46035 if test "x$ac_cv_func_logl" = x""yes; then :
46036 cat >>confdefs.h <<_ACEOF
46037 #define HAVE_LOGL 1
46038 _ACEOF
46039
46040 fi
46041 done
46042
46043 else
46044
46045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46046 $as_echo_n "checking for _logl declaration... " >&6; }
46047 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46048 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46049 $as_echo_n "(cached) " >&6
46050 else
46051
46052
46053 ac_ext=cpp
46054 ac_cpp='$CXXCPP $CPPFLAGS'
46055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46058
46059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46060 /* end confdefs.h. */
46061 #include <math.h>
46062 #ifdef HAVE_IEEEFP_H
46063 #include <ieeefp.h>
46064 #endif
46065
46066 int
46067 main ()
46068 {
46069 _logl(0);
46070 ;
46071 return 0;
46072 }
46073 _ACEOF
46074 if ac_fn_cxx_try_compile "$LINENO"; then :
46075 glibcxx_cv_func__logl_use=yes
46076 else
46077 glibcxx_cv_func__logl_use=no
46078 fi
46079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46080 ac_ext=c
46081 ac_cpp='$CPP $CPPFLAGS'
46082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46085
46086
46087 fi
46088
46089 fi
46090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46091 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46092
46093 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46094 for ac_func in _logl
46095 do :
46096 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46097 if test "x$ac_cv_func__logl" = x""yes; then :
46098 cat >>confdefs.h <<_ACEOF
46099 #define HAVE__LOGL 1
46100 _ACEOF
46101
46102 fi
46103 done
46104
46105 fi
46106 fi
46107
46108
46109
46110
46111
46112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46113 $as_echo_n "checking for log10l declaration... " >&6; }
46114 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46115 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46116 $as_echo_n "(cached) " >&6
46117 else
46118
46119
46120 ac_ext=cpp
46121 ac_cpp='$CXXCPP $CPPFLAGS'
46122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46125
46126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46127 /* end confdefs.h. */
46128 #include <math.h>
46129 #ifdef HAVE_IEEEFP_H
46130 #include <ieeefp.h>
46131 #endif
46132
46133 int
46134 main ()
46135 {
46136 log10l(0);
46137 ;
46138 return 0;
46139 }
46140 _ACEOF
46141 if ac_fn_cxx_try_compile "$LINENO"; then :
46142 glibcxx_cv_func_log10l_use=yes
46143 else
46144 glibcxx_cv_func_log10l_use=no
46145 fi
46146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46147 ac_ext=c
46148 ac_cpp='$CPP $CPPFLAGS'
46149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46152
46153
46154 fi
46155
46156 fi
46157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46158 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46159
46160 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46161 for ac_func in log10l
46162 do :
46163 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46164 if test "x$ac_cv_func_log10l" = x""yes; then :
46165 cat >>confdefs.h <<_ACEOF
46166 #define HAVE_LOG10L 1
46167 _ACEOF
46168
46169 fi
46170 done
46171
46172 else
46173
46174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46175 $as_echo_n "checking for _log10l declaration... " >&6; }
46176 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46177 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46178 $as_echo_n "(cached) " >&6
46179 else
46180
46181
46182 ac_ext=cpp
46183 ac_cpp='$CXXCPP $CPPFLAGS'
46184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46187
46188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46189 /* end confdefs.h. */
46190 #include <math.h>
46191 #ifdef HAVE_IEEEFP_H
46192 #include <ieeefp.h>
46193 #endif
46194
46195 int
46196 main ()
46197 {
46198 _log10l(0);
46199 ;
46200 return 0;
46201 }
46202 _ACEOF
46203 if ac_fn_cxx_try_compile "$LINENO"; then :
46204 glibcxx_cv_func__log10l_use=yes
46205 else
46206 glibcxx_cv_func__log10l_use=no
46207 fi
46208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46209 ac_ext=c
46210 ac_cpp='$CPP $CPPFLAGS'
46211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46214
46215
46216 fi
46217
46218 fi
46219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46220 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46221
46222 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46223 for ac_func in _log10l
46224 do :
46225 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46226 if test "x$ac_cv_func__log10l" = x""yes; then :
46227 cat >>confdefs.h <<_ACEOF
46228 #define HAVE__LOG10L 1
46229 _ACEOF
46230
46231 fi
46232 done
46233
46234 fi
46235 fi
46236
46237
46238
46239
46240
46241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46242 $as_echo_n "checking for modfl declaration... " >&6; }
46243 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46244 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46245 $as_echo_n "(cached) " >&6
46246 else
46247
46248
46249 ac_ext=cpp
46250 ac_cpp='$CXXCPP $CPPFLAGS'
46251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46254
46255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46256 /* end confdefs.h. */
46257 #include <math.h>
46258 int
46259 main ()
46260 {
46261 modfl(0, 0);
46262 ;
46263 return 0;
46264 }
46265 _ACEOF
46266 if ac_fn_cxx_try_compile "$LINENO"; then :
46267 glibcxx_cv_func_modfl_use=yes
46268 else
46269 glibcxx_cv_func_modfl_use=no
46270 fi
46271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46272 ac_ext=c
46273 ac_cpp='$CPP $CPPFLAGS'
46274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46277
46278
46279 fi
46280
46281 fi
46282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46283 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46284
46285 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46286 for ac_func in modfl
46287 do :
46288 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46289 if test "x$ac_cv_func_modfl" = x""yes; then :
46290 cat >>confdefs.h <<_ACEOF
46291 #define HAVE_MODFL 1
46292 _ACEOF
46293
46294 fi
46295 done
46296
46297 else
46298
46299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46300 $as_echo_n "checking for _modfl declaration... " >&6; }
46301 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46302 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46303 $as_echo_n "(cached) " >&6
46304 else
46305
46306
46307 ac_ext=cpp
46308 ac_cpp='$CXXCPP $CPPFLAGS'
46309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46312
46313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46314 /* end confdefs.h. */
46315 #include <math.h>
46316 int
46317 main ()
46318 {
46319 _modfl(0, 0);
46320 ;
46321 return 0;
46322 }
46323 _ACEOF
46324 if ac_fn_cxx_try_compile "$LINENO"; then :
46325 glibcxx_cv_func__modfl_use=yes
46326 else
46327 glibcxx_cv_func__modfl_use=no
46328 fi
46329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46330 ac_ext=c
46331 ac_cpp='$CPP $CPPFLAGS'
46332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46335
46336
46337 fi
46338
46339 fi
46340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46341 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46342
46343 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46344 for ac_func in _modfl
46345 do :
46346 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46347 if test "x$ac_cv_func__modfl" = x""yes; then :
46348 cat >>confdefs.h <<_ACEOF
46349 #define HAVE__MODFL 1
46350 _ACEOF
46351
46352 fi
46353 done
46354
46355 fi
46356 fi
46357
46358
46359
46360
46361
46362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46363 $as_echo_n "checking for powl declaration... " >&6; }
46364 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46365 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46366 $as_echo_n "(cached) " >&6
46367 else
46368
46369
46370 ac_ext=cpp
46371 ac_cpp='$CXXCPP $CPPFLAGS'
46372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46375
46376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46377 /* end confdefs.h. */
46378 #include <math.h>
46379 int
46380 main ()
46381 {
46382 powl(0, 0);
46383 ;
46384 return 0;
46385 }
46386 _ACEOF
46387 if ac_fn_cxx_try_compile "$LINENO"; then :
46388 glibcxx_cv_func_powl_use=yes
46389 else
46390 glibcxx_cv_func_powl_use=no
46391 fi
46392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46393 ac_ext=c
46394 ac_cpp='$CPP $CPPFLAGS'
46395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46398
46399
46400 fi
46401
46402 fi
46403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46404 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46405
46406 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46407 for ac_func in powl
46408 do :
46409 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46410 if test "x$ac_cv_func_powl" = x""yes; then :
46411 cat >>confdefs.h <<_ACEOF
46412 #define HAVE_POWL 1
46413 _ACEOF
46414
46415 fi
46416 done
46417
46418 else
46419
46420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46421 $as_echo_n "checking for _powl declaration... " >&6; }
46422 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46423 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46424 $as_echo_n "(cached) " >&6
46425 else
46426
46427
46428 ac_ext=cpp
46429 ac_cpp='$CXXCPP $CPPFLAGS'
46430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46433
46434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46435 /* end confdefs.h. */
46436 #include <math.h>
46437 int
46438 main ()
46439 {
46440 _powl(0, 0);
46441 ;
46442 return 0;
46443 }
46444 _ACEOF
46445 if ac_fn_cxx_try_compile "$LINENO"; then :
46446 glibcxx_cv_func__powl_use=yes
46447 else
46448 glibcxx_cv_func__powl_use=no
46449 fi
46450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46451 ac_ext=c
46452 ac_cpp='$CPP $CPPFLAGS'
46453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46456
46457
46458 fi
46459
46460 fi
46461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46462 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46463
46464 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46465 for ac_func in _powl
46466 do :
46467 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46468 if test "x$ac_cv_func__powl" = x""yes; then :
46469 cat >>confdefs.h <<_ACEOF
46470 #define HAVE__POWL 1
46471 _ACEOF
46472
46473 fi
46474 done
46475
46476 fi
46477 fi
46478
46479
46480
46481
46482
46483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46484 $as_echo_n "checking for sqrtl declaration... " >&6; }
46485 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46486 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46487 $as_echo_n "(cached) " >&6
46488 else
46489
46490
46491 ac_ext=cpp
46492 ac_cpp='$CXXCPP $CPPFLAGS'
46493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46496
46497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46498 /* end confdefs.h. */
46499 #include <math.h>
46500 #ifdef HAVE_IEEEFP_H
46501 #include <ieeefp.h>
46502 #endif
46503
46504 int
46505 main ()
46506 {
46507 sqrtl(0);
46508 ;
46509 return 0;
46510 }
46511 _ACEOF
46512 if ac_fn_cxx_try_compile "$LINENO"; then :
46513 glibcxx_cv_func_sqrtl_use=yes
46514 else
46515 glibcxx_cv_func_sqrtl_use=no
46516 fi
46517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46518 ac_ext=c
46519 ac_cpp='$CPP $CPPFLAGS'
46520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46523
46524
46525 fi
46526
46527 fi
46528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46529 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46530
46531 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46532 for ac_func in sqrtl
46533 do :
46534 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46535 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46536 cat >>confdefs.h <<_ACEOF
46537 #define HAVE_SQRTL 1
46538 _ACEOF
46539
46540 fi
46541 done
46542
46543 else
46544
46545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46546 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46547 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46548 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46549 $as_echo_n "(cached) " >&6
46550 else
46551
46552
46553 ac_ext=cpp
46554 ac_cpp='$CXXCPP $CPPFLAGS'
46555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46558
46559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46560 /* end confdefs.h. */
46561 #include <math.h>
46562 #ifdef HAVE_IEEEFP_H
46563 #include <ieeefp.h>
46564 #endif
46565
46566 int
46567 main ()
46568 {
46569 _sqrtl(0);
46570 ;
46571 return 0;
46572 }
46573 _ACEOF
46574 if ac_fn_cxx_try_compile "$LINENO"; then :
46575 glibcxx_cv_func__sqrtl_use=yes
46576 else
46577 glibcxx_cv_func__sqrtl_use=no
46578 fi
46579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46580 ac_ext=c
46581 ac_cpp='$CPP $CPPFLAGS'
46582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46585
46586
46587 fi
46588
46589 fi
46590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46591 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46592
46593 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46594 for ac_func in _sqrtl
46595 do :
46596 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46597 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46598 cat >>confdefs.h <<_ACEOF
46599 #define HAVE__SQRTL 1
46600 _ACEOF
46601
46602 fi
46603 done
46604
46605 fi
46606 fi
46607
46608
46609
46610
46611
46612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46613 $as_echo_n "checking for sincosl declaration... " >&6; }
46614 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46615 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46616 $as_echo_n "(cached) " >&6
46617 else
46618
46619
46620 ac_ext=cpp
46621 ac_cpp='$CXXCPP $CPPFLAGS'
46622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46625
46626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46627 /* end confdefs.h. */
46628 #include <math.h>
46629 int
46630 main ()
46631 {
46632 sincosl(0, 0, 0);
46633 ;
46634 return 0;
46635 }
46636 _ACEOF
46637 if ac_fn_cxx_try_compile "$LINENO"; then :
46638 glibcxx_cv_func_sincosl_use=yes
46639 else
46640 glibcxx_cv_func_sincosl_use=no
46641 fi
46642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46643 ac_ext=c
46644 ac_cpp='$CPP $CPPFLAGS'
46645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46648
46649
46650 fi
46651
46652 fi
46653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46654 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46655
46656 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46657 for ac_func in sincosl
46658 do :
46659 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46660 if test "x$ac_cv_func_sincosl" = x""yes; then :
46661 cat >>confdefs.h <<_ACEOF
46662 #define HAVE_SINCOSL 1
46663 _ACEOF
46664
46665 fi
46666 done
46667
46668 else
46669
46670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46671 $as_echo_n "checking for _sincosl declaration... " >&6; }
46672 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46673 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46674 $as_echo_n "(cached) " >&6
46675 else
46676
46677
46678 ac_ext=cpp
46679 ac_cpp='$CXXCPP $CPPFLAGS'
46680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46683
46684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46685 /* end confdefs.h. */
46686 #include <math.h>
46687 int
46688 main ()
46689 {
46690 _sincosl(0, 0, 0);
46691 ;
46692 return 0;
46693 }
46694 _ACEOF
46695 if ac_fn_cxx_try_compile "$LINENO"; then :
46696 glibcxx_cv_func__sincosl_use=yes
46697 else
46698 glibcxx_cv_func__sincosl_use=no
46699 fi
46700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46701 ac_ext=c
46702 ac_cpp='$CPP $CPPFLAGS'
46703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46706
46707
46708 fi
46709
46710 fi
46711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46712 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46713
46714 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46715 for ac_func in _sincosl
46716 do :
46717 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46718 if test "x$ac_cv_func__sincosl" = x""yes; then :
46719 cat >>confdefs.h <<_ACEOF
46720 #define HAVE__SINCOSL 1
46721 _ACEOF
46722
46723 fi
46724 done
46725
46726 fi
46727 fi
46728
46729
46730
46731
46732
46733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46734 $as_echo_n "checking for finitel declaration... " >&6; }
46735 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46736 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46737 $as_echo_n "(cached) " >&6
46738 else
46739
46740
46741 ac_ext=cpp
46742 ac_cpp='$CXXCPP $CPPFLAGS'
46743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46746
46747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46748 /* end confdefs.h. */
46749 #include <math.h>
46750 #ifdef HAVE_IEEEFP_H
46751 #include <ieeefp.h>
46752 #endif
46753
46754 int
46755 main ()
46756 {
46757 finitel(0);
46758 ;
46759 return 0;
46760 }
46761 _ACEOF
46762 if ac_fn_cxx_try_compile "$LINENO"; then :
46763 glibcxx_cv_func_finitel_use=yes
46764 else
46765 glibcxx_cv_func_finitel_use=no
46766 fi
46767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46768 ac_ext=c
46769 ac_cpp='$CPP $CPPFLAGS'
46770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46773
46774
46775 fi
46776
46777 fi
46778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46779 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46780
46781 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46782 for ac_func in finitel
46783 do :
46784 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46785 if test "x$ac_cv_func_finitel" = x""yes; then :
46786 cat >>confdefs.h <<_ACEOF
46787 #define HAVE_FINITEL 1
46788 _ACEOF
46789
46790 fi
46791 done
46792
46793 else
46794
46795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46796 $as_echo_n "checking for _finitel declaration... " >&6; }
46797 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46798 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46799 $as_echo_n "(cached) " >&6
46800 else
46801
46802
46803 ac_ext=cpp
46804 ac_cpp='$CXXCPP $CPPFLAGS'
46805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46808
46809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46810 /* end confdefs.h. */
46811 #include <math.h>
46812 #ifdef HAVE_IEEEFP_H
46813 #include <ieeefp.h>
46814 #endif
46815
46816 int
46817 main ()
46818 {
46819 _finitel(0);
46820 ;
46821 return 0;
46822 }
46823 _ACEOF
46824 if ac_fn_cxx_try_compile "$LINENO"; then :
46825 glibcxx_cv_func__finitel_use=yes
46826 else
46827 glibcxx_cv_func__finitel_use=no
46828 fi
46829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46830 ac_ext=c
46831 ac_cpp='$CPP $CPPFLAGS'
46832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46835
46836
46837 fi
46838
46839 fi
46840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46841 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46842
46843 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46844 for ac_func in _finitel
46845 do :
46846 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46847 if test "x$ac_cv_func__finitel" = x""yes; then :
46848 cat >>confdefs.h <<_ACEOF
46849 #define HAVE__FINITEL 1
46850 _ACEOF
46851
46852 fi
46853 done
46854
46855 fi
46856 fi
46857
46858
46859
46860
46861 LIBS="$ac_save_LIBS"
46862 CXXFLAGS="$ac_save_CXXFLAGS"
46863
46864
46865 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46866 ac_save_CXXFLAGS="$CXXFLAGS"
46867 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46868
46869
46870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46871 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46872 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46873 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46874 $as_echo_n "(cached) " >&6
46875 else
46876
46877
46878 ac_ext=cpp
46879 ac_cpp='$CXXCPP $CPPFLAGS'
46880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46883
46884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46885 /* end confdefs.h. */
46886 #include <stdlib.h>
46887 int
46888 main ()
46889 {
46890 at_quick_exit(0);
46891 ;
46892 return 0;
46893 }
46894 _ACEOF
46895 if ac_fn_cxx_try_compile "$LINENO"; then :
46896 glibcxx_cv_func_at_quick_exit_use=yes
46897 else
46898 glibcxx_cv_func_at_quick_exit_use=no
46899 fi
46900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46901 ac_ext=c
46902 ac_cpp='$CPP $CPPFLAGS'
46903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46906
46907
46908 fi
46909
46910 fi
46911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46912 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46913 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46914 for ac_func in at_quick_exit
46915 do :
46916 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46917 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46918 cat >>confdefs.h <<_ACEOF
46919 #define HAVE_AT_QUICK_EXIT 1
46920 _ACEOF
46921
46922 fi
46923 done
46924
46925 fi
46926
46927
46928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46929 $as_echo_n "checking for quick_exit declaration... " >&6; }
46930 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46931 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46932 $as_echo_n "(cached) " >&6
46933 else
46934
46935
46936 ac_ext=cpp
46937 ac_cpp='$CXXCPP $CPPFLAGS'
46938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46941
46942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46943 /* end confdefs.h. */
46944 #include <stdlib.h>
46945 int
46946 main ()
46947 {
46948 quick_exit(0);
46949 ;
46950 return 0;
46951 }
46952 _ACEOF
46953 if ac_fn_cxx_try_compile "$LINENO"; then :
46954 glibcxx_cv_func_quick_exit_use=yes
46955 else
46956 glibcxx_cv_func_quick_exit_use=no
46957 fi
46958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46959 ac_ext=c
46960 ac_cpp='$CPP $CPPFLAGS'
46961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46964
46965
46966 fi
46967
46968 fi
46969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46970 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46971 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46972 for ac_func in quick_exit
46973 do :
46974 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46975 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46976 cat >>confdefs.h <<_ACEOF
46977 #define HAVE_QUICK_EXIT 1
46978 _ACEOF
46979
46980 fi
46981 done
46982
46983 fi
46984
46985
46986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46987 $as_echo_n "checking for strtold declaration... " >&6; }
46988 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46989 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46990 $as_echo_n "(cached) " >&6
46991 else
46992
46993
46994 ac_ext=cpp
46995 ac_cpp='$CXXCPP $CPPFLAGS'
46996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46999
47000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47001 /* end confdefs.h. */
47002 #include <stdlib.h>
47003 int
47004 main ()
47005 {
47006 strtold(0, 0);
47007 ;
47008 return 0;
47009 }
47010 _ACEOF
47011 if ac_fn_cxx_try_compile "$LINENO"; then :
47012 glibcxx_cv_func_strtold_use=yes
47013 else
47014 glibcxx_cv_func_strtold_use=no
47015 fi
47016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47017 ac_ext=c
47018 ac_cpp='$CPP $CPPFLAGS'
47019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47022
47023
47024 fi
47025
47026 fi
47027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47028 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47029 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47030 for ac_func in strtold
47031 do :
47032 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47033 if test "x$ac_cv_func_strtold" = x""yes; then :
47034 cat >>confdefs.h <<_ACEOF
47035 #define HAVE_STRTOLD 1
47036 _ACEOF
47037
47038 fi
47039 done
47040
47041 fi
47042
47043
47044
47045
47046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47047 $as_echo_n "checking for strtof declaration... " >&6; }
47048 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47049 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47050 $as_echo_n "(cached) " >&6
47051 else
47052
47053
47054 ac_ext=cpp
47055 ac_cpp='$CXXCPP $CPPFLAGS'
47056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47059
47060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47061 /* end confdefs.h. */
47062 #include <stdlib.h>
47063 int
47064 main ()
47065 {
47066 strtof(0, 0);
47067 ;
47068 return 0;
47069 }
47070 _ACEOF
47071 if ac_fn_cxx_try_compile "$LINENO"; then :
47072 glibcxx_cv_func_strtof_use=yes
47073 else
47074 glibcxx_cv_func_strtof_use=no
47075 fi
47076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47077 ac_ext=c
47078 ac_cpp='$CPP $CPPFLAGS'
47079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47082
47083
47084 fi
47085
47086 fi
47087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47088 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47089 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47090 for ac_func in strtof
47091 do :
47092 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47093 if test "x$ac_cv_func_strtof" = x""yes; then :
47094 cat >>confdefs.h <<_ACEOF
47095 #define HAVE_STRTOF 1
47096 _ACEOF
47097
47098 fi
47099 done
47100
47101 fi
47102
47103
47104
47105
47106 CXXFLAGS="$ac_save_CXXFLAGS"
47107
47108 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47109
47110 # We don't yet support AIX's TLS ABI.
47111 #GCC_CHECK_TLS
47112
47113
47114
47115
47116
47117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47118 $as_echo_n "checking for iconv... " >&6; }
47119 if test "${am_cv_func_iconv+set}" = set; then :
47120 $as_echo_n "(cached) " >&6
47121 else
47122
47123 am_cv_func_iconv="no, consider installing GNU libiconv"
47124 am_cv_lib_iconv=no
47125 am_save_CPPFLAGS="$CPPFLAGS"
47126 CPPFLAGS="$CPPFLAGS $INCICONV"
47127 if test x$gcc_no_link = xyes; then
47128 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47129 fi
47130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47131 /* end confdefs.h. */
47132 #include <stdlib.h>
47133 #include <iconv.h>
47134 int
47135 main ()
47136 {
47137 iconv_t cd = iconv_open("","");
47138 iconv(cd,NULL,NULL,NULL,NULL);
47139 iconv_close(cd);
47140 ;
47141 return 0;
47142 }
47143 _ACEOF
47144 if ac_fn_c_try_link "$LINENO"; then :
47145 am_cv_func_iconv=yes
47146 fi
47147 rm -f core conftest.err conftest.$ac_objext \
47148 conftest$ac_exeext conftest.$ac_ext
47149 CPPFLAGS="$am_save_CPPFLAGS"
47150
47151 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47152 for _libs in .libs _libs; do
47153 am_save_CPPFLAGS="$CPPFLAGS"
47154 am_save_LIBS="$LIBS"
47155 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47156 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47157 if test x$gcc_no_link = xyes; then
47158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47159 fi
47160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47161 /* end confdefs.h. */
47162 #include <stdlib.h>
47163 #include <iconv.h>
47164 int
47165 main ()
47166 {
47167 iconv_t cd = iconv_open("","");
47168 iconv(cd,NULL,NULL,NULL,NULL);
47169 iconv_close(cd);
47170 ;
47171 return 0;
47172 }
47173 _ACEOF
47174 if ac_fn_c_try_link "$LINENO"; then :
47175 INCICONV="-I../libiconv/include"
47176 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47177 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47178 am_cv_lib_iconv=yes
47179 am_cv_func_iconv=yes
47180 fi
47181 rm -f core conftest.err conftest.$ac_objext \
47182 conftest$ac_exeext conftest.$ac_ext
47183 CPPFLAGS="$am_save_CPPFLAGS"
47184 LIBS="$am_save_LIBS"
47185 if test "$am_cv_func_iconv" = "yes"; then
47186 break
47187 fi
47188 done
47189 fi
47190
47191 if test "$am_cv_func_iconv" != yes; then
47192 am_save_CPPFLAGS="$CPPFLAGS"
47193 am_save_LIBS="$LIBS"
47194 CPPFLAGS="$LIBS $INCICONV"
47195 LIBS="$LIBS $LIBICONV"
47196 if test x$gcc_no_link = xyes; then
47197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47198 fi
47199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47200 /* end confdefs.h. */
47201 #include <stdlib.h>
47202 #include <iconv.h>
47203 int
47204 main ()
47205 {
47206 iconv_t cd = iconv_open("","");
47207 iconv(cd,NULL,NULL,NULL,NULL);
47208 iconv_close(cd);
47209 ;
47210 return 0;
47211 }
47212 _ACEOF
47213 if ac_fn_c_try_link "$LINENO"; then :
47214 am_cv_lib_iconv=yes
47215 am_cv_func_iconv=yes
47216 fi
47217 rm -f core conftest.err conftest.$ac_objext \
47218 conftest$ac_exeext conftest.$ac_ext
47219 CPPFLAGS="$am_save_CPPFLAGS"
47220 LIBS="$am_save_LIBS"
47221 fi
47222
47223 fi
47224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47225 $as_echo "$am_cv_func_iconv" >&6; }
47226 if test "$am_cv_func_iconv" = yes; then
47227
47228 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47229
47230 fi
47231 if test "$am_cv_lib_iconv" = yes; then
47232
47233 for element in $INCICONV; do
47234 haveit=
47235 for x in $CPPFLAGS; do
47236
47237 acl_save_prefix="$prefix"
47238 prefix="$acl_final_prefix"
47239 acl_save_exec_prefix="$exec_prefix"
47240 exec_prefix="$acl_final_exec_prefix"
47241 eval x=\"$x\"
47242 exec_prefix="$acl_save_exec_prefix"
47243 prefix="$acl_save_prefix"
47244
47245 if test "X$x" = "X$element"; then
47246 haveit=yes
47247 break
47248 fi
47249 done
47250 if test -z "$haveit"; then
47251 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47252 fi
47253 done
47254
47255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47256 $as_echo_n "checking how to link with libiconv... " >&6; }
47257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47258 $as_echo "$LIBICONV" >&6; }
47259 else
47260 LIBICONV=
47261 LTLIBICONV=
47262 fi
47263
47264
47265
47266 if test "$am_cv_func_iconv" = yes; then
47267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47268 $as_echo_n "checking for iconv declaration... " >&6; }
47269 if test "${am_cv_proto_iconv+set}" = set; then :
47270 $as_echo_n "(cached) " >&6
47271 else
47272
47273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47274 /* end confdefs.h. */
47275
47276 #include <stdlib.h>
47277 #include <iconv.h>
47278 extern
47279 #ifdef __cplusplus
47280 "C"
47281 #endif
47282 #if defined(__STDC__) || defined(__cplusplus)
47283 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47284 #else
47285 size_t iconv();
47286 #endif
47287
47288 int
47289 main ()
47290 {
47291
47292 ;
47293 return 0;
47294 }
47295 _ACEOF
47296 if ac_fn_c_try_compile "$LINENO"; then :
47297 am_cv_proto_iconv_arg1=""
47298 else
47299 am_cv_proto_iconv_arg1="const"
47300 fi
47301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47302 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);"
47303 fi
47304
47305 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47307 }$am_cv_proto_iconv" >&5
47308 $as_echo "${ac_t:-
47309 }$am_cv_proto_iconv" >&6; }
47310
47311 cat >>confdefs.h <<_ACEOF
47312 #define ICONV_CONST $am_cv_proto_iconv_arg1
47313 _ACEOF
47314
47315 fi
47316
47317 ;;
47318
47319 *-darwin*)
47320 # Darwin versions vary, but the linker should work in a cross environment,
47321 # so we just check for all the features here.
47322 # Check for available headers.
47323
47324 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47325
47326 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47327 ac_save_CXXFLAGS="$CXXFLAGS"
47328 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47329
47330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47331 $as_echo_n "checking for sin in -lm... " >&6; }
47332 if test "${ac_cv_lib_m_sin+set}" = set; then :
47333 $as_echo_n "(cached) " >&6
47334 else
47335 ac_check_lib_save_LIBS=$LIBS
47336 LIBS="-lm $LIBS"
47337 if test x$gcc_no_link = xyes; then
47338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47339 fi
47340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47341 /* end confdefs.h. */
47342
47343 /* Override any GCC internal prototype to avoid an error.
47344 Use char because int might match the return type of a GCC
47345 builtin and then its argument prototype would still apply. */
47346 #ifdef __cplusplus
47347 extern "C"
47348 #endif
47349 char sin ();
47350 int
47351 main ()
47352 {
47353 return sin ();
47354 ;
47355 return 0;
47356 }
47357 _ACEOF
47358 if ac_fn_c_try_link "$LINENO"; then :
47359 ac_cv_lib_m_sin=yes
47360 else
47361 ac_cv_lib_m_sin=no
47362 fi
47363 rm -f core conftest.err conftest.$ac_objext \
47364 conftest$ac_exeext conftest.$ac_ext
47365 LIBS=$ac_check_lib_save_LIBS
47366 fi
47367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47368 $as_echo "$ac_cv_lib_m_sin" >&6; }
47369 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47370 libm="-lm"
47371 fi
47372
47373 ac_save_LIBS="$LIBS"
47374 LIBS="$LIBS $libm"
47375
47376
47377
47378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47379 $as_echo_n "checking for isinf declaration... " >&6; }
47380 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47381 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47382 $as_echo_n "(cached) " >&6
47383 else
47384
47385
47386 ac_ext=cpp
47387 ac_cpp='$CXXCPP $CPPFLAGS'
47388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47391
47392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47393 /* end confdefs.h. */
47394 #include <math.h>
47395 #ifdef HAVE_IEEEFP_H
47396 #include <ieeefp.h>
47397 #endif
47398
47399 int
47400 main ()
47401 {
47402 isinf(0);
47403 ;
47404 return 0;
47405 }
47406 _ACEOF
47407 if ac_fn_cxx_try_compile "$LINENO"; then :
47408 glibcxx_cv_func_isinf_use=yes
47409 else
47410 glibcxx_cv_func_isinf_use=no
47411 fi
47412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47413 ac_ext=c
47414 ac_cpp='$CPP $CPPFLAGS'
47415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47418
47419
47420 fi
47421
47422 fi
47423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47424 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47425
47426 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47427 for ac_func in isinf
47428 do :
47429 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47430 if test "x$ac_cv_func_isinf" = x""yes; then :
47431 cat >>confdefs.h <<_ACEOF
47432 #define HAVE_ISINF 1
47433 _ACEOF
47434
47435 fi
47436 done
47437
47438 else
47439
47440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47441 $as_echo_n "checking for _isinf declaration... " >&6; }
47442 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47443 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47444 $as_echo_n "(cached) " >&6
47445 else
47446
47447
47448 ac_ext=cpp
47449 ac_cpp='$CXXCPP $CPPFLAGS'
47450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47453
47454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47455 /* end confdefs.h. */
47456 #include <math.h>
47457 #ifdef HAVE_IEEEFP_H
47458 #include <ieeefp.h>
47459 #endif
47460
47461 int
47462 main ()
47463 {
47464 _isinf(0);
47465 ;
47466 return 0;
47467 }
47468 _ACEOF
47469 if ac_fn_cxx_try_compile "$LINENO"; then :
47470 glibcxx_cv_func__isinf_use=yes
47471 else
47472 glibcxx_cv_func__isinf_use=no
47473 fi
47474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47475 ac_ext=c
47476 ac_cpp='$CPP $CPPFLAGS'
47477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47480
47481
47482 fi
47483
47484 fi
47485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47486 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47487
47488 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47489 for ac_func in _isinf
47490 do :
47491 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47492 if test "x$ac_cv_func__isinf" = x""yes; then :
47493 cat >>confdefs.h <<_ACEOF
47494 #define HAVE__ISINF 1
47495 _ACEOF
47496
47497 fi
47498 done
47499
47500 fi
47501 fi
47502
47503
47504
47505
47506
47507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47508 $as_echo_n "checking for isnan declaration... " >&6; }
47509 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47510 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47511 $as_echo_n "(cached) " >&6
47512 else
47513
47514
47515 ac_ext=cpp
47516 ac_cpp='$CXXCPP $CPPFLAGS'
47517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47520
47521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47522 /* end confdefs.h. */
47523 #include <math.h>
47524 #ifdef HAVE_IEEEFP_H
47525 #include <ieeefp.h>
47526 #endif
47527
47528 int
47529 main ()
47530 {
47531 isnan(0);
47532 ;
47533 return 0;
47534 }
47535 _ACEOF
47536 if ac_fn_cxx_try_compile "$LINENO"; then :
47537 glibcxx_cv_func_isnan_use=yes
47538 else
47539 glibcxx_cv_func_isnan_use=no
47540 fi
47541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47542 ac_ext=c
47543 ac_cpp='$CPP $CPPFLAGS'
47544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47547
47548
47549 fi
47550
47551 fi
47552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47553 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47554
47555 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47556 for ac_func in isnan
47557 do :
47558 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47559 if test "x$ac_cv_func_isnan" = x""yes; then :
47560 cat >>confdefs.h <<_ACEOF
47561 #define HAVE_ISNAN 1
47562 _ACEOF
47563
47564 fi
47565 done
47566
47567 else
47568
47569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47570 $as_echo_n "checking for _isnan declaration... " >&6; }
47571 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47572 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47573 $as_echo_n "(cached) " >&6
47574 else
47575
47576
47577 ac_ext=cpp
47578 ac_cpp='$CXXCPP $CPPFLAGS'
47579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47582
47583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47584 /* end confdefs.h. */
47585 #include <math.h>
47586 #ifdef HAVE_IEEEFP_H
47587 #include <ieeefp.h>
47588 #endif
47589
47590 int
47591 main ()
47592 {
47593 _isnan(0);
47594 ;
47595 return 0;
47596 }
47597 _ACEOF
47598 if ac_fn_cxx_try_compile "$LINENO"; then :
47599 glibcxx_cv_func__isnan_use=yes
47600 else
47601 glibcxx_cv_func__isnan_use=no
47602 fi
47603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47604 ac_ext=c
47605 ac_cpp='$CPP $CPPFLAGS'
47606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47609
47610
47611 fi
47612
47613 fi
47614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47615 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47616
47617 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47618 for ac_func in _isnan
47619 do :
47620 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47621 if test "x$ac_cv_func__isnan" = x""yes; then :
47622 cat >>confdefs.h <<_ACEOF
47623 #define HAVE__ISNAN 1
47624 _ACEOF
47625
47626 fi
47627 done
47628
47629 fi
47630 fi
47631
47632
47633
47634
47635
47636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47637 $as_echo_n "checking for finite declaration... " >&6; }
47638 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47639 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47640 $as_echo_n "(cached) " >&6
47641 else
47642
47643
47644 ac_ext=cpp
47645 ac_cpp='$CXXCPP $CPPFLAGS'
47646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47649
47650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47651 /* end confdefs.h. */
47652 #include <math.h>
47653 #ifdef HAVE_IEEEFP_H
47654 #include <ieeefp.h>
47655 #endif
47656
47657 int
47658 main ()
47659 {
47660 finite(0);
47661 ;
47662 return 0;
47663 }
47664 _ACEOF
47665 if ac_fn_cxx_try_compile "$LINENO"; then :
47666 glibcxx_cv_func_finite_use=yes
47667 else
47668 glibcxx_cv_func_finite_use=no
47669 fi
47670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47671 ac_ext=c
47672 ac_cpp='$CPP $CPPFLAGS'
47673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47676
47677
47678 fi
47679
47680 fi
47681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47682 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47683
47684 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47685 for ac_func in finite
47686 do :
47687 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47688 if test "x$ac_cv_func_finite" = x""yes; then :
47689 cat >>confdefs.h <<_ACEOF
47690 #define HAVE_FINITE 1
47691 _ACEOF
47692
47693 fi
47694 done
47695
47696 else
47697
47698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47699 $as_echo_n "checking for _finite declaration... " >&6; }
47700 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47701 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47702 $as_echo_n "(cached) " >&6
47703 else
47704
47705
47706 ac_ext=cpp
47707 ac_cpp='$CXXCPP $CPPFLAGS'
47708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47711
47712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47713 /* end confdefs.h. */
47714 #include <math.h>
47715 #ifdef HAVE_IEEEFP_H
47716 #include <ieeefp.h>
47717 #endif
47718
47719 int
47720 main ()
47721 {
47722 _finite(0);
47723 ;
47724 return 0;
47725 }
47726 _ACEOF
47727 if ac_fn_cxx_try_compile "$LINENO"; then :
47728 glibcxx_cv_func__finite_use=yes
47729 else
47730 glibcxx_cv_func__finite_use=no
47731 fi
47732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47733 ac_ext=c
47734 ac_cpp='$CPP $CPPFLAGS'
47735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47738
47739
47740 fi
47741
47742 fi
47743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47744 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47745
47746 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47747 for ac_func in _finite
47748 do :
47749 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47750 if test "x$ac_cv_func__finite" = x""yes; then :
47751 cat >>confdefs.h <<_ACEOF
47752 #define HAVE__FINITE 1
47753 _ACEOF
47754
47755 fi
47756 done
47757
47758 fi
47759 fi
47760
47761
47762
47763
47764
47765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47766 $as_echo_n "checking for sincos declaration... " >&6; }
47767 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47768 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47769 $as_echo_n "(cached) " >&6
47770 else
47771
47772
47773 ac_ext=cpp
47774 ac_cpp='$CXXCPP $CPPFLAGS'
47775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47778
47779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47780 /* end confdefs.h. */
47781 #include <math.h>
47782 int
47783 main ()
47784 {
47785 sincos(0, 0, 0);
47786 ;
47787 return 0;
47788 }
47789 _ACEOF
47790 if ac_fn_cxx_try_compile "$LINENO"; then :
47791 glibcxx_cv_func_sincos_use=yes
47792 else
47793 glibcxx_cv_func_sincos_use=no
47794 fi
47795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47796 ac_ext=c
47797 ac_cpp='$CPP $CPPFLAGS'
47798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47801
47802
47803 fi
47804
47805 fi
47806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47807 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47808
47809 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47810 for ac_func in sincos
47811 do :
47812 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47813 if test "x$ac_cv_func_sincos" = x""yes; then :
47814 cat >>confdefs.h <<_ACEOF
47815 #define HAVE_SINCOS 1
47816 _ACEOF
47817
47818 fi
47819 done
47820
47821 else
47822
47823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47824 $as_echo_n "checking for _sincos declaration... " >&6; }
47825 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47826 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47827 $as_echo_n "(cached) " >&6
47828 else
47829
47830
47831 ac_ext=cpp
47832 ac_cpp='$CXXCPP $CPPFLAGS'
47833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47836
47837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47838 /* end confdefs.h. */
47839 #include <math.h>
47840 int
47841 main ()
47842 {
47843 _sincos(0, 0, 0);
47844 ;
47845 return 0;
47846 }
47847 _ACEOF
47848 if ac_fn_cxx_try_compile "$LINENO"; then :
47849 glibcxx_cv_func__sincos_use=yes
47850 else
47851 glibcxx_cv_func__sincos_use=no
47852 fi
47853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47854 ac_ext=c
47855 ac_cpp='$CPP $CPPFLAGS'
47856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47859
47860
47861 fi
47862
47863 fi
47864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47865 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47866
47867 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47868 for ac_func in _sincos
47869 do :
47870 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47871 if test "x$ac_cv_func__sincos" = x""yes; then :
47872 cat >>confdefs.h <<_ACEOF
47873 #define HAVE__SINCOS 1
47874 _ACEOF
47875
47876 fi
47877 done
47878
47879 fi
47880 fi
47881
47882
47883
47884
47885
47886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47887 $as_echo_n "checking for fpclass declaration... " >&6; }
47888 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47889 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47890 $as_echo_n "(cached) " >&6
47891 else
47892
47893
47894 ac_ext=cpp
47895 ac_cpp='$CXXCPP $CPPFLAGS'
47896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47899
47900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47901 /* end confdefs.h. */
47902 #include <math.h>
47903 #ifdef HAVE_IEEEFP_H
47904 #include <ieeefp.h>
47905 #endif
47906
47907 int
47908 main ()
47909 {
47910 fpclass(0);
47911 ;
47912 return 0;
47913 }
47914 _ACEOF
47915 if ac_fn_cxx_try_compile "$LINENO"; then :
47916 glibcxx_cv_func_fpclass_use=yes
47917 else
47918 glibcxx_cv_func_fpclass_use=no
47919 fi
47920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47921 ac_ext=c
47922 ac_cpp='$CPP $CPPFLAGS'
47923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47926
47927
47928 fi
47929
47930 fi
47931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47932 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47933
47934 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47935 for ac_func in fpclass
47936 do :
47937 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47938 if test "x$ac_cv_func_fpclass" = x""yes; then :
47939 cat >>confdefs.h <<_ACEOF
47940 #define HAVE_FPCLASS 1
47941 _ACEOF
47942
47943 fi
47944 done
47945
47946 else
47947
47948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47949 $as_echo_n "checking for _fpclass declaration... " >&6; }
47950 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47951 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47952 $as_echo_n "(cached) " >&6
47953 else
47954
47955
47956 ac_ext=cpp
47957 ac_cpp='$CXXCPP $CPPFLAGS'
47958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47961
47962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47963 /* end confdefs.h. */
47964 #include <math.h>
47965 #ifdef HAVE_IEEEFP_H
47966 #include <ieeefp.h>
47967 #endif
47968
47969 int
47970 main ()
47971 {
47972 _fpclass(0);
47973 ;
47974 return 0;
47975 }
47976 _ACEOF
47977 if ac_fn_cxx_try_compile "$LINENO"; then :
47978 glibcxx_cv_func__fpclass_use=yes
47979 else
47980 glibcxx_cv_func__fpclass_use=no
47981 fi
47982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47983 ac_ext=c
47984 ac_cpp='$CPP $CPPFLAGS'
47985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47988
47989
47990 fi
47991
47992 fi
47993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47994 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47995
47996 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47997 for ac_func in _fpclass
47998 do :
47999 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48000 if test "x$ac_cv_func__fpclass" = x""yes; then :
48001 cat >>confdefs.h <<_ACEOF
48002 #define HAVE__FPCLASS 1
48003 _ACEOF
48004
48005 fi
48006 done
48007
48008 fi
48009 fi
48010
48011
48012
48013
48014
48015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48016 $as_echo_n "checking for qfpclass declaration... " >&6; }
48017 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48018 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48019 $as_echo_n "(cached) " >&6
48020 else
48021
48022
48023 ac_ext=cpp
48024 ac_cpp='$CXXCPP $CPPFLAGS'
48025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48028
48029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48030 /* end confdefs.h. */
48031 #include <math.h>
48032 #ifdef HAVE_IEEEFP_H
48033 #include <ieeefp.h>
48034 #endif
48035
48036 int
48037 main ()
48038 {
48039 qfpclass(0);
48040 ;
48041 return 0;
48042 }
48043 _ACEOF
48044 if ac_fn_cxx_try_compile "$LINENO"; then :
48045 glibcxx_cv_func_qfpclass_use=yes
48046 else
48047 glibcxx_cv_func_qfpclass_use=no
48048 fi
48049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48050 ac_ext=c
48051 ac_cpp='$CPP $CPPFLAGS'
48052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48055
48056
48057 fi
48058
48059 fi
48060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48061 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48062
48063 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48064 for ac_func in qfpclass
48065 do :
48066 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48067 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48068 cat >>confdefs.h <<_ACEOF
48069 #define HAVE_QFPCLASS 1
48070 _ACEOF
48071
48072 fi
48073 done
48074
48075 else
48076
48077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48078 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48079 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48080 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48081 $as_echo_n "(cached) " >&6
48082 else
48083
48084
48085 ac_ext=cpp
48086 ac_cpp='$CXXCPP $CPPFLAGS'
48087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48090
48091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48092 /* end confdefs.h. */
48093 #include <math.h>
48094 #ifdef HAVE_IEEEFP_H
48095 #include <ieeefp.h>
48096 #endif
48097
48098 int
48099 main ()
48100 {
48101 _qfpclass(0);
48102 ;
48103 return 0;
48104 }
48105 _ACEOF
48106 if ac_fn_cxx_try_compile "$LINENO"; then :
48107 glibcxx_cv_func__qfpclass_use=yes
48108 else
48109 glibcxx_cv_func__qfpclass_use=no
48110 fi
48111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48112 ac_ext=c
48113 ac_cpp='$CPP $CPPFLAGS'
48114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48117
48118
48119 fi
48120
48121 fi
48122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48123 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48124
48125 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48126 for ac_func in _qfpclass
48127 do :
48128 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48129 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48130 cat >>confdefs.h <<_ACEOF
48131 #define HAVE__QFPCLASS 1
48132 _ACEOF
48133
48134 fi
48135 done
48136
48137 fi
48138 fi
48139
48140
48141
48142
48143
48144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48145 $as_echo_n "checking for hypot declaration... " >&6; }
48146 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48147 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48148 $as_echo_n "(cached) " >&6
48149 else
48150
48151
48152 ac_ext=cpp
48153 ac_cpp='$CXXCPP $CPPFLAGS'
48154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48157
48158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48159 /* end confdefs.h. */
48160 #include <math.h>
48161 int
48162 main ()
48163 {
48164 hypot(0, 0);
48165 ;
48166 return 0;
48167 }
48168 _ACEOF
48169 if ac_fn_cxx_try_compile "$LINENO"; then :
48170 glibcxx_cv_func_hypot_use=yes
48171 else
48172 glibcxx_cv_func_hypot_use=no
48173 fi
48174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48175 ac_ext=c
48176 ac_cpp='$CPP $CPPFLAGS'
48177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48180
48181
48182 fi
48183
48184 fi
48185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48186 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48187
48188 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48189 for ac_func in hypot
48190 do :
48191 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48192 if test "x$ac_cv_func_hypot" = x""yes; then :
48193 cat >>confdefs.h <<_ACEOF
48194 #define HAVE_HYPOT 1
48195 _ACEOF
48196
48197 fi
48198 done
48199
48200 else
48201
48202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48203 $as_echo_n "checking for _hypot declaration... " >&6; }
48204 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48205 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48206 $as_echo_n "(cached) " >&6
48207 else
48208
48209
48210 ac_ext=cpp
48211 ac_cpp='$CXXCPP $CPPFLAGS'
48212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48215
48216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48217 /* end confdefs.h. */
48218 #include <math.h>
48219 int
48220 main ()
48221 {
48222 _hypot(0, 0);
48223 ;
48224 return 0;
48225 }
48226 _ACEOF
48227 if ac_fn_cxx_try_compile "$LINENO"; then :
48228 glibcxx_cv_func__hypot_use=yes
48229 else
48230 glibcxx_cv_func__hypot_use=no
48231 fi
48232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48233 ac_ext=c
48234 ac_cpp='$CPP $CPPFLAGS'
48235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48238
48239
48240 fi
48241
48242 fi
48243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48244 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48245
48246 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48247 for ac_func in _hypot
48248 do :
48249 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48250 if test "x$ac_cv_func__hypot" = x""yes; then :
48251 cat >>confdefs.h <<_ACEOF
48252 #define HAVE__HYPOT 1
48253 _ACEOF
48254
48255 fi
48256 done
48257
48258 fi
48259 fi
48260
48261
48262
48263
48264
48265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48266 $as_echo_n "checking for float trig functions... " >&6; }
48267 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48268 $as_echo_n "(cached) " >&6
48269 else
48270
48271
48272 ac_ext=cpp
48273 ac_cpp='$CXXCPP $CPPFLAGS'
48274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48277
48278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48279 /* end confdefs.h. */
48280 #include <math.h>
48281 int
48282 main ()
48283 {
48284 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48285 ;
48286 return 0;
48287 }
48288 _ACEOF
48289 if ac_fn_cxx_try_compile "$LINENO"; then :
48290 glibcxx_cv_func_float_trig_use=yes
48291 else
48292 glibcxx_cv_func_float_trig_use=no
48293 fi
48294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48295 ac_ext=c
48296 ac_cpp='$CPP $CPPFLAGS'
48297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48300
48301 fi
48302
48303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48304 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48305 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48306 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48307 do :
48308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48310 eval as_val=\$$as_ac_var
48311 if test "x$as_val" = x""yes; then :
48312 cat >>confdefs.h <<_ACEOF
48313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48314 _ACEOF
48315
48316 fi
48317 done
48318
48319 else
48320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48321 $as_echo_n "checking for _float trig functions... " >&6; }
48322 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48323 $as_echo_n "(cached) " >&6
48324 else
48325
48326
48327 ac_ext=cpp
48328 ac_cpp='$CXXCPP $CPPFLAGS'
48329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48332
48333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48334 /* end confdefs.h. */
48335 #include <math.h>
48336 int
48337 main ()
48338 {
48339 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48340 ;
48341 return 0;
48342 }
48343 _ACEOF
48344 if ac_fn_cxx_try_compile "$LINENO"; then :
48345 glibcxx_cv_func__float_trig_use=yes
48346 else
48347 glibcxx_cv_func__float_trig_use=no
48348 fi
48349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48350 ac_ext=c
48351 ac_cpp='$CPP $CPPFLAGS'
48352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48355
48356 fi
48357
48358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48359 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48360 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48361 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48362 do :
48363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48365 eval as_val=\$$as_ac_var
48366 if test "x$as_val" = x""yes; then :
48367 cat >>confdefs.h <<_ACEOF
48368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48369 _ACEOF
48370
48371 fi
48372 done
48373
48374 fi
48375 fi
48376
48377
48378
48379
48380
48381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48382 $as_echo_n "checking for float round functions... " >&6; }
48383 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48384 $as_echo_n "(cached) " >&6
48385 else
48386
48387
48388 ac_ext=cpp
48389 ac_cpp='$CXXCPP $CPPFLAGS'
48390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48393
48394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48395 /* end confdefs.h. */
48396 #include <math.h>
48397 int
48398 main ()
48399 {
48400 ceilf (0); floorf (0);
48401 ;
48402 return 0;
48403 }
48404 _ACEOF
48405 if ac_fn_cxx_try_compile "$LINENO"; then :
48406 glibcxx_cv_func_float_round_use=yes
48407 else
48408 glibcxx_cv_func_float_round_use=no
48409 fi
48410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48411 ac_ext=c
48412 ac_cpp='$CPP $CPPFLAGS'
48413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48416
48417 fi
48418
48419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48420 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48421 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48422 for ac_func in ceilf floorf
48423 do :
48424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48426 eval as_val=\$$as_ac_var
48427 if test "x$as_val" = x""yes; then :
48428 cat >>confdefs.h <<_ACEOF
48429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48430 _ACEOF
48431
48432 fi
48433 done
48434
48435 else
48436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48437 $as_echo_n "checking for _float round functions... " >&6; }
48438 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48439 $as_echo_n "(cached) " >&6
48440 else
48441
48442
48443 ac_ext=cpp
48444 ac_cpp='$CXXCPP $CPPFLAGS'
48445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48448
48449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48450 /* end confdefs.h. */
48451 #include <math.h>
48452 int
48453 main ()
48454 {
48455 _ceilf (0); _floorf (0);
48456 ;
48457 return 0;
48458 }
48459 _ACEOF
48460 if ac_fn_cxx_try_compile "$LINENO"; then :
48461 glibcxx_cv_func__float_round_use=yes
48462 else
48463 glibcxx_cv_func__float_round_use=no
48464 fi
48465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48466 ac_ext=c
48467 ac_cpp='$CPP $CPPFLAGS'
48468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48471
48472 fi
48473
48474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48475 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48476 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48477 for ac_func in _ceilf _floorf
48478 do :
48479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48481 eval as_val=\$$as_ac_var
48482 if test "x$as_val" = x""yes; then :
48483 cat >>confdefs.h <<_ACEOF
48484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48485 _ACEOF
48486
48487 fi
48488 done
48489
48490 fi
48491 fi
48492
48493
48494
48495
48496
48497
48498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48499 $as_echo_n "checking for expf declaration... " >&6; }
48500 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48501 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48502 $as_echo_n "(cached) " >&6
48503 else
48504
48505
48506 ac_ext=cpp
48507 ac_cpp='$CXXCPP $CPPFLAGS'
48508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48511
48512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48513 /* end confdefs.h. */
48514 #include <math.h>
48515 #ifdef HAVE_IEEEFP_H
48516 #include <ieeefp.h>
48517 #endif
48518
48519 int
48520 main ()
48521 {
48522 expf(0);
48523 ;
48524 return 0;
48525 }
48526 _ACEOF
48527 if ac_fn_cxx_try_compile "$LINENO"; then :
48528 glibcxx_cv_func_expf_use=yes
48529 else
48530 glibcxx_cv_func_expf_use=no
48531 fi
48532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48533 ac_ext=c
48534 ac_cpp='$CPP $CPPFLAGS'
48535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48538
48539
48540 fi
48541
48542 fi
48543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48544 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48545
48546 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48547 for ac_func in expf
48548 do :
48549 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48550 if test "x$ac_cv_func_expf" = x""yes; then :
48551 cat >>confdefs.h <<_ACEOF
48552 #define HAVE_EXPF 1
48553 _ACEOF
48554
48555 fi
48556 done
48557
48558 else
48559
48560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48561 $as_echo_n "checking for _expf declaration... " >&6; }
48562 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48563 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48564 $as_echo_n "(cached) " >&6
48565 else
48566
48567
48568 ac_ext=cpp
48569 ac_cpp='$CXXCPP $CPPFLAGS'
48570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48573
48574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48575 /* end confdefs.h. */
48576 #include <math.h>
48577 #ifdef HAVE_IEEEFP_H
48578 #include <ieeefp.h>
48579 #endif
48580
48581 int
48582 main ()
48583 {
48584 _expf(0);
48585 ;
48586 return 0;
48587 }
48588 _ACEOF
48589 if ac_fn_cxx_try_compile "$LINENO"; then :
48590 glibcxx_cv_func__expf_use=yes
48591 else
48592 glibcxx_cv_func__expf_use=no
48593 fi
48594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48595 ac_ext=c
48596 ac_cpp='$CPP $CPPFLAGS'
48597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48600
48601
48602 fi
48603
48604 fi
48605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48606 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48607
48608 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48609 for ac_func in _expf
48610 do :
48611 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48612 if test "x$ac_cv_func__expf" = x""yes; then :
48613 cat >>confdefs.h <<_ACEOF
48614 #define HAVE__EXPF 1
48615 _ACEOF
48616
48617 fi
48618 done
48619
48620 fi
48621 fi
48622
48623
48624
48625
48626
48627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48628 $as_echo_n "checking for isnanf declaration... " >&6; }
48629 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48630 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48631 $as_echo_n "(cached) " >&6
48632 else
48633
48634
48635 ac_ext=cpp
48636 ac_cpp='$CXXCPP $CPPFLAGS'
48637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48640
48641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48642 /* end confdefs.h. */
48643 #include <math.h>
48644 #ifdef HAVE_IEEEFP_H
48645 #include <ieeefp.h>
48646 #endif
48647
48648 int
48649 main ()
48650 {
48651 isnanf(0);
48652 ;
48653 return 0;
48654 }
48655 _ACEOF
48656 if ac_fn_cxx_try_compile "$LINENO"; then :
48657 glibcxx_cv_func_isnanf_use=yes
48658 else
48659 glibcxx_cv_func_isnanf_use=no
48660 fi
48661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48662 ac_ext=c
48663 ac_cpp='$CPP $CPPFLAGS'
48664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48667
48668
48669 fi
48670
48671 fi
48672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48673 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48674
48675 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48676 for ac_func in isnanf
48677 do :
48678 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48679 if test "x$ac_cv_func_isnanf" = x""yes; then :
48680 cat >>confdefs.h <<_ACEOF
48681 #define HAVE_ISNANF 1
48682 _ACEOF
48683
48684 fi
48685 done
48686
48687 else
48688
48689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48690 $as_echo_n "checking for _isnanf declaration... " >&6; }
48691 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48692 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48693 $as_echo_n "(cached) " >&6
48694 else
48695
48696
48697 ac_ext=cpp
48698 ac_cpp='$CXXCPP $CPPFLAGS'
48699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48702
48703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48704 /* end confdefs.h. */
48705 #include <math.h>
48706 #ifdef HAVE_IEEEFP_H
48707 #include <ieeefp.h>
48708 #endif
48709
48710 int
48711 main ()
48712 {
48713 _isnanf(0);
48714 ;
48715 return 0;
48716 }
48717 _ACEOF
48718 if ac_fn_cxx_try_compile "$LINENO"; then :
48719 glibcxx_cv_func__isnanf_use=yes
48720 else
48721 glibcxx_cv_func__isnanf_use=no
48722 fi
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48724 ac_ext=c
48725 ac_cpp='$CPP $CPPFLAGS'
48726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48729
48730
48731 fi
48732
48733 fi
48734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48735 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48736
48737 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48738 for ac_func in _isnanf
48739 do :
48740 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48741 if test "x$ac_cv_func__isnanf" = x""yes; then :
48742 cat >>confdefs.h <<_ACEOF
48743 #define HAVE__ISNANF 1
48744 _ACEOF
48745
48746 fi
48747 done
48748
48749 fi
48750 fi
48751
48752
48753
48754
48755
48756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48757 $as_echo_n "checking for isinff declaration... " >&6; }
48758 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48759 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48760 $as_echo_n "(cached) " >&6
48761 else
48762
48763
48764 ac_ext=cpp
48765 ac_cpp='$CXXCPP $CPPFLAGS'
48766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48769
48770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48771 /* end confdefs.h. */
48772 #include <math.h>
48773 #ifdef HAVE_IEEEFP_H
48774 #include <ieeefp.h>
48775 #endif
48776
48777 int
48778 main ()
48779 {
48780 isinff(0);
48781 ;
48782 return 0;
48783 }
48784 _ACEOF
48785 if ac_fn_cxx_try_compile "$LINENO"; then :
48786 glibcxx_cv_func_isinff_use=yes
48787 else
48788 glibcxx_cv_func_isinff_use=no
48789 fi
48790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48791 ac_ext=c
48792 ac_cpp='$CPP $CPPFLAGS'
48793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48796
48797
48798 fi
48799
48800 fi
48801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48802 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48803
48804 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48805 for ac_func in isinff
48806 do :
48807 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48808 if test "x$ac_cv_func_isinff" = x""yes; then :
48809 cat >>confdefs.h <<_ACEOF
48810 #define HAVE_ISINFF 1
48811 _ACEOF
48812
48813 fi
48814 done
48815
48816 else
48817
48818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48819 $as_echo_n "checking for _isinff declaration... " >&6; }
48820 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48821 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48822 $as_echo_n "(cached) " >&6
48823 else
48824
48825
48826 ac_ext=cpp
48827 ac_cpp='$CXXCPP $CPPFLAGS'
48828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48831
48832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48833 /* end confdefs.h. */
48834 #include <math.h>
48835 #ifdef HAVE_IEEEFP_H
48836 #include <ieeefp.h>
48837 #endif
48838
48839 int
48840 main ()
48841 {
48842 _isinff(0);
48843 ;
48844 return 0;
48845 }
48846 _ACEOF
48847 if ac_fn_cxx_try_compile "$LINENO"; then :
48848 glibcxx_cv_func__isinff_use=yes
48849 else
48850 glibcxx_cv_func__isinff_use=no
48851 fi
48852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48853 ac_ext=c
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48858
48859
48860 fi
48861
48862 fi
48863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48864 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48865
48866 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48867 for ac_func in _isinff
48868 do :
48869 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48870 if test "x$ac_cv_func__isinff" = x""yes; then :
48871 cat >>confdefs.h <<_ACEOF
48872 #define HAVE__ISINFF 1
48873 _ACEOF
48874
48875 fi
48876 done
48877
48878 fi
48879 fi
48880
48881
48882
48883
48884
48885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48886 $as_echo_n "checking for atan2f declaration... " >&6; }
48887 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48888 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48889 $as_echo_n "(cached) " >&6
48890 else
48891
48892
48893 ac_ext=cpp
48894 ac_cpp='$CXXCPP $CPPFLAGS'
48895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48898
48899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48900 /* end confdefs.h. */
48901 #include <math.h>
48902 int
48903 main ()
48904 {
48905 atan2f(0, 0);
48906 ;
48907 return 0;
48908 }
48909 _ACEOF
48910 if ac_fn_cxx_try_compile "$LINENO"; then :
48911 glibcxx_cv_func_atan2f_use=yes
48912 else
48913 glibcxx_cv_func_atan2f_use=no
48914 fi
48915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48916 ac_ext=c
48917 ac_cpp='$CPP $CPPFLAGS'
48918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48921
48922
48923 fi
48924
48925 fi
48926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48927 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48928
48929 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48930 for ac_func in atan2f
48931 do :
48932 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48933 if test "x$ac_cv_func_atan2f" = x""yes; then :
48934 cat >>confdefs.h <<_ACEOF
48935 #define HAVE_ATAN2F 1
48936 _ACEOF
48937
48938 fi
48939 done
48940
48941 else
48942
48943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48944 $as_echo_n "checking for _atan2f declaration... " >&6; }
48945 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48946 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48947 $as_echo_n "(cached) " >&6
48948 else
48949
48950
48951 ac_ext=cpp
48952 ac_cpp='$CXXCPP $CPPFLAGS'
48953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48956
48957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48958 /* end confdefs.h. */
48959 #include <math.h>
48960 int
48961 main ()
48962 {
48963 _atan2f(0, 0);
48964 ;
48965 return 0;
48966 }
48967 _ACEOF
48968 if ac_fn_cxx_try_compile "$LINENO"; then :
48969 glibcxx_cv_func__atan2f_use=yes
48970 else
48971 glibcxx_cv_func__atan2f_use=no
48972 fi
48973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48974 ac_ext=c
48975 ac_cpp='$CPP $CPPFLAGS'
48976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48979
48980
48981 fi
48982
48983 fi
48984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48985 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48986
48987 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48988 for ac_func in _atan2f
48989 do :
48990 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48991 if test "x$ac_cv_func__atan2f" = x""yes; then :
48992 cat >>confdefs.h <<_ACEOF
48993 #define HAVE__ATAN2F 1
48994 _ACEOF
48995
48996 fi
48997 done
48998
48999 fi
49000 fi
49001
49002
49003
49004
49005
49006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49007 $as_echo_n "checking for fabsf declaration... " >&6; }
49008 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49009 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49010 $as_echo_n "(cached) " >&6
49011 else
49012
49013
49014 ac_ext=cpp
49015 ac_cpp='$CXXCPP $CPPFLAGS'
49016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49019
49020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49021 /* end confdefs.h. */
49022 #include <math.h>
49023 #ifdef HAVE_IEEEFP_H
49024 #include <ieeefp.h>
49025 #endif
49026
49027 int
49028 main ()
49029 {
49030 fabsf(0);
49031 ;
49032 return 0;
49033 }
49034 _ACEOF
49035 if ac_fn_cxx_try_compile "$LINENO"; then :
49036 glibcxx_cv_func_fabsf_use=yes
49037 else
49038 glibcxx_cv_func_fabsf_use=no
49039 fi
49040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49041 ac_ext=c
49042 ac_cpp='$CPP $CPPFLAGS'
49043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49046
49047
49048 fi
49049
49050 fi
49051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49052 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49053
49054 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49055 for ac_func in fabsf
49056 do :
49057 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49058 if test "x$ac_cv_func_fabsf" = x""yes; then :
49059 cat >>confdefs.h <<_ACEOF
49060 #define HAVE_FABSF 1
49061 _ACEOF
49062
49063 fi
49064 done
49065
49066 else
49067
49068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49069 $as_echo_n "checking for _fabsf declaration... " >&6; }
49070 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49071 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49072 $as_echo_n "(cached) " >&6
49073 else
49074
49075
49076 ac_ext=cpp
49077 ac_cpp='$CXXCPP $CPPFLAGS'
49078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49081
49082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49083 /* end confdefs.h. */
49084 #include <math.h>
49085 #ifdef HAVE_IEEEFP_H
49086 #include <ieeefp.h>
49087 #endif
49088
49089 int
49090 main ()
49091 {
49092 _fabsf(0);
49093 ;
49094 return 0;
49095 }
49096 _ACEOF
49097 if ac_fn_cxx_try_compile "$LINENO"; then :
49098 glibcxx_cv_func__fabsf_use=yes
49099 else
49100 glibcxx_cv_func__fabsf_use=no
49101 fi
49102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49103 ac_ext=c
49104 ac_cpp='$CPP $CPPFLAGS'
49105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49108
49109
49110 fi
49111
49112 fi
49113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49114 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49115
49116 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49117 for ac_func in _fabsf
49118 do :
49119 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49120 if test "x$ac_cv_func__fabsf" = x""yes; then :
49121 cat >>confdefs.h <<_ACEOF
49122 #define HAVE__FABSF 1
49123 _ACEOF
49124
49125 fi
49126 done
49127
49128 fi
49129 fi
49130
49131
49132
49133
49134
49135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49136 $as_echo_n "checking for fmodf declaration... " >&6; }
49137 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49138 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49139 $as_echo_n "(cached) " >&6
49140 else
49141
49142
49143 ac_ext=cpp
49144 ac_cpp='$CXXCPP $CPPFLAGS'
49145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49148
49149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49150 /* end confdefs.h. */
49151 #include <math.h>
49152 int
49153 main ()
49154 {
49155 fmodf(0, 0);
49156 ;
49157 return 0;
49158 }
49159 _ACEOF
49160 if ac_fn_cxx_try_compile "$LINENO"; then :
49161 glibcxx_cv_func_fmodf_use=yes
49162 else
49163 glibcxx_cv_func_fmodf_use=no
49164 fi
49165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49166 ac_ext=c
49167 ac_cpp='$CPP $CPPFLAGS'
49168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49171
49172
49173 fi
49174
49175 fi
49176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49177 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49178
49179 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49180 for ac_func in fmodf
49181 do :
49182 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49183 if test "x$ac_cv_func_fmodf" = x""yes; then :
49184 cat >>confdefs.h <<_ACEOF
49185 #define HAVE_FMODF 1
49186 _ACEOF
49187
49188 fi
49189 done
49190
49191 else
49192
49193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49194 $as_echo_n "checking for _fmodf declaration... " >&6; }
49195 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49196 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49197 $as_echo_n "(cached) " >&6
49198 else
49199
49200
49201 ac_ext=cpp
49202 ac_cpp='$CXXCPP $CPPFLAGS'
49203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49206
49207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49208 /* end confdefs.h. */
49209 #include <math.h>
49210 int
49211 main ()
49212 {
49213 _fmodf(0, 0);
49214 ;
49215 return 0;
49216 }
49217 _ACEOF
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219 glibcxx_cv_func__fmodf_use=yes
49220 else
49221 glibcxx_cv_func__fmodf_use=no
49222 fi
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224 ac_ext=c
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49229
49230
49231 fi
49232
49233 fi
49234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49235 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49236
49237 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49238 for ac_func in _fmodf
49239 do :
49240 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49241 if test "x$ac_cv_func__fmodf" = x""yes; then :
49242 cat >>confdefs.h <<_ACEOF
49243 #define HAVE__FMODF 1
49244 _ACEOF
49245
49246 fi
49247 done
49248
49249 fi
49250 fi
49251
49252
49253
49254
49255
49256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49257 $as_echo_n "checking for frexpf declaration... " >&6; }
49258 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49259 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49260 $as_echo_n "(cached) " >&6
49261 else
49262
49263
49264 ac_ext=cpp
49265 ac_cpp='$CXXCPP $CPPFLAGS'
49266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49269
49270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49271 /* end confdefs.h. */
49272 #include <math.h>
49273 int
49274 main ()
49275 {
49276 frexpf(0, 0);
49277 ;
49278 return 0;
49279 }
49280 _ACEOF
49281 if ac_fn_cxx_try_compile "$LINENO"; then :
49282 glibcxx_cv_func_frexpf_use=yes
49283 else
49284 glibcxx_cv_func_frexpf_use=no
49285 fi
49286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49287 ac_ext=c
49288 ac_cpp='$CPP $CPPFLAGS'
49289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49292
49293
49294 fi
49295
49296 fi
49297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49298 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49299
49300 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49301 for ac_func in frexpf
49302 do :
49303 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49304 if test "x$ac_cv_func_frexpf" = x""yes; then :
49305 cat >>confdefs.h <<_ACEOF
49306 #define HAVE_FREXPF 1
49307 _ACEOF
49308
49309 fi
49310 done
49311
49312 else
49313
49314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49315 $as_echo_n "checking for _frexpf declaration... " >&6; }
49316 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49317 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49318 $as_echo_n "(cached) " >&6
49319 else
49320
49321
49322 ac_ext=cpp
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49327
49328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h. */
49330 #include <math.h>
49331 int
49332 main ()
49333 {
49334 _frexpf(0, 0);
49335 ;
49336 return 0;
49337 }
49338 _ACEOF
49339 if ac_fn_cxx_try_compile "$LINENO"; then :
49340 glibcxx_cv_func__frexpf_use=yes
49341 else
49342 glibcxx_cv_func__frexpf_use=no
49343 fi
49344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49345 ac_ext=c
49346 ac_cpp='$CPP $CPPFLAGS'
49347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49350
49351
49352 fi
49353
49354 fi
49355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49356 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49357
49358 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49359 for ac_func in _frexpf
49360 do :
49361 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49362 if test "x$ac_cv_func__frexpf" = x""yes; then :
49363 cat >>confdefs.h <<_ACEOF
49364 #define HAVE__FREXPF 1
49365 _ACEOF
49366
49367 fi
49368 done
49369
49370 fi
49371 fi
49372
49373
49374
49375
49376
49377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49378 $as_echo_n "checking for hypotf declaration... " >&6; }
49379 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49380 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49381 $as_echo_n "(cached) " >&6
49382 else
49383
49384
49385 ac_ext=cpp
49386 ac_cpp='$CXXCPP $CPPFLAGS'
49387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49390
49391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49392 /* end confdefs.h. */
49393 #include <math.h>
49394 int
49395 main ()
49396 {
49397 hypotf(0, 0);
49398 ;
49399 return 0;
49400 }
49401 _ACEOF
49402 if ac_fn_cxx_try_compile "$LINENO"; then :
49403 glibcxx_cv_func_hypotf_use=yes
49404 else
49405 glibcxx_cv_func_hypotf_use=no
49406 fi
49407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49408 ac_ext=c
49409 ac_cpp='$CPP $CPPFLAGS'
49410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49413
49414
49415 fi
49416
49417 fi
49418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49419 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49420
49421 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49422 for ac_func in hypotf
49423 do :
49424 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49425 if test "x$ac_cv_func_hypotf" = x""yes; then :
49426 cat >>confdefs.h <<_ACEOF
49427 #define HAVE_HYPOTF 1
49428 _ACEOF
49429
49430 fi
49431 done
49432
49433 else
49434
49435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49436 $as_echo_n "checking for _hypotf declaration... " >&6; }
49437 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49438 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49439 $as_echo_n "(cached) " >&6
49440 else
49441
49442
49443 ac_ext=cpp
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49448
49449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49450 /* end confdefs.h. */
49451 #include <math.h>
49452 int
49453 main ()
49454 {
49455 _hypotf(0, 0);
49456 ;
49457 return 0;
49458 }
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func__hypotf_use=yes
49462 else
49463 glibcxx_cv_func__hypotf_use=no
49464 fi
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466 ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49471
49472
49473 fi
49474
49475 fi
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49477 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49478
49479 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49480 for ac_func in _hypotf
49481 do :
49482 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49483 if test "x$ac_cv_func__hypotf" = x""yes; then :
49484 cat >>confdefs.h <<_ACEOF
49485 #define HAVE__HYPOTF 1
49486 _ACEOF
49487
49488 fi
49489 done
49490
49491 fi
49492 fi
49493
49494
49495
49496
49497
49498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49499 $as_echo_n "checking for ldexpf declaration... " >&6; }
49500 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49501 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49502 $as_echo_n "(cached) " >&6
49503 else
49504
49505
49506 ac_ext=cpp
49507 ac_cpp='$CXXCPP $CPPFLAGS'
49508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49511
49512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49513 /* end confdefs.h. */
49514 #include <math.h>
49515 int
49516 main ()
49517 {
49518 ldexpf(0, 0);
49519 ;
49520 return 0;
49521 }
49522 _ACEOF
49523 if ac_fn_cxx_try_compile "$LINENO"; then :
49524 glibcxx_cv_func_ldexpf_use=yes
49525 else
49526 glibcxx_cv_func_ldexpf_use=no
49527 fi
49528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49529 ac_ext=c
49530 ac_cpp='$CPP $CPPFLAGS'
49531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49534
49535
49536 fi
49537
49538 fi
49539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49540 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49541
49542 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49543 for ac_func in ldexpf
49544 do :
49545 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49546 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49547 cat >>confdefs.h <<_ACEOF
49548 #define HAVE_LDEXPF 1
49549 _ACEOF
49550
49551 fi
49552 done
49553
49554 else
49555
49556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49557 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49558 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49559 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49560 $as_echo_n "(cached) " >&6
49561 else
49562
49563
49564 ac_ext=cpp
49565 ac_cpp='$CXXCPP $CPPFLAGS'
49566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49569
49570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49571 /* end confdefs.h. */
49572 #include <math.h>
49573 int
49574 main ()
49575 {
49576 _ldexpf(0, 0);
49577 ;
49578 return 0;
49579 }
49580 _ACEOF
49581 if ac_fn_cxx_try_compile "$LINENO"; then :
49582 glibcxx_cv_func__ldexpf_use=yes
49583 else
49584 glibcxx_cv_func__ldexpf_use=no
49585 fi
49586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49587 ac_ext=c
49588 ac_cpp='$CPP $CPPFLAGS'
49589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49592
49593
49594 fi
49595
49596 fi
49597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49598 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49599
49600 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49601 for ac_func in _ldexpf
49602 do :
49603 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49604 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49605 cat >>confdefs.h <<_ACEOF
49606 #define HAVE__LDEXPF 1
49607 _ACEOF
49608
49609 fi
49610 done
49611
49612 fi
49613 fi
49614
49615
49616
49617
49618
49619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49620 $as_echo_n "checking for logf declaration... " >&6; }
49621 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49622 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49623 $as_echo_n "(cached) " >&6
49624 else
49625
49626
49627 ac_ext=cpp
49628 ac_cpp='$CXXCPP $CPPFLAGS'
49629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49632
49633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49634 /* end confdefs.h. */
49635 #include <math.h>
49636 #ifdef HAVE_IEEEFP_H
49637 #include <ieeefp.h>
49638 #endif
49639
49640 int
49641 main ()
49642 {
49643 logf(0);
49644 ;
49645 return 0;
49646 }
49647 _ACEOF
49648 if ac_fn_cxx_try_compile "$LINENO"; then :
49649 glibcxx_cv_func_logf_use=yes
49650 else
49651 glibcxx_cv_func_logf_use=no
49652 fi
49653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49654 ac_ext=c
49655 ac_cpp='$CPP $CPPFLAGS'
49656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49659
49660
49661 fi
49662
49663 fi
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49665 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49666
49667 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49668 for ac_func in logf
49669 do :
49670 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49671 if test "x$ac_cv_func_logf" = x""yes; then :
49672 cat >>confdefs.h <<_ACEOF
49673 #define HAVE_LOGF 1
49674 _ACEOF
49675
49676 fi
49677 done
49678
49679 else
49680
49681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49682 $as_echo_n "checking for _logf declaration... " >&6; }
49683 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49684 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49685 $as_echo_n "(cached) " >&6
49686 else
49687
49688
49689 ac_ext=cpp
49690 ac_cpp='$CXXCPP $CPPFLAGS'
49691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49694
49695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49696 /* end confdefs.h. */
49697 #include <math.h>
49698 #ifdef HAVE_IEEEFP_H
49699 #include <ieeefp.h>
49700 #endif
49701
49702 int
49703 main ()
49704 {
49705 _logf(0);
49706 ;
49707 return 0;
49708 }
49709 _ACEOF
49710 if ac_fn_cxx_try_compile "$LINENO"; then :
49711 glibcxx_cv_func__logf_use=yes
49712 else
49713 glibcxx_cv_func__logf_use=no
49714 fi
49715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49716 ac_ext=c
49717 ac_cpp='$CPP $CPPFLAGS'
49718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49721
49722
49723 fi
49724
49725 fi
49726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49727 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49728
49729 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49730 for ac_func in _logf
49731 do :
49732 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49733 if test "x$ac_cv_func__logf" = x""yes; then :
49734 cat >>confdefs.h <<_ACEOF
49735 #define HAVE__LOGF 1
49736 _ACEOF
49737
49738 fi
49739 done
49740
49741 fi
49742 fi
49743
49744
49745
49746
49747
49748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49749 $as_echo_n "checking for log10f declaration... " >&6; }
49750 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49751 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49752 $as_echo_n "(cached) " >&6
49753 else
49754
49755
49756 ac_ext=cpp
49757 ac_cpp='$CXXCPP $CPPFLAGS'
49758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49761
49762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49763 /* end confdefs.h. */
49764 #include <math.h>
49765 #ifdef HAVE_IEEEFP_H
49766 #include <ieeefp.h>
49767 #endif
49768
49769 int
49770 main ()
49771 {
49772 log10f(0);
49773 ;
49774 return 0;
49775 }
49776 _ACEOF
49777 if ac_fn_cxx_try_compile "$LINENO"; then :
49778 glibcxx_cv_func_log10f_use=yes
49779 else
49780 glibcxx_cv_func_log10f_use=no
49781 fi
49782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49783 ac_ext=c
49784 ac_cpp='$CPP $CPPFLAGS'
49785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49788
49789
49790 fi
49791
49792 fi
49793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49794 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49795
49796 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49797 for ac_func in log10f
49798 do :
49799 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49800 if test "x$ac_cv_func_log10f" = x""yes; then :
49801 cat >>confdefs.h <<_ACEOF
49802 #define HAVE_LOG10F 1
49803 _ACEOF
49804
49805 fi
49806 done
49807
49808 else
49809
49810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49811 $as_echo_n "checking for _log10f declaration... " >&6; }
49812 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49813 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49814 $as_echo_n "(cached) " >&6
49815 else
49816
49817
49818 ac_ext=cpp
49819 ac_cpp='$CXXCPP $CPPFLAGS'
49820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49823
49824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49825 /* end confdefs.h. */
49826 #include <math.h>
49827 #ifdef HAVE_IEEEFP_H
49828 #include <ieeefp.h>
49829 #endif
49830
49831 int
49832 main ()
49833 {
49834 _log10f(0);
49835 ;
49836 return 0;
49837 }
49838 _ACEOF
49839 if ac_fn_cxx_try_compile "$LINENO"; then :
49840 glibcxx_cv_func__log10f_use=yes
49841 else
49842 glibcxx_cv_func__log10f_use=no
49843 fi
49844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49845 ac_ext=c
49846 ac_cpp='$CPP $CPPFLAGS'
49847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49850
49851
49852 fi
49853
49854 fi
49855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49856 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49857
49858 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49859 for ac_func in _log10f
49860 do :
49861 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49862 if test "x$ac_cv_func__log10f" = x""yes; then :
49863 cat >>confdefs.h <<_ACEOF
49864 #define HAVE__LOG10F 1
49865 _ACEOF
49866
49867 fi
49868 done
49869
49870 fi
49871 fi
49872
49873
49874
49875
49876
49877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49878 $as_echo_n "checking for modff declaration... " >&6; }
49879 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49880 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49881 $as_echo_n "(cached) " >&6
49882 else
49883
49884
49885 ac_ext=cpp
49886 ac_cpp='$CXXCPP $CPPFLAGS'
49887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49890
49891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49892 /* end confdefs.h. */
49893 #include <math.h>
49894 int
49895 main ()
49896 {
49897 modff(0, 0);
49898 ;
49899 return 0;
49900 }
49901 _ACEOF
49902 if ac_fn_cxx_try_compile "$LINENO"; then :
49903 glibcxx_cv_func_modff_use=yes
49904 else
49905 glibcxx_cv_func_modff_use=no
49906 fi
49907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49908 ac_ext=c
49909 ac_cpp='$CPP $CPPFLAGS'
49910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49913
49914
49915 fi
49916
49917 fi
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49919 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49920
49921 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49922 for ac_func in modff
49923 do :
49924 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49925 if test "x$ac_cv_func_modff" = x""yes; then :
49926 cat >>confdefs.h <<_ACEOF
49927 #define HAVE_MODFF 1
49928 _ACEOF
49929
49930 fi
49931 done
49932
49933 else
49934
49935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49936 $as_echo_n "checking for _modff declaration... " >&6; }
49937 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49938 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49939 $as_echo_n "(cached) " >&6
49940 else
49941
49942
49943 ac_ext=cpp
49944 ac_cpp='$CXXCPP $CPPFLAGS'
49945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49948
49949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49950 /* end confdefs.h. */
49951 #include <math.h>
49952 int
49953 main ()
49954 {
49955 _modff(0, 0);
49956 ;
49957 return 0;
49958 }
49959 _ACEOF
49960 if ac_fn_cxx_try_compile "$LINENO"; then :
49961 glibcxx_cv_func__modff_use=yes
49962 else
49963 glibcxx_cv_func__modff_use=no
49964 fi
49965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49966 ac_ext=c
49967 ac_cpp='$CPP $CPPFLAGS'
49968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49971
49972
49973 fi
49974
49975 fi
49976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49977 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49978
49979 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49980 for ac_func in _modff
49981 do :
49982 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49983 if test "x$ac_cv_func__modff" = x""yes; then :
49984 cat >>confdefs.h <<_ACEOF
49985 #define HAVE__MODFF 1
49986 _ACEOF
49987
49988 fi
49989 done
49990
49991 fi
49992 fi
49993
49994
49995
49996
49997
49998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49999 $as_echo_n "checking for modf declaration... " >&6; }
50000 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50001 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50002 $as_echo_n "(cached) " >&6
50003 else
50004
50005
50006 ac_ext=cpp
50007 ac_cpp='$CXXCPP $CPPFLAGS'
50008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50011
50012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50013 /* end confdefs.h. */
50014 #include <math.h>
50015 int
50016 main ()
50017 {
50018 modf(0, 0);
50019 ;
50020 return 0;
50021 }
50022 _ACEOF
50023 if ac_fn_cxx_try_compile "$LINENO"; then :
50024 glibcxx_cv_func_modf_use=yes
50025 else
50026 glibcxx_cv_func_modf_use=no
50027 fi
50028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50029 ac_ext=c
50030 ac_cpp='$CPP $CPPFLAGS'
50031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50034
50035
50036 fi
50037
50038 fi
50039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50040 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50041
50042 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50043 for ac_func in modf
50044 do :
50045 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50046 if test "x$ac_cv_func_modf" = x""yes; then :
50047 cat >>confdefs.h <<_ACEOF
50048 #define HAVE_MODF 1
50049 _ACEOF
50050
50051 fi
50052 done
50053
50054 else
50055
50056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50057 $as_echo_n "checking for _modf declaration... " >&6; }
50058 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50059 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50060 $as_echo_n "(cached) " >&6
50061 else
50062
50063
50064 ac_ext=cpp
50065 ac_cpp='$CXXCPP $CPPFLAGS'
50066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50069
50070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50071 /* end confdefs.h. */
50072 #include <math.h>
50073 int
50074 main ()
50075 {
50076 _modf(0, 0);
50077 ;
50078 return 0;
50079 }
50080 _ACEOF
50081 if ac_fn_cxx_try_compile "$LINENO"; then :
50082 glibcxx_cv_func__modf_use=yes
50083 else
50084 glibcxx_cv_func__modf_use=no
50085 fi
50086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50087 ac_ext=c
50088 ac_cpp='$CPP $CPPFLAGS'
50089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50092
50093
50094 fi
50095
50096 fi
50097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50098 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50099
50100 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50101 for ac_func in _modf
50102 do :
50103 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50104 if test "x$ac_cv_func__modf" = x""yes; then :
50105 cat >>confdefs.h <<_ACEOF
50106 #define HAVE__MODF 1
50107 _ACEOF
50108
50109 fi
50110 done
50111
50112 fi
50113 fi
50114
50115
50116
50117
50118
50119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50120 $as_echo_n "checking for powf declaration... " >&6; }
50121 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50122 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50123 $as_echo_n "(cached) " >&6
50124 else
50125
50126
50127 ac_ext=cpp
50128 ac_cpp='$CXXCPP $CPPFLAGS'
50129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50132
50133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50134 /* end confdefs.h. */
50135 #include <math.h>
50136 int
50137 main ()
50138 {
50139 powf(0, 0);
50140 ;
50141 return 0;
50142 }
50143 _ACEOF
50144 if ac_fn_cxx_try_compile "$LINENO"; then :
50145 glibcxx_cv_func_powf_use=yes
50146 else
50147 glibcxx_cv_func_powf_use=no
50148 fi
50149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50150 ac_ext=c
50151 ac_cpp='$CPP $CPPFLAGS'
50152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50155
50156
50157 fi
50158
50159 fi
50160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50161 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50162
50163 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50164 for ac_func in powf
50165 do :
50166 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50167 if test "x$ac_cv_func_powf" = x""yes; then :
50168 cat >>confdefs.h <<_ACEOF
50169 #define HAVE_POWF 1
50170 _ACEOF
50171
50172 fi
50173 done
50174
50175 else
50176
50177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50178 $as_echo_n "checking for _powf declaration... " >&6; }
50179 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50180 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50181 $as_echo_n "(cached) " >&6
50182 else
50183
50184
50185 ac_ext=cpp
50186 ac_cpp='$CXXCPP $CPPFLAGS'
50187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50190
50191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50192 /* end confdefs.h. */
50193 #include <math.h>
50194 int
50195 main ()
50196 {
50197 _powf(0, 0);
50198 ;
50199 return 0;
50200 }
50201 _ACEOF
50202 if ac_fn_cxx_try_compile "$LINENO"; then :
50203 glibcxx_cv_func__powf_use=yes
50204 else
50205 glibcxx_cv_func__powf_use=no
50206 fi
50207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50208 ac_ext=c
50209 ac_cpp='$CPP $CPPFLAGS'
50210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50213
50214
50215 fi
50216
50217 fi
50218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50219 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50220
50221 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50222 for ac_func in _powf
50223 do :
50224 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50225 if test "x$ac_cv_func__powf" = x""yes; then :
50226 cat >>confdefs.h <<_ACEOF
50227 #define HAVE__POWF 1
50228 _ACEOF
50229
50230 fi
50231 done
50232
50233 fi
50234 fi
50235
50236
50237
50238
50239
50240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50241 $as_echo_n "checking for sqrtf declaration... " >&6; }
50242 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50243 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50244 $as_echo_n "(cached) " >&6
50245 else
50246
50247
50248 ac_ext=cpp
50249 ac_cpp='$CXXCPP $CPPFLAGS'
50250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50253
50254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50255 /* end confdefs.h. */
50256 #include <math.h>
50257 #ifdef HAVE_IEEEFP_H
50258 #include <ieeefp.h>
50259 #endif
50260
50261 int
50262 main ()
50263 {
50264 sqrtf(0);
50265 ;
50266 return 0;
50267 }
50268 _ACEOF
50269 if ac_fn_cxx_try_compile "$LINENO"; then :
50270 glibcxx_cv_func_sqrtf_use=yes
50271 else
50272 glibcxx_cv_func_sqrtf_use=no
50273 fi
50274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50275 ac_ext=c
50276 ac_cpp='$CPP $CPPFLAGS'
50277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50280
50281
50282 fi
50283
50284 fi
50285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50286 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50287
50288 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50289 for ac_func in sqrtf
50290 do :
50291 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50292 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50293 cat >>confdefs.h <<_ACEOF
50294 #define HAVE_SQRTF 1
50295 _ACEOF
50296
50297 fi
50298 done
50299
50300 else
50301
50302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50303 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50304 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50305 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50306 $as_echo_n "(cached) " >&6
50307 else
50308
50309
50310 ac_ext=cpp
50311 ac_cpp='$CXXCPP $CPPFLAGS'
50312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50315
50316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50317 /* end confdefs.h. */
50318 #include <math.h>
50319 #ifdef HAVE_IEEEFP_H
50320 #include <ieeefp.h>
50321 #endif
50322
50323 int
50324 main ()
50325 {
50326 _sqrtf(0);
50327 ;
50328 return 0;
50329 }
50330 _ACEOF
50331 if ac_fn_cxx_try_compile "$LINENO"; then :
50332 glibcxx_cv_func__sqrtf_use=yes
50333 else
50334 glibcxx_cv_func__sqrtf_use=no
50335 fi
50336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50337 ac_ext=c
50338 ac_cpp='$CPP $CPPFLAGS'
50339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50342
50343
50344 fi
50345
50346 fi
50347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50348 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50349
50350 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50351 for ac_func in _sqrtf
50352 do :
50353 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50354 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50355 cat >>confdefs.h <<_ACEOF
50356 #define HAVE__SQRTF 1
50357 _ACEOF
50358
50359 fi
50360 done
50361
50362 fi
50363 fi
50364
50365
50366
50367
50368
50369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50370 $as_echo_n "checking for sincosf declaration... " >&6; }
50371 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50372 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50373 $as_echo_n "(cached) " >&6
50374 else
50375
50376
50377 ac_ext=cpp
50378 ac_cpp='$CXXCPP $CPPFLAGS'
50379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50382
50383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50384 /* end confdefs.h. */
50385 #include <math.h>
50386 int
50387 main ()
50388 {
50389 sincosf(0, 0, 0);
50390 ;
50391 return 0;
50392 }
50393 _ACEOF
50394 if ac_fn_cxx_try_compile "$LINENO"; then :
50395 glibcxx_cv_func_sincosf_use=yes
50396 else
50397 glibcxx_cv_func_sincosf_use=no
50398 fi
50399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50400 ac_ext=c
50401 ac_cpp='$CPP $CPPFLAGS'
50402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50405
50406
50407 fi
50408
50409 fi
50410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50411 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50412
50413 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50414 for ac_func in sincosf
50415 do :
50416 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50417 if test "x$ac_cv_func_sincosf" = x""yes; then :
50418 cat >>confdefs.h <<_ACEOF
50419 #define HAVE_SINCOSF 1
50420 _ACEOF
50421
50422 fi
50423 done
50424
50425 else
50426
50427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50428 $as_echo_n "checking for _sincosf declaration... " >&6; }
50429 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50430 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50431 $as_echo_n "(cached) " >&6
50432 else
50433
50434
50435 ac_ext=cpp
50436 ac_cpp='$CXXCPP $CPPFLAGS'
50437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50440
50441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50442 /* end confdefs.h. */
50443 #include <math.h>
50444 int
50445 main ()
50446 {
50447 _sincosf(0, 0, 0);
50448 ;
50449 return 0;
50450 }
50451 _ACEOF
50452 if ac_fn_cxx_try_compile "$LINENO"; then :
50453 glibcxx_cv_func__sincosf_use=yes
50454 else
50455 glibcxx_cv_func__sincosf_use=no
50456 fi
50457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50458 ac_ext=c
50459 ac_cpp='$CPP $CPPFLAGS'
50460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50463
50464
50465 fi
50466
50467 fi
50468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50469 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50470
50471 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50472 for ac_func in _sincosf
50473 do :
50474 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50475 if test "x$ac_cv_func__sincosf" = x""yes; then :
50476 cat >>confdefs.h <<_ACEOF
50477 #define HAVE__SINCOSF 1
50478 _ACEOF
50479
50480 fi
50481 done
50482
50483 fi
50484 fi
50485
50486
50487
50488
50489
50490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50491 $as_echo_n "checking for finitef declaration... " >&6; }
50492 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50493 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50494 $as_echo_n "(cached) " >&6
50495 else
50496
50497
50498 ac_ext=cpp
50499 ac_cpp='$CXXCPP $CPPFLAGS'
50500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50503
50504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50505 /* end confdefs.h. */
50506 #include <math.h>
50507 #ifdef HAVE_IEEEFP_H
50508 #include <ieeefp.h>
50509 #endif
50510
50511 int
50512 main ()
50513 {
50514 finitef(0);
50515 ;
50516 return 0;
50517 }
50518 _ACEOF
50519 if ac_fn_cxx_try_compile "$LINENO"; then :
50520 glibcxx_cv_func_finitef_use=yes
50521 else
50522 glibcxx_cv_func_finitef_use=no
50523 fi
50524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50525 ac_ext=c
50526 ac_cpp='$CPP $CPPFLAGS'
50527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50530
50531
50532 fi
50533
50534 fi
50535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50536 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50537
50538 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50539 for ac_func in finitef
50540 do :
50541 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50542 if test "x$ac_cv_func_finitef" = x""yes; then :
50543 cat >>confdefs.h <<_ACEOF
50544 #define HAVE_FINITEF 1
50545 _ACEOF
50546
50547 fi
50548 done
50549
50550 else
50551
50552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50553 $as_echo_n "checking for _finitef declaration... " >&6; }
50554 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50555 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50556 $as_echo_n "(cached) " >&6
50557 else
50558
50559
50560 ac_ext=cpp
50561 ac_cpp='$CXXCPP $CPPFLAGS'
50562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50565
50566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50567 /* end confdefs.h. */
50568 #include <math.h>
50569 #ifdef HAVE_IEEEFP_H
50570 #include <ieeefp.h>
50571 #endif
50572
50573 int
50574 main ()
50575 {
50576 _finitef(0);
50577 ;
50578 return 0;
50579 }
50580 _ACEOF
50581 if ac_fn_cxx_try_compile "$LINENO"; then :
50582 glibcxx_cv_func__finitef_use=yes
50583 else
50584 glibcxx_cv_func__finitef_use=no
50585 fi
50586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50587 ac_ext=c
50588 ac_cpp='$CPP $CPPFLAGS'
50589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50592
50593
50594 fi
50595
50596 fi
50597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50598 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50599
50600 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50601 for ac_func in _finitef
50602 do :
50603 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50604 if test "x$ac_cv_func__finitef" = x""yes; then :
50605 cat >>confdefs.h <<_ACEOF
50606 #define HAVE__FINITEF 1
50607 _ACEOF
50608
50609 fi
50610 done
50611
50612 fi
50613 fi
50614
50615
50616
50617
50618
50619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50620 $as_echo_n "checking for long double trig functions... " >&6; }
50621 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50622 $as_echo_n "(cached) " >&6
50623 else
50624
50625
50626 ac_ext=cpp
50627 ac_cpp='$CXXCPP $CPPFLAGS'
50628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50631
50632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50633 /* end confdefs.h. */
50634 #include <math.h>
50635 int
50636 main ()
50637 {
50638 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50639 ;
50640 return 0;
50641 }
50642 _ACEOF
50643 if ac_fn_cxx_try_compile "$LINENO"; then :
50644 glibcxx_cv_func_long_double_trig_use=yes
50645 else
50646 glibcxx_cv_func_long_double_trig_use=no
50647 fi
50648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50649 ac_ext=c
50650 ac_cpp='$CPP $CPPFLAGS'
50651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50654
50655 fi
50656
50657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50658 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50659 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50660 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50661 do :
50662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50664 eval as_val=\$$as_ac_var
50665 if test "x$as_val" = x""yes; then :
50666 cat >>confdefs.h <<_ACEOF
50667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50668 _ACEOF
50669
50670 fi
50671 done
50672
50673 else
50674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50675 $as_echo_n "checking for _long double trig functions... " >&6; }
50676 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50677 $as_echo_n "(cached) " >&6
50678 else
50679
50680
50681 ac_ext=cpp
50682 ac_cpp='$CXXCPP $CPPFLAGS'
50683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50686
50687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50688 /* end confdefs.h. */
50689 #include <math.h>
50690 int
50691 main ()
50692 {
50693 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50694 ;
50695 return 0;
50696 }
50697 _ACEOF
50698 if ac_fn_cxx_try_compile "$LINENO"; then :
50699 glibcxx_cv_func__long_double_trig_use=yes
50700 else
50701 glibcxx_cv_func__long_double_trig_use=no
50702 fi
50703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50704 ac_ext=c
50705 ac_cpp='$CPP $CPPFLAGS'
50706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50709
50710 fi
50711
50712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50713 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50714 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50715 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50716 do :
50717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50719 eval as_val=\$$as_ac_var
50720 if test "x$as_val" = x""yes; then :
50721 cat >>confdefs.h <<_ACEOF
50722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50723 _ACEOF
50724
50725 fi
50726 done
50727
50728 fi
50729 fi
50730
50731
50732
50733
50734
50735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50736 $as_echo_n "checking for long double round functions... " >&6; }
50737 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50738 $as_echo_n "(cached) " >&6
50739 else
50740
50741
50742 ac_ext=cpp
50743 ac_cpp='$CXXCPP $CPPFLAGS'
50744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50747
50748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50749 /* end confdefs.h. */
50750 #include <math.h>
50751 int
50752 main ()
50753 {
50754 ceill (0); floorl (0);
50755 ;
50756 return 0;
50757 }
50758 _ACEOF
50759 if ac_fn_cxx_try_compile "$LINENO"; then :
50760 glibcxx_cv_func_long_double_round_use=yes
50761 else
50762 glibcxx_cv_func_long_double_round_use=no
50763 fi
50764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50765 ac_ext=c
50766 ac_cpp='$CPP $CPPFLAGS'
50767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50770
50771 fi
50772
50773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50774 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50775 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50776 for ac_func in ceill floorl
50777 do :
50778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50780 eval as_val=\$$as_ac_var
50781 if test "x$as_val" = x""yes; then :
50782 cat >>confdefs.h <<_ACEOF
50783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50784 _ACEOF
50785
50786 fi
50787 done
50788
50789 else
50790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50791 $as_echo_n "checking for _long double round functions... " >&6; }
50792 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50793 $as_echo_n "(cached) " >&6
50794 else
50795
50796
50797 ac_ext=cpp
50798 ac_cpp='$CXXCPP $CPPFLAGS'
50799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50802
50803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50804 /* end confdefs.h. */
50805 #include <math.h>
50806 int
50807 main ()
50808 {
50809 _ceill (0); _floorl (0);
50810 ;
50811 return 0;
50812 }
50813 _ACEOF
50814 if ac_fn_cxx_try_compile "$LINENO"; then :
50815 glibcxx_cv_func__long_double_round_use=yes
50816 else
50817 glibcxx_cv_func__long_double_round_use=no
50818 fi
50819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50820 ac_ext=c
50821 ac_cpp='$CPP $CPPFLAGS'
50822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50825
50826 fi
50827
50828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50829 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50830 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50831 for ac_func in _ceill _floorl
50832 do :
50833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50835 eval as_val=\$$as_ac_var
50836 if test "x$as_val" = x""yes; then :
50837 cat >>confdefs.h <<_ACEOF
50838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50839 _ACEOF
50840
50841 fi
50842 done
50843
50844 fi
50845 fi
50846
50847
50848
50849
50850
50851
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50853 $as_echo_n "checking for isnanl declaration... " >&6; }
50854 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50855 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50856 $as_echo_n "(cached) " >&6
50857 else
50858
50859
50860 ac_ext=cpp
50861 ac_cpp='$CXXCPP $CPPFLAGS'
50862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50865
50866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50867 /* end confdefs.h. */
50868 #include <math.h>
50869 #ifdef HAVE_IEEEFP_H
50870 #include <ieeefp.h>
50871 #endif
50872
50873 int
50874 main ()
50875 {
50876 isnanl(0);
50877 ;
50878 return 0;
50879 }
50880 _ACEOF
50881 if ac_fn_cxx_try_compile "$LINENO"; then :
50882 glibcxx_cv_func_isnanl_use=yes
50883 else
50884 glibcxx_cv_func_isnanl_use=no
50885 fi
50886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50887 ac_ext=c
50888 ac_cpp='$CPP $CPPFLAGS'
50889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50892
50893
50894 fi
50895
50896 fi
50897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50898 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50899
50900 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50901 for ac_func in isnanl
50902 do :
50903 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50904 if test "x$ac_cv_func_isnanl" = x""yes; then :
50905 cat >>confdefs.h <<_ACEOF
50906 #define HAVE_ISNANL 1
50907 _ACEOF
50908
50909 fi
50910 done
50911
50912 else
50913
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50915 $as_echo_n "checking for _isnanl declaration... " >&6; }
50916 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50917 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50918 $as_echo_n "(cached) " >&6
50919 else
50920
50921
50922 ac_ext=cpp
50923 ac_cpp='$CXXCPP $CPPFLAGS'
50924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50927
50928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50929 /* end confdefs.h. */
50930 #include <math.h>
50931 #ifdef HAVE_IEEEFP_H
50932 #include <ieeefp.h>
50933 #endif
50934
50935 int
50936 main ()
50937 {
50938 _isnanl(0);
50939 ;
50940 return 0;
50941 }
50942 _ACEOF
50943 if ac_fn_cxx_try_compile "$LINENO"; then :
50944 glibcxx_cv_func__isnanl_use=yes
50945 else
50946 glibcxx_cv_func__isnanl_use=no
50947 fi
50948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50949 ac_ext=c
50950 ac_cpp='$CPP $CPPFLAGS'
50951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50954
50955
50956 fi
50957
50958 fi
50959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50960 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50961
50962 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50963 for ac_func in _isnanl
50964 do :
50965 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50966 if test "x$ac_cv_func__isnanl" = x""yes; then :
50967 cat >>confdefs.h <<_ACEOF
50968 #define HAVE__ISNANL 1
50969 _ACEOF
50970
50971 fi
50972 done
50973
50974 fi
50975 fi
50976
50977
50978
50979
50980
50981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50982 $as_echo_n "checking for isinfl declaration... " >&6; }
50983 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50984 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50985 $as_echo_n "(cached) " >&6
50986 else
50987
50988
50989 ac_ext=cpp
50990 ac_cpp='$CXXCPP $CPPFLAGS'
50991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50994
50995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50996 /* end confdefs.h. */
50997 #include <math.h>
50998 #ifdef HAVE_IEEEFP_H
50999 #include <ieeefp.h>
51000 #endif
51001
51002 int
51003 main ()
51004 {
51005 isinfl(0);
51006 ;
51007 return 0;
51008 }
51009 _ACEOF
51010 if ac_fn_cxx_try_compile "$LINENO"; then :
51011 glibcxx_cv_func_isinfl_use=yes
51012 else
51013 glibcxx_cv_func_isinfl_use=no
51014 fi
51015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51016 ac_ext=c
51017 ac_cpp='$CPP $CPPFLAGS'
51018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51021
51022
51023 fi
51024
51025 fi
51026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51027 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51028
51029 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51030 for ac_func in isinfl
51031 do :
51032 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51033 if test "x$ac_cv_func_isinfl" = x""yes; then :
51034 cat >>confdefs.h <<_ACEOF
51035 #define HAVE_ISINFL 1
51036 _ACEOF
51037
51038 fi
51039 done
51040
51041 else
51042
51043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51044 $as_echo_n "checking for _isinfl declaration... " >&6; }
51045 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51046 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51047 $as_echo_n "(cached) " >&6
51048 else
51049
51050
51051 ac_ext=cpp
51052 ac_cpp='$CXXCPP $CPPFLAGS'
51053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51056
51057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51058 /* end confdefs.h. */
51059 #include <math.h>
51060 #ifdef HAVE_IEEEFP_H
51061 #include <ieeefp.h>
51062 #endif
51063
51064 int
51065 main ()
51066 {
51067 _isinfl(0);
51068 ;
51069 return 0;
51070 }
51071 _ACEOF
51072 if ac_fn_cxx_try_compile "$LINENO"; then :
51073 glibcxx_cv_func__isinfl_use=yes
51074 else
51075 glibcxx_cv_func__isinfl_use=no
51076 fi
51077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51078 ac_ext=c
51079 ac_cpp='$CPP $CPPFLAGS'
51080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51083
51084
51085 fi
51086
51087 fi
51088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51089 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51090
51091 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51092 for ac_func in _isinfl
51093 do :
51094 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51095 if test "x$ac_cv_func__isinfl" = x""yes; then :
51096 cat >>confdefs.h <<_ACEOF
51097 #define HAVE__ISINFL 1
51098 _ACEOF
51099
51100 fi
51101 done
51102
51103 fi
51104 fi
51105
51106
51107
51108
51109
51110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51111 $as_echo_n "checking for atan2l declaration... " >&6; }
51112 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51113 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51114 $as_echo_n "(cached) " >&6
51115 else
51116
51117
51118 ac_ext=cpp
51119 ac_cpp='$CXXCPP $CPPFLAGS'
51120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51123
51124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51125 /* end confdefs.h. */
51126 #include <math.h>
51127 int
51128 main ()
51129 {
51130 atan2l(0, 0);
51131 ;
51132 return 0;
51133 }
51134 _ACEOF
51135 if ac_fn_cxx_try_compile "$LINENO"; then :
51136 glibcxx_cv_func_atan2l_use=yes
51137 else
51138 glibcxx_cv_func_atan2l_use=no
51139 fi
51140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51141 ac_ext=c
51142 ac_cpp='$CPP $CPPFLAGS'
51143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51146
51147
51148 fi
51149
51150 fi
51151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51152 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51153
51154 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51155 for ac_func in atan2l
51156 do :
51157 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51158 if test "x$ac_cv_func_atan2l" = x""yes; then :
51159 cat >>confdefs.h <<_ACEOF
51160 #define HAVE_ATAN2L 1
51161 _ACEOF
51162
51163 fi
51164 done
51165
51166 else
51167
51168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51169 $as_echo_n "checking for _atan2l declaration... " >&6; }
51170 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51171 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51172 $as_echo_n "(cached) " >&6
51173 else
51174
51175
51176 ac_ext=cpp
51177 ac_cpp='$CXXCPP $CPPFLAGS'
51178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51181
51182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51183 /* end confdefs.h. */
51184 #include <math.h>
51185 int
51186 main ()
51187 {
51188 _atan2l(0, 0);
51189 ;
51190 return 0;
51191 }
51192 _ACEOF
51193 if ac_fn_cxx_try_compile "$LINENO"; then :
51194 glibcxx_cv_func__atan2l_use=yes
51195 else
51196 glibcxx_cv_func__atan2l_use=no
51197 fi
51198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51199 ac_ext=c
51200 ac_cpp='$CPP $CPPFLAGS'
51201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51204
51205
51206 fi
51207
51208 fi
51209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51210 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51211
51212 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51213 for ac_func in _atan2l
51214 do :
51215 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51216 if test "x$ac_cv_func__atan2l" = x""yes; then :
51217 cat >>confdefs.h <<_ACEOF
51218 #define HAVE__ATAN2L 1
51219 _ACEOF
51220
51221 fi
51222 done
51223
51224 fi
51225 fi
51226
51227
51228
51229
51230
51231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51232 $as_echo_n "checking for expl declaration... " >&6; }
51233 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51234 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51235 $as_echo_n "(cached) " >&6
51236 else
51237
51238
51239 ac_ext=cpp
51240 ac_cpp='$CXXCPP $CPPFLAGS'
51241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51244
51245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51246 /* end confdefs.h. */
51247 #include <math.h>
51248 #ifdef HAVE_IEEEFP_H
51249 #include <ieeefp.h>
51250 #endif
51251
51252 int
51253 main ()
51254 {
51255 expl(0);
51256 ;
51257 return 0;
51258 }
51259 _ACEOF
51260 if ac_fn_cxx_try_compile "$LINENO"; then :
51261 glibcxx_cv_func_expl_use=yes
51262 else
51263 glibcxx_cv_func_expl_use=no
51264 fi
51265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51266 ac_ext=c
51267 ac_cpp='$CPP $CPPFLAGS'
51268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51271
51272
51273 fi
51274
51275 fi
51276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51277 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51278
51279 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51280 for ac_func in expl
51281 do :
51282 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51283 if test "x$ac_cv_func_expl" = x""yes; then :
51284 cat >>confdefs.h <<_ACEOF
51285 #define HAVE_EXPL 1
51286 _ACEOF
51287
51288 fi
51289 done
51290
51291 else
51292
51293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51294 $as_echo_n "checking for _expl declaration... " >&6; }
51295 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51296 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51297 $as_echo_n "(cached) " >&6
51298 else
51299
51300
51301 ac_ext=cpp
51302 ac_cpp='$CXXCPP $CPPFLAGS'
51303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51306
51307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51308 /* end confdefs.h. */
51309 #include <math.h>
51310 #ifdef HAVE_IEEEFP_H
51311 #include <ieeefp.h>
51312 #endif
51313
51314 int
51315 main ()
51316 {
51317 _expl(0);
51318 ;
51319 return 0;
51320 }
51321 _ACEOF
51322 if ac_fn_cxx_try_compile "$LINENO"; then :
51323 glibcxx_cv_func__expl_use=yes
51324 else
51325 glibcxx_cv_func__expl_use=no
51326 fi
51327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51328 ac_ext=c
51329 ac_cpp='$CPP $CPPFLAGS'
51330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51333
51334
51335 fi
51336
51337 fi
51338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51339 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51340
51341 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51342 for ac_func in _expl
51343 do :
51344 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51345 if test "x$ac_cv_func__expl" = x""yes; then :
51346 cat >>confdefs.h <<_ACEOF
51347 #define HAVE__EXPL 1
51348 _ACEOF
51349
51350 fi
51351 done
51352
51353 fi
51354 fi
51355
51356
51357
51358
51359
51360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51361 $as_echo_n "checking for fabsl declaration... " >&6; }
51362 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51363 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51364 $as_echo_n "(cached) " >&6
51365 else
51366
51367
51368 ac_ext=cpp
51369 ac_cpp='$CXXCPP $CPPFLAGS'
51370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51373
51374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51375 /* end confdefs.h. */
51376 #include <math.h>
51377 #ifdef HAVE_IEEEFP_H
51378 #include <ieeefp.h>
51379 #endif
51380
51381 int
51382 main ()
51383 {
51384 fabsl(0);
51385 ;
51386 return 0;
51387 }
51388 _ACEOF
51389 if ac_fn_cxx_try_compile "$LINENO"; then :
51390 glibcxx_cv_func_fabsl_use=yes
51391 else
51392 glibcxx_cv_func_fabsl_use=no
51393 fi
51394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51395 ac_ext=c
51396 ac_cpp='$CPP $CPPFLAGS'
51397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51400
51401
51402 fi
51403
51404 fi
51405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51406 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51407
51408 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51409 for ac_func in fabsl
51410 do :
51411 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51412 if test "x$ac_cv_func_fabsl" = x""yes; then :
51413 cat >>confdefs.h <<_ACEOF
51414 #define HAVE_FABSL 1
51415 _ACEOF
51416
51417 fi
51418 done
51419
51420 else
51421
51422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51423 $as_echo_n "checking for _fabsl declaration... " >&6; }
51424 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51425 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51426 $as_echo_n "(cached) " >&6
51427 else
51428
51429
51430 ac_ext=cpp
51431 ac_cpp='$CXXCPP $CPPFLAGS'
51432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51435
51436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51437 /* end confdefs.h. */
51438 #include <math.h>
51439 #ifdef HAVE_IEEEFP_H
51440 #include <ieeefp.h>
51441 #endif
51442
51443 int
51444 main ()
51445 {
51446 _fabsl(0);
51447 ;
51448 return 0;
51449 }
51450 _ACEOF
51451 if ac_fn_cxx_try_compile "$LINENO"; then :
51452 glibcxx_cv_func__fabsl_use=yes
51453 else
51454 glibcxx_cv_func__fabsl_use=no
51455 fi
51456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51457 ac_ext=c
51458 ac_cpp='$CPP $CPPFLAGS'
51459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51462
51463
51464 fi
51465
51466 fi
51467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51468 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51469
51470 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51471 for ac_func in _fabsl
51472 do :
51473 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51474 if test "x$ac_cv_func__fabsl" = x""yes; then :
51475 cat >>confdefs.h <<_ACEOF
51476 #define HAVE__FABSL 1
51477 _ACEOF
51478
51479 fi
51480 done
51481
51482 fi
51483 fi
51484
51485
51486
51487
51488
51489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51490 $as_echo_n "checking for fmodl declaration... " >&6; }
51491 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51492 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51493 $as_echo_n "(cached) " >&6
51494 else
51495
51496
51497 ac_ext=cpp
51498 ac_cpp='$CXXCPP $CPPFLAGS'
51499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51502
51503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51504 /* end confdefs.h. */
51505 #include <math.h>
51506 int
51507 main ()
51508 {
51509 fmodl(0, 0);
51510 ;
51511 return 0;
51512 }
51513 _ACEOF
51514 if ac_fn_cxx_try_compile "$LINENO"; then :
51515 glibcxx_cv_func_fmodl_use=yes
51516 else
51517 glibcxx_cv_func_fmodl_use=no
51518 fi
51519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51520 ac_ext=c
51521 ac_cpp='$CPP $CPPFLAGS'
51522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51525
51526
51527 fi
51528
51529 fi
51530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51531 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51532
51533 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51534 for ac_func in fmodl
51535 do :
51536 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51537 if test "x$ac_cv_func_fmodl" = x""yes; then :
51538 cat >>confdefs.h <<_ACEOF
51539 #define HAVE_FMODL 1
51540 _ACEOF
51541
51542 fi
51543 done
51544
51545 else
51546
51547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51548 $as_echo_n "checking for _fmodl declaration... " >&6; }
51549 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51550 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51551 $as_echo_n "(cached) " >&6
51552 else
51553
51554
51555 ac_ext=cpp
51556 ac_cpp='$CXXCPP $CPPFLAGS'
51557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51560
51561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51562 /* end confdefs.h. */
51563 #include <math.h>
51564 int
51565 main ()
51566 {
51567 _fmodl(0, 0);
51568 ;
51569 return 0;
51570 }
51571 _ACEOF
51572 if ac_fn_cxx_try_compile "$LINENO"; then :
51573 glibcxx_cv_func__fmodl_use=yes
51574 else
51575 glibcxx_cv_func__fmodl_use=no
51576 fi
51577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51578 ac_ext=c
51579 ac_cpp='$CPP $CPPFLAGS'
51580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51583
51584
51585 fi
51586
51587 fi
51588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51589 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51590
51591 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51592 for ac_func in _fmodl
51593 do :
51594 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51595 if test "x$ac_cv_func__fmodl" = x""yes; then :
51596 cat >>confdefs.h <<_ACEOF
51597 #define HAVE__FMODL 1
51598 _ACEOF
51599
51600 fi
51601 done
51602
51603 fi
51604 fi
51605
51606
51607
51608
51609
51610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51611 $as_echo_n "checking for frexpl declaration... " >&6; }
51612 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51613 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51614 $as_echo_n "(cached) " >&6
51615 else
51616
51617
51618 ac_ext=cpp
51619 ac_cpp='$CXXCPP $CPPFLAGS'
51620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51623
51624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51625 /* end confdefs.h. */
51626 #include <math.h>
51627 int
51628 main ()
51629 {
51630 frexpl(0, 0);
51631 ;
51632 return 0;
51633 }
51634 _ACEOF
51635 if ac_fn_cxx_try_compile "$LINENO"; then :
51636 glibcxx_cv_func_frexpl_use=yes
51637 else
51638 glibcxx_cv_func_frexpl_use=no
51639 fi
51640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51641 ac_ext=c
51642 ac_cpp='$CPP $CPPFLAGS'
51643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51646
51647
51648 fi
51649
51650 fi
51651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51652 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51653
51654 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51655 for ac_func in frexpl
51656 do :
51657 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51658 if test "x$ac_cv_func_frexpl" = x""yes; then :
51659 cat >>confdefs.h <<_ACEOF
51660 #define HAVE_FREXPL 1
51661 _ACEOF
51662
51663 fi
51664 done
51665
51666 else
51667
51668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51669 $as_echo_n "checking for _frexpl declaration... " >&6; }
51670 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51671 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51672 $as_echo_n "(cached) " >&6
51673 else
51674
51675
51676 ac_ext=cpp
51677 ac_cpp='$CXXCPP $CPPFLAGS'
51678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51681
51682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51683 /* end confdefs.h. */
51684 #include <math.h>
51685 int
51686 main ()
51687 {
51688 _frexpl(0, 0);
51689 ;
51690 return 0;
51691 }
51692 _ACEOF
51693 if ac_fn_cxx_try_compile "$LINENO"; then :
51694 glibcxx_cv_func__frexpl_use=yes
51695 else
51696 glibcxx_cv_func__frexpl_use=no
51697 fi
51698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51699 ac_ext=c
51700 ac_cpp='$CPP $CPPFLAGS'
51701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51704
51705
51706 fi
51707
51708 fi
51709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51710 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51711
51712 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51713 for ac_func in _frexpl
51714 do :
51715 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51716 if test "x$ac_cv_func__frexpl" = x""yes; then :
51717 cat >>confdefs.h <<_ACEOF
51718 #define HAVE__FREXPL 1
51719 _ACEOF
51720
51721 fi
51722 done
51723
51724 fi
51725 fi
51726
51727
51728
51729
51730
51731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51732 $as_echo_n "checking for hypotl declaration... " >&6; }
51733 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51734 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51735 $as_echo_n "(cached) " >&6
51736 else
51737
51738
51739 ac_ext=cpp
51740 ac_cpp='$CXXCPP $CPPFLAGS'
51741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51744
51745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51746 /* end confdefs.h. */
51747 #include <math.h>
51748 int
51749 main ()
51750 {
51751 hypotl(0, 0);
51752 ;
51753 return 0;
51754 }
51755 _ACEOF
51756 if ac_fn_cxx_try_compile "$LINENO"; then :
51757 glibcxx_cv_func_hypotl_use=yes
51758 else
51759 glibcxx_cv_func_hypotl_use=no
51760 fi
51761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51762 ac_ext=c
51763 ac_cpp='$CPP $CPPFLAGS'
51764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51767
51768
51769 fi
51770
51771 fi
51772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51773 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51774
51775 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51776 for ac_func in hypotl
51777 do :
51778 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51779 if test "x$ac_cv_func_hypotl" = x""yes; then :
51780 cat >>confdefs.h <<_ACEOF
51781 #define HAVE_HYPOTL 1
51782 _ACEOF
51783
51784 fi
51785 done
51786
51787 else
51788
51789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51790 $as_echo_n "checking for _hypotl declaration... " >&6; }
51791 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51792 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51793 $as_echo_n "(cached) " >&6
51794 else
51795
51796
51797 ac_ext=cpp
51798 ac_cpp='$CXXCPP $CPPFLAGS'
51799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51802
51803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51804 /* end confdefs.h. */
51805 #include <math.h>
51806 int
51807 main ()
51808 {
51809 _hypotl(0, 0);
51810 ;
51811 return 0;
51812 }
51813 _ACEOF
51814 if ac_fn_cxx_try_compile "$LINENO"; then :
51815 glibcxx_cv_func__hypotl_use=yes
51816 else
51817 glibcxx_cv_func__hypotl_use=no
51818 fi
51819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51820 ac_ext=c
51821 ac_cpp='$CPP $CPPFLAGS'
51822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51825
51826
51827 fi
51828
51829 fi
51830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51831 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51832
51833 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51834 for ac_func in _hypotl
51835 do :
51836 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51837 if test "x$ac_cv_func__hypotl" = x""yes; then :
51838 cat >>confdefs.h <<_ACEOF
51839 #define HAVE__HYPOTL 1
51840 _ACEOF
51841
51842 fi
51843 done
51844
51845 fi
51846 fi
51847
51848
51849
51850
51851
51852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51853 $as_echo_n "checking for ldexpl declaration... " >&6; }
51854 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51855 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51856 $as_echo_n "(cached) " >&6
51857 else
51858
51859
51860 ac_ext=cpp
51861 ac_cpp='$CXXCPP $CPPFLAGS'
51862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51865
51866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51867 /* end confdefs.h. */
51868 #include <math.h>
51869 int
51870 main ()
51871 {
51872 ldexpl(0, 0);
51873 ;
51874 return 0;
51875 }
51876 _ACEOF
51877 if ac_fn_cxx_try_compile "$LINENO"; then :
51878 glibcxx_cv_func_ldexpl_use=yes
51879 else
51880 glibcxx_cv_func_ldexpl_use=no
51881 fi
51882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51883 ac_ext=c
51884 ac_cpp='$CPP $CPPFLAGS'
51885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51888
51889
51890 fi
51891
51892 fi
51893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51894 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51895
51896 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51897 for ac_func in ldexpl
51898 do :
51899 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51900 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51901 cat >>confdefs.h <<_ACEOF
51902 #define HAVE_LDEXPL 1
51903 _ACEOF
51904
51905 fi
51906 done
51907
51908 else
51909
51910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51911 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51912 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51913 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51914 $as_echo_n "(cached) " >&6
51915 else
51916
51917
51918 ac_ext=cpp
51919 ac_cpp='$CXXCPP $CPPFLAGS'
51920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51923
51924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51925 /* end confdefs.h. */
51926 #include <math.h>
51927 int
51928 main ()
51929 {
51930 _ldexpl(0, 0);
51931 ;
51932 return 0;
51933 }
51934 _ACEOF
51935 if ac_fn_cxx_try_compile "$LINENO"; then :
51936 glibcxx_cv_func__ldexpl_use=yes
51937 else
51938 glibcxx_cv_func__ldexpl_use=no
51939 fi
51940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51941 ac_ext=c
51942 ac_cpp='$CPP $CPPFLAGS'
51943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51946
51947
51948 fi
51949
51950 fi
51951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51952 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51953
51954 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51955 for ac_func in _ldexpl
51956 do :
51957 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51958 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51959 cat >>confdefs.h <<_ACEOF
51960 #define HAVE__LDEXPL 1
51961 _ACEOF
51962
51963 fi
51964 done
51965
51966 fi
51967 fi
51968
51969
51970
51971
51972
51973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51974 $as_echo_n "checking for logl declaration... " >&6; }
51975 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51976 if test "${glibcxx_cv_func_logl_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 <math.h>
51990 #ifdef HAVE_IEEEFP_H
51991 #include <ieeefp.h>
51992 #endif
51993
51994 int
51995 main ()
51996 {
51997 logl(0);
51998 ;
51999 return 0;
52000 }
52001 _ACEOF
52002 if ac_fn_cxx_try_compile "$LINENO"; then :
52003 glibcxx_cv_func_logl_use=yes
52004 else
52005 glibcxx_cv_func_logl_use=no
52006 fi
52007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52008 ac_ext=c
52009 ac_cpp='$CPP $CPPFLAGS'
52010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52013
52014
52015 fi
52016
52017 fi
52018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52019 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52020
52021 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52022 for ac_func in logl
52023 do :
52024 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52025 if test "x$ac_cv_func_logl" = x""yes; then :
52026 cat >>confdefs.h <<_ACEOF
52027 #define HAVE_LOGL 1
52028 _ACEOF
52029
52030 fi
52031 done
52032
52033 else
52034
52035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52036 $as_echo_n "checking for _logl declaration... " >&6; }
52037 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52038 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52039 $as_echo_n "(cached) " >&6
52040 else
52041
52042
52043 ac_ext=cpp
52044 ac_cpp='$CXXCPP $CPPFLAGS'
52045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52048
52049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52050 /* end confdefs.h. */
52051 #include <math.h>
52052 #ifdef HAVE_IEEEFP_H
52053 #include <ieeefp.h>
52054 #endif
52055
52056 int
52057 main ()
52058 {
52059 _logl(0);
52060 ;
52061 return 0;
52062 }
52063 _ACEOF
52064 if ac_fn_cxx_try_compile "$LINENO"; then :
52065 glibcxx_cv_func__logl_use=yes
52066 else
52067 glibcxx_cv_func__logl_use=no
52068 fi
52069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52070 ac_ext=c
52071 ac_cpp='$CPP $CPPFLAGS'
52072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52075
52076
52077 fi
52078
52079 fi
52080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52081 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52082
52083 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52084 for ac_func in _logl
52085 do :
52086 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52087 if test "x$ac_cv_func__logl" = x""yes; then :
52088 cat >>confdefs.h <<_ACEOF
52089 #define HAVE__LOGL 1
52090 _ACEOF
52091
52092 fi
52093 done
52094
52095 fi
52096 fi
52097
52098
52099
52100
52101
52102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52103 $as_echo_n "checking for log10l declaration... " >&6; }
52104 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52105 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52106 $as_echo_n "(cached) " >&6
52107 else
52108
52109
52110 ac_ext=cpp
52111 ac_cpp='$CXXCPP $CPPFLAGS'
52112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52115
52116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52117 /* end confdefs.h. */
52118 #include <math.h>
52119 #ifdef HAVE_IEEEFP_H
52120 #include <ieeefp.h>
52121 #endif
52122
52123 int
52124 main ()
52125 {
52126 log10l(0);
52127 ;
52128 return 0;
52129 }
52130 _ACEOF
52131 if ac_fn_cxx_try_compile "$LINENO"; then :
52132 glibcxx_cv_func_log10l_use=yes
52133 else
52134 glibcxx_cv_func_log10l_use=no
52135 fi
52136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52137 ac_ext=c
52138 ac_cpp='$CPP $CPPFLAGS'
52139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52142
52143
52144 fi
52145
52146 fi
52147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52148 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52149
52150 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52151 for ac_func in log10l
52152 do :
52153 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52154 if test "x$ac_cv_func_log10l" = x""yes; then :
52155 cat >>confdefs.h <<_ACEOF
52156 #define HAVE_LOG10L 1
52157 _ACEOF
52158
52159 fi
52160 done
52161
52162 else
52163
52164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52165 $as_echo_n "checking for _log10l declaration... " >&6; }
52166 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52167 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52168 $as_echo_n "(cached) " >&6
52169 else
52170
52171
52172 ac_ext=cpp
52173 ac_cpp='$CXXCPP $CPPFLAGS'
52174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52177
52178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52179 /* end confdefs.h. */
52180 #include <math.h>
52181 #ifdef HAVE_IEEEFP_H
52182 #include <ieeefp.h>
52183 #endif
52184
52185 int
52186 main ()
52187 {
52188 _log10l(0);
52189 ;
52190 return 0;
52191 }
52192 _ACEOF
52193 if ac_fn_cxx_try_compile "$LINENO"; then :
52194 glibcxx_cv_func__log10l_use=yes
52195 else
52196 glibcxx_cv_func__log10l_use=no
52197 fi
52198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52199 ac_ext=c
52200 ac_cpp='$CPP $CPPFLAGS'
52201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52204
52205
52206 fi
52207
52208 fi
52209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52210 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52211
52212 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52213 for ac_func in _log10l
52214 do :
52215 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52216 if test "x$ac_cv_func__log10l" = x""yes; then :
52217 cat >>confdefs.h <<_ACEOF
52218 #define HAVE__LOG10L 1
52219 _ACEOF
52220
52221 fi
52222 done
52223
52224 fi
52225 fi
52226
52227
52228
52229
52230
52231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52232 $as_echo_n "checking for modfl declaration... " >&6; }
52233 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52234 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52235 $as_echo_n "(cached) " >&6
52236 else
52237
52238
52239 ac_ext=cpp
52240 ac_cpp='$CXXCPP $CPPFLAGS'
52241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52244
52245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52246 /* end confdefs.h. */
52247 #include <math.h>
52248 int
52249 main ()
52250 {
52251 modfl(0, 0);
52252 ;
52253 return 0;
52254 }
52255 _ACEOF
52256 if ac_fn_cxx_try_compile "$LINENO"; then :
52257 glibcxx_cv_func_modfl_use=yes
52258 else
52259 glibcxx_cv_func_modfl_use=no
52260 fi
52261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52262 ac_ext=c
52263 ac_cpp='$CPP $CPPFLAGS'
52264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52267
52268
52269 fi
52270
52271 fi
52272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52273 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52274
52275 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52276 for ac_func in modfl
52277 do :
52278 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52279 if test "x$ac_cv_func_modfl" = x""yes; then :
52280 cat >>confdefs.h <<_ACEOF
52281 #define HAVE_MODFL 1
52282 _ACEOF
52283
52284 fi
52285 done
52286
52287 else
52288
52289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52290 $as_echo_n "checking for _modfl declaration... " >&6; }
52291 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52292 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52293 $as_echo_n "(cached) " >&6
52294 else
52295
52296
52297 ac_ext=cpp
52298 ac_cpp='$CXXCPP $CPPFLAGS'
52299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52302
52303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52304 /* end confdefs.h. */
52305 #include <math.h>
52306 int
52307 main ()
52308 {
52309 _modfl(0, 0);
52310 ;
52311 return 0;
52312 }
52313 _ACEOF
52314 if ac_fn_cxx_try_compile "$LINENO"; then :
52315 glibcxx_cv_func__modfl_use=yes
52316 else
52317 glibcxx_cv_func__modfl_use=no
52318 fi
52319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52320 ac_ext=c
52321 ac_cpp='$CPP $CPPFLAGS'
52322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52325
52326
52327 fi
52328
52329 fi
52330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52331 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52332
52333 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52334 for ac_func in _modfl
52335 do :
52336 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52337 if test "x$ac_cv_func__modfl" = x""yes; then :
52338 cat >>confdefs.h <<_ACEOF
52339 #define HAVE__MODFL 1
52340 _ACEOF
52341
52342 fi
52343 done
52344
52345 fi
52346 fi
52347
52348
52349
52350
52351
52352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52353 $as_echo_n "checking for powl declaration... " >&6; }
52354 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52355 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52356 $as_echo_n "(cached) " >&6
52357 else
52358
52359
52360 ac_ext=cpp
52361 ac_cpp='$CXXCPP $CPPFLAGS'
52362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52365
52366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52367 /* end confdefs.h. */
52368 #include <math.h>
52369 int
52370 main ()
52371 {
52372 powl(0, 0);
52373 ;
52374 return 0;
52375 }
52376 _ACEOF
52377 if ac_fn_cxx_try_compile "$LINENO"; then :
52378 glibcxx_cv_func_powl_use=yes
52379 else
52380 glibcxx_cv_func_powl_use=no
52381 fi
52382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52383 ac_ext=c
52384 ac_cpp='$CPP $CPPFLAGS'
52385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52388
52389
52390 fi
52391
52392 fi
52393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52394 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52395
52396 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52397 for ac_func in powl
52398 do :
52399 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52400 if test "x$ac_cv_func_powl" = x""yes; then :
52401 cat >>confdefs.h <<_ACEOF
52402 #define HAVE_POWL 1
52403 _ACEOF
52404
52405 fi
52406 done
52407
52408 else
52409
52410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52411 $as_echo_n "checking for _powl declaration... " >&6; }
52412 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52413 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52414 $as_echo_n "(cached) " >&6
52415 else
52416
52417
52418 ac_ext=cpp
52419 ac_cpp='$CXXCPP $CPPFLAGS'
52420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52423
52424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52425 /* end confdefs.h. */
52426 #include <math.h>
52427 int
52428 main ()
52429 {
52430 _powl(0, 0);
52431 ;
52432 return 0;
52433 }
52434 _ACEOF
52435 if ac_fn_cxx_try_compile "$LINENO"; then :
52436 glibcxx_cv_func__powl_use=yes
52437 else
52438 glibcxx_cv_func__powl_use=no
52439 fi
52440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52441 ac_ext=c
52442 ac_cpp='$CPP $CPPFLAGS'
52443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52446
52447
52448 fi
52449
52450 fi
52451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52452 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52453
52454 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52455 for ac_func in _powl
52456 do :
52457 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52458 if test "x$ac_cv_func__powl" = x""yes; then :
52459 cat >>confdefs.h <<_ACEOF
52460 #define HAVE__POWL 1
52461 _ACEOF
52462
52463 fi
52464 done
52465
52466 fi
52467 fi
52468
52469
52470
52471
52472
52473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52474 $as_echo_n "checking for sqrtl declaration... " >&6; }
52475 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52476 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52477 $as_echo_n "(cached) " >&6
52478 else
52479
52480
52481 ac_ext=cpp
52482 ac_cpp='$CXXCPP $CPPFLAGS'
52483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52486
52487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52488 /* end confdefs.h. */
52489 #include <math.h>
52490 #ifdef HAVE_IEEEFP_H
52491 #include <ieeefp.h>
52492 #endif
52493
52494 int
52495 main ()
52496 {
52497 sqrtl(0);
52498 ;
52499 return 0;
52500 }
52501 _ACEOF
52502 if ac_fn_cxx_try_compile "$LINENO"; then :
52503 glibcxx_cv_func_sqrtl_use=yes
52504 else
52505 glibcxx_cv_func_sqrtl_use=no
52506 fi
52507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52508 ac_ext=c
52509 ac_cpp='$CPP $CPPFLAGS'
52510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52513
52514
52515 fi
52516
52517 fi
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52519 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52520
52521 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52522 for ac_func in sqrtl
52523 do :
52524 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52525 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52526 cat >>confdefs.h <<_ACEOF
52527 #define HAVE_SQRTL 1
52528 _ACEOF
52529
52530 fi
52531 done
52532
52533 else
52534
52535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52536 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52537 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52538 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52539 $as_echo_n "(cached) " >&6
52540 else
52541
52542
52543 ac_ext=cpp
52544 ac_cpp='$CXXCPP $CPPFLAGS'
52545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52548
52549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52550 /* end confdefs.h. */
52551 #include <math.h>
52552 #ifdef HAVE_IEEEFP_H
52553 #include <ieeefp.h>
52554 #endif
52555
52556 int
52557 main ()
52558 {
52559 _sqrtl(0);
52560 ;
52561 return 0;
52562 }
52563 _ACEOF
52564 if ac_fn_cxx_try_compile "$LINENO"; then :
52565 glibcxx_cv_func__sqrtl_use=yes
52566 else
52567 glibcxx_cv_func__sqrtl_use=no
52568 fi
52569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52570 ac_ext=c
52571 ac_cpp='$CPP $CPPFLAGS'
52572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52575
52576
52577 fi
52578
52579 fi
52580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52581 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52582
52583 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52584 for ac_func in _sqrtl
52585 do :
52586 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52587 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52588 cat >>confdefs.h <<_ACEOF
52589 #define HAVE__SQRTL 1
52590 _ACEOF
52591
52592 fi
52593 done
52594
52595 fi
52596 fi
52597
52598
52599
52600
52601
52602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52603 $as_echo_n "checking for sincosl declaration... " >&6; }
52604 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52605 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52606 $as_echo_n "(cached) " >&6
52607 else
52608
52609
52610 ac_ext=cpp
52611 ac_cpp='$CXXCPP $CPPFLAGS'
52612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52615
52616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52617 /* end confdefs.h. */
52618 #include <math.h>
52619 int
52620 main ()
52621 {
52622 sincosl(0, 0, 0);
52623 ;
52624 return 0;
52625 }
52626 _ACEOF
52627 if ac_fn_cxx_try_compile "$LINENO"; then :
52628 glibcxx_cv_func_sincosl_use=yes
52629 else
52630 glibcxx_cv_func_sincosl_use=no
52631 fi
52632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52633 ac_ext=c
52634 ac_cpp='$CPP $CPPFLAGS'
52635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52638
52639
52640 fi
52641
52642 fi
52643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52644 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52645
52646 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52647 for ac_func in sincosl
52648 do :
52649 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52650 if test "x$ac_cv_func_sincosl" = x""yes; then :
52651 cat >>confdefs.h <<_ACEOF
52652 #define HAVE_SINCOSL 1
52653 _ACEOF
52654
52655 fi
52656 done
52657
52658 else
52659
52660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52661 $as_echo_n "checking for _sincosl declaration... " >&6; }
52662 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52663 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52664 $as_echo_n "(cached) " >&6
52665 else
52666
52667
52668 ac_ext=cpp
52669 ac_cpp='$CXXCPP $CPPFLAGS'
52670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52673
52674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52675 /* end confdefs.h. */
52676 #include <math.h>
52677 int
52678 main ()
52679 {
52680 _sincosl(0, 0, 0);
52681 ;
52682 return 0;
52683 }
52684 _ACEOF
52685 if ac_fn_cxx_try_compile "$LINENO"; then :
52686 glibcxx_cv_func__sincosl_use=yes
52687 else
52688 glibcxx_cv_func__sincosl_use=no
52689 fi
52690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52691 ac_ext=c
52692 ac_cpp='$CPP $CPPFLAGS'
52693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52696
52697
52698 fi
52699
52700 fi
52701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52702 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52703
52704 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52705 for ac_func in _sincosl
52706 do :
52707 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52708 if test "x$ac_cv_func__sincosl" = x""yes; then :
52709 cat >>confdefs.h <<_ACEOF
52710 #define HAVE__SINCOSL 1
52711 _ACEOF
52712
52713 fi
52714 done
52715
52716 fi
52717 fi
52718
52719
52720
52721
52722
52723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52724 $as_echo_n "checking for finitel declaration... " >&6; }
52725 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52726 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52727 $as_echo_n "(cached) " >&6
52728 else
52729
52730
52731 ac_ext=cpp
52732 ac_cpp='$CXXCPP $CPPFLAGS'
52733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52736
52737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52738 /* end confdefs.h. */
52739 #include <math.h>
52740 #ifdef HAVE_IEEEFP_H
52741 #include <ieeefp.h>
52742 #endif
52743
52744 int
52745 main ()
52746 {
52747 finitel(0);
52748 ;
52749 return 0;
52750 }
52751 _ACEOF
52752 if ac_fn_cxx_try_compile "$LINENO"; then :
52753 glibcxx_cv_func_finitel_use=yes
52754 else
52755 glibcxx_cv_func_finitel_use=no
52756 fi
52757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52758 ac_ext=c
52759 ac_cpp='$CPP $CPPFLAGS'
52760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52763
52764
52765 fi
52766
52767 fi
52768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52769 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52770
52771 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52772 for ac_func in finitel
52773 do :
52774 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52775 if test "x$ac_cv_func_finitel" = x""yes; then :
52776 cat >>confdefs.h <<_ACEOF
52777 #define HAVE_FINITEL 1
52778 _ACEOF
52779
52780 fi
52781 done
52782
52783 else
52784
52785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52786 $as_echo_n "checking for _finitel declaration... " >&6; }
52787 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52788 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52789 $as_echo_n "(cached) " >&6
52790 else
52791
52792
52793 ac_ext=cpp
52794 ac_cpp='$CXXCPP $CPPFLAGS'
52795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52798
52799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52800 /* end confdefs.h. */
52801 #include <math.h>
52802 #ifdef HAVE_IEEEFP_H
52803 #include <ieeefp.h>
52804 #endif
52805
52806 int
52807 main ()
52808 {
52809 _finitel(0);
52810 ;
52811 return 0;
52812 }
52813 _ACEOF
52814 if ac_fn_cxx_try_compile "$LINENO"; then :
52815 glibcxx_cv_func__finitel_use=yes
52816 else
52817 glibcxx_cv_func__finitel_use=no
52818 fi
52819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52820 ac_ext=c
52821 ac_cpp='$CPP $CPPFLAGS'
52822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52825
52826
52827 fi
52828
52829 fi
52830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52831 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52832
52833 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52834 for ac_func in _finitel
52835 do :
52836 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52837 if test "x$ac_cv_func__finitel" = x""yes; then :
52838 cat >>confdefs.h <<_ACEOF
52839 #define HAVE__FINITEL 1
52840 _ACEOF
52841
52842 fi
52843 done
52844
52845 fi
52846 fi
52847
52848
52849
52850
52851 LIBS="$ac_save_LIBS"
52852 CXXFLAGS="$ac_save_CXXFLAGS"
52853
52854
52855 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52856 ac_save_CXXFLAGS="$CXXFLAGS"
52857 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52858
52859
52860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52861 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52862 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52863 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52864 $as_echo_n "(cached) " >&6
52865 else
52866
52867
52868 ac_ext=cpp
52869 ac_cpp='$CXXCPP $CPPFLAGS'
52870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52873
52874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52875 /* end confdefs.h. */
52876 #include <stdlib.h>
52877 int
52878 main ()
52879 {
52880 at_quick_exit(0);
52881 ;
52882 return 0;
52883 }
52884 _ACEOF
52885 if ac_fn_cxx_try_compile "$LINENO"; then :
52886 glibcxx_cv_func_at_quick_exit_use=yes
52887 else
52888 glibcxx_cv_func_at_quick_exit_use=no
52889 fi
52890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52891 ac_ext=c
52892 ac_cpp='$CPP $CPPFLAGS'
52893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52896
52897
52898 fi
52899
52900 fi
52901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52902 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52903 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52904 for ac_func in at_quick_exit
52905 do :
52906 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52907 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52908 cat >>confdefs.h <<_ACEOF
52909 #define HAVE_AT_QUICK_EXIT 1
52910 _ACEOF
52911
52912 fi
52913 done
52914
52915 fi
52916
52917
52918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52919 $as_echo_n "checking for quick_exit declaration... " >&6; }
52920 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52921 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52922 $as_echo_n "(cached) " >&6
52923 else
52924
52925
52926 ac_ext=cpp
52927 ac_cpp='$CXXCPP $CPPFLAGS'
52928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52931
52932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52933 /* end confdefs.h. */
52934 #include <stdlib.h>
52935 int
52936 main ()
52937 {
52938 quick_exit(0);
52939 ;
52940 return 0;
52941 }
52942 _ACEOF
52943 if ac_fn_cxx_try_compile "$LINENO"; then :
52944 glibcxx_cv_func_quick_exit_use=yes
52945 else
52946 glibcxx_cv_func_quick_exit_use=no
52947 fi
52948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52949 ac_ext=c
52950 ac_cpp='$CPP $CPPFLAGS'
52951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52954
52955
52956 fi
52957
52958 fi
52959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52960 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52961 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52962 for ac_func in quick_exit
52963 do :
52964 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52965 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52966 cat >>confdefs.h <<_ACEOF
52967 #define HAVE_QUICK_EXIT 1
52968 _ACEOF
52969
52970 fi
52971 done
52972
52973 fi
52974
52975
52976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52977 $as_echo_n "checking for strtold declaration... " >&6; }
52978 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52979 if test "${glibcxx_cv_func_strtold_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 <stdlib.h>
52993 int
52994 main ()
52995 {
52996 strtold(0, 0);
52997 ;
52998 return 0;
52999 }
53000 _ACEOF
53001 if ac_fn_cxx_try_compile "$LINENO"; then :
53002 glibcxx_cv_func_strtold_use=yes
53003 else
53004 glibcxx_cv_func_strtold_use=no
53005 fi
53006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53007 ac_ext=c
53008 ac_cpp='$CPP $CPPFLAGS'
53009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53012
53013
53014 fi
53015
53016 fi
53017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53018 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53019 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53020 for ac_func in strtold
53021 do :
53022 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53023 if test "x$ac_cv_func_strtold" = x""yes; then :
53024 cat >>confdefs.h <<_ACEOF
53025 #define HAVE_STRTOLD 1
53026 _ACEOF
53027
53028 fi
53029 done
53030
53031 fi
53032
53033
53034
53035
53036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53037 $as_echo_n "checking for strtof declaration... " >&6; }
53038 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53039 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53040 $as_echo_n "(cached) " >&6
53041 else
53042
53043
53044 ac_ext=cpp
53045 ac_cpp='$CXXCPP $CPPFLAGS'
53046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53049
53050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53051 /* end confdefs.h. */
53052 #include <stdlib.h>
53053 int
53054 main ()
53055 {
53056 strtof(0, 0);
53057 ;
53058 return 0;
53059 }
53060 _ACEOF
53061 if ac_fn_cxx_try_compile "$LINENO"; then :
53062 glibcxx_cv_func_strtof_use=yes
53063 else
53064 glibcxx_cv_func_strtof_use=no
53065 fi
53066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53067 ac_ext=c
53068 ac_cpp='$CPP $CPPFLAGS'
53069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53072
53073
53074 fi
53075
53076 fi
53077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53078 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53079 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53080 for ac_func in strtof
53081 do :
53082 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53083 if test "x$ac_cv_func_strtof" = x""yes; then :
53084 cat >>confdefs.h <<_ACEOF
53085 #define HAVE_STRTOF 1
53086 _ACEOF
53087
53088 fi
53089 done
53090
53091 fi
53092
53093
53094
53095
53096 CXXFLAGS="$ac_save_CXXFLAGS"
53097
53098 ;;
53099
53100 *djgpp)
53101 # GLIBCXX_CHECK_MATH_SUPPORT
53102 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53103
53104 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53105
53106 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53107
53108 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53109
53110 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53111
53112 ;;
53113
53114 *-freebsd*)
53115 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53116
53117
53118 # If we're not using GNU ld, then there's no point in even trying these
53119 # tests. Check for that first. We should have already tested for gld
53120 # by now (in libtool), but require it now just to be safe...
53121 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53122 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53123
53124
53125
53126 # The name set by libtool depends on the version of libtool. Shame on us
53127 # for depending on an impl detail, but c'est la vie. Older versions used
53128 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53129 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53130 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53131 # set (hence we're using an older libtool), then set it.
53132 if test x${with_gnu_ld+set} != xset; then
53133 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53134 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53135 with_gnu_ld=no
53136 else
53137 with_gnu_ld=$ac_cv_prog_gnu_ld
53138 fi
53139 fi
53140
53141 # Start by getting the version number. I think the libtool test already
53142 # does some of this, but throws away the result.
53143 glibcxx_ld_is_gold=no
53144 if test x"$with_gnu_ld" = x"yes"; then
53145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53146 $as_echo_n "checking for ld version... " >&6; }
53147
53148 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53149 glibcxx_ld_is_gold=yes
53150 fi
53151 ldver=`$LD --version 2>/dev/null |
53152 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'`
53153
53154 glibcxx_gnu_ld_version=`echo $ldver | \
53155 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53157 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53158 fi
53159
53160 # Set --gc-sections.
53161 glibcxx_have_gc_sections=no
53162 if test "$glibcxx_ld_is_gold" = "yes"; then
53163 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53164 glibcxx_have_gc_sections=yes
53165 fi
53166 else
53167 glibcxx_gcsections_min_ld=21602
53168 if test x"$with_gnu_ld" = x"yes" &&
53169 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53170 glibcxx_have_gc_sections=yes
53171 fi
53172 fi
53173 if test "$glibcxx_have_gc_sections" = "yes"; then
53174 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53175 # NB: This flag only works reliably after 2.16.1. Configure tests
53176 # for this are difficult, so hard wire a value that should work.
53177
53178 ac_test_CFLAGS="${CFLAGS+set}"
53179 ac_save_CFLAGS="$CFLAGS"
53180 CFLAGS='-Wl,--gc-sections'
53181
53182 # Check for -Wl,--gc-sections
53183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53184 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53185 if test x$gcc_no_link = xyes; then
53186 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53187 fi
53188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53189 /* end confdefs.h. */
53190 int one(void) { return 1; }
53191 int two(void) { return 2; }
53192
53193 int
53194 main ()
53195 {
53196 two();
53197 ;
53198 return 0;
53199 }
53200 _ACEOF
53201 if ac_fn_c_try_link "$LINENO"; then :
53202 ac_gcsections=yes
53203 else
53204 ac_gcsections=no
53205 fi
53206 rm -f core conftest.err conftest.$ac_objext \
53207 conftest$ac_exeext conftest.$ac_ext
53208 if test "$ac_gcsections" = "yes"; then
53209 rm -f conftest.c
53210 touch conftest.c
53211 if $CC -c conftest.c; then
53212 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53213 grep "Warning: gc-sections option ignored" > /dev/null; then
53214 ac_gcsections=no
53215 fi
53216 fi
53217 rm -f conftest.c conftest.o conftest
53218 fi
53219 if test "$ac_gcsections" = "yes"; then
53220 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53221 fi
53222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53223 $as_echo "$ac_gcsections" >&6; }
53224
53225 if test "$ac_test_CFLAGS" = set; then
53226 CFLAGS="$ac_save_CFLAGS"
53227 else
53228 # this is the suspicious part
53229 CFLAGS=''
53230 fi
53231 fi
53232
53233 # Set -z,relro.
53234 # Note this is only for shared objects.
53235 ac_ld_relro=no
53236 if test x"$with_gnu_ld" = x"yes"; then
53237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53238 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53239 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53240 if test -n "$cxx_z_relo"; then
53241 OPT_LDFLAGS="-Wl,-z,relro"
53242 ac_ld_relro=yes
53243 fi
53244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53245 $as_echo "$ac_ld_relro" >&6; }
53246 fi
53247
53248 # Set linker optimization flags.
53249 if test x"$with_gnu_ld" = x"yes"; then
53250 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53251 fi
53252
53253
53254
53255
53256 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53257
53258 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53259
53260 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53261
53262 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53263
53264 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53265
53266 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53267
53268 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53269
53270 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53271
53272 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53273
53274
53275 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53276
53277 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53278
53279 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53280
53281 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53282
53283 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53284
53285 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53286
53287 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53288
53289 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53290
53291 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53292
53293 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53294
53295 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53296
53297 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53298
53299 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53300
53301 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53302
53303 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53304
53305 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53306
53307 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53308
53309 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53310
53311 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53312
53313 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53314
53315 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53316
53317 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53318
53319 if test x"long_double_math_on_this_cpu" = x"yes"; then
53320 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53321
53322 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53323
53324 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53325
53326 fi
53327 for ac_func in __cxa_thread_atexit
53328 do :
53329 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53330 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53331 cat >>confdefs.h <<_ACEOF
53332 #define HAVE___CXA_THREAD_ATEXIT 1
53333 _ACEOF
53334
53335 fi
53336 done
53337
53338 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53339 do :
53340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53342 eval as_val=\$$as_ac_var
53343 if test "x$as_val" = x""yes; then :
53344 cat >>confdefs.h <<_ACEOF
53345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53346 _ACEOF
53347
53348 fi
53349 done
53350
53351 ;;
53352
53353 *-fuchsia*)
53354 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53355
53356 ;;
53357
53358 *-hpux*)
53359 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53360
53361
53362 # If we're not using GNU ld, then there's no point in even trying these
53363 # tests. Check for that first. We should have already tested for gld
53364 # by now (in libtool), but require it now just to be safe...
53365 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53366 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53367
53368
53369
53370 # The name set by libtool depends on the version of libtool. Shame on us
53371 # for depending on an impl detail, but c'est la vie. Older versions used
53372 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53373 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53374 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53375 # set (hence we're using an older libtool), then set it.
53376 if test x${with_gnu_ld+set} != xset; then
53377 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53378 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53379 with_gnu_ld=no
53380 else
53381 with_gnu_ld=$ac_cv_prog_gnu_ld
53382 fi
53383 fi
53384
53385 # Start by getting the version number. I think the libtool test already
53386 # does some of this, but throws away the result.
53387 glibcxx_ld_is_gold=no
53388 if test x"$with_gnu_ld" = x"yes"; then
53389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53390 $as_echo_n "checking for ld version... " >&6; }
53391
53392 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53393 glibcxx_ld_is_gold=yes
53394 fi
53395 ldver=`$LD --version 2>/dev/null |
53396 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'`
53397
53398 glibcxx_gnu_ld_version=`echo $ldver | \
53399 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53401 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53402 fi
53403
53404 # Set --gc-sections.
53405 glibcxx_have_gc_sections=no
53406 if test "$glibcxx_ld_is_gold" = "yes"; then
53407 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53408 glibcxx_have_gc_sections=yes
53409 fi
53410 else
53411 glibcxx_gcsections_min_ld=21602
53412 if test x"$with_gnu_ld" = x"yes" &&
53413 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53414 glibcxx_have_gc_sections=yes
53415 fi
53416 fi
53417 if test "$glibcxx_have_gc_sections" = "yes"; then
53418 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53419 # NB: This flag only works reliably after 2.16.1. Configure tests
53420 # for this are difficult, so hard wire a value that should work.
53421
53422 ac_test_CFLAGS="${CFLAGS+set}"
53423 ac_save_CFLAGS="$CFLAGS"
53424 CFLAGS='-Wl,--gc-sections'
53425
53426 # Check for -Wl,--gc-sections
53427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53428 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53429 if test x$gcc_no_link = xyes; then
53430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53431 fi
53432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53433 /* end confdefs.h. */
53434 int one(void) { return 1; }
53435 int two(void) { return 2; }
53436
53437 int
53438 main ()
53439 {
53440 two();
53441 ;
53442 return 0;
53443 }
53444 _ACEOF
53445 if ac_fn_c_try_link "$LINENO"; then :
53446 ac_gcsections=yes
53447 else
53448 ac_gcsections=no
53449 fi
53450 rm -f core conftest.err conftest.$ac_objext \
53451 conftest$ac_exeext conftest.$ac_ext
53452 if test "$ac_gcsections" = "yes"; then
53453 rm -f conftest.c
53454 touch conftest.c
53455 if $CC -c conftest.c; then
53456 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53457 grep "Warning: gc-sections option ignored" > /dev/null; then
53458 ac_gcsections=no
53459 fi
53460 fi
53461 rm -f conftest.c conftest.o conftest
53462 fi
53463 if test "$ac_gcsections" = "yes"; then
53464 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53465 fi
53466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53467 $as_echo "$ac_gcsections" >&6; }
53468
53469 if test "$ac_test_CFLAGS" = set; then
53470 CFLAGS="$ac_save_CFLAGS"
53471 else
53472 # this is the suspicious part
53473 CFLAGS=''
53474 fi
53475 fi
53476
53477 # Set -z,relro.
53478 # Note this is only for shared objects.
53479 ac_ld_relro=no
53480 if test x"$with_gnu_ld" = x"yes"; then
53481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53482 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53483 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53484 if test -n "$cxx_z_relo"; then
53485 OPT_LDFLAGS="-Wl,-z,relro"
53486 ac_ld_relro=yes
53487 fi
53488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53489 $as_echo "$ac_ld_relro" >&6; }
53490 fi
53491
53492 # Set linker optimization flags.
53493 if test x"$with_gnu_ld" = x"yes"; then
53494 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53495 fi
53496
53497
53498
53499
53500
53501 # GLIBCXX_CHECK_MATH_SUPPORT
53502 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53503
53504 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53505
53506 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53507
53508 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53509
53510 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53511
53512 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53513
53514 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53515
53516 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53517
53518 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53519
53520 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53521
53522 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53523
53524 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53525
53526 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53527
53528 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53529
53530 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53531
53532 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53533
53534 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53535
53536 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53537
53538 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53539
53540 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53541
53542 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53543
53544
53545 # GLIBCXX_CHECK_STDLIB_SUPPORT
53546 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53547
53548
53549
53550
53551 # Check whether --enable-tls was given.
53552 if test "${enable_tls+set}" = set; then :
53553 enableval=$enable_tls;
53554 case "$enableval" in
53555 yes|no) ;;
53556 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53557 esac
53558
53559 else
53560 enable_tls=yes
53561 fi
53562
53563
53564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53565 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53566 if test "${gcc_cv_have_tls+set}" = set; then :
53567 $as_echo_n "(cached) " >&6
53568 else
53569
53570 if test "$cross_compiling" = yes; then :
53571 if test x$gcc_no_link = xyes; then
53572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53573 fi
53574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53575 /* end confdefs.h. */
53576 __thread int a; int b; int main() { return a = b; }
53577 _ACEOF
53578 if ac_fn_c_try_link "$LINENO"; then :
53579 chktls_save_LDFLAGS="$LDFLAGS"
53580 case $host in
53581 *-*-linux*)
53582 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53583 ;;
53584 esac
53585 chktls_save_CFLAGS="$CFLAGS"
53586 CFLAGS="-fPIC $CFLAGS"
53587 if test x$gcc_no_link = xyes; then
53588 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53589 fi
53590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53591 /* end confdefs.h. */
53592 int f() { return 0; }
53593 _ACEOF
53594 if ac_fn_c_try_link "$LINENO"; then :
53595 if test x$gcc_no_link = xyes; then
53596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53597 fi
53598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53599 /* end confdefs.h. */
53600 __thread int a; int b; int f() { return a = b; }
53601 _ACEOF
53602 if ac_fn_c_try_link "$LINENO"; then :
53603 gcc_cv_have_tls=yes
53604 else
53605 gcc_cv_have_tls=no
53606 fi
53607 rm -f core conftest.err conftest.$ac_objext \
53608 conftest$ac_exeext conftest.$ac_ext
53609 else
53610 gcc_cv_have_tls=yes
53611 fi
53612 rm -f core conftest.err conftest.$ac_objext \
53613 conftest$ac_exeext conftest.$ac_ext
53614 CFLAGS="$chktls_save_CFLAGS"
53615 LDFLAGS="$chktls_save_LDFLAGS"
53616 else
53617 gcc_cv_have_tls=no
53618 fi
53619 rm -f core conftest.err conftest.$ac_objext \
53620 conftest$ac_exeext conftest.$ac_ext
53621
53622
53623 else
53624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53625 /* end confdefs.h. */
53626 __thread int a; int b; int main() { return a = b; }
53627 _ACEOF
53628 if ac_fn_c_try_run "$LINENO"; then :
53629 chktls_save_LDFLAGS="$LDFLAGS"
53630 LDFLAGS="-static $LDFLAGS"
53631 if test x$gcc_no_link = xyes; then
53632 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53633 fi
53634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53635 /* end confdefs.h. */
53636 int main() { return 0; }
53637 _ACEOF
53638 if ac_fn_c_try_link "$LINENO"; then :
53639 if test "$cross_compiling" = yes; then :
53640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53642 as_fn_error "cannot run test program while cross compiling
53643 See \`config.log' for more details." "$LINENO" 5; }
53644 else
53645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53646 /* end confdefs.h. */
53647 __thread int a; int b; int main() { return a = b; }
53648 _ACEOF
53649 if ac_fn_c_try_run "$LINENO"; then :
53650 gcc_cv_have_tls=yes
53651 else
53652 gcc_cv_have_tls=no
53653 fi
53654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53655 conftest.$ac_objext conftest.beam conftest.$ac_ext
53656 fi
53657
53658 else
53659 gcc_cv_have_tls=yes
53660 fi
53661 rm -f core conftest.err conftest.$ac_objext \
53662 conftest$ac_exeext conftest.$ac_ext
53663 LDFLAGS="$chktls_save_LDFLAGS"
53664 if test $gcc_cv_have_tls = yes; then
53665 chktls_save_CFLAGS="$CFLAGS"
53666 thread_CFLAGS=failed
53667 for flag in '' '-pthread' '-lpthread'; do
53668 CFLAGS="$flag $chktls_save_CFLAGS"
53669 if test x$gcc_no_link = xyes; then
53670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53671 fi
53672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53673 /* end confdefs.h. */
53674 #include <pthread.h>
53675 void *g(void *d) { return NULL; }
53676 int
53677 main ()
53678 {
53679 pthread_t t; pthread_create(&t,NULL,g,NULL);
53680 ;
53681 return 0;
53682 }
53683 _ACEOF
53684 if ac_fn_c_try_link "$LINENO"; then :
53685 thread_CFLAGS="$flag"
53686 fi
53687 rm -f core conftest.err conftest.$ac_objext \
53688 conftest$ac_exeext conftest.$ac_ext
53689 if test "X$thread_CFLAGS" != Xfailed; then
53690 break
53691 fi
53692 done
53693 CFLAGS="$chktls_save_CFLAGS"
53694 if test "X$thread_CFLAGS" != Xfailed; then
53695 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53696 if test "$cross_compiling" = yes; then :
53697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53699 as_fn_error "cannot run test program while cross compiling
53700 See \`config.log' for more details." "$LINENO" 5; }
53701 else
53702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53703 /* end confdefs.h. */
53704 #include <pthread.h>
53705 __thread int a;
53706 static int *volatile a_in_other_thread;
53707 static void *
53708 thread_func (void *arg)
53709 {
53710 a_in_other_thread = &a;
53711 return (void *)0;
53712 }
53713 int
53714 main ()
53715 {
53716 pthread_t thread;
53717 void *thread_retval;
53718 int *volatile a_in_main_thread;
53719 a_in_main_thread = &a;
53720 if (pthread_create (&thread, (pthread_attr_t *)0,
53721 thread_func, (void *)0))
53722 return 0;
53723 if (pthread_join (thread, &thread_retval))
53724 return 0;
53725 return (a_in_other_thread == a_in_main_thread);
53726 ;
53727 return 0;
53728 }
53729 _ACEOF
53730 if ac_fn_c_try_run "$LINENO"; then :
53731 gcc_cv_have_tls=yes
53732 else
53733 gcc_cv_have_tls=no
53734 fi
53735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53736 conftest.$ac_objext conftest.beam conftest.$ac_ext
53737 fi
53738
53739 CFLAGS="$chktls_save_CFLAGS"
53740 fi
53741 fi
53742 else
53743 gcc_cv_have_tls=no
53744 fi
53745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53746 conftest.$ac_objext conftest.beam conftest.$ac_ext
53747 fi
53748
53749 fi
53750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53751 $as_echo "$gcc_cv_have_tls" >&6; }
53752 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53753
53754 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53755
53756 fi
53757 case "$target" in
53758 *-hpux10*)
53759 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53760
53761 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53762
53763 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53764
53765 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53766
53767 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53768
53769 ;;
53770 esac
53771 ;;
53772 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53773
53774 # All these tests are for C++; save the language and the compiler flags.
53775 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53776 # found in GLIBCXX_CONFIGURE.
53777
53778 ac_ext=cpp
53779 ac_cpp='$CXXCPP $CPPFLAGS'
53780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53783
53784 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53785 ac_save_CXXFLAGS="$CXXFLAGS"
53786
53787 # Check for -ffunction-sections -fdata-sections
53788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53789 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53790 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53792 /* end confdefs.h. */
53793 int foo; void bar() { };
53794 int
53795 main ()
53796 {
53797
53798 ;
53799 return 0;
53800 }
53801 _ACEOF
53802 if ac_fn_cxx_try_compile "$LINENO"; then :
53803 ac_fdsections=yes
53804 else
53805 ac_fdsections=no
53806 fi
53807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53808 if test "$ac_test_CXXFLAGS" = set; then
53809 CXXFLAGS="$ac_save_CXXFLAGS"
53810 else
53811 # this is the suspicious part
53812 CXXFLAGS=''
53813 fi
53814 if test x"$ac_fdsections" = x"yes"; then
53815 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53816 fi
53817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53818 $as_echo "$ac_fdsections" >&6; }
53819
53820 ac_ext=c
53821 ac_cpp='$CPP $CPPFLAGS'
53822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53825
53826
53827
53828
53829 # If we're not using GNU ld, then there's no point in even trying these
53830 # tests. Check for that first. We should have already tested for gld
53831 # by now (in libtool), but require it now just to be safe...
53832 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53833 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53834
53835
53836
53837 # The name set by libtool depends on the version of libtool. Shame on us
53838 # for depending on an impl detail, but c'est la vie. Older versions used
53839 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53840 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53841 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53842 # set (hence we're using an older libtool), then set it.
53843 if test x${with_gnu_ld+set} != xset; then
53844 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53845 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53846 with_gnu_ld=no
53847 else
53848 with_gnu_ld=$ac_cv_prog_gnu_ld
53849 fi
53850 fi
53851
53852 # Start by getting the version number. I think the libtool test already
53853 # does some of this, but throws away the result.
53854 glibcxx_ld_is_gold=no
53855 if test x"$with_gnu_ld" = x"yes"; then
53856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53857 $as_echo_n "checking for ld version... " >&6; }
53858
53859 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53860 glibcxx_ld_is_gold=yes
53861 fi
53862 ldver=`$LD --version 2>/dev/null |
53863 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'`
53864
53865 glibcxx_gnu_ld_version=`echo $ldver | \
53866 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53868 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53869 fi
53870
53871 # Set --gc-sections.
53872 glibcxx_have_gc_sections=no
53873 if test "$glibcxx_ld_is_gold" = "yes"; then
53874 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53875 glibcxx_have_gc_sections=yes
53876 fi
53877 else
53878 glibcxx_gcsections_min_ld=21602
53879 if test x"$with_gnu_ld" = x"yes" &&
53880 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53881 glibcxx_have_gc_sections=yes
53882 fi
53883 fi
53884 if test "$glibcxx_have_gc_sections" = "yes"; then
53885 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53886 # NB: This flag only works reliably after 2.16.1. Configure tests
53887 # for this are difficult, so hard wire a value that should work.
53888
53889 ac_test_CFLAGS="${CFLAGS+set}"
53890 ac_save_CFLAGS="$CFLAGS"
53891 CFLAGS='-Wl,--gc-sections'
53892
53893 # Check for -Wl,--gc-sections
53894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53895 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53896 if test x$gcc_no_link = xyes; then
53897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53898 fi
53899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53900 /* end confdefs.h. */
53901 int one(void) { return 1; }
53902 int two(void) { return 2; }
53903
53904 int
53905 main ()
53906 {
53907 two();
53908 ;
53909 return 0;
53910 }
53911 _ACEOF
53912 if ac_fn_c_try_link "$LINENO"; then :
53913 ac_gcsections=yes
53914 else
53915 ac_gcsections=no
53916 fi
53917 rm -f core conftest.err conftest.$ac_objext \
53918 conftest$ac_exeext conftest.$ac_ext
53919 if test "$ac_gcsections" = "yes"; then
53920 rm -f conftest.c
53921 touch conftest.c
53922 if $CC -c conftest.c; then
53923 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53924 grep "Warning: gc-sections option ignored" > /dev/null; then
53925 ac_gcsections=no
53926 fi
53927 fi
53928 rm -f conftest.c conftest.o conftest
53929 fi
53930 if test "$ac_gcsections" = "yes"; then
53931 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53932 fi
53933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53934 $as_echo "$ac_gcsections" >&6; }
53935
53936 if test "$ac_test_CFLAGS" = set; then
53937 CFLAGS="$ac_save_CFLAGS"
53938 else
53939 # this is the suspicious part
53940 CFLAGS=''
53941 fi
53942 fi
53943
53944 # Set -z,relro.
53945 # Note this is only for shared objects.
53946 ac_ld_relro=no
53947 if test x"$with_gnu_ld" = x"yes"; then
53948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53949 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53950 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53951 if test -n "$cxx_z_relo"; then
53952 OPT_LDFLAGS="-Wl,-z,relro"
53953 ac_ld_relro=yes
53954 fi
53955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53956 $as_echo "$ac_ld_relro" >&6; }
53957 fi
53958
53959 # Set linker optimization flags.
53960 if test x"$with_gnu_ld" = x"yes"; then
53961 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53962 fi
53963
53964
53965
53966
53967
53968 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53969 ac_save_CXXFLAGS="$CXXFLAGS"
53970 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53971
53972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53973 $as_echo_n "checking for sin in -lm... " >&6; }
53974 if test "${ac_cv_lib_m_sin+set}" = set; then :
53975 $as_echo_n "(cached) " >&6
53976 else
53977 ac_check_lib_save_LIBS=$LIBS
53978 LIBS="-lm $LIBS"
53979 if test x$gcc_no_link = xyes; then
53980 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53981 fi
53982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53983 /* end confdefs.h. */
53984
53985 /* Override any GCC internal prototype to avoid an error.
53986 Use char because int might match the return type of a GCC
53987 builtin and then its argument prototype would still apply. */
53988 #ifdef __cplusplus
53989 extern "C"
53990 #endif
53991 char sin ();
53992 int
53993 main ()
53994 {
53995 return sin ();
53996 ;
53997 return 0;
53998 }
53999 _ACEOF
54000 if ac_fn_c_try_link "$LINENO"; then :
54001 ac_cv_lib_m_sin=yes
54002 else
54003 ac_cv_lib_m_sin=no
54004 fi
54005 rm -f core conftest.err conftest.$ac_objext \
54006 conftest$ac_exeext conftest.$ac_ext
54007 LIBS=$ac_check_lib_save_LIBS
54008 fi
54009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54010 $as_echo "$ac_cv_lib_m_sin" >&6; }
54011 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54012 libm="-lm"
54013 fi
54014
54015 ac_save_LIBS="$LIBS"
54016 LIBS="$LIBS $libm"
54017
54018
54019
54020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54021 $as_echo_n "checking for isinf declaration... " >&6; }
54022 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54023 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54024 $as_echo_n "(cached) " >&6
54025 else
54026
54027
54028 ac_ext=cpp
54029 ac_cpp='$CXXCPP $CPPFLAGS'
54030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54033
54034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54035 /* end confdefs.h. */
54036 #include <math.h>
54037 #ifdef HAVE_IEEEFP_H
54038 #include <ieeefp.h>
54039 #endif
54040
54041 int
54042 main ()
54043 {
54044 isinf(0);
54045 ;
54046 return 0;
54047 }
54048 _ACEOF
54049 if ac_fn_cxx_try_compile "$LINENO"; then :
54050 glibcxx_cv_func_isinf_use=yes
54051 else
54052 glibcxx_cv_func_isinf_use=no
54053 fi
54054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54055 ac_ext=c
54056 ac_cpp='$CPP $CPPFLAGS'
54057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54060
54061
54062 fi
54063
54064 fi
54065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54066 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54067
54068 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54069 for ac_func in isinf
54070 do :
54071 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54072 if test "x$ac_cv_func_isinf" = x""yes; then :
54073 cat >>confdefs.h <<_ACEOF
54074 #define HAVE_ISINF 1
54075 _ACEOF
54076
54077 fi
54078 done
54079
54080 else
54081
54082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54083 $as_echo_n "checking for _isinf declaration... " >&6; }
54084 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54085 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54086 $as_echo_n "(cached) " >&6
54087 else
54088
54089
54090 ac_ext=cpp
54091 ac_cpp='$CXXCPP $CPPFLAGS'
54092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54095
54096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54097 /* end confdefs.h. */
54098 #include <math.h>
54099 #ifdef HAVE_IEEEFP_H
54100 #include <ieeefp.h>
54101 #endif
54102
54103 int
54104 main ()
54105 {
54106 _isinf(0);
54107 ;
54108 return 0;
54109 }
54110 _ACEOF
54111 if ac_fn_cxx_try_compile "$LINENO"; then :
54112 glibcxx_cv_func__isinf_use=yes
54113 else
54114 glibcxx_cv_func__isinf_use=no
54115 fi
54116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54117 ac_ext=c
54118 ac_cpp='$CPP $CPPFLAGS'
54119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54122
54123
54124 fi
54125
54126 fi
54127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54128 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54129
54130 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54131 for ac_func in _isinf
54132 do :
54133 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54134 if test "x$ac_cv_func__isinf" = x""yes; then :
54135 cat >>confdefs.h <<_ACEOF
54136 #define HAVE__ISINF 1
54137 _ACEOF
54138
54139 fi
54140 done
54141
54142 fi
54143 fi
54144
54145
54146
54147
54148
54149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54150 $as_echo_n "checking for isnan declaration... " >&6; }
54151 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54152 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54153 $as_echo_n "(cached) " >&6
54154 else
54155
54156
54157 ac_ext=cpp
54158 ac_cpp='$CXXCPP $CPPFLAGS'
54159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54162
54163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54164 /* end confdefs.h. */
54165 #include <math.h>
54166 #ifdef HAVE_IEEEFP_H
54167 #include <ieeefp.h>
54168 #endif
54169
54170 int
54171 main ()
54172 {
54173 isnan(0);
54174 ;
54175 return 0;
54176 }
54177 _ACEOF
54178 if ac_fn_cxx_try_compile "$LINENO"; then :
54179 glibcxx_cv_func_isnan_use=yes
54180 else
54181 glibcxx_cv_func_isnan_use=no
54182 fi
54183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54184 ac_ext=c
54185 ac_cpp='$CPP $CPPFLAGS'
54186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54189
54190
54191 fi
54192
54193 fi
54194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54195 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54196
54197 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54198 for ac_func in isnan
54199 do :
54200 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54201 if test "x$ac_cv_func_isnan" = x""yes; then :
54202 cat >>confdefs.h <<_ACEOF
54203 #define HAVE_ISNAN 1
54204 _ACEOF
54205
54206 fi
54207 done
54208
54209 else
54210
54211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54212 $as_echo_n "checking for _isnan declaration... " >&6; }
54213 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54214 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54215 $as_echo_n "(cached) " >&6
54216 else
54217
54218
54219 ac_ext=cpp
54220 ac_cpp='$CXXCPP $CPPFLAGS'
54221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54224
54225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54226 /* end confdefs.h. */
54227 #include <math.h>
54228 #ifdef HAVE_IEEEFP_H
54229 #include <ieeefp.h>
54230 #endif
54231
54232 int
54233 main ()
54234 {
54235 _isnan(0);
54236 ;
54237 return 0;
54238 }
54239 _ACEOF
54240 if ac_fn_cxx_try_compile "$LINENO"; then :
54241 glibcxx_cv_func__isnan_use=yes
54242 else
54243 glibcxx_cv_func__isnan_use=no
54244 fi
54245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54246 ac_ext=c
54247 ac_cpp='$CPP $CPPFLAGS'
54248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54251
54252
54253 fi
54254
54255 fi
54256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54257 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54258
54259 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54260 for ac_func in _isnan
54261 do :
54262 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54263 if test "x$ac_cv_func__isnan" = x""yes; then :
54264 cat >>confdefs.h <<_ACEOF
54265 #define HAVE__ISNAN 1
54266 _ACEOF
54267
54268 fi
54269 done
54270
54271 fi
54272 fi
54273
54274
54275
54276
54277
54278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54279 $as_echo_n "checking for finite declaration... " >&6; }
54280 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54281 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54282 $as_echo_n "(cached) " >&6
54283 else
54284
54285
54286 ac_ext=cpp
54287 ac_cpp='$CXXCPP $CPPFLAGS'
54288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54291
54292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54293 /* end confdefs.h. */
54294 #include <math.h>
54295 #ifdef HAVE_IEEEFP_H
54296 #include <ieeefp.h>
54297 #endif
54298
54299 int
54300 main ()
54301 {
54302 finite(0);
54303 ;
54304 return 0;
54305 }
54306 _ACEOF
54307 if ac_fn_cxx_try_compile "$LINENO"; then :
54308 glibcxx_cv_func_finite_use=yes
54309 else
54310 glibcxx_cv_func_finite_use=no
54311 fi
54312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54313 ac_ext=c
54314 ac_cpp='$CPP $CPPFLAGS'
54315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54318
54319
54320 fi
54321
54322 fi
54323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54324 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54325
54326 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54327 for ac_func in finite
54328 do :
54329 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54330 if test "x$ac_cv_func_finite" = x""yes; then :
54331 cat >>confdefs.h <<_ACEOF
54332 #define HAVE_FINITE 1
54333 _ACEOF
54334
54335 fi
54336 done
54337
54338 else
54339
54340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54341 $as_echo_n "checking for _finite declaration... " >&6; }
54342 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54343 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54344 $as_echo_n "(cached) " >&6
54345 else
54346
54347
54348 ac_ext=cpp
54349 ac_cpp='$CXXCPP $CPPFLAGS'
54350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54353
54354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54355 /* end confdefs.h. */
54356 #include <math.h>
54357 #ifdef HAVE_IEEEFP_H
54358 #include <ieeefp.h>
54359 #endif
54360
54361 int
54362 main ()
54363 {
54364 _finite(0);
54365 ;
54366 return 0;
54367 }
54368 _ACEOF
54369 if ac_fn_cxx_try_compile "$LINENO"; then :
54370 glibcxx_cv_func__finite_use=yes
54371 else
54372 glibcxx_cv_func__finite_use=no
54373 fi
54374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54375 ac_ext=c
54376 ac_cpp='$CPP $CPPFLAGS'
54377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54380
54381
54382 fi
54383
54384 fi
54385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54386 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54387
54388 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54389 for ac_func in _finite
54390 do :
54391 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54392 if test "x$ac_cv_func__finite" = x""yes; then :
54393 cat >>confdefs.h <<_ACEOF
54394 #define HAVE__FINITE 1
54395 _ACEOF
54396
54397 fi
54398 done
54399
54400 fi
54401 fi
54402
54403
54404
54405
54406
54407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54408 $as_echo_n "checking for sincos declaration... " >&6; }
54409 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54410 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54411 $as_echo_n "(cached) " >&6
54412 else
54413
54414
54415 ac_ext=cpp
54416 ac_cpp='$CXXCPP $CPPFLAGS'
54417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54420
54421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54422 /* end confdefs.h. */
54423 #include <math.h>
54424 int
54425 main ()
54426 {
54427 sincos(0, 0, 0);
54428 ;
54429 return 0;
54430 }
54431 _ACEOF
54432 if ac_fn_cxx_try_compile "$LINENO"; then :
54433 glibcxx_cv_func_sincos_use=yes
54434 else
54435 glibcxx_cv_func_sincos_use=no
54436 fi
54437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54438 ac_ext=c
54439 ac_cpp='$CPP $CPPFLAGS'
54440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54443
54444
54445 fi
54446
54447 fi
54448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54449 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54450
54451 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54452 for ac_func in sincos
54453 do :
54454 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54455 if test "x$ac_cv_func_sincos" = x""yes; then :
54456 cat >>confdefs.h <<_ACEOF
54457 #define HAVE_SINCOS 1
54458 _ACEOF
54459
54460 fi
54461 done
54462
54463 else
54464
54465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54466 $as_echo_n "checking for _sincos declaration... " >&6; }
54467 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54468 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54469 $as_echo_n "(cached) " >&6
54470 else
54471
54472
54473 ac_ext=cpp
54474 ac_cpp='$CXXCPP $CPPFLAGS'
54475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54478
54479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54480 /* end confdefs.h. */
54481 #include <math.h>
54482 int
54483 main ()
54484 {
54485 _sincos(0, 0, 0);
54486 ;
54487 return 0;
54488 }
54489 _ACEOF
54490 if ac_fn_cxx_try_compile "$LINENO"; then :
54491 glibcxx_cv_func__sincos_use=yes
54492 else
54493 glibcxx_cv_func__sincos_use=no
54494 fi
54495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54496 ac_ext=c
54497 ac_cpp='$CPP $CPPFLAGS'
54498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54501
54502
54503 fi
54504
54505 fi
54506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54507 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54508
54509 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54510 for ac_func in _sincos
54511 do :
54512 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54513 if test "x$ac_cv_func__sincos" = x""yes; then :
54514 cat >>confdefs.h <<_ACEOF
54515 #define HAVE__SINCOS 1
54516 _ACEOF
54517
54518 fi
54519 done
54520
54521 fi
54522 fi
54523
54524
54525
54526
54527
54528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54529 $as_echo_n "checking for fpclass declaration... " >&6; }
54530 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54531 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54532 $as_echo_n "(cached) " >&6
54533 else
54534
54535
54536 ac_ext=cpp
54537 ac_cpp='$CXXCPP $CPPFLAGS'
54538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54541
54542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54543 /* end confdefs.h. */
54544 #include <math.h>
54545 #ifdef HAVE_IEEEFP_H
54546 #include <ieeefp.h>
54547 #endif
54548
54549 int
54550 main ()
54551 {
54552 fpclass(0);
54553 ;
54554 return 0;
54555 }
54556 _ACEOF
54557 if ac_fn_cxx_try_compile "$LINENO"; then :
54558 glibcxx_cv_func_fpclass_use=yes
54559 else
54560 glibcxx_cv_func_fpclass_use=no
54561 fi
54562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54563 ac_ext=c
54564 ac_cpp='$CPP $CPPFLAGS'
54565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54568
54569
54570 fi
54571
54572 fi
54573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54574 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54575
54576 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54577 for ac_func in fpclass
54578 do :
54579 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54580 if test "x$ac_cv_func_fpclass" = x""yes; then :
54581 cat >>confdefs.h <<_ACEOF
54582 #define HAVE_FPCLASS 1
54583 _ACEOF
54584
54585 fi
54586 done
54587
54588 else
54589
54590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54591 $as_echo_n "checking for _fpclass declaration... " >&6; }
54592 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54593 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54594 $as_echo_n "(cached) " >&6
54595 else
54596
54597
54598 ac_ext=cpp
54599 ac_cpp='$CXXCPP $CPPFLAGS'
54600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54603
54604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54605 /* end confdefs.h. */
54606 #include <math.h>
54607 #ifdef HAVE_IEEEFP_H
54608 #include <ieeefp.h>
54609 #endif
54610
54611 int
54612 main ()
54613 {
54614 _fpclass(0);
54615 ;
54616 return 0;
54617 }
54618 _ACEOF
54619 if ac_fn_cxx_try_compile "$LINENO"; then :
54620 glibcxx_cv_func__fpclass_use=yes
54621 else
54622 glibcxx_cv_func__fpclass_use=no
54623 fi
54624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54625 ac_ext=c
54626 ac_cpp='$CPP $CPPFLAGS'
54627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54630
54631
54632 fi
54633
54634 fi
54635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54636 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54637
54638 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54639 for ac_func in _fpclass
54640 do :
54641 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54642 if test "x$ac_cv_func__fpclass" = x""yes; then :
54643 cat >>confdefs.h <<_ACEOF
54644 #define HAVE__FPCLASS 1
54645 _ACEOF
54646
54647 fi
54648 done
54649
54650 fi
54651 fi
54652
54653
54654
54655
54656
54657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54658 $as_echo_n "checking for qfpclass declaration... " >&6; }
54659 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54660 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54661 $as_echo_n "(cached) " >&6
54662 else
54663
54664
54665 ac_ext=cpp
54666 ac_cpp='$CXXCPP $CPPFLAGS'
54667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54670
54671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54672 /* end confdefs.h. */
54673 #include <math.h>
54674 #ifdef HAVE_IEEEFP_H
54675 #include <ieeefp.h>
54676 #endif
54677
54678 int
54679 main ()
54680 {
54681 qfpclass(0);
54682 ;
54683 return 0;
54684 }
54685 _ACEOF
54686 if ac_fn_cxx_try_compile "$LINENO"; then :
54687 glibcxx_cv_func_qfpclass_use=yes
54688 else
54689 glibcxx_cv_func_qfpclass_use=no
54690 fi
54691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54692 ac_ext=c
54693 ac_cpp='$CPP $CPPFLAGS'
54694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54697
54698
54699 fi
54700
54701 fi
54702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54703 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54704
54705 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54706 for ac_func in qfpclass
54707 do :
54708 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54709 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54710 cat >>confdefs.h <<_ACEOF
54711 #define HAVE_QFPCLASS 1
54712 _ACEOF
54713
54714 fi
54715 done
54716
54717 else
54718
54719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54720 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54721 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54722 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54723 $as_echo_n "(cached) " >&6
54724 else
54725
54726
54727 ac_ext=cpp
54728 ac_cpp='$CXXCPP $CPPFLAGS'
54729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54732
54733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54734 /* end confdefs.h. */
54735 #include <math.h>
54736 #ifdef HAVE_IEEEFP_H
54737 #include <ieeefp.h>
54738 #endif
54739
54740 int
54741 main ()
54742 {
54743 _qfpclass(0);
54744 ;
54745 return 0;
54746 }
54747 _ACEOF
54748 if ac_fn_cxx_try_compile "$LINENO"; then :
54749 glibcxx_cv_func__qfpclass_use=yes
54750 else
54751 glibcxx_cv_func__qfpclass_use=no
54752 fi
54753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54754 ac_ext=c
54755 ac_cpp='$CPP $CPPFLAGS'
54756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54759
54760
54761 fi
54762
54763 fi
54764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54765 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54766
54767 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54768 for ac_func in _qfpclass
54769 do :
54770 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54771 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54772 cat >>confdefs.h <<_ACEOF
54773 #define HAVE__QFPCLASS 1
54774 _ACEOF
54775
54776 fi
54777 done
54778
54779 fi
54780 fi
54781
54782
54783
54784
54785
54786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54787 $as_echo_n "checking for hypot declaration... " >&6; }
54788 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54789 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54790 $as_echo_n "(cached) " >&6
54791 else
54792
54793
54794 ac_ext=cpp
54795 ac_cpp='$CXXCPP $CPPFLAGS'
54796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54799
54800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54801 /* end confdefs.h. */
54802 #include <math.h>
54803 int
54804 main ()
54805 {
54806 hypot(0, 0);
54807 ;
54808 return 0;
54809 }
54810 _ACEOF
54811 if ac_fn_cxx_try_compile "$LINENO"; then :
54812 glibcxx_cv_func_hypot_use=yes
54813 else
54814 glibcxx_cv_func_hypot_use=no
54815 fi
54816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54817 ac_ext=c
54818 ac_cpp='$CPP $CPPFLAGS'
54819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54822
54823
54824 fi
54825
54826 fi
54827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54828 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54829
54830 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54831 for ac_func in hypot
54832 do :
54833 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54834 if test "x$ac_cv_func_hypot" = x""yes; then :
54835 cat >>confdefs.h <<_ACEOF
54836 #define HAVE_HYPOT 1
54837 _ACEOF
54838
54839 fi
54840 done
54841
54842 else
54843
54844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54845 $as_echo_n "checking for _hypot declaration... " >&6; }
54846 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54847 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54848 $as_echo_n "(cached) " >&6
54849 else
54850
54851
54852 ac_ext=cpp
54853 ac_cpp='$CXXCPP $CPPFLAGS'
54854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54857
54858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54859 /* end confdefs.h. */
54860 #include <math.h>
54861 int
54862 main ()
54863 {
54864 _hypot(0, 0);
54865 ;
54866 return 0;
54867 }
54868 _ACEOF
54869 if ac_fn_cxx_try_compile "$LINENO"; then :
54870 glibcxx_cv_func__hypot_use=yes
54871 else
54872 glibcxx_cv_func__hypot_use=no
54873 fi
54874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54875 ac_ext=c
54876 ac_cpp='$CPP $CPPFLAGS'
54877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54880
54881
54882 fi
54883
54884 fi
54885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54886 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54887
54888 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54889 for ac_func in _hypot
54890 do :
54891 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54892 if test "x$ac_cv_func__hypot" = x""yes; then :
54893 cat >>confdefs.h <<_ACEOF
54894 #define HAVE__HYPOT 1
54895 _ACEOF
54896
54897 fi
54898 done
54899
54900 fi
54901 fi
54902
54903
54904
54905
54906
54907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54908 $as_echo_n "checking for float trig functions... " >&6; }
54909 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54910 $as_echo_n "(cached) " >&6
54911 else
54912
54913
54914 ac_ext=cpp
54915 ac_cpp='$CXXCPP $CPPFLAGS'
54916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54919
54920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54921 /* end confdefs.h. */
54922 #include <math.h>
54923 int
54924 main ()
54925 {
54926 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54927 ;
54928 return 0;
54929 }
54930 _ACEOF
54931 if ac_fn_cxx_try_compile "$LINENO"; then :
54932 glibcxx_cv_func_float_trig_use=yes
54933 else
54934 glibcxx_cv_func_float_trig_use=no
54935 fi
54936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54937 ac_ext=c
54938 ac_cpp='$CPP $CPPFLAGS'
54939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54942
54943 fi
54944
54945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54946 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54947 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54948 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54949 do :
54950 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54951 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54952 eval as_val=\$$as_ac_var
54953 if test "x$as_val" = x""yes; then :
54954 cat >>confdefs.h <<_ACEOF
54955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54956 _ACEOF
54957
54958 fi
54959 done
54960
54961 else
54962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54963 $as_echo_n "checking for _float trig functions... " >&6; }
54964 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54965 $as_echo_n "(cached) " >&6
54966 else
54967
54968
54969 ac_ext=cpp
54970 ac_cpp='$CXXCPP $CPPFLAGS'
54971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54974
54975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54976 /* end confdefs.h. */
54977 #include <math.h>
54978 int
54979 main ()
54980 {
54981 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54982 ;
54983 return 0;
54984 }
54985 _ACEOF
54986 if ac_fn_cxx_try_compile "$LINENO"; then :
54987 glibcxx_cv_func__float_trig_use=yes
54988 else
54989 glibcxx_cv_func__float_trig_use=no
54990 fi
54991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54992 ac_ext=c
54993 ac_cpp='$CPP $CPPFLAGS'
54994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54997
54998 fi
54999
55000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55001 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55002 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55003 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55004 do :
55005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55006 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55007 eval as_val=\$$as_ac_var
55008 if test "x$as_val" = x""yes; then :
55009 cat >>confdefs.h <<_ACEOF
55010 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55011 _ACEOF
55012
55013 fi
55014 done
55015
55016 fi
55017 fi
55018
55019
55020
55021
55022
55023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55024 $as_echo_n "checking for float round functions... " >&6; }
55025 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55026 $as_echo_n "(cached) " >&6
55027 else
55028
55029
55030 ac_ext=cpp
55031 ac_cpp='$CXXCPP $CPPFLAGS'
55032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55035
55036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55037 /* end confdefs.h. */
55038 #include <math.h>
55039 int
55040 main ()
55041 {
55042 ceilf (0); floorf (0);
55043 ;
55044 return 0;
55045 }
55046 _ACEOF
55047 if ac_fn_cxx_try_compile "$LINENO"; then :
55048 glibcxx_cv_func_float_round_use=yes
55049 else
55050 glibcxx_cv_func_float_round_use=no
55051 fi
55052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55053 ac_ext=c
55054 ac_cpp='$CPP $CPPFLAGS'
55055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55058
55059 fi
55060
55061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55062 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55063 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55064 for ac_func in ceilf floorf
55065 do :
55066 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55067 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55068 eval as_val=\$$as_ac_var
55069 if test "x$as_val" = x""yes; then :
55070 cat >>confdefs.h <<_ACEOF
55071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55072 _ACEOF
55073
55074 fi
55075 done
55076
55077 else
55078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55079 $as_echo_n "checking for _float round functions... " >&6; }
55080 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55081 $as_echo_n "(cached) " >&6
55082 else
55083
55084
55085 ac_ext=cpp
55086 ac_cpp='$CXXCPP $CPPFLAGS'
55087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55090
55091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55092 /* end confdefs.h. */
55093 #include <math.h>
55094 int
55095 main ()
55096 {
55097 _ceilf (0); _floorf (0);
55098 ;
55099 return 0;
55100 }
55101 _ACEOF
55102 if ac_fn_cxx_try_compile "$LINENO"; then :
55103 glibcxx_cv_func__float_round_use=yes
55104 else
55105 glibcxx_cv_func__float_round_use=no
55106 fi
55107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55108 ac_ext=c
55109 ac_cpp='$CPP $CPPFLAGS'
55110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55113
55114 fi
55115
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55117 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55118 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55119 for ac_func in _ceilf _floorf
55120 do :
55121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55123 eval as_val=\$$as_ac_var
55124 if test "x$as_val" = x""yes; then :
55125 cat >>confdefs.h <<_ACEOF
55126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55127 _ACEOF
55128
55129 fi
55130 done
55131
55132 fi
55133 fi
55134
55135
55136
55137
55138
55139
55140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55141 $as_echo_n "checking for expf declaration... " >&6; }
55142 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55143 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55144 $as_echo_n "(cached) " >&6
55145 else
55146
55147
55148 ac_ext=cpp
55149 ac_cpp='$CXXCPP $CPPFLAGS'
55150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55153
55154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55155 /* end confdefs.h. */
55156 #include <math.h>
55157 #ifdef HAVE_IEEEFP_H
55158 #include <ieeefp.h>
55159 #endif
55160
55161 int
55162 main ()
55163 {
55164 expf(0);
55165 ;
55166 return 0;
55167 }
55168 _ACEOF
55169 if ac_fn_cxx_try_compile "$LINENO"; then :
55170 glibcxx_cv_func_expf_use=yes
55171 else
55172 glibcxx_cv_func_expf_use=no
55173 fi
55174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55175 ac_ext=c
55176 ac_cpp='$CPP $CPPFLAGS'
55177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55180
55181
55182 fi
55183
55184 fi
55185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55186 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55187
55188 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55189 for ac_func in expf
55190 do :
55191 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55192 if test "x$ac_cv_func_expf" = x""yes; then :
55193 cat >>confdefs.h <<_ACEOF
55194 #define HAVE_EXPF 1
55195 _ACEOF
55196
55197 fi
55198 done
55199
55200 else
55201
55202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55203 $as_echo_n "checking for _expf declaration... " >&6; }
55204 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55205 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55206 $as_echo_n "(cached) " >&6
55207 else
55208
55209
55210 ac_ext=cpp
55211 ac_cpp='$CXXCPP $CPPFLAGS'
55212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55215
55216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55217 /* end confdefs.h. */
55218 #include <math.h>
55219 #ifdef HAVE_IEEEFP_H
55220 #include <ieeefp.h>
55221 #endif
55222
55223 int
55224 main ()
55225 {
55226 _expf(0);
55227 ;
55228 return 0;
55229 }
55230 _ACEOF
55231 if ac_fn_cxx_try_compile "$LINENO"; then :
55232 glibcxx_cv_func__expf_use=yes
55233 else
55234 glibcxx_cv_func__expf_use=no
55235 fi
55236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55237 ac_ext=c
55238 ac_cpp='$CPP $CPPFLAGS'
55239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55242
55243
55244 fi
55245
55246 fi
55247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55248 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55249
55250 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55251 for ac_func in _expf
55252 do :
55253 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55254 if test "x$ac_cv_func__expf" = x""yes; then :
55255 cat >>confdefs.h <<_ACEOF
55256 #define HAVE__EXPF 1
55257 _ACEOF
55258
55259 fi
55260 done
55261
55262 fi
55263 fi
55264
55265
55266
55267
55268
55269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55270 $as_echo_n "checking for isnanf declaration... " >&6; }
55271 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55272 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55273 $as_echo_n "(cached) " >&6
55274 else
55275
55276
55277 ac_ext=cpp
55278 ac_cpp='$CXXCPP $CPPFLAGS'
55279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55282
55283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55284 /* end confdefs.h. */
55285 #include <math.h>
55286 #ifdef HAVE_IEEEFP_H
55287 #include <ieeefp.h>
55288 #endif
55289
55290 int
55291 main ()
55292 {
55293 isnanf(0);
55294 ;
55295 return 0;
55296 }
55297 _ACEOF
55298 if ac_fn_cxx_try_compile "$LINENO"; then :
55299 glibcxx_cv_func_isnanf_use=yes
55300 else
55301 glibcxx_cv_func_isnanf_use=no
55302 fi
55303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55304 ac_ext=c
55305 ac_cpp='$CPP $CPPFLAGS'
55306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55309
55310
55311 fi
55312
55313 fi
55314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55315 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55316
55317 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55318 for ac_func in isnanf
55319 do :
55320 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55321 if test "x$ac_cv_func_isnanf" = x""yes; then :
55322 cat >>confdefs.h <<_ACEOF
55323 #define HAVE_ISNANF 1
55324 _ACEOF
55325
55326 fi
55327 done
55328
55329 else
55330
55331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55332 $as_echo_n "checking for _isnanf declaration... " >&6; }
55333 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55334 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55335 $as_echo_n "(cached) " >&6
55336 else
55337
55338
55339 ac_ext=cpp
55340 ac_cpp='$CXXCPP $CPPFLAGS'
55341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55344
55345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55346 /* end confdefs.h. */
55347 #include <math.h>
55348 #ifdef HAVE_IEEEFP_H
55349 #include <ieeefp.h>
55350 #endif
55351
55352 int
55353 main ()
55354 {
55355 _isnanf(0);
55356 ;
55357 return 0;
55358 }
55359 _ACEOF
55360 if ac_fn_cxx_try_compile "$LINENO"; then :
55361 glibcxx_cv_func__isnanf_use=yes
55362 else
55363 glibcxx_cv_func__isnanf_use=no
55364 fi
55365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55366 ac_ext=c
55367 ac_cpp='$CPP $CPPFLAGS'
55368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55371
55372
55373 fi
55374
55375 fi
55376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55377 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55378
55379 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55380 for ac_func in _isnanf
55381 do :
55382 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55383 if test "x$ac_cv_func__isnanf" = x""yes; then :
55384 cat >>confdefs.h <<_ACEOF
55385 #define HAVE__ISNANF 1
55386 _ACEOF
55387
55388 fi
55389 done
55390
55391 fi
55392 fi
55393
55394
55395
55396
55397
55398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55399 $as_echo_n "checking for isinff declaration... " >&6; }
55400 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55401 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55402 $as_echo_n "(cached) " >&6
55403 else
55404
55405
55406 ac_ext=cpp
55407 ac_cpp='$CXXCPP $CPPFLAGS'
55408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55411
55412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55413 /* end confdefs.h. */
55414 #include <math.h>
55415 #ifdef HAVE_IEEEFP_H
55416 #include <ieeefp.h>
55417 #endif
55418
55419 int
55420 main ()
55421 {
55422 isinff(0);
55423 ;
55424 return 0;
55425 }
55426 _ACEOF
55427 if ac_fn_cxx_try_compile "$LINENO"; then :
55428 glibcxx_cv_func_isinff_use=yes
55429 else
55430 glibcxx_cv_func_isinff_use=no
55431 fi
55432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55433 ac_ext=c
55434 ac_cpp='$CPP $CPPFLAGS'
55435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55438
55439
55440 fi
55441
55442 fi
55443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55444 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55445
55446 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55447 for ac_func in isinff
55448 do :
55449 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55450 if test "x$ac_cv_func_isinff" = x""yes; then :
55451 cat >>confdefs.h <<_ACEOF
55452 #define HAVE_ISINFF 1
55453 _ACEOF
55454
55455 fi
55456 done
55457
55458 else
55459
55460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55461 $as_echo_n "checking for _isinff declaration... " >&6; }
55462 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55463 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55464 $as_echo_n "(cached) " >&6
55465 else
55466
55467
55468 ac_ext=cpp
55469 ac_cpp='$CXXCPP $CPPFLAGS'
55470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55473
55474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55475 /* end confdefs.h. */
55476 #include <math.h>
55477 #ifdef HAVE_IEEEFP_H
55478 #include <ieeefp.h>
55479 #endif
55480
55481 int
55482 main ()
55483 {
55484 _isinff(0);
55485 ;
55486 return 0;
55487 }
55488 _ACEOF
55489 if ac_fn_cxx_try_compile "$LINENO"; then :
55490 glibcxx_cv_func__isinff_use=yes
55491 else
55492 glibcxx_cv_func__isinff_use=no
55493 fi
55494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55495 ac_ext=c
55496 ac_cpp='$CPP $CPPFLAGS'
55497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55500
55501
55502 fi
55503
55504 fi
55505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55506 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55507
55508 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55509 for ac_func in _isinff
55510 do :
55511 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55512 if test "x$ac_cv_func__isinff" = x""yes; then :
55513 cat >>confdefs.h <<_ACEOF
55514 #define HAVE__ISINFF 1
55515 _ACEOF
55516
55517 fi
55518 done
55519
55520 fi
55521 fi
55522
55523
55524
55525
55526
55527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55528 $as_echo_n "checking for atan2f declaration... " >&6; }
55529 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55530 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55531 $as_echo_n "(cached) " >&6
55532 else
55533
55534
55535 ac_ext=cpp
55536 ac_cpp='$CXXCPP $CPPFLAGS'
55537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55540
55541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55542 /* end confdefs.h. */
55543 #include <math.h>
55544 int
55545 main ()
55546 {
55547 atan2f(0, 0);
55548 ;
55549 return 0;
55550 }
55551 _ACEOF
55552 if ac_fn_cxx_try_compile "$LINENO"; then :
55553 glibcxx_cv_func_atan2f_use=yes
55554 else
55555 glibcxx_cv_func_atan2f_use=no
55556 fi
55557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55558 ac_ext=c
55559 ac_cpp='$CPP $CPPFLAGS'
55560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55563
55564
55565 fi
55566
55567 fi
55568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55569 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55570
55571 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55572 for ac_func in atan2f
55573 do :
55574 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55575 if test "x$ac_cv_func_atan2f" = x""yes; then :
55576 cat >>confdefs.h <<_ACEOF
55577 #define HAVE_ATAN2F 1
55578 _ACEOF
55579
55580 fi
55581 done
55582
55583 else
55584
55585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55586 $as_echo_n "checking for _atan2f declaration... " >&6; }
55587 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55588 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55589 $as_echo_n "(cached) " >&6
55590 else
55591
55592
55593 ac_ext=cpp
55594 ac_cpp='$CXXCPP $CPPFLAGS'
55595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55598
55599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55600 /* end confdefs.h. */
55601 #include <math.h>
55602 int
55603 main ()
55604 {
55605 _atan2f(0, 0);
55606 ;
55607 return 0;
55608 }
55609 _ACEOF
55610 if ac_fn_cxx_try_compile "$LINENO"; then :
55611 glibcxx_cv_func__atan2f_use=yes
55612 else
55613 glibcxx_cv_func__atan2f_use=no
55614 fi
55615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55616 ac_ext=c
55617 ac_cpp='$CPP $CPPFLAGS'
55618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55621
55622
55623 fi
55624
55625 fi
55626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55627 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55628
55629 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55630 for ac_func in _atan2f
55631 do :
55632 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55633 if test "x$ac_cv_func__atan2f" = x""yes; then :
55634 cat >>confdefs.h <<_ACEOF
55635 #define HAVE__ATAN2F 1
55636 _ACEOF
55637
55638 fi
55639 done
55640
55641 fi
55642 fi
55643
55644
55645
55646
55647
55648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55649 $as_echo_n "checking for fabsf declaration... " >&6; }
55650 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55651 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55652 $as_echo_n "(cached) " >&6
55653 else
55654
55655
55656 ac_ext=cpp
55657 ac_cpp='$CXXCPP $CPPFLAGS'
55658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55661
55662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55663 /* end confdefs.h. */
55664 #include <math.h>
55665 #ifdef HAVE_IEEEFP_H
55666 #include <ieeefp.h>
55667 #endif
55668
55669 int
55670 main ()
55671 {
55672 fabsf(0);
55673 ;
55674 return 0;
55675 }
55676 _ACEOF
55677 if ac_fn_cxx_try_compile "$LINENO"; then :
55678 glibcxx_cv_func_fabsf_use=yes
55679 else
55680 glibcxx_cv_func_fabsf_use=no
55681 fi
55682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55683 ac_ext=c
55684 ac_cpp='$CPP $CPPFLAGS'
55685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55688
55689
55690 fi
55691
55692 fi
55693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55694 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55695
55696 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55697 for ac_func in fabsf
55698 do :
55699 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55700 if test "x$ac_cv_func_fabsf" = x""yes; then :
55701 cat >>confdefs.h <<_ACEOF
55702 #define HAVE_FABSF 1
55703 _ACEOF
55704
55705 fi
55706 done
55707
55708 else
55709
55710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55711 $as_echo_n "checking for _fabsf declaration... " >&6; }
55712 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55713 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55714 $as_echo_n "(cached) " >&6
55715 else
55716
55717
55718 ac_ext=cpp
55719 ac_cpp='$CXXCPP $CPPFLAGS'
55720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55723
55724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55725 /* end confdefs.h. */
55726 #include <math.h>
55727 #ifdef HAVE_IEEEFP_H
55728 #include <ieeefp.h>
55729 #endif
55730
55731 int
55732 main ()
55733 {
55734 _fabsf(0);
55735 ;
55736 return 0;
55737 }
55738 _ACEOF
55739 if ac_fn_cxx_try_compile "$LINENO"; then :
55740 glibcxx_cv_func__fabsf_use=yes
55741 else
55742 glibcxx_cv_func__fabsf_use=no
55743 fi
55744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55745 ac_ext=c
55746 ac_cpp='$CPP $CPPFLAGS'
55747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55750
55751
55752 fi
55753
55754 fi
55755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55756 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55757
55758 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55759 for ac_func in _fabsf
55760 do :
55761 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55762 if test "x$ac_cv_func__fabsf" = x""yes; then :
55763 cat >>confdefs.h <<_ACEOF
55764 #define HAVE__FABSF 1
55765 _ACEOF
55766
55767 fi
55768 done
55769
55770 fi
55771 fi
55772
55773
55774
55775
55776
55777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55778 $as_echo_n "checking for fmodf declaration... " >&6; }
55779 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55780 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55781 $as_echo_n "(cached) " >&6
55782 else
55783
55784
55785 ac_ext=cpp
55786 ac_cpp='$CXXCPP $CPPFLAGS'
55787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55790
55791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55792 /* end confdefs.h. */
55793 #include <math.h>
55794 int
55795 main ()
55796 {
55797 fmodf(0, 0);
55798 ;
55799 return 0;
55800 }
55801 _ACEOF
55802 if ac_fn_cxx_try_compile "$LINENO"; then :
55803 glibcxx_cv_func_fmodf_use=yes
55804 else
55805 glibcxx_cv_func_fmodf_use=no
55806 fi
55807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55808 ac_ext=c
55809 ac_cpp='$CPP $CPPFLAGS'
55810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55813
55814
55815 fi
55816
55817 fi
55818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55819 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55820
55821 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55822 for ac_func in fmodf
55823 do :
55824 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55825 if test "x$ac_cv_func_fmodf" = x""yes; then :
55826 cat >>confdefs.h <<_ACEOF
55827 #define HAVE_FMODF 1
55828 _ACEOF
55829
55830 fi
55831 done
55832
55833 else
55834
55835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55836 $as_echo_n "checking for _fmodf declaration... " >&6; }
55837 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55838 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55839 $as_echo_n "(cached) " >&6
55840 else
55841
55842
55843 ac_ext=cpp
55844 ac_cpp='$CXXCPP $CPPFLAGS'
55845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55848
55849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55850 /* end confdefs.h. */
55851 #include <math.h>
55852 int
55853 main ()
55854 {
55855 _fmodf(0, 0);
55856 ;
55857 return 0;
55858 }
55859 _ACEOF
55860 if ac_fn_cxx_try_compile "$LINENO"; then :
55861 glibcxx_cv_func__fmodf_use=yes
55862 else
55863 glibcxx_cv_func__fmodf_use=no
55864 fi
55865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55866 ac_ext=c
55867 ac_cpp='$CPP $CPPFLAGS'
55868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55871
55872
55873 fi
55874
55875 fi
55876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55877 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55878
55879 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55880 for ac_func in _fmodf
55881 do :
55882 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55883 if test "x$ac_cv_func__fmodf" = x""yes; then :
55884 cat >>confdefs.h <<_ACEOF
55885 #define HAVE__FMODF 1
55886 _ACEOF
55887
55888 fi
55889 done
55890
55891 fi
55892 fi
55893
55894
55895
55896
55897
55898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55899 $as_echo_n "checking for frexpf declaration... " >&6; }
55900 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55901 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55902 $as_echo_n "(cached) " >&6
55903 else
55904
55905
55906 ac_ext=cpp
55907 ac_cpp='$CXXCPP $CPPFLAGS'
55908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55911
55912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55913 /* end confdefs.h. */
55914 #include <math.h>
55915 int
55916 main ()
55917 {
55918 frexpf(0, 0);
55919 ;
55920 return 0;
55921 }
55922 _ACEOF
55923 if ac_fn_cxx_try_compile "$LINENO"; then :
55924 glibcxx_cv_func_frexpf_use=yes
55925 else
55926 glibcxx_cv_func_frexpf_use=no
55927 fi
55928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55929 ac_ext=c
55930 ac_cpp='$CPP $CPPFLAGS'
55931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55934
55935
55936 fi
55937
55938 fi
55939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55940 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55941
55942 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55943 for ac_func in frexpf
55944 do :
55945 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55946 if test "x$ac_cv_func_frexpf" = x""yes; then :
55947 cat >>confdefs.h <<_ACEOF
55948 #define HAVE_FREXPF 1
55949 _ACEOF
55950
55951 fi
55952 done
55953
55954 else
55955
55956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55957 $as_echo_n "checking for _frexpf declaration... " >&6; }
55958 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55959 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55960 $as_echo_n "(cached) " >&6
55961 else
55962
55963
55964 ac_ext=cpp
55965 ac_cpp='$CXXCPP $CPPFLAGS'
55966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55969
55970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55971 /* end confdefs.h. */
55972 #include <math.h>
55973 int
55974 main ()
55975 {
55976 _frexpf(0, 0);
55977 ;
55978 return 0;
55979 }
55980 _ACEOF
55981 if ac_fn_cxx_try_compile "$LINENO"; then :
55982 glibcxx_cv_func__frexpf_use=yes
55983 else
55984 glibcxx_cv_func__frexpf_use=no
55985 fi
55986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55987 ac_ext=c
55988 ac_cpp='$CPP $CPPFLAGS'
55989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55992
55993
55994 fi
55995
55996 fi
55997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55998 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55999
56000 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56001 for ac_func in _frexpf
56002 do :
56003 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56004 if test "x$ac_cv_func__frexpf" = x""yes; then :
56005 cat >>confdefs.h <<_ACEOF
56006 #define HAVE__FREXPF 1
56007 _ACEOF
56008
56009 fi
56010 done
56011
56012 fi
56013 fi
56014
56015
56016
56017
56018
56019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56020 $as_echo_n "checking for hypotf declaration... " >&6; }
56021 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56022 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56023 $as_echo_n "(cached) " >&6
56024 else
56025
56026
56027 ac_ext=cpp
56028 ac_cpp='$CXXCPP $CPPFLAGS'
56029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56032
56033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56034 /* end confdefs.h. */
56035 #include <math.h>
56036 int
56037 main ()
56038 {
56039 hypotf(0, 0);
56040 ;
56041 return 0;
56042 }
56043 _ACEOF
56044 if ac_fn_cxx_try_compile "$LINENO"; then :
56045 glibcxx_cv_func_hypotf_use=yes
56046 else
56047 glibcxx_cv_func_hypotf_use=no
56048 fi
56049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56050 ac_ext=c
56051 ac_cpp='$CPP $CPPFLAGS'
56052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56055
56056
56057 fi
56058
56059 fi
56060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56061 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56062
56063 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56064 for ac_func in hypotf
56065 do :
56066 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56067 if test "x$ac_cv_func_hypotf" = x""yes; then :
56068 cat >>confdefs.h <<_ACEOF
56069 #define HAVE_HYPOTF 1
56070 _ACEOF
56071
56072 fi
56073 done
56074
56075 else
56076
56077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56078 $as_echo_n "checking for _hypotf declaration... " >&6; }
56079 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56080 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56081 $as_echo_n "(cached) " >&6
56082 else
56083
56084
56085 ac_ext=cpp
56086 ac_cpp='$CXXCPP $CPPFLAGS'
56087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56090
56091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56092 /* end confdefs.h. */
56093 #include <math.h>
56094 int
56095 main ()
56096 {
56097 _hypotf(0, 0);
56098 ;
56099 return 0;
56100 }
56101 _ACEOF
56102 if ac_fn_cxx_try_compile "$LINENO"; then :
56103 glibcxx_cv_func__hypotf_use=yes
56104 else
56105 glibcxx_cv_func__hypotf_use=no
56106 fi
56107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56108 ac_ext=c
56109 ac_cpp='$CPP $CPPFLAGS'
56110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56113
56114
56115 fi
56116
56117 fi
56118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56119 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56120
56121 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56122 for ac_func in _hypotf
56123 do :
56124 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56125 if test "x$ac_cv_func__hypotf" = x""yes; then :
56126 cat >>confdefs.h <<_ACEOF
56127 #define HAVE__HYPOTF 1
56128 _ACEOF
56129
56130 fi
56131 done
56132
56133 fi
56134 fi
56135
56136
56137
56138
56139
56140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56141 $as_echo_n "checking for ldexpf declaration... " >&6; }
56142 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56143 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56144 $as_echo_n "(cached) " >&6
56145 else
56146
56147
56148 ac_ext=cpp
56149 ac_cpp='$CXXCPP $CPPFLAGS'
56150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56153
56154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56155 /* end confdefs.h. */
56156 #include <math.h>
56157 int
56158 main ()
56159 {
56160 ldexpf(0, 0);
56161 ;
56162 return 0;
56163 }
56164 _ACEOF
56165 if ac_fn_cxx_try_compile "$LINENO"; then :
56166 glibcxx_cv_func_ldexpf_use=yes
56167 else
56168 glibcxx_cv_func_ldexpf_use=no
56169 fi
56170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56171 ac_ext=c
56172 ac_cpp='$CPP $CPPFLAGS'
56173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56176
56177
56178 fi
56179
56180 fi
56181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56182 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56183
56184 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56185 for ac_func in ldexpf
56186 do :
56187 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56188 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56189 cat >>confdefs.h <<_ACEOF
56190 #define HAVE_LDEXPF 1
56191 _ACEOF
56192
56193 fi
56194 done
56195
56196 else
56197
56198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56199 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56200 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56201 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56202 $as_echo_n "(cached) " >&6
56203 else
56204
56205
56206 ac_ext=cpp
56207 ac_cpp='$CXXCPP $CPPFLAGS'
56208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56211
56212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56213 /* end confdefs.h. */
56214 #include <math.h>
56215 int
56216 main ()
56217 {
56218 _ldexpf(0, 0);
56219 ;
56220 return 0;
56221 }
56222 _ACEOF
56223 if ac_fn_cxx_try_compile "$LINENO"; then :
56224 glibcxx_cv_func__ldexpf_use=yes
56225 else
56226 glibcxx_cv_func__ldexpf_use=no
56227 fi
56228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56229 ac_ext=c
56230 ac_cpp='$CPP $CPPFLAGS'
56231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56234
56235
56236 fi
56237
56238 fi
56239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56240 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56241
56242 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56243 for ac_func in _ldexpf
56244 do :
56245 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56246 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56247 cat >>confdefs.h <<_ACEOF
56248 #define HAVE__LDEXPF 1
56249 _ACEOF
56250
56251 fi
56252 done
56253
56254 fi
56255 fi
56256
56257
56258
56259
56260
56261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56262 $as_echo_n "checking for logf declaration... " >&6; }
56263 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56264 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56265 $as_echo_n "(cached) " >&6
56266 else
56267
56268
56269 ac_ext=cpp
56270 ac_cpp='$CXXCPP $CPPFLAGS'
56271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56274
56275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56276 /* end confdefs.h. */
56277 #include <math.h>
56278 #ifdef HAVE_IEEEFP_H
56279 #include <ieeefp.h>
56280 #endif
56281
56282 int
56283 main ()
56284 {
56285 logf(0);
56286 ;
56287 return 0;
56288 }
56289 _ACEOF
56290 if ac_fn_cxx_try_compile "$LINENO"; then :
56291 glibcxx_cv_func_logf_use=yes
56292 else
56293 glibcxx_cv_func_logf_use=no
56294 fi
56295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56296 ac_ext=c
56297 ac_cpp='$CPP $CPPFLAGS'
56298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56301
56302
56303 fi
56304
56305 fi
56306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56307 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56308
56309 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56310 for ac_func in logf
56311 do :
56312 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56313 if test "x$ac_cv_func_logf" = x""yes; then :
56314 cat >>confdefs.h <<_ACEOF
56315 #define HAVE_LOGF 1
56316 _ACEOF
56317
56318 fi
56319 done
56320
56321 else
56322
56323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56324 $as_echo_n "checking for _logf declaration... " >&6; }
56325 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56326 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56327 $as_echo_n "(cached) " >&6
56328 else
56329
56330
56331 ac_ext=cpp
56332 ac_cpp='$CXXCPP $CPPFLAGS'
56333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56336
56337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56338 /* end confdefs.h. */
56339 #include <math.h>
56340 #ifdef HAVE_IEEEFP_H
56341 #include <ieeefp.h>
56342 #endif
56343
56344 int
56345 main ()
56346 {
56347 _logf(0);
56348 ;
56349 return 0;
56350 }
56351 _ACEOF
56352 if ac_fn_cxx_try_compile "$LINENO"; then :
56353 glibcxx_cv_func__logf_use=yes
56354 else
56355 glibcxx_cv_func__logf_use=no
56356 fi
56357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56358 ac_ext=c
56359 ac_cpp='$CPP $CPPFLAGS'
56360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56363
56364
56365 fi
56366
56367 fi
56368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56369 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56370
56371 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56372 for ac_func in _logf
56373 do :
56374 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56375 if test "x$ac_cv_func__logf" = x""yes; then :
56376 cat >>confdefs.h <<_ACEOF
56377 #define HAVE__LOGF 1
56378 _ACEOF
56379
56380 fi
56381 done
56382
56383 fi
56384 fi
56385
56386
56387
56388
56389
56390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56391 $as_echo_n "checking for log10f declaration... " >&6; }
56392 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56393 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56394 $as_echo_n "(cached) " >&6
56395 else
56396
56397
56398 ac_ext=cpp
56399 ac_cpp='$CXXCPP $CPPFLAGS'
56400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56403
56404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56405 /* end confdefs.h. */
56406 #include <math.h>
56407 #ifdef HAVE_IEEEFP_H
56408 #include <ieeefp.h>
56409 #endif
56410
56411 int
56412 main ()
56413 {
56414 log10f(0);
56415 ;
56416 return 0;
56417 }
56418 _ACEOF
56419 if ac_fn_cxx_try_compile "$LINENO"; then :
56420 glibcxx_cv_func_log10f_use=yes
56421 else
56422 glibcxx_cv_func_log10f_use=no
56423 fi
56424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56425 ac_ext=c
56426 ac_cpp='$CPP $CPPFLAGS'
56427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56430
56431
56432 fi
56433
56434 fi
56435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56436 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56437
56438 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56439 for ac_func in log10f
56440 do :
56441 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56442 if test "x$ac_cv_func_log10f" = x""yes; then :
56443 cat >>confdefs.h <<_ACEOF
56444 #define HAVE_LOG10F 1
56445 _ACEOF
56446
56447 fi
56448 done
56449
56450 else
56451
56452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56453 $as_echo_n "checking for _log10f declaration... " >&6; }
56454 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56455 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56456 $as_echo_n "(cached) " >&6
56457 else
56458
56459
56460 ac_ext=cpp
56461 ac_cpp='$CXXCPP $CPPFLAGS'
56462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56465
56466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56467 /* end confdefs.h. */
56468 #include <math.h>
56469 #ifdef HAVE_IEEEFP_H
56470 #include <ieeefp.h>
56471 #endif
56472
56473 int
56474 main ()
56475 {
56476 _log10f(0);
56477 ;
56478 return 0;
56479 }
56480 _ACEOF
56481 if ac_fn_cxx_try_compile "$LINENO"; then :
56482 glibcxx_cv_func__log10f_use=yes
56483 else
56484 glibcxx_cv_func__log10f_use=no
56485 fi
56486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56487 ac_ext=c
56488 ac_cpp='$CPP $CPPFLAGS'
56489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56492
56493
56494 fi
56495
56496 fi
56497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56498 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56499
56500 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56501 for ac_func in _log10f
56502 do :
56503 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56504 if test "x$ac_cv_func__log10f" = x""yes; then :
56505 cat >>confdefs.h <<_ACEOF
56506 #define HAVE__LOG10F 1
56507 _ACEOF
56508
56509 fi
56510 done
56511
56512 fi
56513 fi
56514
56515
56516
56517
56518
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56520 $as_echo_n "checking for modff declaration... " >&6; }
56521 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56522 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56523 $as_echo_n "(cached) " >&6
56524 else
56525
56526
56527 ac_ext=cpp
56528 ac_cpp='$CXXCPP $CPPFLAGS'
56529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56532
56533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56534 /* end confdefs.h. */
56535 #include <math.h>
56536 int
56537 main ()
56538 {
56539 modff(0, 0);
56540 ;
56541 return 0;
56542 }
56543 _ACEOF
56544 if ac_fn_cxx_try_compile "$LINENO"; then :
56545 glibcxx_cv_func_modff_use=yes
56546 else
56547 glibcxx_cv_func_modff_use=no
56548 fi
56549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56550 ac_ext=c
56551 ac_cpp='$CPP $CPPFLAGS'
56552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56555
56556
56557 fi
56558
56559 fi
56560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56561 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56562
56563 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56564 for ac_func in modff
56565 do :
56566 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56567 if test "x$ac_cv_func_modff" = x""yes; then :
56568 cat >>confdefs.h <<_ACEOF
56569 #define HAVE_MODFF 1
56570 _ACEOF
56571
56572 fi
56573 done
56574
56575 else
56576
56577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56578 $as_echo_n "checking for _modff declaration... " >&6; }
56579 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56580 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56581 $as_echo_n "(cached) " >&6
56582 else
56583
56584
56585 ac_ext=cpp
56586 ac_cpp='$CXXCPP $CPPFLAGS'
56587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56590
56591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56592 /* end confdefs.h. */
56593 #include <math.h>
56594 int
56595 main ()
56596 {
56597 _modff(0, 0);
56598 ;
56599 return 0;
56600 }
56601 _ACEOF
56602 if ac_fn_cxx_try_compile "$LINENO"; then :
56603 glibcxx_cv_func__modff_use=yes
56604 else
56605 glibcxx_cv_func__modff_use=no
56606 fi
56607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56608 ac_ext=c
56609 ac_cpp='$CPP $CPPFLAGS'
56610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56613
56614
56615 fi
56616
56617 fi
56618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56619 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56620
56621 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56622 for ac_func in _modff
56623 do :
56624 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56625 if test "x$ac_cv_func__modff" = x""yes; then :
56626 cat >>confdefs.h <<_ACEOF
56627 #define HAVE__MODFF 1
56628 _ACEOF
56629
56630 fi
56631 done
56632
56633 fi
56634 fi
56635
56636
56637
56638
56639
56640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56641 $as_echo_n "checking for modf declaration... " >&6; }
56642 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56643 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56644 $as_echo_n "(cached) " >&6
56645 else
56646
56647
56648 ac_ext=cpp
56649 ac_cpp='$CXXCPP $CPPFLAGS'
56650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56653
56654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56655 /* end confdefs.h. */
56656 #include <math.h>
56657 int
56658 main ()
56659 {
56660 modf(0, 0);
56661 ;
56662 return 0;
56663 }
56664 _ACEOF
56665 if ac_fn_cxx_try_compile "$LINENO"; then :
56666 glibcxx_cv_func_modf_use=yes
56667 else
56668 glibcxx_cv_func_modf_use=no
56669 fi
56670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56671 ac_ext=c
56672 ac_cpp='$CPP $CPPFLAGS'
56673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56676
56677
56678 fi
56679
56680 fi
56681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56682 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56683
56684 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56685 for ac_func in modf
56686 do :
56687 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56688 if test "x$ac_cv_func_modf" = x""yes; then :
56689 cat >>confdefs.h <<_ACEOF
56690 #define HAVE_MODF 1
56691 _ACEOF
56692
56693 fi
56694 done
56695
56696 else
56697
56698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56699 $as_echo_n "checking for _modf declaration... " >&6; }
56700 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56701 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56702 $as_echo_n "(cached) " >&6
56703 else
56704
56705
56706 ac_ext=cpp
56707 ac_cpp='$CXXCPP $CPPFLAGS'
56708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56711
56712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56713 /* end confdefs.h. */
56714 #include <math.h>
56715 int
56716 main ()
56717 {
56718 _modf(0, 0);
56719 ;
56720 return 0;
56721 }
56722 _ACEOF
56723 if ac_fn_cxx_try_compile "$LINENO"; then :
56724 glibcxx_cv_func__modf_use=yes
56725 else
56726 glibcxx_cv_func__modf_use=no
56727 fi
56728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56729 ac_ext=c
56730 ac_cpp='$CPP $CPPFLAGS'
56731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56734
56735
56736 fi
56737
56738 fi
56739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56740 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56741
56742 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56743 for ac_func in _modf
56744 do :
56745 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56746 if test "x$ac_cv_func__modf" = x""yes; then :
56747 cat >>confdefs.h <<_ACEOF
56748 #define HAVE__MODF 1
56749 _ACEOF
56750
56751 fi
56752 done
56753
56754 fi
56755 fi
56756
56757
56758
56759
56760
56761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56762 $as_echo_n "checking for powf declaration... " >&6; }
56763 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56764 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56765 $as_echo_n "(cached) " >&6
56766 else
56767
56768
56769 ac_ext=cpp
56770 ac_cpp='$CXXCPP $CPPFLAGS'
56771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56774
56775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56776 /* end confdefs.h. */
56777 #include <math.h>
56778 int
56779 main ()
56780 {
56781 powf(0, 0);
56782 ;
56783 return 0;
56784 }
56785 _ACEOF
56786 if ac_fn_cxx_try_compile "$LINENO"; then :
56787 glibcxx_cv_func_powf_use=yes
56788 else
56789 glibcxx_cv_func_powf_use=no
56790 fi
56791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56792 ac_ext=c
56793 ac_cpp='$CPP $CPPFLAGS'
56794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56797
56798
56799 fi
56800
56801 fi
56802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56803 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56804
56805 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56806 for ac_func in powf
56807 do :
56808 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56809 if test "x$ac_cv_func_powf" = x""yes; then :
56810 cat >>confdefs.h <<_ACEOF
56811 #define HAVE_POWF 1
56812 _ACEOF
56813
56814 fi
56815 done
56816
56817 else
56818
56819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56820 $as_echo_n "checking for _powf declaration... " >&6; }
56821 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56822 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56823 $as_echo_n "(cached) " >&6
56824 else
56825
56826
56827 ac_ext=cpp
56828 ac_cpp='$CXXCPP $CPPFLAGS'
56829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56832
56833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56834 /* end confdefs.h. */
56835 #include <math.h>
56836 int
56837 main ()
56838 {
56839 _powf(0, 0);
56840 ;
56841 return 0;
56842 }
56843 _ACEOF
56844 if ac_fn_cxx_try_compile "$LINENO"; then :
56845 glibcxx_cv_func__powf_use=yes
56846 else
56847 glibcxx_cv_func__powf_use=no
56848 fi
56849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56850 ac_ext=c
56851 ac_cpp='$CPP $CPPFLAGS'
56852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56855
56856
56857 fi
56858
56859 fi
56860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56861 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56862
56863 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56864 for ac_func in _powf
56865 do :
56866 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56867 if test "x$ac_cv_func__powf" = x""yes; then :
56868 cat >>confdefs.h <<_ACEOF
56869 #define HAVE__POWF 1
56870 _ACEOF
56871
56872 fi
56873 done
56874
56875 fi
56876 fi
56877
56878
56879
56880
56881
56882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56883 $as_echo_n "checking for sqrtf declaration... " >&6; }
56884 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56885 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56886 $as_echo_n "(cached) " >&6
56887 else
56888
56889
56890 ac_ext=cpp
56891 ac_cpp='$CXXCPP $CPPFLAGS'
56892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56895
56896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56897 /* end confdefs.h. */
56898 #include <math.h>
56899 #ifdef HAVE_IEEEFP_H
56900 #include <ieeefp.h>
56901 #endif
56902
56903 int
56904 main ()
56905 {
56906 sqrtf(0);
56907 ;
56908 return 0;
56909 }
56910 _ACEOF
56911 if ac_fn_cxx_try_compile "$LINENO"; then :
56912 glibcxx_cv_func_sqrtf_use=yes
56913 else
56914 glibcxx_cv_func_sqrtf_use=no
56915 fi
56916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56917 ac_ext=c
56918 ac_cpp='$CPP $CPPFLAGS'
56919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56922
56923
56924 fi
56925
56926 fi
56927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56928 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56929
56930 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56931 for ac_func in sqrtf
56932 do :
56933 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56934 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56935 cat >>confdefs.h <<_ACEOF
56936 #define HAVE_SQRTF 1
56937 _ACEOF
56938
56939 fi
56940 done
56941
56942 else
56943
56944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56945 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56946 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56947 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56948 $as_echo_n "(cached) " >&6
56949 else
56950
56951
56952 ac_ext=cpp
56953 ac_cpp='$CXXCPP $CPPFLAGS'
56954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56957
56958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56959 /* end confdefs.h. */
56960 #include <math.h>
56961 #ifdef HAVE_IEEEFP_H
56962 #include <ieeefp.h>
56963 #endif
56964
56965 int
56966 main ()
56967 {
56968 _sqrtf(0);
56969 ;
56970 return 0;
56971 }
56972 _ACEOF
56973 if ac_fn_cxx_try_compile "$LINENO"; then :
56974 glibcxx_cv_func__sqrtf_use=yes
56975 else
56976 glibcxx_cv_func__sqrtf_use=no
56977 fi
56978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56979 ac_ext=c
56980 ac_cpp='$CPP $CPPFLAGS'
56981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56984
56985
56986 fi
56987
56988 fi
56989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56990 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56991
56992 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56993 for ac_func in _sqrtf
56994 do :
56995 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56996 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56997 cat >>confdefs.h <<_ACEOF
56998 #define HAVE__SQRTF 1
56999 _ACEOF
57000
57001 fi
57002 done
57003
57004 fi
57005 fi
57006
57007
57008
57009
57010
57011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57012 $as_echo_n "checking for sincosf declaration... " >&6; }
57013 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57014 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57015 $as_echo_n "(cached) " >&6
57016 else
57017
57018
57019 ac_ext=cpp
57020 ac_cpp='$CXXCPP $CPPFLAGS'
57021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57024
57025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57026 /* end confdefs.h. */
57027 #include <math.h>
57028 int
57029 main ()
57030 {
57031 sincosf(0, 0, 0);
57032 ;
57033 return 0;
57034 }
57035 _ACEOF
57036 if ac_fn_cxx_try_compile "$LINENO"; then :
57037 glibcxx_cv_func_sincosf_use=yes
57038 else
57039 glibcxx_cv_func_sincosf_use=no
57040 fi
57041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57042 ac_ext=c
57043 ac_cpp='$CPP $CPPFLAGS'
57044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57047
57048
57049 fi
57050
57051 fi
57052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57053 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57054
57055 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57056 for ac_func in sincosf
57057 do :
57058 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57059 if test "x$ac_cv_func_sincosf" = x""yes; then :
57060 cat >>confdefs.h <<_ACEOF
57061 #define HAVE_SINCOSF 1
57062 _ACEOF
57063
57064 fi
57065 done
57066
57067 else
57068
57069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57070 $as_echo_n "checking for _sincosf declaration... " >&6; }
57071 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57072 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57073 $as_echo_n "(cached) " >&6
57074 else
57075
57076
57077 ac_ext=cpp
57078 ac_cpp='$CXXCPP $CPPFLAGS'
57079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57082
57083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57084 /* end confdefs.h. */
57085 #include <math.h>
57086 int
57087 main ()
57088 {
57089 _sincosf(0, 0, 0);
57090 ;
57091 return 0;
57092 }
57093 _ACEOF
57094 if ac_fn_cxx_try_compile "$LINENO"; then :
57095 glibcxx_cv_func__sincosf_use=yes
57096 else
57097 glibcxx_cv_func__sincosf_use=no
57098 fi
57099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57100 ac_ext=c
57101 ac_cpp='$CPP $CPPFLAGS'
57102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57105
57106
57107 fi
57108
57109 fi
57110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57111 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57112
57113 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57114 for ac_func in _sincosf
57115 do :
57116 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57117 if test "x$ac_cv_func__sincosf" = x""yes; then :
57118 cat >>confdefs.h <<_ACEOF
57119 #define HAVE__SINCOSF 1
57120 _ACEOF
57121
57122 fi
57123 done
57124
57125 fi
57126 fi
57127
57128
57129
57130
57131
57132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57133 $as_echo_n "checking for finitef declaration... " >&6; }
57134 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57135 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57136 $as_echo_n "(cached) " >&6
57137 else
57138
57139
57140 ac_ext=cpp
57141 ac_cpp='$CXXCPP $CPPFLAGS'
57142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57145
57146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57147 /* end confdefs.h. */
57148 #include <math.h>
57149 #ifdef HAVE_IEEEFP_H
57150 #include <ieeefp.h>
57151 #endif
57152
57153 int
57154 main ()
57155 {
57156 finitef(0);
57157 ;
57158 return 0;
57159 }
57160 _ACEOF
57161 if ac_fn_cxx_try_compile "$LINENO"; then :
57162 glibcxx_cv_func_finitef_use=yes
57163 else
57164 glibcxx_cv_func_finitef_use=no
57165 fi
57166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57167 ac_ext=c
57168 ac_cpp='$CPP $CPPFLAGS'
57169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57172
57173
57174 fi
57175
57176 fi
57177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57178 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57179
57180 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57181 for ac_func in finitef
57182 do :
57183 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57184 if test "x$ac_cv_func_finitef" = x""yes; then :
57185 cat >>confdefs.h <<_ACEOF
57186 #define HAVE_FINITEF 1
57187 _ACEOF
57188
57189 fi
57190 done
57191
57192 else
57193
57194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57195 $as_echo_n "checking for _finitef declaration... " >&6; }
57196 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57197 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57198 $as_echo_n "(cached) " >&6
57199 else
57200
57201
57202 ac_ext=cpp
57203 ac_cpp='$CXXCPP $CPPFLAGS'
57204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57207
57208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57209 /* end confdefs.h. */
57210 #include <math.h>
57211 #ifdef HAVE_IEEEFP_H
57212 #include <ieeefp.h>
57213 #endif
57214
57215 int
57216 main ()
57217 {
57218 _finitef(0);
57219 ;
57220 return 0;
57221 }
57222 _ACEOF
57223 if ac_fn_cxx_try_compile "$LINENO"; then :
57224 glibcxx_cv_func__finitef_use=yes
57225 else
57226 glibcxx_cv_func__finitef_use=no
57227 fi
57228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57229 ac_ext=c
57230 ac_cpp='$CPP $CPPFLAGS'
57231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57234
57235
57236 fi
57237
57238 fi
57239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57240 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57241
57242 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57243 for ac_func in _finitef
57244 do :
57245 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57246 if test "x$ac_cv_func__finitef" = x""yes; then :
57247 cat >>confdefs.h <<_ACEOF
57248 #define HAVE__FINITEF 1
57249 _ACEOF
57250
57251 fi
57252 done
57253
57254 fi
57255 fi
57256
57257
57258
57259
57260
57261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57262 $as_echo_n "checking for long double trig functions... " >&6; }
57263 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57264 $as_echo_n "(cached) " >&6
57265 else
57266
57267
57268 ac_ext=cpp
57269 ac_cpp='$CXXCPP $CPPFLAGS'
57270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57273
57274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57275 /* end confdefs.h. */
57276 #include <math.h>
57277 int
57278 main ()
57279 {
57280 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57281 ;
57282 return 0;
57283 }
57284 _ACEOF
57285 if ac_fn_cxx_try_compile "$LINENO"; then :
57286 glibcxx_cv_func_long_double_trig_use=yes
57287 else
57288 glibcxx_cv_func_long_double_trig_use=no
57289 fi
57290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57291 ac_ext=c
57292 ac_cpp='$CPP $CPPFLAGS'
57293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57296
57297 fi
57298
57299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57300 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57301 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57302 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57303 do :
57304 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57305 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57306 eval as_val=\$$as_ac_var
57307 if test "x$as_val" = x""yes; then :
57308 cat >>confdefs.h <<_ACEOF
57309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57310 _ACEOF
57311
57312 fi
57313 done
57314
57315 else
57316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57317 $as_echo_n "checking for _long double trig functions... " >&6; }
57318 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57319 $as_echo_n "(cached) " >&6
57320 else
57321
57322
57323 ac_ext=cpp
57324 ac_cpp='$CXXCPP $CPPFLAGS'
57325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57328
57329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57330 /* end confdefs.h. */
57331 #include <math.h>
57332 int
57333 main ()
57334 {
57335 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57336 ;
57337 return 0;
57338 }
57339 _ACEOF
57340 if ac_fn_cxx_try_compile "$LINENO"; then :
57341 glibcxx_cv_func__long_double_trig_use=yes
57342 else
57343 glibcxx_cv_func__long_double_trig_use=no
57344 fi
57345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57346 ac_ext=c
57347 ac_cpp='$CPP $CPPFLAGS'
57348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57351
57352 fi
57353
57354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57355 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57356 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57357 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57358 do :
57359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57361 eval as_val=\$$as_ac_var
57362 if test "x$as_val" = x""yes; then :
57363 cat >>confdefs.h <<_ACEOF
57364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57365 _ACEOF
57366
57367 fi
57368 done
57369
57370 fi
57371 fi
57372
57373
57374
57375
57376
57377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57378 $as_echo_n "checking for long double round functions... " >&6; }
57379 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57380 $as_echo_n "(cached) " >&6
57381 else
57382
57383
57384 ac_ext=cpp
57385 ac_cpp='$CXXCPP $CPPFLAGS'
57386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57389
57390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57391 /* end confdefs.h. */
57392 #include <math.h>
57393 int
57394 main ()
57395 {
57396 ceill (0); floorl (0);
57397 ;
57398 return 0;
57399 }
57400 _ACEOF
57401 if ac_fn_cxx_try_compile "$LINENO"; then :
57402 glibcxx_cv_func_long_double_round_use=yes
57403 else
57404 glibcxx_cv_func_long_double_round_use=no
57405 fi
57406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57407 ac_ext=c
57408 ac_cpp='$CPP $CPPFLAGS'
57409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57412
57413 fi
57414
57415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57416 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57417 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57418 for ac_func in ceill floorl
57419 do :
57420 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57421 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57422 eval as_val=\$$as_ac_var
57423 if test "x$as_val" = x""yes; then :
57424 cat >>confdefs.h <<_ACEOF
57425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57426 _ACEOF
57427
57428 fi
57429 done
57430
57431 else
57432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57433 $as_echo_n "checking for _long double round functions... " >&6; }
57434 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57435 $as_echo_n "(cached) " >&6
57436 else
57437
57438
57439 ac_ext=cpp
57440 ac_cpp='$CXXCPP $CPPFLAGS'
57441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57444
57445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57446 /* end confdefs.h. */
57447 #include <math.h>
57448 int
57449 main ()
57450 {
57451 _ceill (0); _floorl (0);
57452 ;
57453 return 0;
57454 }
57455 _ACEOF
57456 if ac_fn_cxx_try_compile "$LINENO"; then :
57457 glibcxx_cv_func__long_double_round_use=yes
57458 else
57459 glibcxx_cv_func__long_double_round_use=no
57460 fi
57461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57462 ac_ext=c
57463 ac_cpp='$CPP $CPPFLAGS'
57464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57467
57468 fi
57469
57470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57471 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57472 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57473 for ac_func in _ceill _floorl
57474 do :
57475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57477 eval as_val=\$$as_ac_var
57478 if test "x$as_val" = x""yes; then :
57479 cat >>confdefs.h <<_ACEOF
57480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57481 _ACEOF
57482
57483 fi
57484 done
57485
57486 fi
57487 fi
57488
57489
57490
57491
57492
57493
57494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57495 $as_echo_n "checking for isnanl declaration... " >&6; }
57496 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57497 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57498 $as_echo_n "(cached) " >&6
57499 else
57500
57501
57502 ac_ext=cpp
57503 ac_cpp='$CXXCPP $CPPFLAGS'
57504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57507
57508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57509 /* end confdefs.h. */
57510 #include <math.h>
57511 #ifdef HAVE_IEEEFP_H
57512 #include <ieeefp.h>
57513 #endif
57514
57515 int
57516 main ()
57517 {
57518 isnanl(0);
57519 ;
57520 return 0;
57521 }
57522 _ACEOF
57523 if ac_fn_cxx_try_compile "$LINENO"; then :
57524 glibcxx_cv_func_isnanl_use=yes
57525 else
57526 glibcxx_cv_func_isnanl_use=no
57527 fi
57528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57529 ac_ext=c
57530 ac_cpp='$CPP $CPPFLAGS'
57531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57534
57535
57536 fi
57537
57538 fi
57539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57540 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57541
57542 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57543 for ac_func in isnanl
57544 do :
57545 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57546 if test "x$ac_cv_func_isnanl" = x""yes; then :
57547 cat >>confdefs.h <<_ACEOF
57548 #define HAVE_ISNANL 1
57549 _ACEOF
57550
57551 fi
57552 done
57553
57554 else
57555
57556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57557 $as_echo_n "checking for _isnanl declaration... " >&6; }
57558 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57559 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57560 $as_echo_n "(cached) " >&6
57561 else
57562
57563
57564 ac_ext=cpp
57565 ac_cpp='$CXXCPP $CPPFLAGS'
57566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57569
57570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57571 /* end confdefs.h. */
57572 #include <math.h>
57573 #ifdef HAVE_IEEEFP_H
57574 #include <ieeefp.h>
57575 #endif
57576
57577 int
57578 main ()
57579 {
57580 _isnanl(0);
57581 ;
57582 return 0;
57583 }
57584 _ACEOF
57585 if ac_fn_cxx_try_compile "$LINENO"; then :
57586 glibcxx_cv_func__isnanl_use=yes
57587 else
57588 glibcxx_cv_func__isnanl_use=no
57589 fi
57590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57591 ac_ext=c
57592 ac_cpp='$CPP $CPPFLAGS'
57593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57596
57597
57598 fi
57599
57600 fi
57601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57602 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57603
57604 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57605 for ac_func in _isnanl
57606 do :
57607 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57608 if test "x$ac_cv_func__isnanl" = x""yes; then :
57609 cat >>confdefs.h <<_ACEOF
57610 #define HAVE__ISNANL 1
57611 _ACEOF
57612
57613 fi
57614 done
57615
57616 fi
57617 fi
57618
57619
57620
57621
57622
57623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57624 $as_echo_n "checking for isinfl declaration... " >&6; }
57625 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57626 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57627 $as_echo_n "(cached) " >&6
57628 else
57629
57630
57631 ac_ext=cpp
57632 ac_cpp='$CXXCPP $CPPFLAGS'
57633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57636
57637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57638 /* end confdefs.h. */
57639 #include <math.h>
57640 #ifdef HAVE_IEEEFP_H
57641 #include <ieeefp.h>
57642 #endif
57643
57644 int
57645 main ()
57646 {
57647 isinfl(0);
57648 ;
57649 return 0;
57650 }
57651 _ACEOF
57652 if ac_fn_cxx_try_compile "$LINENO"; then :
57653 glibcxx_cv_func_isinfl_use=yes
57654 else
57655 glibcxx_cv_func_isinfl_use=no
57656 fi
57657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57658 ac_ext=c
57659 ac_cpp='$CPP $CPPFLAGS'
57660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57663
57664
57665 fi
57666
57667 fi
57668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57669 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57670
57671 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57672 for ac_func in isinfl
57673 do :
57674 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57675 if test "x$ac_cv_func_isinfl" = x""yes; then :
57676 cat >>confdefs.h <<_ACEOF
57677 #define HAVE_ISINFL 1
57678 _ACEOF
57679
57680 fi
57681 done
57682
57683 else
57684
57685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57686 $as_echo_n "checking for _isinfl declaration... " >&6; }
57687 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57688 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57689 $as_echo_n "(cached) " >&6
57690 else
57691
57692
57693 ac_ext=cpp
57694 ac_cpp='$CXXCPP $CPPFLAGS'
57695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57698
57699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57700 /* end confdefs.h. */
57701 #include <math.h>
57702 #ifdef HAVE_IEEEFP_H
57703 #include <ieeefp.h>
57704 #endif
57705
57706 int
57707 main ()
57708 {
57709 _isinfl(0);
57710 ;
57711 return 0;
57712 }
57713 _ACEOF
57714 if ac_fn_cxx_try_compile "$LINENO"; then :
57715 glibcxx_cv_func__isinfl_use=yes
57716 else
57717 glibcxx_cv_func__isinfl_use=no
57718 fi
57719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57720 ac_ext=c
57721 ac_cpp='$CPP $CPPFLAGS'
57722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57725
57726
57727 fi
57728
57729 fi
57730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57731 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57732
57733 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57734 for ac_func in _isinfl
57735 do :
57736 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57737 if test "x$ac_cv_func__isinfl" = x""yes; then :
57738 cat >>confdefs.h <<_ACEOF
57739 #define HAVE__ISINFL 1
57740 _ACEOF
57741
57742 fi
57743 done
57744
57745 fi
57746 fi
57747
57748
57749
57750
57751
57752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57753 $as_echo_n "checking for atan2l declaration... " >&6; }
57754 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57755 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57756 $as_echo_n "(cached) " >&6
57757 else
57758
57759
57760 ac_ext=cpp
57761 ac_cpp='$CXXCPP $CPPFLAGS'
57762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57765
57766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57767 /* end confdefs.h. */
57768 #include <math.h>
57769 int
57770 main ()
57771 {
57772 atan2l(0, 0);
57773 ;
57774 return 0;
57775 }
57776 _ACEOF
57777 if ac_fn_cxx_try_compile "$LINENO"; then :
57778 glibcxx_cv_func_atan2l_use=yes
57779 else
57780 glibcxx_cv_func_atan2l_use=no
57781 fi
57782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57783 ac_ext=c
57784 ac_cpp='$CPP $CPPFLAGS'
57785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57788
57789
57790 fi
57791
57792 fi
57793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57794 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57795
57796 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57797 for ac_func in atan2l
57798 do :
57799 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57800 if test "x$ac_cv_func_atan2l" = x""yes; then :
57801 cat >>confdefs.h <<_ACEOF
57802 #define HAVE_ATAN2L 1
57803 _ACEOF
57804
57805 fi
57806 done
57807
57808 else
57809
57810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57811 $as_echo_n "checking for _atan2l declaration... " >&6; }
57812 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57813 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57814 $as_echo_n "(cached) " >&6
57815 else
57816
57817
57818 ac_ext=cpp
57819 ac_cpp='$CXXCPP $CPPFLAGS'
57820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57823
57824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57825 /* end confdefs.h. */
57826 #include <math.h>
57827 int
57828 main ()
57829 {
57830 _atan2l(0, 0);
57831 ;
57832 return 0;
57833 }
57834 _ACEOF
57835 if ac_fn_cxx_try_compile "$LINENO"; then :
57836 glibcxx_cv_func__atan2l_use=yes
57837 else
57838 glibcxx_cv_func__atan2l_use=no
57839 fi
57840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57841 ac_ext=c
57842 ac_cpp='$CPP $CPPFLAGS'
57843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57846
57847
57848 fi
57849
57850 fi
57851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57852 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57853
57854 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57855 for ac_func in _atan2l
57856 do :
57857 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57858 if test "x$ac_cv_func__atan2l" = x""yes; then :
57859 cat >>confdefs.h <<_ACEOF
57860 #define HAVE__ATAN2L 1
57861 _ACEOF
57862
57863 fi
57864 done
57865
57866 fi
57867 fi
57868
57869
57870
57871
57872
57873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57874 $as_echo_n "checking for expl declaration... " >&6; }
57875 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57876 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57877 $as_echo_n "(cached) " >&6
57878 else
57879
57880
57881 ac_ext=cpp
57882 ac_cpp='$CXXCPP $CPPFLAGS'
57883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57886
57887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57888 /* end confdefs.h. */
57889 #include <math.h>
57890 #ifdef HAVE_IEEEFP_H
57891 #include <ieeefp.h>
57892 #endif
57893
57894 int
57895 main ()
57896 {
57897 expl(0);
57898 ;
57899 return 0;
57900 }
57901 _ACEOF
57902 if ac_fn_cxx_try_compile "$LINENO"; then :
57903 glibcxx_cv_func_expl_use=yes
57904 else
57905 glibcxx_cv_func_expl_use=no
57906 fi
57907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57908 ac_ext=c
57909 ac_cpp='$CPP $CPPFLAGS'
57910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57913
57914
57915 fi
57916
57917 fi
57918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57919 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57920
57921 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57922 for ac_func in expl
57923 do :
57924 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57925 if test "x$ac_cv_func_expl" = x""yes; then :
57926 cat >>confdefs.h <<_ACEOF
57927 #define HAVE_EXPL 1
57928 _ACEOF
57929
57930 fi
57931 done
57932
57933 else
57934
57935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57936 $as_echo_n "checking for _expl declaration... " >&6; }
57937 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57938 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57939 $as_echo_n "(cached) " >&6
57940 else
57941
57942
57943 ac_ext=cpp
57944 ac_cpp='$CXXCPP $CPPFLAGS'
57945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57948
57949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57950 /* end confdefs.h. */
57951 #include <math.h>
57952 #ifdef HAVE_IEEEFP_H
57953 #include <ieeefp.h>
57954 #endif
57955
57956 int
57957 main ()
57958 {
57959 _expl(0);
57960 ;
57961 return 0;
57962 }
57963 _ACEOF
57964 if ac_fn_cxx_try_compile "$LINENO"; then :
57965 glibcxx_cv_func__expl_use=yes
57966 else
57967 glibcxx_cv_func__expl_use=no
57968 fi
57969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57970 ac_ext=c
57971 ac_cpp='$CPP $CPPFLAGS'
57972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57975
57976
57977 fi
57978
57979 fi
57980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57981 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57982
57983 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57984 for ac_func in _expl
57985 do :
57986 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57987 if test "x$ac_cv_func__expl" = x""yes; then :
57988 cat >>confdefs.h <<_ACEOF
57989 #define HAVE__EXPL 1
57990 _ACEOF
57991
57992 fi
57993 done
57994
57995 fi
57996 fi
57997
57998
57999
58000
58001
58002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58003 $as_echo_n "checking for fabsl declaration... " >&6; }
58004 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58005 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58006 $as_echo_n "(cached) " >&6
58007 else
58008
58009
58010 ac_ext=cpp
58011 ac_cpp='$CXXCPP $CPPFLAGS'
58012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58015
58016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58017 /* end confdefs.h. */
58018 #include <math.h>
58019 #ifdef HAVE_IEEEFP_H
58020 #include <ieeefp.h>
58021 #endif
58022
58023 int
58024 main ()
58025 {
58026 fabsl(0);
58027 ;
58028 return 0;
58029 }
58030 _ACEOF
58031 if ac_fn_cxx_try_compile "$LINENO"; then :
58032 glibcxx_cv_func_fabsl_use=yes
58033 else
58034 glibcxx_cv_func_fabsl_use=no
58035 fi
58036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58037 ac_ext=c
58038 ac_cpp='$CPP $CPPFLAGS'
58039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58042
58043
58044 fi
58045
58046 fi
58047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58048 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58049
58050 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58051 for ac_func in fabsl
58052 do :
58053 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58054 if test "x$ac_cv_func_fabsl" = x""yes; then :
58055 cat >>confdefs.h <<_ACEOF
58056 #define HAVE_FABSL 1
58057 _ACEOF
58058
58059 fi
58060 done
58061
58062 else
58063
58064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58065 $as_echo_n "checking for _fabsl declaration... " >&6; }
58066 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58067 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58068 $as_echo_n "(cached) " >&6
58069 else
58070
58071
58072 ac_ext=cpp
58073 ac_cpp='$CXXCPP $CPPFLAGS'
58074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58077
58078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58079 /* end confdefs.h. */
58080 #include <math.h>
58081 #ifdef HAVE_IEEEFP_H
58082 #include <ieeefp.h>
58083 #endif
58084
58085 int
58086 main ()
58087 {
58088 _fabsl(0);
58089 ;
58090 return 0;
58091 }
58092 _ACEOF
58093 if ac_fn_cxx_try_compile "$LINENO"; then :
58094 glibcxx_cv_func__fabsl_use=yes
58095 else
58096 glibcxx_cv_func__fabsl_use=no
58097 fi
58098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58099 ac_ext=c
58100 ac_cpp='$CPP $CPPFLAGS'
58101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58104
58105
58106 fi
58107
58108 fi
58109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58110 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58111
58112 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58113 for ac_func in _fabsl
58114 do :
58115 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58116 if test "x$ac_cv_func__fabsl" = x""yes; then :
58117 cat >>confdefs.h <<_ACEOF
58118 #define HAVE__FABSL 1
58119 _ACEOF
58120
58121 fi
58122 done
58123
58124 fi
58125 fi
58126
58127
58128
58129
58130
58131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58132 $as_echo_n "checking for fmodl declaration... " >&6; }
58133 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58134 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58135 $as_echo_n "(cached) " >&6
58136 else
58137
58138
58139 ac_ext=cpp
58140 ac_cpp='$CXXCPP $CPPFLAGS'
58141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58144
58145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58146 /* end confdefs.h. */
58147 #include <math.h>
58148 int
58149 main ()
58150 {
58151 fmodl(0, 0);
58152 ;
58153 return 0;
58154 }
58155 _ACEOF
58156 if ac_fn_cxx_try_compile "$LINENO"; then :
58157 glibcxx_cv_func_fmodl_use=yes
58158 else
58159 glibcxx_cv_func_fmodl_use=no
58160 fi
58161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58162 ac_ext=c
58163 ac_cpp='$CPP $CPPFLAGS'
58164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58167
58168
58169 fi
58170
58171 fi
58172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58173 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58174
58175 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58176 for ac_func in fmodl
58177 do :
58178 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58179 if test "x$ac_cv_func_fmodl" = x""yes; then :
58180 cat >>confdefs.h <<_ACEOF
58181 #define HAVE_FMODL 1
58182 _ACEOF
58183
58184 fi
58185 done
58186
58187 else
58188
58189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58190 $as_echo_n "checking for _fmodl declaration... " >&6; }
58191 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58192 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58193 $as_echo_n "(cached) " >&6
58194 else
58195
58196
58197 ac_ext=cpp
58198 ac_cpp='$CXXCPP $CPPFLAGS'
58199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58202
58203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58204 /* end confdefs.h. */
58205 #include <math.h>
58206 int
58207 main ()
58208 {
58209 _fmodl(0, 0);
58210 ;
58211 return 0;
58212 }
58213 _ACEOF
58214 if ac_fn_cxx_try_compile "$LINENO"; then :
58215 glibcxx_cv_func__fmodl_use=yes
58216 else
58217 glibcxx_cv_func__fmodl_use=no
58218 fi
58219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58220 ac_ext=c
58221 ac_cpp='$CPP $CPPFLAGS'
58222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58225
58226
58227 fi
58228
58229 fi
58230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58231 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58232
58233 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58234 for ac_func in _fmodl
58235 do :
58236 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58237 if test "x$ac_cv_func__fmodl" = x""yes; then :
58238 cat >>confdefs.h <<_ACEOF
58239 #define HAVE__FMODL 1
58240 _ACEOF
58241
58242 fi
58243 done
58244
58245 fi
58246 fi
58247
58248
58249
58250
58251
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58253 $as_echo_n "checking for frexpl declaration... " >&6; }
58254 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58255 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58256 $as_echo_n "(cached) " >&6
58257 else
58258
58259
58260 ac_ext=cpp
58261 ac_cpp='$CXXCPP $CPPFLAGS'
58262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58265
58266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58267 /* end confdefs.h. */
58268 #include <math.h>
58269 int
58270 main ()
58271 {
58272 frexpl(0, 0);
58273 ;
58274 return 0;
58275 }
58276 _ACEOF
58277 if ac_fn_cxx_try_compile "$LINENO"; then :
58278 glibcxx_cv_func_frexpl_use=yes
58279 else
58280 glibcxx_cv_func_frexpl_use=no
58281 fi
58282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58283 ac_ext=c
58284 ac_cpp='$CPP $CPPFLAGS'
58285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58288
58289
58290 fi
58291
58292 fi
58293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58294 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58295
58296 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58297 for ac_func in frexpl
58298 do :
58299 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58300 if test "x$ac_cv_func_frexpl" = x""yes; then :
58301 cat >>confdefs.h <<_ACEOF
58302 #define HAVE_FREXPL 1
58303 _ACEOF
58304
58305 fi
58306 done
58307
58308 else
58309
58310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58311 $as_echo_n "checking for _frexpl declaration... " >&6; }
58312 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58313 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58314 $as_echo_n "(cached) " >&6
58315 else
58316
58317
58318 ac_ext=cpp
58319 ac_cpp='$CXXCPP $CPPFLAGS'
58320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58323
58324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58325 /* end confdefs.h. */
58326 #include <math.h>
58327 int
58328 main ()
58329 {
58330 _frexpl(0, 0);
58331 ;
58332 return 0;
58333 }
58334 _ACEOF
58335 if ac_fn_cxx_try_compile "$LINENO"; then :
58336 glibcxx_cv_func__frexpl_use=yes
58337 else
58338 glibcxx_cv_func__frexpl_use=no
58339 fi
58340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58341 ac_ext=c
58342 ac_cpp='$CPP $CPPFLAGS'
58343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58346
58347
58348 fi
58349
58350 fi
58351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58352 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58353
58354 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58355 for ac_func in _frexpl
58356 do :
58357 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58358 if test "x$ac_cv_func__frexpl" = x""yes; then :
58359 cat >>confdefs.h <<_ACEOF
58360 #define HAVE__FREXPL 1
58361 _ACEOF
58362
58363 fi
58364 done
58365
58366 fi
58367 fi
58368
58369
58370
58371
58372
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58374 $as_echo_n "checking for hypotl declaration... " >&6; }
58375 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58376 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58377 $as_echo_n "(cached) " >&6
58378 else
58379
58380
58381 ac_ext=cpp
58382 ac_cpp='$CXXCPP $CPPFLAGS'
58383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58386
58387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388 /* end confdefs.h. */
58389 #include <math.h>
58390 int
58391 main ()
58392 {
58393 hypotl(0, 0);
58394 ;
58395 return 0;
58396 }
58397 _ACEOF
58398 if ac_fn_cxx_try_compile "$LINENO"; then :
58399 glibcxx_cv_func_hypotl_use=yes
58400 else
58401 glibcxx_cv_func_hypotl_use=no
58402 fi
58403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58404 ac_ext=c
58405 ac_cpp='$CPP $CPPFLAGS'
58406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58409
58410
58411 fi
58412
58413 fi
58414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58415 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58416
58417 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58418 for ac_func in hypotl
58419 do :
58420 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58421 if test "x$ac_cv_func_hypotl" = x""yes; then :
58422 cat >>confdefs.h <<_ACEOF
58423 #define HAVE_HYPOTL 1
58424 _ACEOF
58425
58426 fi
58427 done
58428
58429 else
58430
58431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58432 $as_echo_n "checking for _hypotl declaration... " >&6; }
58433 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58434 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58435 $as_echo_n "(cached) " >&6
58436 else
58437
58438
58439 ac_ext=cpp
58440 ac_cpp='$CXXCPP $CPPFLAGS'
58441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58444
58445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58446 /* end confdefs.h. */
58447 #include <math.h>
58448 int
58449 main ()
58450 {
58451 _hypotl(0, 0);
58452 ;
58453 return 0;
58454 }
58455 _ACEOF
58456 if ac_fn_cxx_try_compile "$LINENO"; then :
58457 glibcxx_cv_func__hypotl_use=yes
58458 else
58459 glibcxx_cv_func__hypotl_use=no
58460 fi
58461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58462 ac_ext=c
58463 ac_cpp='$CPP $CPPFLAGS'
58464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58467
58468
58469 fi
58470
58471 fi
58472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58473 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58474
58475 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58476 for ac_func in _hypotl
58477 do :
58478 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58479 if test "x$ac_cv_func__hypotl" = x""yes; then :
58480 cat >>confdefs.h <<_ACEOF
58481 #define HAVE__HYPOTL 1
58482 _ACEOF
58483
58484 fi
58485 done
58486
58487 fi
58488 fi
58489
58490
58491
58492
58493
58494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58495 $as_echo_n "checking for ldexpl declaration... " >&6; }
58496 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58497 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58498 $as_echo_n "(cached) " >&6
58499 else
58500
58501
58502 ac_ext=cpp
58503 ac_cpp='$CXXCPP $CPPFLAGS'
58504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58507
58508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58509 /* end confdefs.h. */
58510 #include <math.h>
58511 int
58512 main ()
58513 {
58514 ldexpl(0, 0);
58515 ;
58516 return 0;
58517 }
58518 _ACEOF
58519 if ac_fn_cxx_try_compile "$LINENO"; then :
58520 glibcxx_cv_func_ldexpl_use=yes
58521 else
58522 glibcxx_cv_func_ldexpl_use=no
58523 fi
58524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58525 ac_ext=c
58526 ac_cpp='$CPP $CPPFLAGS'
58527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58530
58531
58532 fi
58533
58534 fi
58535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58536 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58537
58538 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58539 for ac_func in ldexpl
58540 do :
58541 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58542 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58543 cat >>confdefs.h <<_ACEOF
58544 #define HAVE_LDEXPL 1
58545 _ACEOF
58546
58547 fi
58548 done
58549
58550 else
58551
58552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58553 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58554 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58555 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58556 $as_echo_n "(cached) " >&6
58557 else
58558
58559
58560 ac_ext=cpp
58561 ac_cpp='$CXXCPP $CPPFLAGS'
58562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58565
58566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58567 /* end confdefs.h. */
58568 #include <math.h>
58569 int
58570 main ()
58571 {
58572 _ldexpl(0, 0);
58573 ;
58574 return 0;
58575 }
58576 _ACEOF
58577 if ac_fn_cxx_try_compile "$LINENO"; then :
58578 glibcxx_cv_func__ldexpl_use=yes
58579 else
58580 glibcxx_cv_func__ldexpl_use=no
58581 fi
58582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58583 ac_ext=c
58584 ac_cpp='$CPP $CPPFLAGS'
58585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58588
58589
58590 fi
58591
58592 fi
58593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58594 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58595
58596 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58597 for ac_func in _ldexpl
58598 do :
58599 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58600 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58601 cat >>confdefs.h <<_ACEOF
58602 #define HAVE__LDEXPL 1
58603 _ACEOF
58604
58605 fi
58606 done
58607
58608 fi
58609 fi
58610
58611
58612
58613
58614
58615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58616 $as_echo_n "checking for logl declaration... " >&6; }
58617 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58618 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58619 $as_echo_n "(cached) " >&6
58620 else
58621
58622
58623 ac_ext=cpp
58624 ac_cpp='$CXXCPP $CPPFLAGS'
58625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58628
58629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58630 /* end confdefs.h. */
58631 #include <math.h>
58632 #ifdef HAVE_IEEEFP_H
58633 #include <ieeefp.h>
58634 #endif
58635
58636 int
58637 main ()
58638 {
58639 logl(0);
58640 ;
58641 return 0;
58642 }
58643 _ACEOF
58644 if ac_fn_cxx_try_compile "$LINENO"; then :
58645 glibcxx_cv_func_logl_use=yes
58646 else
58647 glibcxx_cv_func_logl_use=no
58648 fi
58649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58650 ac_ext=c
58651 ac_cpp='$CPP $CPPFLAGS'
58652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58655
58656
58657 fi
58658
58659 fi
58660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58661 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58662
58663 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58664 for ac_func in logl
58665 do :
58666 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58667 if test "x$ac_cv_func_logl" = x""yes; then :
58668 cat >>confdefs.h <<_ACEOF
58669 #define HAVE_LOGL 1
58670 _ACEOF
58671
58672 fi
58673 done
58674
58675 else
58676
58677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58678 $as_echo_n "checking for _logl declaration... " >&6; }
58679 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58680 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58681 $as_echo_n "(cached) " >&6
58682 else
58683
58684
58685 ac_ext=cpp
58686 ac_cpp='$CXXCPP $CPPFLAGS'
58687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58690
58691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58692 /* end confdefs.h. */
58693 #include <math.h>
58694 #ifdef HAVE_IEEEFP_H
58695 #include <ieeefp.h>
58696 #endif
58697
58698 int
58699 main ()
58700 {
58701 _logl(0);
58702 ;
58703 return 0;
58704 }
58705 _ACEOF
58706 if ac_fn_cxx_try_compile "$LINENO"; then :
58707 glibcxx_cv_func__logl_use=yes
58708 else
58709 glibcxx_cv_func__logl_use=no
58710 fi
58711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58712 ac_ext=c
58713 ac_cpp='$CPP $CPPFLAGS'
58714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58717
58718
58719 fi
58720
58721 fi
58722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58723 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58724
58725 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58726 for ac_func in _logl
58727 do :
58728 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58729 if test "x$ac_cv_func__logl" = x""yes; then :
58730 cat >>confdefs.h <<_ACEOF
58731 #define HAVE__LOGL 1
58732 _ACEOF
58733
58734 fi
58735 done
58736
58737 fi
58738 fi
58739
58740
58741
58742
58743
58744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58745 $as_echo_n "checking for log10l declaration... " >&6; }
58746 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58747 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58748 $as_echo_n "(cached) " >&6
58749 else
58750
58751
58752 ac_ext=cpp
58753 ac_cpp='$CXXCPP $CPPFLAGS'
58754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58757
58758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58759 /* end confdefs.h. */
58760 #include <math.h>
58761 #ifdef HAVE_IEEEFP_H
58762 #include <ieeefp.h>
58763 #endif
58764
58765 int
58766 main ()
58767 {
58768 log10l(0);
58769 ;
58770 return 0;
58771 }
58772 _ACEOF
58773 if ac_fn_cxx_try_compile "$LINENO"; then :
58774 glibcxx_cv_func_log10l_use=yes
58775 else
58776 glibcxx_cv_func_log10l_use=no
58777 fi
58778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58779 ac_ext=c
58780 ac_cpp='$CPP $CPPFLAGS'
58781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58784
58785
58786 fi
58787
58788 fi
58789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58790 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58791
58792 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58793 for ac_func in log10l
58794 do :
58795 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58796 if test "x$ac_cv_func_log10l" = x""yes; then :
58797 cat >>confdefs.h <<_ACEOF
58798 #define HAVE_LOG10L 1
58799 _ACEOF
58800
58801 fi
58802 done
58803
58804 else
58805
58806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58807 $as_echo_n "checking for _log10l declaration... " >&6; }
58808 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58809 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58810 $as_echo_n "(cached) " >&6
58811 else
58812
58813
58814 ac_ext=cpp
58815 ac_cpp='$CXXCPP $CPPFLAGS'
58816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58819
58820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58821 /* end confdefs.h. */
58822 #include <math.h>
58823 #ifdef HAVE_IEEEFP_H
58824 #include <ieeefp.h>
58825 #endif
58826
58827 int
58828 main ()
58829 {
58830 _log10l(0);
58831 ;
58832 return 0;
58833 }
58834 _ACEOF
58835 if ac_fn_cxx_try_compile "$LINENO"; then :
58836 glibcxx_cv_func__log10l_use=yes
58837 else
58838 glibcxx_cv_func__log10l_use=no
58839 fi
58840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58841 ac_ext=c
58842 ac_cpp='$CPP $CPPFLAGS'
58843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58846
58847
58848 fi
58849
58850 fi
58851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58852 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58853
58854 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58855 for ac_func in _log10l
58856 do :
58857 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58858 if test "x$ac_cv_func__log10l" = x""yes; then :
58859 cat >>confdefs.h <<_ACEOF
58860 #define HAVE__LOG10L 1
58861 _ACEOF
58862
58863 fi
58864 done
58865
58866 fi
58867 fi
58868
58869
58870
58871
58872
58873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58874 $as_echo_n "checking for modfl declaration... " >&6; }
58875 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58876 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58877 $as_echo_n "(cached) " >&6
58878 else
58879
58880
58881 ac_ext=cpp
58882 ac_cpp='$CXXCPP $CPPFLAGS'
58883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58886
58887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58888 /* end confdefs.h. */
58889 #include <math.h>
58890 int
58891 main ()
58892 {
58893 modfl(0, 0);
58894 ;
58895 return 0;
58896 }
58897 _ACEOF
58898 if ac_fn_cxx_try_compile "$LINENO"; then :
58899 glibcxx_cv_func_modfl_use=yes
58900 else
58901 glibcxx_cv_func_modfl_use=no
58902 fi
58903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58904 ac_ext=c
58905 ac_cpp='$CPP $CPPFLAGS'
58906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58909
58910
58911 fi
58912
58913 fi
58914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58915 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58916
58917 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58918 for ac_func in modfl
58919 do :
58920 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58921 if test "x$ac_cv_func_modfl" = x""yes; then :
58922 cat >>confdefs.h <<_ACEOF
58923 #define HAVE_MODFL 1
58924 _ACEOF
58925
58926 fi
58927 done
58928
58929 else
58930
58931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58932 $as_echo_n "checking for _modfl declaration... " >&6; }
58933 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58934 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58935 $as_echo_n "(cached) " >&6
58936 else
58937
58938
58939 ac_ext=cpp
58940 ac_cpp='$CXXCPP $CPPFLAGS'
58941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58944
58945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58946 /* end confdefs.h. */
58947 #include <math.h>
58948 int
58949 main ()
58950 {
58951 _modfl(0, 0);
58952 ;
58953 return 0;
58954 }
58955 _ACEOF
58956 if ac_fn_cxx_try_compile "$LINENO"; then :
58957 glibcxx_cv_func__modfl_use=yes
58958 else
58959 glibcxx_cv_func__modfl_use=no
58960 fi
58961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58962 ac_ext=c
58963 ac_cpp='$CPP $CPPFLAGS'
58964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58967
58968
58969 fi
58970
58971 fi
58972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58973 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58974
58975 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58976 for ac_func in _modfl
58977 do :
58978 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58979 if test "x$ac_cv_func__modfl" = x""yes; then :
58980 cat >>confdefs.h <<_ACEOF
58981 #define HAVE__MODFL 1
58982 _ACEOF
58983
58984 fi
58985 done
58986
58987 fi
58988 fi
58989
58990
58991
58992
58993
58994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58995 $as_echo_n "checking for powl declaration... " >&6; }
58996 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58997 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58998 $as_echo_n "(cached) " >&6
58999 else
59000
59001
59002 ac_ext=cpp
59003 ac_cpp='$CXXCPP $CPPFLAGS'
59004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59007
59008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59009 /* end confdefs.h. */
59010 #include <math.h>
59011 int
59012 main ()
59013 {
59014 powl(0, 0);
59015 ;
59016 return 0;
59017 }
59018 _ACEOF
59019 if ac_fn_cxx_try_compile "$LINENO"; then :
59020 glibcxx_cv_func_powl_use=yes
59021 else
59022 glibcxx_cv_func_powl_use=no
59023 fi
59024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59025 ac_ext=c
59026 ac_cpp='$CPP $CPPFLAGS'
59027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59030
59031
59032 fi
59033
59034 fi
59035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59036 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59037
59038 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59039 for ac_func in powl
59040 do :
59041 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59042 if test "x$ac_cv_func_powl" = x""yes; then :
59043 cat >>confdefs.h <<_ACEOF
59044 #define HAVE_POWL 1
59045 _ACEOF
59046
59047 fi
59048 done
59049
59050 else
59051
59052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59053 $as_echo_n "checking for _powl declaration... " >&6; }
59054 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59055 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59056 $as_echo_n "(cached) " >&6
59057 else
59058
59059
59060 ac_ext=cpp
59061 ac_cpp='$CXXCPP $CPPFLAGS'
59062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59065
59066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59067 /* end confdefs.h. */
59068 #include <math.h>
59069 int
59070 main ()
59071 {
59072 _powl(0, 0);
59073 ;
59074 return 0;
59075 }
59076 _ACEOF
59077 if ac_fn_cxx_try_compile "$LINENO"; then :
59078 glibcxx_cv_func__powl_use=yes
59079 else
59080 glibcxx_cv_func__powl_use=no
59081 fi
59082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59083 ac_ext=c
59084 ac_cpp='$CPP $CPPFLAGS'
59085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59088
59089
59090 fi
59091
59092 fi
59093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59094 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59095
59096 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59097 for ac_func in _powl
59098 do :
59099 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59100 if test "x$ac_cv_func__powl" = x""yes; then :
59101 cat >>confdefs.h <<_ACEOF
59102 #define HAVE__POWL 1
59103 _ACEOF
59104
59105 fi
59106 done
59107
59108 fi
59109 fi
59110
59111
59112
59113
59114
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59116 $as_echo_n "checking for sqrtl declaration... " >&6; }
59117 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59118 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59119 $as_echo_n "(cached) " >&6
59120 else
59121
59122
59123 ac_ext=cpp
59124 ac_cpp='$CXXCPP $CPPFLAGS'
59125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59128
59129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59130 /* end confdefs.h. */
59131 #include <math.h>
59132 #ifdef HAVE_IEEEFP_H
59133 #include <ieeefp.h>
59134 #endif
59135
59136 int
59137 main ()
59138 {
59139 sqrtl(0);
59140 ;
59141 return 0;
59142 }
59143 _ACEOF
59144 if ac_fn_cxx_try_compile "$LINENO"; then :
59145 glibcxx_cv_func_sqrtl_use=yes
59146 else
59147 glibcxx_cv_func_sqrtl_use=no
59148 fi
59149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59150 ac_ext=c
59151 ac_cpp='$CPP $CPPFLAGS'
59152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59155
59156
59157 fi
59158
59159 fi
59160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59161 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59162
59163 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59164 for ac_func in sqrtl
59165 do :
59166 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59167 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59168 cat >>confdefs.h <<_ACEOF
59169 #define HAVE_SQRTL 1
59170 _ACEOF
59171
59172 fi
59173 done
59174
59175 else
59176
59177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59178 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59179 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59180 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59181 $as_echo_n "(cached) " >&6
59182 else
59183
59184
59185 ac_ext=cpp
59186 ac_cpp='$CXXCPP $CPPFLAGS'
59187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59190
59191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59192 /* end confdefs.h. */
59193 #include <math.h>
59194 #ifdef HAVE_IEEEFP_H
59195 #include <ieeefp.h>
59196 #endif
59197
59198 int
59199 main ()
59200 {
59201 _sqrtl(0);
59202 ;
59203 return 0;
59204 }
59205 _ACEOF
59206 if ac_fn_cxx_try_compile "$LINENO"; then :
59207 glibcxx_cv_func__sqrtl_use=yes
59208 else
59209 glibcxx_cv_func__sqrtl_use=no
59210 fi
59211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59212 ac_ext=c
59213 ac_cpp='$CPP $CPPFLAGS'
59214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59217
59218
59219 fi
59220
59221 fi
59222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59223 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59224
59225 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59226 for ac_func in _sqrtl
59227 do :
59228 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59229 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59230 cat >>confdefs.h <<_ACEOF
59231 #define HAVE__SQRTL 1
59232 _ACEOF
59233
59234 fi
59235 done
59236
59237 fi
59238 fi
59239
59240
59241
59242
59243
59244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59245 $as_echo_n "checking for sincosl declaration... " >&6; }
59246 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59247 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59248 $as_echo_n "(cached) " >&6
59249 else
59250
59251
59252 ac_ext=cpp
59253 ac_cpp='$CXXCPP $CPPFLAGS'
59254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59257
59258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59259 /* end confdefs.h. */
59260 #include <math.h>
59261 int
59262 main ()
59263 {
59264 sincosl(0, 0, 0);
59265 ;
59266 return 0;
59267 }
59268 _ACEOF
59269 if ac_fn_cxx_try_compile "$LINENO"; then :
59270 glibcxx_cv_func_sincosl_use=yes
59271 else
59272 glibcxx_cv_func_sincosl_use=no
59273 fi
59274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59275 ac_ext=c
59276 ac_cpp='$CPP $CPPFLAGS'
59277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59280
59281
59282 fi
59283
59284 fi
59285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59286 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59287
59288 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59289 for ac_func in sincosl
59290 do :
59291 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59292 if test "x$ac_cv_func_sincosl" = x""yes; then :
59293 cat >>confdefs.h <<_ACEOF
59294 #define HAVE_SINCOSL 1
59295 _ACEOF
59296
59297 fi
59298 done
59299
59300 else
59301
59302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59303 $as_echo_n "checking for _sincosl declaration... " >&6; }
59304 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59305 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59306 $as_echo_n "(cached) " >&6
59307 else
59308
59309
59310 ac_ext=cpp
59311 ac_cpp='$CXXCPP $CPPFLAGS'
59312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59315
59316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59317 /* end confdefs.h. */
59318 #include <math.h>
59319 int
59320 main ()
59321 {
59322 _sincosl(0, 0, 0);
59323 ;
59324 return 0;
59325 }
59326 _ACEOF
59327 if ac_fn_cxx_try_compile "$LINENO"; then :
59328 glibcxx_cv_func__sincosl_use=yes
59329 else
59330 glibcxx_cv_func__sincosl_use=no
59331 fi
59332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59333 ac_ext=c
59334 ac_cpp='$CPP $CPPFLAGS'
59335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59338
59339
59340 fi
59341
59342 fi
59343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59344 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59345
59346 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59347 for ac_func in _sincosl
59348 do :
59349 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59350 if test "x$ac_cv_func__sincosl" = x""yes; then :
59351 cat >>confdefs.h <<_ACEOF
59352 #define HAVE__SINCOSL 1
59353 _ACEOF
59354
59355 fi
59356 done
59357
59358 fi
59359 fi
59360
59361
59362
59363
59364
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59366 $as_echo_n "checking for finitel declaration... " >&6; }
59367 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59368 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59369 $as_echo_n "(cached) " >&6
59370 else
59371
59372
59373 ac_ext=cpp
59374 ac_cpp='$CXXCPP $CPPFLAGS'
59375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59378
59379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59380 /* end confdefs.h. */
59381 #include <math.h>
59382 #ifdef HAVE_IEEEFP_H
59383 #include <ieeefp.h>
59384 #endif
59385
59386 int
59387 main ()
59388 {
59389 finitel(0);
59390 ;
59391 return 0;
59392 }
59393 _ACEOF
59394 if ac_fn_cxx_try_compile "$LINENO"; then :
59395 glibcxx_cv_func_finitel_use=yes
59396 else
59397 glibcxx_cv_func_finitel_use=no
59398 fi
59399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59400 ac_ext=c
59401 ac_cpp='$CPP $CPPFLAGS'
59402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59405
59406
59407 fi
59408
59409 fi
59410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59411 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59412
59413 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59414 for ac_func in finitel
59415 do :
59416 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59417 if test "x$ac_cv_func_finitel" = x""yes; then :
59418 cat >>confdefs.h <<_ACEOF
59419 #define HAVE_FINITEL 1
59420 _ACEOF
59421
59422 fi
59423 done
59424
59425 else
59426
59427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59428 $as_echo_n "checking for _finitel declaration... " >&6; }
59429 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59430 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59431 $as_echo_n "(cached) " >&6
59432 else
59433
59434
59435 ac_ext=cpp
59436 ac_cpp='$CXXCPP $CPPFLAGS'
59437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59440
59441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59442 /* end confdefs.h. */
59443 #include <math.h>
59444 #ifdef HAVE_IEEEFP_H
59445 #include <ieeefp.h>
59446 #endif
59447
59448 int
59449 main ()
59450 {
59451 _finitel(0);
59452 ;
59453 return 0;
59454 }
59455 _ACEOF
59456 if ac_fn_cxx_try_compile "$LINENO"; then :
59457 glibcxx_cv_func__finitel_use=yes
59458 else
59459 glibcxx_cv_func__finitel_use=no
59460 fi
59461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59462 ac_ext=c
59463 ac_cpp='$CPP $CPPFLAGS'
59464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59467
59468
59469 fi
59470
59471 fi
59472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59473 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59474
59475 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59476 for ac_func in _finitel
59477 do :
59478 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59479 if test "x$ac_cv_func__finitel" = x""yes; then :
59480 cat >>confdefs.h <<_ACEOF
59481 #define HAVE__FINITEL 1
59482 _ACEOF
59483
59484 fi
59485 done
59486
59487 fi
59488 fi
59489
59490
59491
59492
59493 LIBS="$ac_save_LIBS"
59494 CXXFLAGS="$ac_save_CXXFLAGS"
59495
59496
59497 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59498 ac_save_CXXFLAGS="$CXXFLAGS"
59499 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59500
59501
59502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59503 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59504 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59505 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59506 $as_echo_n "(cached) " >&6
59507 else
59508
59509
59510 ac_ext=cpp
59511 ac_cpp='$CXXCPP $CPPFLAGS'
59512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59515
59516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59517 /* end confdefs.h. */
59518 #include <stdlib.h>
59519 int
59520 main ()
59521 {
59522 at_quick_exit(0);
59523 ;
59524 return 0;
59525 }
59526 _ACEOF
59527 if ac_fn_cxx_try_compile "$LINENO"; then :
59528 glibcxx_cv_func_at_quick_exit_use=yes
59529 else
59530 glibcxx_cv_func_at_quick_exit_use=no
59531 fi
59532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59533 ac_ext=c
59534 ac_cpp='$CPP $CPPFLAGS'
59535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59538
59539
59540 fi
59541
59542 fi
59543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59544 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59545 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59546 for ac_func in at_quick_exit
59547 do :
59548 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59549 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59550 cat >>confdefs.h <<_ACEOF
59551 #define HAVE_AT_QUICK_EXIT 1
59552 _ACEOF
59553
59554 fi
59555 done
59556
59557 fi
59558
59559
59560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59561 $as_echo_n "checking for quick_exit declaration... " >&6; }
59562 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59563 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59564 $as_echo_n "(cached) " >&6
59565 else
59566
59567
59568 ac_ext=cpp
59569 ac_cpp='$CXXCPP $CPPFLAGS'
59570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59573
59574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59575 /* end confdefs.h. */
59576 #include <stdlib.h>
59577 int
59578 main ()
59579 {
59580 quick_exit(0);
59581 ;
59582 return 0;
59583 }
59584 _ACEOF
59585 if ac_fn_cxx_try_compile "$LINENO"; then :
59586 glibcxx_cv_func_quick_exit_use=yes
59587 else
59588 glibcxx_cv_func_quick_exit_use=no
59589 fi
59590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59591 ac_ext=c
59592 ac_cpp='$CPP $CPPFLAGS'
59593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59596
59597
59598 fi
59599
59600 fi
59601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59602 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59603 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59604 for ac_func in quick_exit
59605 do :
59606 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59607 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59608 cat >>confdefs.h <<_ACEOF
59609 #define HAVE_QUICK_EXIT 1
59610 _ACEOF
59611
59612 fi
59613 done
59614
59615 fi
59616
59617
59618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59619 $as_echo_n "checking for strtold declaration... " >&6; }
59620 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59621 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59622 $as_echo_n "(cached) " >&6
59623 else
59624
59625
59626 ac_ext=cpp
59627 ac_cpp='$CXXCPP $CPPFLAGS'
59628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59631
59632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59633 /* end confdefs.h. */
59634 #include <stdlib.h>
59635 int
59636 main ()
59637 {
59638 strtold(0, 0);
59639 ;
59640 return 0;
59641 }
59642 _ACEOF
59643 if ac_fn_cxx_try_compile "$LINENO"; then :
59644 glibcxx_cv_func_strtold_use=yes
59645 else
59646 glibcxx_cv_func_strtold_use=no
59647 fi
59648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59649 ac_ext=c
59650 ac_cpp='$CPP $CPPFLAGS'
59651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59654
59655
59656 fi
59657
59658 fi
59659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59660 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59661 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59662 for ac_func in strtold
59663 do :
59664 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59665 if test "x$ac_cv_func_strtold" = x""yes; then :
59666 cat >>confdefs.h <<_ACEOF
59667 #define HAVE_STRTOLD 1
59668 _ACEOF
59669
59670 fi
59671 done
59672
59673 fi
59674
59675
59676
59677
59678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59679 $as_echo_n "checking for strtof declaration... " >&6; }
59680 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59681 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59682 $as_echo_n "(cached) " >&6
59683 else
59684
59685
59686 ac_ext=cpp
59687 ac_cpp='$CXXCPP $CPPFLAGS'
59688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59691
59692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59693 /* end confdefs.h. */
59694 #include <stdlib.h>
59695 int
59696 main ()
59697 {
59698 strtof(0, 0);
59699 ;
59700 return 0;
59701 }
59702 _ACEOF
59703 if ac_fn_cxx_try_compile "$LINENO"; then :
59704 glibcxx_cv_func_strtof_use=yes
59705 else
59706 glibcxx_cv_func_strtof_use=no
59707 fi
59708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59709 ac_ext=c
59710 ac_cpp='$CPP $CPPFLAGS'
59711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59714
59715
59716 fi
59717
59718 fi
59719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59720 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59721 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59722 for ac_func in strtof
59723 do :
59724 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59725 if test "x$ac_cv_func_strtof" = x""yes; then :
59726 cat >>confdefs.h <<_ACEOF
59727 #define HAVE_STRTOF 1
59728 _ACEOF
59729
59730 fi
59731 done
59732
59733 fi
59734
59735
59736
59737
59738 CXXFLAGS="$ac_save_CXXFLAGS"
59739
59740 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59741
59742
59743
59744 # Check whether --enable-tls was given.
59745 if test "${enable_tls+set}" = set; then :
59746 enableval=$enable_tls;
59747 case "$enableval" in
59748 yes|no) ;;
59749 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59750 esac
59751
59752 else
59753 enable_tls=yes
59754 fi
59755
59756
59757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59758 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59759 if test "${gcc_cv_have_tls+set}" = set; then :
59760 $as_echo_n "(cached) " >&6
59761 else
59762
59763 if test "$cross_compiling" = yes; then :
59764 if test x$gcc_no_link = xyes; then
59765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59766 fi
59767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59768 /* end confdefs.h. */
59769 __thread int a; int b; int main() { return a = b; }
59770 _ACEOF
59771 if ac_fn_c_try_link "$LINENO"; then :
59772 chktls_save_LDFLAGS="$LDFLAGS"
59773 case $host in
59774 *-*-linux*)
59775 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59776 ;;
59777 esac
59778 chktls_save_CFLAGS="$CFLAGS"
59779 CFLAGS="-fPIC $CFLAGS"
59780 if test x$gcc_no_link = xyes; then
59781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59782 fi
59783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59784 /* end confdefs.h. */
59785 int f() { return 0; }
59786 _ACEOF
59787 if ac_fn_c_try_link "$LINENO"; then :
59788 if test x$gcc_no_link = xyes; then
59789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59790 fi
59791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59792 /* end confdefs.h. */
59793 __thread int a; int b; int f() { return a = b; }
59794 _ACEOF
59795 if ac_fn_c_try_link "$LINENO"; then :
59796 gcc_cv_have_tls=yes
59797 else
59798 gcc_cv_have_tls=no
59799 fi
59800 rm -f core conftest.err conftest.$ac_objext \
59801 conftest$ac_exeext conftest.$ac_ext
59802 else
59803 gcc_cv_have_tls=yes
59804 fi
59805 rm -f core conftest.err conftest.$ac_objext \
59806 conftest$ac_exeext conftest.$ac_ext
59807 CFLAGS="$chktls_save_CFLAGS"
59808 LDFLAGS="$chktls_save_LDFLAGS"
59809 else
59810 gcc_cv_have_tls=no
59811 fi
59812 rm -f core conftest.err conftest.$ac_objext \
59813 conftest$ac_exeext conftest.$ac_ext
59814
59815
59816 else
59817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59818 /* end confdefs.h. */
59819 __thread int a; int b; int main() { return a = b; }
59820 _ACEOF
59821 if ac_fn_c_try_run "$LINENO"; then :
59822 chktls_save_LDFLAGS="$LDFLAGS"
59823 LDFLAGS="-static $LDFLAGS"
59824 if test x$gcc_no_link = xyes; then
59825 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59826 fi
59827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59828 /* end confdefs.h. */
59829 int main() { return 0; }
59830 _ACEOF
59831 if ac_fn_c_try_link "$LINENO"; then :
59832 if test "$cross_compiling" = yes; then :
59833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59835 as_fn_error "cannot run test program while cross compiling
59836 See \`config.log' for more details." "$LINENO" 5; }
59837 else
59838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59839 /* end confdefs.h. */
59840 __thread int a; int b; int main() { return a = b; }
59841 _ACEOF
59842 if ac_fn_c_try_run "$LINENO"; then :
59843 gcc_cv_have_tls=yes
59844 else
59845 gcc_cv_have_tls=no
59846 fi
59847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59848 conftest.$ac_objext conftest.beam conftest.$ac_ext
59849 fi
59850
59851 else
59852 gcc_cv_have_tls=yes
59853 fi
59854 rm -f core conftest.err conftest.$ac_objext \
59855 conftest$ac_exeext conftest.$ac_ext
59856 LDFLAGS="$chktls_save_LDFLAGS"
59857 if test $gcc_cv_have_tls = yes; then
59858 chktls_save_CFLAGS="$CFLAGS"
59859 thread_CFLAGS=failed
59860 for flag in '' '-pthread' '-lpthread'; do
59861 CFLAGS="$flag $chktls_save_CFLAGS"
59862 if test x$gcc_no_link = xyes; then
59863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59864 fi
59865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59866 /* end confdefs.h. */
59867 #include <pthread.h>
59868 void *g(void *d) { return NULL; }
59869 int
59870 main ()
59871 {
59872 pthread_t t; pthread_create(&t,NULL,g,NULL);
59873 ;
59874 return 0;
59875 }
59876 _ACEOF
59877 if ac_fn_c_try_link "$LINENO"; then :
59878 thread_CFLAGS="$flag"
59879 fi
59880 rm -f core conftest.err conftest.$ac_objext \
59881 conftest$ac_exeext conftest.$ac_ext
59882 if test "X$thread_CFLAGS" != Xfailed; then
59883 break
59884 fi
59885 done
59886 CFLAGS="$chktls_save_CFLAGS"
59887 if test "X$thread_CFLAGS" != Xfailed; then
59888 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59889 if test "$cross_compiling" = yes; then :
59890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59892 as_fn_error "cannot run test program while cross compiling
59893 See \`config.log' for more details." "$LINENO" 5; }
59894 else
59895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59896 /* end confdefs.h. */
59897 #include <pthread.h>
59898 __thread int a;
59899 static int *volatile a_in_other_thread;
59900 static void *
59901 thread_func (void *arg)
59902 {
59903 a_in_other_thread = &a;
59904 return (void *)0;
59905 }
59906 int
59907 main ()
59908 {
59909 pthread_t thread;
59910 void *thread_retval;
59911 int *volatile a_in_main_thread;
59912 a_in_main_thread = &a;
59913 if (pthread_create (&thread, (pthread_attr_t *)0,
59914 thread_func, (void *)0))
59915 return 0;
59916 if (pthread_join (thread, &thread_retval))
59917 return 0;
59918 return (a_in_other_thread == a_in_main_thread);
59919 ;
59920 return 0;
59921 }
59922 _ACEOF
59923 if ac_fn_c_try_run "$LINENO"; then :
59924 gcc_cv_have_tls=yes
59925 else
59926 gcc_cv_have_tls=no
59927 fi
59928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59929 conftest.$ac_objext conftest.beam conftest.$ac_ext
59930 fi
59931
59932 CFLAGS="$chktls_save_CFLAGS"
59933 fi
59934 fi
59935 else
59936 gcc_cv_have_tls=no
59937 fi
59938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59939 conftest.$ac_objext conftest.beam conftest.$ac_ext
59940 fi
59941
59942 fi
59943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59944 $as_echo "$gcc_cv_have_tls" >&6; }
59945 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59946
59947 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59948
59949 fi
59950 for ac_func in __cxa_thread_atexit_impl
59951 do :
59952 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59953 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59954 cat >>confdefs.h <<_ACEOF
59955 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59956 _ACEOF
59957
59958 fi
59959 done
59960
59961 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59962 do :
59963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59965 eval as_val=\$$as_ac_var
59966 if test "x$as_val" = x""yes; then :
59967 cat >>confdefs.h <<_ACEOF
59968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59969 _ACEOF
59970
59971 fi
59972 done
59973
59974
59975
59976
59977
59978
59979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59980 $as_echo_n "checking for iconv... " >&6; }
59981 if test "${am_cv_func_iconv+set}" = set; then :
59982 $as_echo_n "(cached) " >&6
59983 else
59984
59985 am_cv_func_iconv="no, consider installing GNU libiconv"
59986 am_cv_lib_iconv=no
59987 am_save_CPPFLAGS="$CPPFLAGS"
59988 CPPFLAGS="$CPPFLAGS $INCICONV"
59989 if test x$gcc_no_link = xyes; then
59990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59991 fi
59992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59993 /* end confdefs.h. */
59994 #include <stdlib.h>
59995 #include <iconv.h>
59996 int
59997 main ()
59998 {
59999 iconv_t cd = iconv_open("","");
60000 iconv(cd,NULL,NULL,NULL,NULL);
60001 iconv_close(cd);
60002 ;
60003 return 0;
60004 }
60005 _ACEOF
60006 if ac_fn_c_try_link "$LINENO"; then :
60007 am_cv_func_iconv=yes
60008 fi
60009 rm -f core conftest.err conftest.$ac_objext \
60010 conftest$ac_exeext conftest.$ac_ext
60011 CPPFLAGS="$am_save_CPPFLAGS"
60012
60013 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60014 for _libs in .libs _libs; do
60015 am_save_CPPFLAGS="$CPPFLAGS"
60016 am_save_LIBS="$LIBS"
60017 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60018 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60019 if test x$gcc_no_link = xyes; then
60020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60021 fi
60022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60023 /* end confdefs.h. */
60024 #include <stdlib.h>
60025 #include <iconv.h>
60026 int
60027 main ()
60028 {
60029 iconv_t cd = iconv_open("","");
60030 iconv(cd,NULL,NULL,NULL,NULL);
60031 iconv_close(cd);
60032 ;
60033 return 0;
60034 }
60035 _ACEOF
60036 if ac_fn_c_try_link "$LINENO"; then :
60037 INCICONV="-I../libiconv/include"
60038 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60039 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60040 am_cv_lib_iconv=yes
60041 am_cv_func_iconv=yes
60042 fi
60043 rm -f core conftest.err conftest.$ac_objext \
60044 conftest$ac_exeext conftest.$ac_ext
60045 CPPFLAGS="$am_save_CPPFLAGS"
60046 LIBS="$am_save_LIBS"
60047 if test "$am_cv_func_iconv" = "yes"; then
60048 break
60049 fi
60050 done
60051 fi
60052
60053 if test "$am_cv_func_iconv" != yes; then
60054 am_save_CPPFLAGS="$CPPFLAGS"
60055 am_save_LIBS="$LIBS"
60056 CPPFLAGS="$LIBS $INCICONV"
60057 LIBS="$LIBS $LIBICONV"
60058 if test x$gcc_no_link = xyes; then
60059 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60060 fi
60061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60062 /* end confdefs.h. */
60063 #include <stdlib.h>
60064 #include <iconv.h>
60065 int
60066 main ()
60067 {
60068 iconv_t cd = iconv_open("","");
60069 iconv(cd,NULL,NULL,NULL,NULL);
60070 iconv_close(cd);
60071 ;
60072 return 0;
60073 }
60074 _ACEOF
60075 if ac_fn_c_try_link "$LINENO"; then :
60076 am_cv_lib_iconv=yes
60077 am_cv_func_iconv=yes
60078 fi
60079 rm -f core conftest.err conftest.$ac_objext \
60080 conftest$ac_exeext conftest.$ac_ext
60081 CPPFLAGS="$am_save_CPPFLAGS"
60082 LIBS="$am_save_LIBS"
60083 fi
60084
60085 fi
60086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60087 $as_echo "$am_cv_func_iconv" >&6; }
60088 if test "$am_cv_func_iconv" = yes; then
60089
60090 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60091
60092 fi
60093 if test "$am_cv_lib_iconv" = yes; then
60094
60095 for element in $INCICONV; do
60096 haveit=
60097 for x in $CPPFLAGS; do
60098
60099 acl_save_prefix="$prefix"
60100 prefix="$acl_final_prefix"
60101 acl_save_exec_prefix="$exec_prefix"
60102 exec_prefix="$acl_final_exec_prefix"
60103 eval x=\"$x\"
60104 exec_prefix="$acl_save_exec_prefix"
60105 prefix="$acl_save_prefix"
60106
60107 if test "X$x" = "X$element"; then
60108 haveit=yes
60109 break
60110 fi
60111 done
60112 if test -z "$haveit"; then
60113 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60114 fi
60115 done
60116
60117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60118 $as_echo_n "checking how to link with libiconv... " >&6; }
60119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60120 $as_echo "$LIBICONV" >&6; }
60121 else
60122 LIBICONV=
60123 LTLIBICONV=
60124 fi
60125
60126
60127
60128 if test "$am_cv_func_iconv" = yes; then
60129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60130 $as_echo_n "checking for iconv declaration... " >&6; }
60131 if test "${am_cv_proto_iconv+set}" = set; then :
60132 $as_echo_n "(cached) " >&6
60133 else
60134
60135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60136 /* end confdefs.h. */
60137
60138 #include <stdlib.h>
60139 #include <iconv.h>
60140 extern
60141 #ifdef __cplusplus
60142 "C"
60143 #endif
60144 #if defined(__STDC__) || defined(__cplusplus)
60145 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60146 #else
60147 size_t iconv();
60148 #endif
60149
60150 int
60151 main ()
60152 {
60153
60154 ;
60155 return 0;
60156 }
60157 _ACEOF
60158 if ac_fn_c_try_compile "$LINENO"; then :
60159 am_cv_proto_iconv_arg1=""
60160 else
60161 am_cv_proto_iconv_arg1="const"
60162 fi
60163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60164 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);"
60165 fi
60166
60167 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60169 }$am_cv_proto_iconv" >&5
60170 $as_echo "${ac_t:-
60171 }$am_cv_proto_iconv" >&6; }
60172
60173 cat >>confdefs.h <<_ACEOF
60174 #define ICONV_CONST $am_cv_proto_iconv_arg1
60175 _ACEOF
60176
60177 fi
60178
60179 ;;
60180 *-mingw32*)
60181
60182 # If we're not using GNU ld, then there's no point in even trying these
60183 # tests. Check for that first. We should have already tested for gld
60184 # by now (in libtool), but require it now just to be safe...
60185 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60186 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60187
60188
60189
60190 # The name set by libtool depends on the version of libtool. Shame on us
60191 # for depending on an impl detail, but c'est la vie. Older versions used
60192 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60193 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60194 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60195 # set (hence we're using an older libtool), then set it.
60196 if test x${with_gnu_ld+set} != xset; then
60197 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60198 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60199 with_gnu_ld=no
60200 else
60201 with_gnu_ld=$ac_cv_prog_gnu_ld
60202 fi
60203 fi
60204
60205 # Start by getting the version number. I think the libtool test already
60206 # does some of this, but throws away the result.
60207 glibcxx_ld_is_gold=no
60208 if test x"$with_gnu_ld" = x"yes"; then
60209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60210 $as_echo_n "checking for ld version... " >&6; }
60211
60212 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60213 glibcxx_ld_is_gold=yes
60214 fi
60215 ldver=`$LD --version 2>/dev/null |
60216 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'`
60217
60218 glibcxx_gnu_ld_version=`echo $ldver | \
60219 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60221 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60222 fi
60223
60224 # Set --gc-sections.
60225 glibcxx_have_gc_sections=no
60226 if test "$glibcxx_ld_is_gold" = "yes"; then
60227 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60228 glibcxx_have_gc_sections=yes
60229 fi
60230 else
60231 glibcxx_gcsections_min_ld=21602
60232 if test x"$with_gnu_ld" = x"yes" &&
60233 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60234 glibcxx_have_gc_sections=yes
60235 fi
60236 fi
60237 if test "$glibcxx_have_gc_sections" = "yes"; then
60238 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60239 # NB: This flag only works reliably after 2.16.1. Configure tests
60240 # for this are difficult, so hard wire a value that should work.
60241
60242 ac_test_CFLAGS="${CFLAGS+set}"
60243 ac_save_CFLAGS="$CFLAGS"
60244 CFLAGS='-Wl,--gc-sections'
60245
60246 # Check for -Wl,--gc-sections
60247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60248 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60249 if test x$gcc_no_link = xyes; then
60250 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60251 fi
60252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60253 /* end confdefs.h. */
60254 int one(void) { return 1; }
60255 int two(void) { return 2; }
60256
60257 int
60258 main ()
60259 {
60260 two();
60261 ;
60262 return 0;
60263 }
60264 _ACEOF
60265 if ac_fn_c_try_link "$LINENO"; then :
60266 ac_gcsections=yes
60267 else
60268 ac_gcsections=no
60269 fi
60270 rm -f core conftest.err conftest.$ac_objext \
60271 conftest$ac_exeext conftest.$ac_ext
60272 if test "$ac_gcsections" = "yes"; then
60273 rm -f conftest.c
60274 touch conftest.c
60275 if $CC -c conftest.c; then
60276 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60277 grep "Warning: gc-sections option ignored" > /dev/null; then
60278 ac_gcsections=no
60279 fi
60280 fi
60281 rm -f conftest.c conftest.o conftest
60282 fi
60283 if test "$ac_gcsections" = "yes"; then
60284 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60285 fi
60286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60287 $as_echo "$ac_gcsections" >&6; }
60288
60289 if test "$ac_test_CFLAGS" = set; then
60290 CFLAGS="$ac_save_CFLAGS"
60291 else
60292 # this is the suspicious part
60293 CFLAGS=''
60294 fi
60295 fi
60296
60297 # Set -z,relro.
60298 # Note this is only for shared objects.
60299 ac_ld_relro=no
60300 if test x"$with_gnu_ld" = x"yes"; then
60301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60302 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60303 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60304 if test -n "$cxx_z_relo"; then
60305 OPT_LDFLAGS="-Wl,-z,relro"
60306 ac_ld_relro=yes
60307 fi
60308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60309 $as_echo "$ac_ld_relro" >&6; }
60310 fi
60311
60312 # Set linker optimization flags.
60313 if test x"$with_gnu_ld" = x"yes"; then
60314 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60315 fi
60316
60317
60318
60319
60320
60321 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60322 ac_save_CXXFLAGS="$CXXFLAGS"
60323 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60324
60325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60326 $as_echo_n "checking for sin in -lm... " >&6; }
60327 if test "${ac_cv_lib_m_sin+set}" = set; then :
60328 $as_echo_n "(cached) " >&6
60329 else
60330 ac_check_lib_save_LIBS=$LIBS
60331 LIBS="-lm $LIBS"
60332 if test x$gcc_no_link = xyes; then
60333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60334 fi
60335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60336 /* end confdefs.h. */
60337
60338 /* Override any GCC internal prototype to avoid an error.
60339 Use char because int might match the return type of a GCC
60340 builtin and then its argument prototype would still apply. */
60341 #ifdef __cplusplus
60342 extern "C"
60343 #endif
60344 char sin ();
60345 int
60346 main ()
60347 {
60348 return sin ();
60349 ;
60350 return 0;
60351 }
60352 _ACEOF
60353 if ac_fn_c_try_link "$LINENO"; then :
60354 ac_cv_lib_m_sin=yes
60355 else
60356 ac_cv_lib_m_sin=no
60357 fi
60358 rm -f core conftest.err conftest.$ac_objext \
60359 conftest$ac_exeext conftest.$ac_ext
60360 LIBS=$ac_check_lib_save_LIBS
60361 fi
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60363 $as_echo "$ac_cv_lib_m_sin" >&6; }
60364 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60365 libm="-lm"
60366 fi
60367
60368 ac_save_LIBS="$LIBS"
60369 LIBS="$LIBS $libm"
60370
60371
60372
60373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60374 $as_echo_n "checking for isinf declaration... " >&6; }
60375 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60376 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60377 $as_echo_n "(cached) " >&6
60378 else
60379
60380
60381 ac_ext=cpp
60382 ac_cpp='$CXXCPP $CPPFLAGS'
60383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60386
60387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60388 /* end confdefs.h. */
60389 #include <math.h>
60390 #ifdef HAVE_IEEEFP_H
60391 #include <ieeefp.h>
60392 #endif
60393
60394 int
60395 main ()
60396 {
60397 isinf(0);
60398 ;
60399 return 0;
60400 }
60401 _ACEOF
60402 if ac_fn_cxx_try_compile "$LINENO"; then :
60403 glibcxx_cv_func_isinf_use=yes
60404 else
60405 glibcxx_cv_func_isinf_use=no
60406 fi
60407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60408 ac_ext=c
60409 ac_cpp='$CPP $CPPFLAGS'
60410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60413
60414
60415 fi
60416
60417 fi
60418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60419 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60420
60421 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60422 for ac_func in isinf
60423 do :
60424 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60425 if test "x$ac_cv_func_isinf" = x""yes; then :
60426 cat >>confdefs.h <<_ACEOF
60427 #define HAVE_ISINF 1
60428 _ACEOF
60429
60430 fi
60431 done
60432
60433 else
60434
60435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60436 $as_echo_n "checking for _isinf declaration... " >&6; }
60437 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60438 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60439 $as_echo_n "(cached) " >&6
60440 else
60441
60442
60443 ac_ext=cpp
60444 ac_cpp='$CXXCPP $CPPFLAGS'
60445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60448
60449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60450 /* end confdefs.h. */
60451 #include <math.h>
60452 #ifdef HAVE_IEEEFP_H
60453 #include <ieeefp.h>
60454 #endif
60455
60456 int
60457 main ()
60458 {
60459 _isinf(0);
60460 ;
60461 return 0;
60462 }
60463 _ACEOF
60464 if ac_fn_cxx_try_compile "$LINENO"; then :
60465 glibcxx_cv_func__isinf_use=yes
60466 else
60467 glibcxx_cv_func__isinf_use=no
60468 fi
60469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60470 ac_ext=c
60471 ac_cpp='$CPP $CPPFLAGS'
60472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60475
60476
60477 fi
60478
60479 fi
60480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60481 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60482
60483 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60484 for ac_func in _isinf
60485 do :
60486 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60487 if test "x$ac_cv_func__isinf" = x""yes; then :
60488 cat >>confdefs.h <<_ACEOF
60489 #define HAVE__ISINF 1
60490 _ACEOF
60491
60492 fi
60493 done
60494
60495 fi
60496 fi
60497
60498
60499
60500
60501
60502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60503 $as_echo_n "checking for isnan declaration... " >&6; }
60504 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60505 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60506 $as_echo_n "(cached) " >&6
60507 else
60508
60509
60510 ac_ext=cpp
60511 ac_cpp='$CXXCPP $CPPFLAGS'
60512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60515
60516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60517 /* end confdefs.h. */
60518 #include <math.h>
60519 #ifdef HAVE_IEEEFP_H
60520 #include <ieeefp.h>
60521 #endif
60522
60523 int
60524 main ()
60525 {
60526 isnan(0);
60527 ;
60528 return 0;
60529 }
60530 _ACEOF
60531 if ac_fn_cxx_try_compile "$LINENO"; then :
60532 glibcxx_cv_func_isnan_use=yes
60533 else
60534 glibcxx_cv_func_isnan_use=no
60535 fi
60536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60537 ac_ext=c
60538 ac_cpp='$CPP $CPPFLAGS'
60539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60542
60543
60544 fi
60545
60546 fi
60547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60548 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60549
60550 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60551 for ac_func in isnan
60552 do :
60553 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60554 if test "x$ac_cv_func_isnan" = x""yes; then :
60555 cat >>confdefs.h <<_ACEOF
60556 #define HAVE_ISNAN 1
60557 _ACEOF
60558
60559 fi
60560 done
60561
60562 else
60563
60564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60565 $as_echo_n "checking for _isnan declaration... " >&6; }
60566 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60567 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60568 $as_echo_n "(cached) " >&6
60569 else
60570
60571
60572 ac_ext=cpp
60573 ac_cpp='$CXXCPP $CPPFLAGS'
60574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60577
60578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60579 /* end confdefs.h. */
60580 #include <math.h>
60581 #ifdef HAVE_IEEEFP_H
60582 #include <ieeefp.h>
60583 #endif
60584
60585 int
60586 main ()
60587 {
60588 _isnan(0);
60589 ;
60590 return 0;
60591 }
60592 _ACEOF
60593 if ac_fn_cxx_try_compile "$LINENO"; then :
60594 glibcxx_cv_func__isnan_use=yes
60595 else
60596 glibcxx_cv_func__isnan_use=no
60597 fi
60598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60599 ac_ext=c
60600 ac_cpp='$CPP $CPPFLAGS'
60601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60604
60605
60606 fi
60607
60608 fi
60609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60610 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60611
60612 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60613 for ac_func in _isnan
60614 do :
60615 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60616 if test "x$ac_cv_func__isnan" = x""yes; then :
60617 cat >>confdefs.h <<_ACEOF
60618 #define HAVE__ISNAN 1
60619 _ACEOF
60620
60621 fi
60622 done
60623
60624 fi
60625 fi
60626
60627
60628
60629
60630
60631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60632 $as_echo_n "checking for finite declaration... " >&6; }
60633 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60634 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60635 $as_echo_n "(cached) " >&6
60636 else
60637
60638
60639 ac_ext=cpp
60640 ac_cpp='$CXXCPP $CPPFLAGS'
60641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60644
60645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60646 /* end confdefs.h. */
60647 #include <math.h>
60648 #ifdef HAVE_IEEEFP_H
60649 #include <ieeefp.h>
60650 #endif
60651
60652 int
60653 main ()
60654 {
60655 finite(0);
60656 ;
60657 return 0;
60658 }
60659 _ACEOF
60660 if ac_fn_cxx_try_compile "$LINENO"; then :
60661 glibcxx_cv_func_finite_use=yes
60662 else
60663 glibcxx_cv_func_finite_use=no
60664 fi
60665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60666 ac_ext=c
60667 ac_cpp='$CPP $CPPFLAGS'
60668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60671
60672
60673 fi
60674
60675 fi
60676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60677 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60678
60679 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60680 for ac_func in finite
60681 do :
60682 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60683 if test "x$ac_cv_func_finite" = x""yes; then :
60684 cat >>confdefs.h <<_ACEOF
60685 #define HAVE_FINITE 1
60686 _ACEOF
60687
60688 fi
60689 done
60690
60691 else
60692
60693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60694 $as_echo_n "checking for _finite declaration... " >&6; }
60695 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60696 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60697 $as_echo_n "(cached) " >&6
60698 else
60699
60700
60701 ac_ext=cpp
60702 ac_cpp='$CXXCPP $CPPFLAGS'
60703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60706
60707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60708 /* end confdefs.h. */
60709 #include <math.h>
60710 #ifdef HAVE_IEEEFP_H
60711 #include <ieeefp.h>
60712 #endif
60713
60714 int
60715 main ()
60716 {
60717 _finite(0);
60718 ;
60719 return 0;
60720 }
60721 _ACEOF
60722 if ac_fn_cxx_try_compile "$LINENO"; then :
60723 glibcxx_cv_func__finite_use=yes
60724 else
60725 glibcxx_cv_func__finite_use=no
60726 fi
60727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60728 ac_ext=c
60729 ac_cpp='$CPP $CPPFLAGS'
60730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60733
60734
60735 fi
60736
60737 fi
60738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60739 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60740
60741 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60742 for ac_func in _finite
60743 do :
60744 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60745 if test "x$ac_cv_func__finite" = x""yes; then :
60746 cat >>confdefs.h <<_ACEOF
60747 #define HAVE__FINITE 1
60748 _ACEOF
60749
60750 fi
60751 done
60752
60753 fi
60754 fi
60755
60756
60757
60758
60759
60760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60761 $as_echo_n "checking for sincos declaration... " >&6; }
60762 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60763 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60764 $as_echo_n "(cached) " >&6
60765 else
60766
60767
60768 ac_ext=cpp
60769 ac_cpp='$CXXCPP $CPPFLAGS'
60770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60773
60774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60775 /* end confdefs.h. */
60776 #include <math.h>
60777 int
60778 main ()
60779 {
60780 sincos(0, 0, 0);
60781 ;
60782 return 0;
60783 }
60784 _ACEOF
60785 if ac_fn_cxx_try_compile "$LINENO"; then :
60786 glibcxx_cv_func_sincos_use=yes
60787 else
60788 glibcxx_cv_func_sincos_use=no
60789 fi
60790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60791 ac_ext=c
60792 ac_cpp='$CPP $CPPFLAGS'
60793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60796
60797
60798 fi
60799
60800 fi
60801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60802 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60803
60804 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60805 for ac_func in sincos
60806 do :
60807 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60808 if test "x$ac_cv_func_sincos" = x""yes; then :
60809 cat >>confdefs.h <<_ACEOF
60810 #define HAVE_SINCOS 1
60811 _ACEOF
60812
60813 fi
60814 done
60815
60816 else
60817
60818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60819 $as_echo_n "checking for _sincos declaration... " >&6; }
60820 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60821 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60822 $as_echo_n "(cached) " >&6
60823 else
60824
60825
60826 ac_ext=cpp
60827 ac_cpp='$CXXCPP $CPPFLAGS'
60828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60831
60832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60833 /* end confdefs.h. */
60834 #include <math.h>
60835 int
60836 main ()
60837 {
60838 _sincos(0, 0, 0);
60839 ;
60840 return 0;
60841 }
60842 _ACEOF
60843 if ac_fn_cxx_try_compile "$LINENO"; then :
60844 glibcxx_cv_func__sincos_use=yes
60845 else
60846 glibcxx_cv_func__sincos_use=no
60847 fi
60848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60849 ac_ext=c
60850 ac_cpp='$CPP $CPPFLAGS'
60851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60854
60855
60856 fi
60857
60858 fi
60859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60860 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60861
60862 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60863 for ac_func in _sincos
60864 do :
60865 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60866 if test "x$ac_cv_func__sincos" = x""yes; then :
60867 cat >>confdefs.h <<_ACEOF
60868 #define HAVE__SINCOS 1
60869 _ACEOF
60870
60871 fi
60872 done
60873
60874 fi
60875 fi
60876
60877
60878
60879
60880
60881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60882 $as_echo_n "checking for fpclass declaration... " >&6; }
60883 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60884 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60885 $as_echo_n "(cached) " >&6
60886 else
60887
60888
60889 ac_ext=cpp
60890 ac_cpp='$CXXCPP $CPPFLAGS'
60891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60894
60895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60896 /* end confdefs.h. */
60897 #include <math.h>
60898 #ifdef HAVE_IEEEFP_H
60899 #include <ieeefp.h>
60900 #endif
60901
60902 int
60903 main ()
60904 {
60905 fpclass(0);
60906 ;
60907 return 0;
60908 }
60909 _ACEOF
60910 if ac_fn_cxx_try_compile "$LINENO"; then :
60911 glibcxx_cv_func_fpclass_use=yes
60912 else
60913 glibcxx_cv_func_fpclass_use=no
60914 fi
60915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60916 ac_ext=c
60917 ac_cpp='$CPP $CPPFLAGS'
60918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60921
60922
60923 fi
60924
60925 fi
60926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60927 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60928
60929 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60930 for ac_func in fpclass
60931 do :
60932 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60933 if test "x$ac_cv_func_fpclass" = x""yes; then :
60934 cat >>confdefs.h <<_ACEOF
60935 #define HAVE_FPCLASS 1
60936 _ACEOF
60937
60938 fi
60939 done
60940
60941 else
60942
60943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60944 $as_echo_n "checking for _fpclass declaration... " >&6; }
60945 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60946 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60947 $as_echo_n "(cached) " >&6
60948 else
60949
60950
60951 ac_ext=cpp
60952 ac_cpp='$CXXCPP $CPPFLAGS'
60953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60956
60957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60958 /* end confdefs.h. */
60959 #include <math.h>
60960 #ifdef HAVE_IEEEFP_H
60961 #include <ieeefp.h>
60962 #endif
60963
60964 int
60965 main ()
60966 {
60967 _fpclass(0);
60968 ;
60969 return 0;
60970 }
60971 _ACEOF
60972 if ac_fn_cxx_try_compile "$LINENO"; then :
60973 glibcxx_cv_func__fpclass_use=yes
60974 else
60975 glibcxx_cv_func__fpclass_use=no
60976 fi
60977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60978 ac_ext=c
60979 ac_cpp='$CPP $CPPFLAGS'
60980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60983
60984
60985 fi
60986
60987 fi
60988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60989 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60990
60991 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60992 for ac_func in _fpclass
60993 do :
60994 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60995 if test "x$ac_cv_func__fpclass" = x""yes; then :
60996 cat >>confdefs.h <<_ACEOF
60997 #define HAVE__FPCLASS 1
60998 _ACEOF
60999
61000 fi
61001 done
61002
61003 fi
61004 fi
61005
61006
61007
61008
61009
61010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61011 $as_echo_n "checking for qfpclass declaration... " >&6; }
61012 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61013 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61014 $as_echo_n "(cached) " >&6
61015 else
61016
61017
61018 ac_ext=cpp
61019 ac_cpp='$CXXCPP $CPPFLAGS'
61020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61023
61024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61025 /* end confdefs.h. */
61026 #include <math.h>
61027 #ifdef HAVE_IEEEFP_H
61028 #include <ieeefp.h>
61029 #endif
61030
61031 int
61032 main ()
61033 {
61034 qfpclass(0);
61035 ;
61036 return 0;
61037 }
61038 _ACEOF
61039 if ac_fn_cxx_try_compile "$LINENO"; then :
61040 glibcxx_cv_func_qfpclass_use=yes
61041 else
61042 glibcxx_cv_func_qfpclass_use=no
61043 fi
61044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61045 ac_ext=c
61046 ac_cpp='$CPP $CPPFLAGS'
61047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61050
61051
61052 fi
61053
61054 fi
61055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61056 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61057
61058 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61059 for ac_func in qfpclass
61060 do :
61061 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61062 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61063 cat >>confdefs.h <<_ACEOF
61064 #define HAVE_QFPCLASS 1
61065 _ACEOF
61066
61067 fi
61068 done
61069
61070 else
61071
61072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61073 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61074 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61075 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61076 $as_echo_n "(cached) " >&6
61077 else
61078
61079
61080 ac_ext=cpp
61081 ac_cpp='$CXXCPP $CPPFLAGS'
61082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61085
61086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61087 /* end confdefs.h. */
61088 #include <math.h>
61089 #ifdef HAVE_IEEEFP_H
61090 #include <ieeefp.h>
61091 #endif
61092
61093 int
61094 main ()
61095 {
61096 _qfpclass(0);
61097 ;
61098 return 0;
61099 }
61100 _ACEOF
61101 if ac_fn_cxx_try_compile "$LINENO"; then :
61102 glibcxx_cv_func__qfpclass_use=yes
61103 else
61104 glibcxx_cv_func__qfpclass_use=no
61105 fi
61106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61107 ac_ext=c
61108 ac_cpp='$CPP $CPPFLAGS'
61109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61112
61113
61114 fi
61115
61116 fi
61117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61118 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61119
61120 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61121 for ac_func in _qfpclass
61122 do :
61123 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61124 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61125 cat >>confdefs.h <<_ACEOF
61126 #define HAVE__QFPCLASS 1
61127 _ACEOF
61128
61129 fi
61130 done
61131
61132 fi
61133 fi
61134
61135
61136
61137
61138
61139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61140 $as_echo_n "checking for hypot declaration... " >&6; }
61141 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61142 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61143 $as_echo_n "(cached) " >&6
61144 else
61145
61146
61147 ac_ext=cpp
61148 ac_cpp='$CXXCPP $CPPFLAGS'
61149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61152
61153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61154 /* end confdefs.h. */
61155 #include <math.h>
61156 int
61157 main ()
61158 {
61159 hypot(0, 0);
61160 ;
61161 return 0;
61162 }
61163 _ACEOF
61164 if ac_fn_cxx_try_compile "$LINENO"; then :
61165 glibcxx_cv_func_hypot_use=yes
61166 else
61167 glibcxx_cv_func_hypot_use=no
61168 fi
61169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61170 ac_ext=c
61171 ac_cpp='$CPP $CPPFLAGS'
61172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61175
61176
61177 fi
61178
61179 fi
61180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61181 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61182
61183 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61184 for ac_func in hypot
61185 do :
61186 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61187 if test "x$ac_cv_func_hypot" = x""yes; then :
61188 cat >>confdefs.h <<_ACEOF
61189 #define HAVE_HYPOT 1
61190 _ACEOF
61191
61192 fi
61193 done
61194
61195 else
61196
61197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61198 $as_echo_n "checking for _hypot declaration... " >&6; }
61199 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61200 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61201 $as_echo_n "(cached) " >&6
61202 else
61203
61204
61205 ac_ext=cpp
61206 ac_cpp='$CXXCPP $CPPFLAGS'
61207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61210
61211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61212 /* end confdefs.h. */
61213 #include <math.h>
61214 int
61215 main ()
61216 {
61217 _hypot(0, 0);
61218 ;
61219 return 0;
61220 }
61221 _ACEOF
61222 if ac_fn_cxx_try_compile "$LINENO"; then :
61223 glibcxx_cv_func__hypot_use=yes
61224 else
61225 glibcxx_cv_func__hypot_use=no
61226 fi
61227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61228 ac_ext=c
61229 ac_cpp='$CPP $CPPFLAGS'
61230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61233
61234
61235 fi
61236
61237 fi
61238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61239 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61240
61241 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61242 for ac_func in _hypot
61243 do :
61244 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61245 if test "x$ac_cv_func__hypot" = x""yes; then :
61246 cat >>confdefs.h <<_ACEOF
61247 #define HAVE__HYPOT 1
61248 _ACEOF
61249
61250 fi
61251 done
61252
61253 fi
61254 fi
61255
61256
61257
61258
61259
61260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61261 $as_echo_n "checking for float trig functions... " >&6; }
61262 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61263 $as_echo_n "(cached) " >&6
61264 else
61265
61266
61267 ac_ext=cpp
61268 ac_cpp='$CXXCPP $CPPFLAGS'
61269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61272
61273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61274 /* end confdefs.h. */
61275 #include <math.h>
61276 int
61277 main ()
61278 {
61279 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61280 ;
61281 return 0;
61282 }
61283 _ACEOF
61284 if ac_fn_cxx_try_compile "$LINENO"; then :
61285 glibcxx_cv_func_float_trig_use=yes
61286 else
61287 glibcxx_cv_func_float_trig_use=no
61288 fi
61289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61290 ac_ext=c
61291 ac_cpp='$CPP $CPPFLAGS'
61292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61295
61296 fi
61297
61298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61299 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61300 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61301 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61302 do :
61303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61305 eval as_val=\$$as_ac_var
61306 if test "x$as_val" = x""yes; then :
61307 cat >>confdefs.h <<_ACEOF
61308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61309 _ACEOF
61310
61311 fi
61312 done
61313
61314 else
61315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61316 $as_echo_n "checking for _float trig functions... " >&6; }
61317 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61318 $as_echo_n "(cached) " >&6
61319 else
61320
61321
61322 ac_ext=cpp
61323 ac_cpp='$CXXCPP $CPPFLAGS'
61324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61327
61328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61329 /* end confdefs.h. */
61330 #include <math.h>
61331 int
61332 main ()
61333 {
61334 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61335 ;
61336 return 0;
61337 }
61338 _ACEOF
61339 if ac_fn_cxx_try_compile "$LINENO"; then :
61340 glibcxx_cv_func__float_trig_use=yes
61341 else
61342 glibcxx_cv_func__float_trig_use=no
61343 fi
61344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61345 ac_ext=c
61346 ac_cpp='$CPP $CPPFLAGS'
61347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61350
61351 fi
61352
61353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61354 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61355 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61356 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61357 do :
61358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61360 eval as_val=\$$as_ac_var
61361 if test "x$as_val" = x""yes; then :
61362 cat >>confdefs.h <<_ACEOF
61363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61364 _ACEOF
61365
61366 fi
61367 done
61368
61369 fi
61370 fi
61371
61372
61373
61374
61375
61376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61377 $as_echo_n "checking for float round functions... " >&6; }
61378 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61379 $as_echo_n "(cached) " >&6
61380 else
61381
61382
61383 ac_ext=cpp
61384 ac_cpp='$CXXCPP $CPPFLAGS'
61385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61388
61389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61390 /* end confdefs.h. */
61391 #include <math.h>
61392 int
61393 main ()
61394 {
61395 ceilf (0); floorf (0);
61396 ;
61397 return 0;
61398 }
61399 _ACEOF
61400 if ac_fn_cxx_try_compile "$LINENO"; then :
61401 glibcxx_cv_func_float_round_use=yes
61402 else
61403 glibcxx_cv_func_float_round_use=no
61404 fi
61405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61406 ac_ext=c
61407 ac_cpp='$CPP $CPPFLAGS'
61408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61411
61412 fi
61413
61414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61415 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61416 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61417 for ac_func in ceilf floorf
61418 do :
61419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61421 eval as_val=\$$as_ac_var
61422 if test "x$as_val" = x""yes; then :
61423 cat >>confdefs.h <<_ACEOF
61424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61425 _ACEOF
61426
61427 fi
61428 done
61429
61430 else
61431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61432 $as_echo_n "checking for _float round functions... " >&6; }
61433 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61434 $as_echo_n "(cached) " >&6
61435 else
61436
61437
61438 ac_ext=cpp
61439 ac_cpp='$CXXCPP $CPPFLAGS'
61440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61443
61444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61445 /* end confdefs.h. */
61446 #include <math.h>
61447 int
61448 main ()
61449 {
61450 _ceilf (0); _floorf (0);
61451 ;
61452 return 0;
61453 }
61454 _ACEOF
61455 if ac_fn_cxx_try_compile "$LINENO"; then :
61456 glibcxx_cv_func__float_round_use=yes
61457 else
61458 glibcxx_cv_func__float_round_use=no
61459 fi
61460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61461 ac_ext=c
61462 ac_cpp='$CPP $CPPFLAGS'
61463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61466
61467 fi
61468
61469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61470 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61471 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61472 for ac_func in _ceilf _floorf
61473 do :
61474 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61475 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61476 eval as_val=\$$as_ac_var
61477 if test "x$as_val" = x""yes; then :
61478 cat >>confdefs.h <<_ACEOF
61479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61480 _ACEOF
61481
61482 fi
61483 done
61484
61485 fi
61486 fi
61487
61488
61489
61490
61491
61492
61493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61494 $as_echo_n "checking for expf declaration... " >&6; }
61495 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61496 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61497 $as_echo_n "(cached) " >&6
61498 else
61499
61500
61501 ac_ext=cpp
61502 ac_cpp='$CXXCPP $CPPFLAGS'
61503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61506
61507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61508 /* end confdefs.h. */
61509 #include <math.h>
61510 #ifdef HAVE_IEEEFP_H
61511 #include <ieeefp.h>
61512 #endif
61513
61514 int
61515 main ()
61516 {
61517 expf(0);
61518 ;
61519 return 0;
61520 }
61521 _ACEOF
61522 if ac_fn_cxx_try_compile "$LINENO"; then :
61523 glibcxx_cv_func_expf_use=yes
61524 else
61525 glibcxx_cv_func_expf_use=no
61526 fi
61527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61528 ac_ext=c
61529 ac_cpp='$CPP $CPPFLAGS'
61530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61533
61534
61535 fi
61536
61537 fi
61538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61539 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61540
61541 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61542 for ac_func in expf
61543 do :
61544 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61545 if test "x$ac_cv_func_expf" = x""yes; then :
61546 cat >>confdefs.h <<_ACEOF
61547 #define HAVE_EXPF 1
61548 _ACEOF
61549
61550 fi
61551 done
61552
61553 else
61554
61555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61556 $as_echo_n "checking for _expf declaration... " >&6; }
61557 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61558 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61559 $as_echo_n "(cached) " >&6
61560 else
61561
61562
61563 ac_ext=cpp
61564 ac_cpp='$CXXCPP $CPPFLAGS'
61565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61568
61569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61570 /* end confdefs.h. */
61571 #include <math.h>
61572 #ifdef HAVE_IEEEFP_H
61573 #include <ieeefp.h>
61574 #endif
61575
61576 int
61577 main ()
61578 {
61579 _expf(0);
61580 ;
61581 return 0;
61582 }
61583 _ACEOF
61584 if ac_fn_cxx_try_compile "$LINENO"; then :
61585 glibcxx_cv_func__expf_use=yes
61586 else
61587 glibcxx_cv_func__expf_use=no
61588 fi
61589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61590 ac_ext=c
61591 ac_cpp='$CPP $CPPFLAGS'
61592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61595
61596
61597 fi
61598
61599 fi
61600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61601 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61602
61603 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61604 for ac_func in _expf
61605 do :
61606 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61607 if test "x$ac_cv_func__expf" = x""yes; then :
61608 cat >>confdefs.h <<_ACEOF
61609 #define HAVE__EXPF 1
61610 _ACEOF
61611
61612 fi
61613 done
61614
61615 fi
61616 fi
61617
61618
61619
61620
61621
61622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61623 $as_echo_n "checking for isnanf declaration... " >&6; }
61624 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61625 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61626 $as_echo_n "(cached) " >&6
61627 else
61628
61629
61630 ac_ext=cpp
61631 ac_cpp='$CXXCPP $CPPFLAGS'
61632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61635
61636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61637 /* end confdefs.h. */
61638 #include <math.h>
61639 #ifdef HAVE_IEEEFP_H
61640 #include <ieeefp.h>
61641 #endif
61642
61643 int
61644 main ()
61645 {
61646 isnanf(0);
61647 ;
61648 return 0;
61649 }
61650 _ACEOF
61651 if ac_fn_cxx_try_compile "$LINENO"; then :
61652 glibcxx_cv_func_isnanf_use=yes
61653 else
61654 glibcxx_cv_func_isnanf_use=no
61655 fi
61656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61657 ac_ext=c
61658 ac_cpp='$CPP $CPPFLAGS'
61659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61662
61663
61664 fi
61665
61666 fi
61667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61668 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61669
61670 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61671 for ac_func in isnanf
61672 do :
61673 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61674 if test "x$ac_cv_func_isnanf" = x""yes; then :
61675 cat >>confdefs.h <<_ACEOF
61676 #define HAVE_ISNANF 1
61677 _ACEOF
61678
61679 fi
61680 done
61681
61682 else
61683
61684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61685 $as_echo_n "checking for _isnanf declaration... " >&6; }
61686 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61687 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61688 $as_echo_n "(cached) " >&6
61689 else
61690
61691
61692 ac_ext=cpp
61693 ac_cpp='$CXXCPP $CPPFLAGS'
61694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61697
61698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61699 /* end confdefs.h. */
61700 #include <math.h>
61701 #ifdef HAVE_IEEEFP_H
61702 #include <ieeefp.h>
61703 #endif
61704
61705 int
61706 main ()
61707 {
61708 _isnanf(0);
61709 ;
61710 return 0;
61711 }
61712 _ACEOF
61713 if ac_fn_cxx_try_compile "$LINENO"; then :
61714 glibcxx_cv_func__isnanf_use=yes
61715 else
61716 glibcxx_cv_func__isnanf_use=no
61717 fi
61718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61719 ac_ext=c
61720 ac_cpp='$CPP $CPPFLAGS'
61721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61724
61725
61726 fi
61727
61728 fi
61729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61730 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61731
61732 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61733 for ac_func in _isnanf
61734 do :
61735 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61736 if test "x$ac_cv_func__isnanf" = x""yes; then :
61737 cat >>confdefs.h <<_ACEOF
61738 #define HAVE__ISNANF 1
61739 _ACEOF
61740
61741 fi
61742 done
61743
61744 fi
61745 fi
61746
61747
61748
61749
61750
61751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61752 $as_echo_n "checking for isinff declaration... " >&6; }
61753 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61754 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61755 $as_echo_n "(cached) " >&6
61756 else
61757
61758
61759 ac_ext=cpp
61760 ac_cpp='$CXXCPP $CPPFLAGS'
61761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61764
61765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61766 /* end confdefs.h. */
61767 #include <math.h>
61768 #ifdef HAVE_IEEEFP_H
61769 #include <ieeefp.h>
61770 #endif
61771
61772 int
61773 main ()
61774 {
61775 isinff(0);
61776 ;
61777 return 0;
61778 }
61779 _ACEOF
61780 if ac_fn_cxx_try_compile "$LINENO"; then :
61781 glibcxx_cv_func_isinff_use=yes
61782 else
61783 glibcxx_cv_func_isinff_use=no
61784 fi
61785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61786 ac_ext=c
61787 ac_cpp='$CPP $CPPFLAGS'
61788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61791
61792
61793 fi
61794
61795 fi
61796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61797 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61798
61799 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61800 for ac_func in isinff
61801 do :
61802 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61803 if test "x$ac_cv_func_isinff" = x""yes; then :
61804 cat >>confdefs.h <<_ACEOF
61805 #define HAVE_ISINFF 1
61806 _ACEOF
61807
61808 fi
61809 done
61810
61811 else
61812
61813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61814 $as_echo_n "checking for _isinff declaration... " >&6; }
61815 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61816 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61817 $as_echo_n "(cached) " >&6
61818 else
61819
61820
61821 ac_ext=cpp
61822 ac_cpp='$CXXCPP $CPPFLAGS'
61823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61826
61827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61828 /* end confdefs.h. */
61829 #include <math.h>
61830 #ifdef HAVE_IEEEFP_H
61831 #include <ieeefp.h>
61832 #endif
61833
61834 int
61835 main ()
61836 {
61837 _isinff(0);
61838 ;
61839 return 0;
61840 }
61841 _ACEOF
61842 if ac_fn_cxx_try_compile "$LINENO"; then :
61843 glibcxx_cv_func__isinff_use=yes
61844 else
61845 glibcxx_cv_func__isinff_use=no
61846 fi
61847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61848 ac_ext=c
61849 ac_cpp='$CPP $CPPFLAGS'
61850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61853
61854
61855 fi
61856
61857 fi
61858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61859 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61860
61861 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61862 for ac_func in _isinff
61863 do :
61864 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61865 if test "x$ac_cv_func__isinff" = x""yes; then :
61866 cat >>confdefs.h <<_ACEOF
61867 #define HAVE__ISINFF 1
61868 _ACEOF
61869
61870 fi
61871 done
61872
61873 fi
61874 fi
61875
61876
61877
61878
61879
61880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61881 $as_echo_n "checking for atan2f declaration... " >&6; }
61882 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61883 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61884 $as_echo_n "(cached) " >&6
61885 else
61886
61887
61888 ac_ext=cpp
61889 ac_cpp='$CXXCPP $CPPFLAGS'
61890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61893
61894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61895 /* end confdefs.h. */
61896 #include <math.h>
61897 int
61898 main ()
61899 {
61900 atan2f(0, 0);
61901 ;
61902 return 0;
61903 }
61904 _ACEOF
61905 if ac_fn_cxx_try_compile "$LINENO"; then :
61906 glibcxx_cv_func_atan2f_use=yes
61907 else
61908 glibcxx_cv_func_atan2f_use=no
61909 fi
61910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61911 ac_ext=c
61912 ac_cpp='$CPP $CPPFLAGS'
61913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61916
61917
61918 fi
61919
61920 fi
61921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61922 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61923
61924 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61925 for ac_func in atan2f
61926 do :
61927 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61928 if test "x$ac_cv_func_atan2f" = x""yes; then :
61929 cat >>confdefs.h <<_ACEOF
61930 #define HAVE_ATAN2F 1
61931 _ACEOF
61932
61933 fi
61934 done
61935
61936 else
61937
61938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61939 $as_echo_n "checking for _atan2f declaration... " >&6; }
61940 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61941 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61942 $as_echo_n "(cached) " >&6
61943 else
61944
61945
61946 ac_ext=cpp
61947 ac_cpp='$CXXCPP $CPPFLAGS'
61948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61951
61952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61953 /* end confdefs.h. */
61954 #include <math.h>
61955 int
61956 main ()
61957 {
61958 _atan2f(0, 0);
61959 ;
61960 return 0;
61961 }
61962 _ACEOF
61963 if ac_fn_cxx_try_compile "$LINENO"; then :
61964 glibcxx_cv_func__atan2f_use=yes
61965 else
61966 glibcxx_cv_func__atan2f_use=no
61967 fi
61968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61969 ac_ext=c
61970 ac_cpp='$CPP $CPPFLAGS'
61971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61974
61975
61976 fi
61977
61978 fi
61979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61980 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61981
61982 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61983 for ac_func in _atan2f
61984 do :
61985 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61986 if test "x$ac_cv_func__atan2f" = x""yes; then :
61987 cat >>confdefs.h <<_ACEOF
61988 #define HAVE__ATAN2F 1
61989 _ACEOF
61990
61991 fi
61992 done
61993
61994 fi
61995 fi
61996
61997
61998
61999
62000
62001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62002 $as_echo_n "checking for fabsf declaration... " >&6; }
62003 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62004 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62005 $as_echo_n "(cached) " >&6
62006 else
62007
62008
62009 ac_ext=cpp
62010 ac_cpp='$CXXCPP $CPPFLAGS'
62011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62014
62015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62016 /* end confdefs.h. */
62017 #include <math.h>
62018 #ifdef HAVE_IEEEFP_H
62019 #include <ieeefp.h>
62020 #endif
62021
62022 int
62023 main ()
62024 {
62025 fabsf(0);
62026 ;
62027 return 0;
62028 }
62029 _ACEOF
62030 if ac_fn_cxx_try_compile "$LINENO"; then :
62031 glibcxx_cv_func_fabsf_use=yes
62032 else
62033 glibcxx_cv_func_fabsf_use=no
62034 fi
62035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62036 ac_ext=c
62037 ac_cpp='$CPP $CPPFLAGS'
62038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62041
62042
62043 fi
62044
62045 fi
62046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62047 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62048
62049 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62050 for ac_func in fabsf
62051 do :
62052 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62053 if test "x$ac_cv_func_fabsf" = x""yes; then :
62054 cat >>confdefs.h <<_ACEOF
62055 #define HAVE_FABSF 1
62056 _ACEOF
62057
62058 fi
62059 done
62060
62061 else
62062
62063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62064 $as_echo_n "checking for _fabsf declaration... " >&6; }
62065 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62066 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62067 $as_echo_n "(cached) " >&6
62068 else
62069
62070
62071 ac_ext=cpp
62072 ac_cpp='$CXXCPP $CPPFLAGS'
62073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62076
62077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62078 /* end confdefs.h. */
62079 #include <math.h>
62080 #ifdef HAVE_IEEEFP_H
62081 #include <ieeefp.h>
62082 #endif
62083
62084 int
62085 main ()
62086 {
62087 _fabsf(0);
62088 ;
62089 return 0;
62090 }
62091 _ACEOF
62092 if ac_fn_cxx_try_compile "$LINENO"; then :
62093 glibcxx_cv_func__fabsf_use=yes
62094 else
62095 glibcxx_cv_func__fabsf_use=no
62096 fi
62097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62098 ac_ext=c
62099 ac_cpp='$CPP $CPPFLAGS'
62100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62103
62104
62105 fi
62106
62107 fi
62108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62109 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62110
62111 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62112 for ac_func in _fabsf
62113 do :
62114 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62115 if test "x$ac_cv_func__fabsf" = x""yes; then :
62116 cat >>confdefs.h <<_ACEOF
62117 #define HAVE__FABSF 1
62118 _ACEOF
62119
62120 fi
62121 done
62122
62123 fi
62124 fi
62125
62126
62127
62128
62129
62130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62131 $as_echo_n "checking for fmodf declaration... " >&6; }
62132 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62133 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62134 $as_echo_n "(cached) " >&6
62135 else
62136
62137
62138 ac_ext=cpp
62139 ac_cpp='$CXXCPP $CPPFLAGS'
62140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62143
62144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62145 /* end confdefs.h. */
62146 #include <math.h>
62147 int
62148 main ()
62149 {
62150 fmodf(0, 0);
62151 ;
62152 return 0;
62153 }
62154 _ACEOF
62155 if ac_fn_cxx_try_compile "$LINENO"; then :
62156 glibcxx_cv_func_fmodf_use=yes
62157 else
62158 glibcxx_cv_func_fmodf_use=no
62159 fi
62160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62161 ac_ext=c
62162 ac_cpp='$CPP $CPPFLAGS'
62163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62166
62167
62168 fi
62169
62170 fi
62171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62172 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62173
62174 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62175 for ac_func in fmodf
62176 do :
62177 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62178 if test "x$ac_cv_func_fmodf" = x""yes; then :
62179 cat >>confdefs.h <<_ACEOF
62180 #define HAVE_FMODF 1
62181 _ACEOF
62182
62183 fi
62184 done
62185
62186 else
62187
62188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62189 $as_echo_n "checking for _fmodf declaration... " >&6; }
62190 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62191 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62192 $as_echo_n "(cached) " >&6
62193 else
62194
62195
62196 ac_ext=cpp
62197 ac_cpp='$CXXCPP $CPPFLAGS'
62198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62201
62202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62203 /* end confdefs.h. */
62204 #include <math.h>
62205 int
62206 main ()
62207 {
62208 _fmodf(0, 0);
62209 ;
62210 return 0;
62211 }
62212 _ACEOF
62213 if ac_fn_cxx_try_compile "$LINENO"; then :
62214 glibcxx_cv_func__fmodf_use=yes
62215 else
62216 glibcxx_cv_func__fmodf_use=no
62217 fi
62218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62219 ac_ext=c
62220 ac_cpp='$CPP $CPPFLAGS'
62221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62224
62225
62226 fi
62227
62228 fi
62229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62230 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62231
62232 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62233 for ac_func in _fmodf
62234 do :
62235 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62236 if test "x$ac_cv_func__fmodf" = x""yes; then :
62237 cat >>confdefs.h <<_ACEOF
62238 #define HAVE__FMODF 1
62239 _ACEOF
62240
62241 fi
62242 done
62243
62244 fi
62245 fi
62246
62247
62248
62249
62250
62251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62252 $as_echo_n "checking for frexpf declaration... " >&6; }
62253 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62254 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62255 $as_echo_n "(cached) " >&6
62256 else
62257
62258
62259 ac_ext=cpp
62260 ac_cpp='$CXXCPP $CPPFLAGS'
62261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62264
62265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62266 /* end confdefs.h. */
62267 #include <math.h>
62268 int
62269 main ()
62270 {
62271 frexpf(0, 0);
62272 ;
62273 return 0;
62274 }
62275 _ACEOF
62276 if ac_fn_cxx_try_compile "$LINENO"; then :
62277 glibcxx_cv_func_frexpf_use=yes
62278 else
62279 glibcxx_cv_func_frexpf_use=no
62280 fi
62281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62282 ac_ext=c
62283 ac_cpp='$CPP $CPPFLAGS'
62284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62287
62288
62289 fi
62290
62291 fi
62292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62293 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62294
62295 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62296 for ac_func in frexpf
62297 do :
62298 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62299 if test "x$ac_cv_func_frexpf" = x""yes; then :
62300 cat >>confdefs.h <<_ACEOF
62301 #define HAVE_FREXPF 1
62302 _ACEOF
62303
62304 fi
62305 done
62306
62307 else
62308
62309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62310 $as_echo_n "checking for _frexpf declaration... " >&6; }
62311 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62312 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62313 $as_echo_n "(cached) " >&6
62314 else
62315
62316
62317 ac_ext=cpp
62318 ac_cpp='$CXXCPP $CPPFLAGS'
62319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62322
62323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62324 /* end confdefs.h. */
62325 #include <math.h>
62326 int
62327 main ()
62328 {
62329 _frexpf(0, 0);
62330 ;
62331 return 0;
62332 }
62333 _ACEOF
62334 if ac_fn_cxx_try_compile "$LINENO"; then :
62335 glibcxx_cv_func__frexpf_use=yes
62336 else
62337 glibcxx_cv_func__frexpf_use=no
62338 fi
62339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62340 ac_ext=c
62341 ac_cpp='$CPP $CPPFLAGS'
62342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62345
62346
62347 fi
62348
62349 fi
62350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62351 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62352
62353 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62354 for ac_func in _frexpf
62355 do :
62356 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62357 if test "x$ac_cv_func__frexpf" = x""yes; then :
62358 cat >>confdefs.h <<_ACEOF
62359 #define HAVE__FREXPF 1
62360 _ACEOF
62361
62362 fi
62363 done
62364
62365 fi
62366 fi
62367
62368
62369
62370
62371
62372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62373 $as_echo_n "checking for hypotf declaration... " >&6; }
62374 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62375 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62376 $as_echo_n "(cached) " >&6
62377 else
62378
62379
62380 ac_ext=cpp
62381 ac_cpp='$CXXCPP $CPPFLAGS'
62382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62385
62386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62387 /* end confdefs.h. */
62388 #include <math.h>
62389 int
62390 main ()
62391 {
62392 hypotf(0, 0);
62393 ;
62394 return 0;
62395 }
62396 _ACEOF
62397 if ac_fn_cxx_try_compile "$LINENO"; then :
62398 glibcxx_cv_func_hypotf_use=yes
62399 else
62400 glibcxx_cv_func_hypotf_use=no
62401 fi
62402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62403 ac_ext=c
62404 ac_cpp='$CPP $CPPFLAGS'
62405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62408
62409
62410 fi
62411
62412 fi
62413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62414 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62415
62416 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62417 for ac_func in hypotf
62418 do :
62419 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62420 if test "x$ac_cv_func_hypotf" = x""yes; then :
62421 cat >>confdefs.h <<_ACEOF
62422 #define HAVE_HYPOTF 1
62423 _ACEOF
62424
62425 fi
62426 done
62427
62428 else
62429
62430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62431 $as_echo_n "checking for _hypotf declaration... " >&6; }
62432 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62433 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62434 $as_echo_n "(cached) " >&6
62435 else
62436
62437
62438 ac_ext=cpp
62439 ac_cpp='$CXXCPP $CPPFLAGS'
62440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62443
62444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62445 /* end confdefs.h. */
62446 #include <math.h>
62447 int
62448 main ()
62449 {
62450 _hypotf(0, 0);
62451 ;
62452 return 0;
62453 }
62454 _ACEOF
62455 if ac_fn_cxx_try_compile "$LINENO"; then :
62456 glibcxx_cv_func__hypotf_use=yes
62457 else
62458 glibcxx_cv_func__hypotf_use=no
62459 fi
62460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62461 ac_ext=c
62462 ac_cpp='$CPP $CPPFLAGS'
62463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62466
62467
62468 fi
62469
62470 fi
62471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62472 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62473
62474 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62475 for ac_func in _hypotf
62476 do :
62477 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62478 if test "x$ac_cv_func__hypotf" = x""yes; then :
62479 cat >>confdefs.h <<_ACEOF
62480 #define HAVE__HYPOTF 1
62481 _ACEOF
62482
62483 fi
62484 done
62485
62486 fi
62487 fi
62488
62489
62490
62491
62492
62493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62494 $as_echo_n "checking for ldexpf declaration... " >&6; }
62495 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62496 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62497 $as_echo_n "(cached) " >&6
62498 else
62499
62500
62501 ac_ext=cpp
62502 ac_cpp='$CXXCPP $CPPFLAGS'
62503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62506
62507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62508 /* end confdefs.h. */
62509 #include <math.h>
62510 int
62511 main ()
62512 {
62513 ldexpf(0, 0);
62514 ;
62515 return 0;
62516 }
62517 _ACEOF
62518 if ac_fn_cxx_try_compile "$LINENO"; then :
62519 glibcxx_cv_func_ldexpf_use=yes
62520 else
62521 glibcxx_cv_func_ldexpf_use=no
62522 fi
62523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62524 ac_ext=c
62525 ac_cpp='$CPP $CPPFLAGS'
62526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62529
62530
62531 fi
62532
62533 fi
62534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62535 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62536
62537 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62538 for ac_func in ldexpf
62539 do :
62540 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62541 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62542 cat >>confdefs.h <<_ACEOF
62543 #define HAVE_LDEXPF 1
62544 _ACEOF
62545
62546 fi
62547 done
62548
62549 else
62550
62551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62552 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62553 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62554 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62555 $as_echo_n "(cached) " >&6
62556 else
62557
62558
62559 ac_ext=cpp
62560 ac_cpp='$CXXCPP $CPPFLAGS'
62561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62564
62565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62566 /* end confdefs.h. */
62567 #include <math.h>
62568 int
62569 main ()
62570 {
62571 _ldexpf(0, 0);
62572 ;
62573 return 0;
62574 }
62575 _ACEOF
62576 if ac_fn_cxx_try_compile "$LINENO"; then :
62577 glibcxx_cv_func__ldexpf_use=yes
62578 else
62579 glibcxx_cv_func__ldexpf_use=no
62580 fi
62581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62582 ac_ext=c
62583 ac_cpp='$CPP $CPPFLAGS'
62584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62587
62588
62589 fi
62590
62591 fi
62592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62593 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62594
62595 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62596 for ac_func in _ldexpf
62597 do :
62598 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62599 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62600 cat >>confdefs.h <<_ACEOF
62601 #define HAVE__LDEXPF 1
62602 _ACEOF
62603
62604 fi
62605 done
62606
62607 fi
62608 fi
62609
62610
62611
62612
62613
62614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62615 $as_echo_n "checking for logf declaration... " >&6; }
62616 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62617 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62618 $as_echo_n "(cached) " >&6
62619 else
62620
62621
62622 ac_ext=cpp
62623 ac_cpp='$CXXCPP $CPPFLAGS'
62624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62627
62628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62629 /* end confdefs.h. */
62630 #include <math.h>
62631 #ifdef HAVE_IEEEFP_H
62632 #include <ieeefp.h>
62633 #endif
62634
62635 int
62636 main ()
62637 {
62638 logf(0);
62639 ;
62640 return 0;
62641 }
62642 _ACEOF
62643 if ac_fn_cxx_try_compile "$LINENO"; then :
62644 glibcxx_cv_func_logf_use=yes
62645 else
62646 glibcxx_cv_func_logf_use=no
62647 fi
62648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62649 ac_ext=c
62650 ac_cpp='$CPP $CPPFLAGS'
62651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62654
62655
62656 fi
62657
62658 fi
62659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62660 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62661
62662 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62663 for ac_func in logf
62664 do :
62665 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62666 if test "x$ac_cv_func_logf" = x""yes; then :
62667 cat >>confdefs.h <<_ACEOF
62668 #define HAVE_LOGF 1
62669 _ACEOF
62670
62671 fi
62672 done
62673
62674 else
62675
62676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62677 $as_echo_n "checking for _logf declaration... " >&6; }
62678 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62679 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62680 $as_echo_n "(cached) " >&6
62681 else
62682
62683
62684 ac_ext=cpp
62685 ac_cpp='$CXXCPP $CPPFLAGS'
62686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62689
62690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62691 /* end confdefs.h. */
62692 #include <math.h>
62693 #ifdef HAVE_IEEEFP_H
62694 #include <ieeefp.h>
62695 #endif
62696
62697 int
62698 main ()
62699 {
62700 _logf(0);
62701 ;
62702 return 0;
62703 }
62704 _ACEOF
62705 if ac_fn_cxx_try_compile "$LINENO"; then :
62706 glibcxx_cv_func__logf_use=yes
62707 else
62708 glibcxx_cv_func__logf_use=no
62709 fi
62710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62711 ac_ext=c
62712 ac_cpp='$CPP $CPPFLAGS'
62713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62716
62717
62718 fi
62719
62720 fi
62721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62722 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62723
62724 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62725 for ac_func in _logf
62726 do :
62727 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62728 if test "x$ac_cv_func__logf" = x""yes; then :
62729 cat >>confdefs.h <<_ACEOF
62730 #define HAVE__LOGF 1
62731 _ACEOF
62732
62733 fi
62734 done
62735
62736 fi
62737 fi
62738
62739
62740
62741
62742
62743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62744 $as_echo_n "checking for log10f declaration... " >&6; }
62745 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62746 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62747 $as_echo_n "(cached) " >&6
62748 else
62749
62750
62751 ac_ext=cpp
62752 ac_cpp='$CXXCPP $CPPFLAGS'
62753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62756
62757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62758 /* end confdefs.h. */
62759 #include <math.h>
62760 #ifdef HAVE_IEEEFP_H
62761 #include <ieeefp.h>
62762 #endif
62763
62764 int
62765 main ()
62766 {
62767 log10f(0);
62768 ;
62769 return 0;
62770 }
62771 _ACEOF
62772 if ac_fn_cxx_try_compile "$LINENO"; then :
62773 glibcxx_cv_func_log10f_use=yes
62774 else
62775 glibcxx_cv_func_log10f_use=no
62776 fi
62777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62778 ac_ext=c
62779 ac_cpp='$CPP $CPPFLAGS'
62780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62783
62784
62785 fi
62786
62787 fi
62788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62789 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62790
62791 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62792 for ac_func in log10f
62793 do :
62794 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62795 if test "x$ac_cv_func_log10f" = x""yes; then :
62796 cat >>confdefs.h <<_ACEOF
62797 #define HAVE_LOG10F 1
62798 _ACEOF
62799
62800 fi
62801 done
62802
62803 else
62804
62805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62806 $as_echo_n "checking for _log10f declaration... " >&6; }
62807 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62808 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62809 $as_echo_n "(cached) " >&6
62810 else
62811
62812
62813 ac_ext=cpp
62814 ac_cpp='$CXXCPP $CPPFLAGS'
62815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62818
62819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62820 /* end confdefs.h. */
62821 #include <math.h>
62822 #ifdef HAVE_IEEEFP_H
62823 #include <ieeefp.h>
62824 #endif
62825
62826 int
62827 main ()
62828 {
62829 _log10f(0);
62830 ;
62831 return 0;
62832 }
62833 _ACEOF
62834 if ac_fn_cxx_try_compile "$LINENO"; then :
62835 glibcxx_cv_func__log10f_use=yes
62836 else
62837 glibcxx_cv_func__log10f_use=no
62838 fi
62839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62840 ac_ext=c
62841 ac_cpp='$CPP $CPPFLAGS'
62842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62845
62846
62847 fi
62848
62849 fi
62850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62851 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62852
62853 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62854 for ac_func in _log10f
62855 do :
62856 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62857 if test "x$ac_cv_func__log10f" = x""yes; then :
62858 cat >>confdefs.h <<_ACEOF
62859 #define HAVE__LOG10F 1
62860 _ACEOF
62861
62862 fi
62863 done
62864
62865 fi
62866 fi
62867
62868
62869
62870
62871
62872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62873 $as_echo_n "checking for modff declaration... " >&6; }
62874 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62875 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62876 $as_echo_n "(cached) " >&6
62877 else
62878
62879
62880 ac_ext=cpp
62881 ac_cpp='$CXXCPP $CPPFLAGS'
62882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62885
62886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62887 /* end confdefs.h. */
62888 #include <math.h>
62889 int
62890 main ()
62891 {
62892 modff(0, 0);
62893 ;
62894 return 0;
62895 }
62896 _ACEOF
62897 if ac_fn_cxx_try_compile "$LINENO"; then :
62898 glibcxx_cv_func_modff_use=yes
62899 else
62900 glibcxx_cv_func_modff_use=no
62901 fi
62902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62903 ac_ext=c
62904 ac_cpp='$CPP $CPPFLAGS'
62905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62908
62909
62910 fi
62911
62912 fi
62913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62914 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62915
62916 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62917 for ac_func in modff
62918 do :
62919 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62920 if test "x$ac_cv_func_modff" = x""yes; then :
62921 cat >>confdefs.h <<_ACEOF
62922 #define HAVE_MODFF 1
62923 _ACEOF
62924
62925 fi
62926 done
62927
62928 else
62929
62930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62931 $as_echo_n "checking for _modff declaration... " >&6; }
62932 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62933 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62934 $as_echo_n "(cached) " >&6
62935 else
62936
62937
62938 ac_ext=cpp
62939 ac_cpp='$CXXCPP $CPPFLAGS'
62940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62943
62944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62945 /* end confdefs.h. */
62946 #include <math.h>
62947 int
62948 main ()
62949 {
62950 _modff(0, 0);
62951 ;
62952 return 0;
62953 }
62954 _ACEOF
62955 if ac_fn_cxx_try_compile "$LINENO"; then :
62956 glibcxx_cv_func__modff_use=yes
62957 else
62958 glibcxx_cv_func__modff_use=no
62959 fi
62960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62961 ac_ext=c
62962 ac_cpp='$CPP $CPPFLAGS'
62963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62966
62967
62968 fi
62969
62970 fi
62971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62972 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62973
62974 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62975 for ac_func in _modff
62976 do :
62977 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62978 if test "x$ac_cv_func__modff" = x""yes; then :
62979 cat >>confdefs.h <<_ACEOF
62980 #define HAVE__MODFF 1
62981 _ACEOF
62982
62983 fi
62984 done
62985
62986 fi
62987 fi
62988
62989
62990
62991
62992
62993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62994 $as_echo_n "checking for modf declaration... " >&6; }
62995 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62996 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62997 $as_echo_n "(cached) " >&6
62998 else
62999
63000
63001 ac_ext=cpp
63002 ac_cpp='$CXXCPP $CPPFLAGS'
63003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63006
63007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63008 /* end confdefs.h. */
63009 #include <math.h>
63010 int
63011 main ()
63012 {
63013 modf(0, 0);
63014 ;
63015 return 0;
63016 }
63017 _ACEOF
63018 if ac_fn_cxx_try_compile "$LINENO"; then :
63019 glibcxx_cv_func_modf_use=yes
63020 else
63021 glibcxx_cv_func_modf_use=no
63022 fi
63023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63024 ac_ext=c
63025 ac_cpp='$CPP $CPPFLAGS'
63026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63029
63030
63031 fi
63032
63033 fi
63034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63035 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63036
63037 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63038 for ac_func in modf
63039 do :
63040 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63041 if test "x$ac_cv_func_modf" = x""yes; then :
63042 cat >>confdefs.h <<_ACEOF
63043 #define HAVE_MODF 1
63044 _ACEOF
63045
63046 fi
63047 done
63048
63049 else
63050
63051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63052 $as_echo_n "checking for _modf declaration... " >&6; }
63053 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63054 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63055 $as_echo_n "(cached) " >&6
63056 else
63057
63058
63059 ac_ext=cpp
63060 ac_cpp='$CXXCPP $CPPFLAGS'
63061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63064
63065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63066 /* end confdefs.h. */
63067 #include <math.h>
63068 int
63069 main ()
63070 {
63071 _modf(0, 0);
63072 ;
63073 return 0;
63074 }
63075 _ACEOF
63076 if ac_fn_cxx_try_compile "$LINENO"; then :
63077 glibcxx_cv_func__modf_use=yes
63078 else
63079 glibcxx_cv_func__modf_use=no
63080 fi
63081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63082 ac_ext=c
63083 ac_cpp='$CPP $CPPFLAGS'
63084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63087
63088
63089 fi
63090
63091 fi
63092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63093 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63094
63095 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63096 for ac_func in _modf
63097 do :
63098 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63099 if test "x$ac_cv_func__modf" = x""yes; then :
63100 cat >>confdefs.h <<_ACEOF
63101 #define HAVE__MODF 1
63102 _ACEOF
63103
63104 fi
63105 done
63106
63107 fi
63108 fi
63109
63110
63111
63112
63113
63114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63115 $as_echo_n "checking for powf declaration... " >&6; }
63116 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63117 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63118 $as_echo_n "(cached) " >&6
63119 else
63120
63121
63122 ac_ext=cpp
63123 ac_cpp='$CXXCPP $CPPFLAGS'
63124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63127
63128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63129 /* end confdefs.h. */
63130 #include <math.h>
63131 int
63132 main ()
63133 {
63134 powf(0, 0);
63135 ;
63136 return 0;
63137 }
63138 _ACEOF
63139 if ac_fn_cxx_try_compile "$LINENO"; then :
63140 glibcxx_cv_func_powf_use=yes
63141 else
63142 glibcxx_cv_func_powf_use=no
63143 fi
63144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63145 ac_ext=c
63146 ac_cpp='$CPP $CPPFLAGS'
63147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63150
63151
63152 fi
63153
63154 fi
63155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63156 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63157
63158 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63159 for ac_func in powf
63160 do :
63161 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63162 if test "x$ac_cv_func_powf" = x""yes; then :
63163 cat >>confdefs.h <<_ACEOF
63164 #define HAVE_POWF 1
63165 _ACEOF
63166
63167 fi
63168 done
63169
63170 else
63171
63172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63173 $as_echo_n "checking for _powf declaration... " >&6; }
63174 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63175 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63176 $as_echo_n "(cached) " >&6
63177 else
63178
63179
63180 ac_ext=cpp
63181 ac_cpp='$CXXCPP $CPPFLAGS'
63182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63185
63186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63187 /* end confdefs.h. */
63188 #include <math.h>
63189 int
63190 main ()
63191 {
63192 _powf(0, 0);
63193 ;
63194 return 0;
63195 }
63196 _ACEOF
63197 if ac_fn_cxx_try_compile "$LINENO"; then :
63198 glibcxx_cv_func__powf_use=yes
63199 else
63200 glibcxx_cv_func__powf_use=no
63201 fi
63202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63203 ac_ext=c
63204 ac_cpp='$CPP $CPPFLAGS'
63205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63208
63209
63210 fi
63211
63212 fi
63213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63214 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63215
63216 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63217 for ac_func in _powf
63218 do :
63219 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63220 if test "x$ac_cv_func__powf" = x""yes; then :
63221 cat >>confdefs.h <<_ACEOF
63222 #define HAVE__POWF 1
63223 _ACEOF
63224
63225 fi
63226 done
63227
63228 fi
63229 fi
63230
63231
63232
63233
63234
63235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63236 $as_echo_n "checking for sqrtf declaration... " >&6; }
63237 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63238 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63239 $as_echo_n "(cached) " >&6
63240 else
63241
63242
63243 ac_ext=cpp
63244 ac_cpp='$CXXCPP $CPPFLAGS'
63245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63248
63249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63250 /* end confdefs.h. */
63251 #include <math.h>
63252 #ifdef HAVE_IEEEFP_H
63253 #include <ieeefp.h>
63254 #endif
63255
63256 int
63257 main ()
63258 {
63259 sqrtf(0);
63260 ;
63261 return 0;
63262 }
63263 _ACEOF
63264 if ac_fn_cxx_try_compile "$LINENO"; then :
63265 glibcxx_cv_func_sqrtf_use=yes
63266 else
63267 glibcxx_cv_func_sqrtf_use=no
63268 fi
63269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63270 ac_ext=c
63271 ac_cpp='$CPP $CPPFLAGS'
63272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63275
63276
63277 fi
63278
63279 fi
63280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63281 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63282
63283 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63284 for ac_func in sqrtf
63285 do :
63286 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63287 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63288 cat >>confdefs.h <<_ACEOF
63289 #define HAVE_SQRTF 1
63290 _ACEOF
63291
63292 fi
63293 done
63294
63295 else
63296
63297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63298 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63299 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63300 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63301 $as_echo_n "(cached) " >&6
63302 else
63303
63304
63305 ac_ext=cpp
63306 ac_cpp='$CXXCPP $CPPFLAGS'
63307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63310
63311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63312 /* end confdefs.h. */
63313 #include <math.h>
63314 #ifdef HAVE_IEEEFP_H
63315 #include <ieeefp.h>
63316 #endif
63317
63318 int
63319 main ()
63320 {
63321 _sqrtf(0);
63322 ;
63323 return 0;
63324 }
63325 _ACEOF
63326 if ac_fn_cxx_try_compile "$LINENO"; then :
63327 glibcxx_cv_func__sqrtf_use=yes
63328 else
63329 glibcxx_cv_func__sqrtf_use=no
63330 fi
63331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63332 ac_ext=c
63333 ac_cpp='$CPP $CPPFLAGS'
63334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63337
63338
63339 fi
63340
63341 fi
63342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63343 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63344
63345 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63346 for ac_func in _sqrtf
63347 do :
63348 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63349 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63350 cat >>confdefs.h <<_ACEOF
63351 #define HAVE__SQRTF 1
63352 _ACEOF
63353
63354 fi
63355 done
63356
63357 fi
63358 fi
63359
63360
63361
63362
63363
63364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63365 $as_echo_n "checking for sincosf declaration... " >&6; }
63366 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63367 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63368 $as_echo_n "(cached) " >&6
63369 else
63370
63371
63372 ac_ext=cpp
63373 ac_cpp='$CXXCPP $CPPFLAGS'
63374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63377
63378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63379 /* end confdefs.h. */
63380 #include <math.h>
63381 int
63382 main ()
63383 {
63384 sincosf(0, 0, 0);
63385 ;
63386 return 0;
63387 }
63388 _ACEOF
63389 if ac_fn_cxx_try_compile "$LINENO"; then :
63390 glibcxx_cv_func_sincosf_use=yes
63391 else
63392 glibcxx_cv_func_sincosf_use=no
63393 fi
63394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63395 ac_ext=c
63396 ac_cpp='$CPP $CPPFLAGS'
63397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63400
63401
63402 fi
63403
63404 fi
63405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63406 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63407
63408 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63409 for ac_func in sincosf
63410 do :
63411 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63412 if test "x$ac_cv_func_sincosf" = x""yes; then :
63413 cat >>confdefs.h <<_ACEOF
63414 #define HAVE_SINCOSF 1
63415 _ACEOF
63416
63417 fi
63418 done
63419
63420 else
63421
63422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63423 $as_echo_n "checking for _sincosf declaration... " >&6; }
63424 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63425 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63426 $as_echo_n "(cached) " >&6
63427 else
63428
63429
63430 ac_ext=cpp
63431 ac_cpp='$CXXCPP $CPPFLAGS'
63432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63435
63436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63437 /* end confdefs.h. */
63438 #include <math.h>
63439 int
63440 main ()
63441 {
63442 _sincosf(0, 0, 0);
63443 ;
63444 return 0;
63445 }
63446 _ACEOF
63447 if ac_fn_cxx_try_compile "$LINENO"; then :
63448 glibcxx_cv_func__sincosf_use=yes
63449 else
63450 glibcxx_cv_func__sincosf_use=no
63451 fi
63452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63453 ac_ext=c
63454 ac_cpp='$CPP $CPPFLAGS'
63455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63458
63459
63460 fi
63461
63462 fi
63463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63464 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63465
63466 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63467 for ac_func in _sincosf
63468 do :
63469 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63470 if test "x$ac_cv_func__sincosf" = x""yes; then :
63471 cat >>confdefs.h <<_ACEOF
63472 #define HAVE__SINCOSF 1
63473 _ACEOF
63474
63475 fi
63476 done
63477
63478 fi
63479 fi
63480
63481
63482
63483
63484
63485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63486 $as_echo_n "checking for finitef declaration... " >&6; }
63487 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63488 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63489 $as_echo_n "(cached) " >&6
63490 else
63491
63492
63493 ac_ext=cpp
63494 ac_cpp='$CXXCPP $CPPFLAGS'
63495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63498
63499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63500 /* end confdefs.h. */
63501 #include <math.h>
63502 #ifdef HAVE_IEEEFP_H
63503 #include <ieeefp.h>
63504 #endif
63505
63506 int
63507 main ()
63508 {
63509 finitef(0);
63510 ;
63511 return 0;
63512 }
63513 _ACEOF
63514 if ac_fn_cxx_try_compile "$LINENO"; then :
63515 glibcxx_cv_func_finitef_use=yes
63516 else
63517 glibcxx_cv_func_finitef_use=no
63518 fi
63519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63520 ac_ext=c
63521 ac_cpp='$CPP $CPPFLAGS'
63522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63525
63526
63527 fi
63528
63529 fi
63530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63531 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63532
63533 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63534 for ac_func in finitef
63535 do :
63536 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63537 if test "x$ac_cv_func_finitef" = x""yes; then :
63538 cat >>confdefs.h <<_ACEOF
63539 #define HAVE_FINITEF 1
63540 _ACEOF
63541
63542 fi
63543 done
63544
63545 else
63546
63547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63548 $as_echo_n "checking for _finitef declaration... " >&6; }
63549 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63550 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63551 $as_echo_n "(cached) " >&6
63552 else
63553
63554
63555 ac_ext=cpp
63556 ac_cpp='$CXXCPP $CPPFLAGS'
63557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63560
63561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63562 /* end confdefs.h. */
63563 #include <math.h>
63564 #ifdef HAVE_IEEEFP_H
63565 #include <ieeefp.h>
63566 #endif
63567
63568 int
63569 main ()
63570 {
63571 _finitef(0);
63572 ;
63573 return 0;
63574 }
63575 _ACEOF
63576 if ac_fn_cxx_try_compile "$LINENO"; then :
63577 glibcxx_cv_func__finitef_use=yes
63578 else
63579 glibcxx_cv_func__finitef_use=no
63580 fi
63581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63582 ac_ext=c
63583 ac_cpp='$CPP $CPPFLAGS'
63584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63587
63588
63589 fi
63590
63591 fi
63592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63593 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63594
63595 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63596 for ac_func in _finitef
63597 do :
63598 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63599 if test "x$ac_cv_func__finitef" = x""yes; then :
63600 cat >>confdefs.h <<_ACEOF
63601 #define HAVE__FINITEF 1
63602 _ACEOF
63603
63604 fi
63605 done
63606
63607 fi
63608 fi
63609
63610
63611
63612
63613
63614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63615 $as_echo_n "checking for long double trig functions... " >&6; }
63616 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63617 $as_echo_n "(cached) " >&6
63618 else
63619
63620
63621 ac_ext=cpp
63622 ac_cpp='$CXXCPP $CPPFLAGS'
63623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63626
63627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63628 /* end confdefs.h. */
63629 #include <math.h>
63630 int
63631 main ()
63632 {
63633 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63634 ;
63635 return 0;
63636 }
63637 _ACEOF
63638 if ac_fn_cxx_try_compile "$LINENO"; then :
63639 glibcxx_cv_func_long_double_trig_use=yes
63640 else
63641 glibcxx_cv_func_long_double_trig_use=no
63642 fi
63643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63644 ac_ext=c
63645 ac_cpp='$CPP $CPPFLAGS'
63646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63649
63650 fi
63651
63652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63653 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63654 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63655 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63656 do :
63657 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63658 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63659 eval as_val=\$$as_ac_var
63660 if test "x$as_val" = x""yes; then :
63661 cat >>confdefs.h <<_ACEOF
63662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63663 _ACEOF
63664
63665 fi
63666 done
63667
63668 else
63669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63670 $as_echo_n "checking for _long double trig functions... " >&6; }
63671 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63672 $as_echo_n "(cached) " >&6
63673 else
63674
63675
63676 ac_ext=cpp
63677 ac_cpp='$CXXCPP $CPPFLAGS'
63678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63681
63682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63683 /* end confdefs.h. */
63684 #include <math.h>
63685 int
63686 main ()
63687 {
63688 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63689 ;
63690 return 0;
63691 }
63692 _ACEOF
63693 if ac_fn_cxx_try_compile "$LINENO"; then :
63694 glibcxx_cv_func__long_double_trig_use=yes
63695 else
63696 glibcxx_cv_func__long_double_trig_use=no
63697 fi
63698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63699 ac_ext=c
63700 ac_cpp='$CPP $CPPFLAGS'
63701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63704
63705 fi
63706
63707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63708 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63709 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63710 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63711 do :
63712 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63713 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63714 eval as_val=\$$as_ac_var
63715 if test "x$as_val" = x""yes; then :
63716 cat >>confdefs.h <<_ACEOF
63717 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63718 _ACEOF
63719
63720 fi
63721 done
63722
63723 fi
63724 fi
63725
63726
63727
63728
63729
63730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63731 $as_echo_n "checking for long double round functions... " >&6; }
63732 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63733 $as_echo_n "(cached) " >&6
63734 else
63735
63736
63737 ac_ext=cpp
63738 ac_cpp='$CXXCPP $CPPFLAGS'
63739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63742
63743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63744 /* end confdefs.h. */
63745 #include <math.h>
63746 int
63747 main ()
63748 {
63749 ceill (0); floorl (0);
63750 ;
63751 return 0;
63752 }
63753 _ACEOF
63754 if ac_fn_cxx_try_compile "$LINENO"; then :
63755 glibcxx_cv_func_long_double_round_use=yes
63756 else
63757 glibcxx_cv_func_long_double_round_use=no
63758 fi
63759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63760 ac_ext=c
63761 ac_cpp='$CPP $CPPFLAGS'
63762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63765
63766 fi
63767
63768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63769 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63770 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63771 for ac_func in ceill floorl
63772 do :
63773 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63774 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63775 eval as_val=\$$as_ac_var
63776 if test "x$as_val" = x""yes; then :
63777 cat >>confdefs.h <<_ACEOF
63778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63779 _ACEOF
63780
63781 fi
63782 done
63783
63784 else
63785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63786 $as_echo_n "checking for _long double round functions... " >&6; }
63787 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63788 $as_echo_n "(cached) " >&6
63789 else
63790
63791
63792 ac_ext=cpp
63793 ac_cpp='$CXXCPP $CPPFLAGS'
63794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63797
63798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63799 /* end confdefs.h. */
63800 #include <math.h>
63801 int
63802 main ()
63803 {
63804 _ceill (0); _floorl (0);
63805 ;
63806 return 0;
63807 }
63808 _ACEOF
63809 if ac_fn_cxx_try_compile "$LINENO"; then :
63810 glibcxx_cv_func__long_double_round_use=yes
63811 else
63812 glibcxx_cv_func__long_double_round_use=no
63813 fi
63814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63815 ac_ext=c
63816 ac_cpp='$CPP $CPPFLAGS'
63817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63820
63821 fi
63822
63823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63824 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63825 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63826 for ac_func in _ceill _floorl
63827 do :
63828 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63829 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63830 eval as_val=\$$as_ac_var
63831 if test "x$as_val" = x""yes; then :
63832 cat >>confdefs.h <<_ACEOF
63833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63834 _ACEOF
63835
63836 fi
63837 done
63838
63839 fi
63840 fi
63841
63842
63843
63844
63845
63846
63847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63848 $as_echo_n "checking for isnanl declaration... " >&6; }
63849 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63850 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63851 $as_echo_n "(cached) " >&6
63852 else
63853
63854
63855 ac_ext=cpp
63856 ac_cpp='$CXXCPP $CPPFLAGS'
63857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63860
63861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63862 /* end confdefs.h. */
63863 #include <math.h>
63864 #ifdef HAVE_IEEEFP_H
63865 #include <ieeefp.h>
63866 #endif
63867
63868 int
63869 main ()
63870 {
63871 isnanl(0);
63872 ;
63873 return 0;
63874 }
63875 _ACEOF
63876 if ac_fn_cxx_try_compile "$LINENO"; then :
63877 glibcxx_cv_func_isnanl_use=yes
63878 else
63879 glibcxx_cv_func_isnanl_use=no
63880 fi
63881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63882 ac_ext=c
63883 ac_cpp='$CPP $CPPFLAGS'
63884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63887
63888
63889 fi
63890
63891 fi
63892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63893 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63894
63895 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63896 for ac_func in isnanl
63897 do :
63898 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63899 if test "x$ac_cv_func_isnanl" = x""yes; then :
63900 cat >>confdefs.h <<_ACEOF
63901 #define HAVE_ISNANL 1
63902 _ACEOF
63903
63904 fi
63905 done
63906
63907 else
63908
63909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63910 $as_echo_n "checking for _isnanl declaration... " >&6; }
63911 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63912 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63913 $as_echo_n "(cached) " >&6
63914 else
63915
63916
63917 ac_ext=cpp
63918 ac_cpp='$CXXCPP $CPPFLAGS'
63919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63922
63923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63924 /* end confdefs.h. */
63925 #include <math.h>
63926 #ifdef HAVE_IEEEFP_H
63927 #include <ieeefp.h>
63928 #endif
63929
63930 int
63931 main ()
63932 {
63933 _isnanl(0);
63934 ;
63935 return 0;
63936 }
63937 _ACEOF
63938 if ac_fn_cxx_try_compile "$LINENO"; then :
63939 glibcxx_cv_func__isnanl_use=yes
63940 else
63941 glibcxx_cv_func__isnanl_use=no
63942 fi
63943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63944 ac_ext=c
63945 ac_cpp='$CPP $CPPFLAGS'
63946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63949
63950
63951 fi
63952
63953 fi
63954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63955 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63956
63957 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63958 for ac_func in _isnanl
63959 do :
63960 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63961 if test "x$ac_cv_func__isnanl" = x""yes; then :
63962 cat >>confdefs.h <<_ACEOF
63963 #define HAVE__ISNANL 1
63964 _ACEOF
63965
63966 fi
63967 done
63968
63969 fi
63970 fi
63971
63972
63973
63974
63975
63976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63977 $as_echo_n "checking for isinfl declaration... " >&6; }
63978 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63979 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63980 $as_echo_n "(cached) " >&6
63981 else
63982
63983
63984 ac_ext=cpp
63985 ac_cpp='$CXXCPP $CPPFLAGS'
63986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63989
63990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63991 /* end confdefs.h. */
63992 #include <math.h>
63993 #ifdef HAVE_IEEEFP_H
63994 #include <ieeefp.h>
63995 #endif
63996
63997 int
63998 main ()
63999 {
64000 isinfl(0);
64001 ;
64002 return 0;
64003 }
64004 _ACEOF
64005 if ac_fn_cxx_try_compile "$LINENO"; then :
64006 glibcxx_cv_func_isinfl_use=yes
64007 else
64008 glibcxx_cv_func_isinfl_use=no
64009 fi
64010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64011 ac_ext=c
64012 ac_cpp='$CPP $CPPFLAGS'
64013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64016
64017
64018 fi
64019
64020 fi
64021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64022 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64023
64024 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64025 for ac_func in isinfl
64026 do :
64027 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64028 if test "x$ac_cv_func_isinfl" = x""yes; then :
64029 cat >>confdefs.h <<_ACEOF
64030 #define HAVE_ISINFL 1
64031 _ACEOF
64032
64033 fi
64034 done
64035
64036 else
64037
64038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64039 $as_echo_n "checking for _isinfl declaration... " >&6; }
64040 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64041 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64042 $as_echo_n "(cached) " >&6
64043 else
64044
64045
64046 ac_ext=cpp
64047 ac_cpp='$CXXCPP $CPPFLAGS'
64048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64051
64052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64053 /* end confdefs.h. */
64054 #include <math.h>
64055 #ifdef HAVE_IEEEFP_H
64056 #include <ieeefp.h>
64057 #endif
64058
64059 int
64060 main ()
64061 {
64062 _isinfl(0);
64063 ;
64064 return 0;
64065 }
64066 _ACEOF
64067 if ac_fn_cxx_try_compile "$LINENO"; then :
64068 glibcxx_cv_func__isinfl_use=yes
64069 else
64070 glibcxx_cv_func__isinfl_use=no
64071 fi
64072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64073 ac_ext=c
64074 ac_cpp='$CPP $CPPFLAGS'
64075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64078
64079
64080 fi
64081
64082 fi
64083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64084 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64085
64086 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64087 for ac_func in _isinfl
64088 do :
64089 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64090 if test "x$ac_cv_func__isinfl" = x""yes; then :
64091 cat >>confdefs.h <<_ACEOF
64092 #define HAVE__ISINFL 1
64093 _ACEOF
64094
64095 fi
64096 done
64097
64098 fi
64099 fi
64100
64101
64102
64103
64104
64105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64106 $as_echo_n "checking for atan2l declaration... " >&6; }
64107 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64108 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64109 $as_echo_n "(cached) " >&6
64110 else
64111
64112
64113 ac_ext=cpp
64114 ac_cpp='$CXXCPP $CPPFLAGS'
64115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64118
64119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64120 /* end confdefs.h. */
64121 #include <math.h>
64122 int
64123 main ()
64124 {
64125 atan2l(0, 0);
64126 ;
64127 return 0;
64128 }
64129 _ACEOF
64130 if ac_fn_cxx_try_compile "$LINENO"; then :
64131 glibcxx_cv_func_atan2l_use=yes
64132 else
64133 glibcxx_cv_func_atan2l_use=no
64134 fi
64135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64136 ac_ext=c
64137 ac_cpp='$CPP $CPPFLAGS'
64138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64141
64142
64143 fi
64144
64145 fi
64146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64147 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64148
64149 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64150 for ac_func in atan2l
64151 do :
64152 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64153 if test "x$ac_cv_func_atan2l" = x""yes; then :
64154 cat >>confdefs.h <<_ACEOF
64155 #define HAVE_ATAN2L 1
64156 _ACEOF
64157
64158 fi
64159 done
64160
64161 else
64162
64163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64164 $as_echo_n "checking for _atan2l declaration... " >&6; }
64165 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64166 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64167 $as_echo_n "(cached) " >&6
64168 else
64169
64170
64171 ac_ext=cpp
64172 ac_cpp='$CXXCPP $CPPFLAGS'
64173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64176
64177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64178 /* end confdefs.h. */
64179 #include <math.h>
64180 int
64181 main ()
64182 {
64183 _atan2l(0, 0);
64184 ;
64185 return 0;
64186 }
64187 _ACEOF
64188 if ac_fn_cxx_try_compile "$LINENO"; then :
64189 glibcxx_cv_func__atan2l_use=yes
64190 else
64191 glibcxx_cv_func__atan2l_use=no
64192 fi
64193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64194 ac_ext=c
64195 ac_cpp='$CPP $CPPFLAGS'
64196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64199
64200
64201 fi
64202
64203 fi
64204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64205 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64206
64207 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64208 for ac_func in _atan2l
64209 do :
64210 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64211 if test "x$ac_cv_func__atan2l" = x""yes; then :
64212 cat >>confdefs.h <<_ACEOF
64213 #define HAVE__ATAN2L 1
64214 _ACEOF
64215
64216 fi
64217 done
64218
64219 fi
64220 fi
64221
64222
64223
64224
64225
64226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64227 $as_echo_n "checking for expl declaration... " >&6; }
64228 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64229 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64230 $as_echo_n "(cached) " >&6
64231 else
64232
64233
64234 ac_ext=cpp
64235 ac_cpp='$CXXCPP $CPPFLAGS'
64236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64239
64240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64241 /* end confdefs.h. */
64242 #include <math.h>
64243 #ifdef HAVE_IEEEFP_H
64244 #include <ieeefp.h>
64245 #endif
64246
64247 int
64248 main ()
64249 {
64250 expl(0);
64251 ;
64252 return 0;
64253 }
64254 _ACEOF
64255 if ac_fn_cxx_try_compile "$LINENO"; then :
64256 glibcxx_cv_func_expl_use=yes
64257 else
64258 glibcxx_cv_func_expl_use=no
64259 fi
64260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64261 ac_ext=c
64262 ac_cpp='$CPP $CPPFLAGS'
64263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64266
64267
64268 fi
64269
64270 fi
64271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64272 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64273
64274 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64275 for ac_func in expl
64276 do :
64277 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64278 if test "x$ac_cv_func_expl" = x""yes; then :
64279 cat >>confdefs.h <<_ACEOF
64280 #define HAVE_EXPL 1
64281 _ACEOF
64282
64283 fi
64284 done
64285
64286 else
64287
64288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64289 $as_echo_n "checking for _expl declaration... " >&6; }
64290 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64291 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64292 $as_echo_n "(cached) " >&6
64293 else
64294
64295
64296 ac_ext=cpp
64297 ac_cpp='$CXXCPP $CPPFLAGS'
64298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64301
64302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64303 /* end confdefs.h. */
64304 #include <math.h>
64305 #ifdef HAVE_IEEEFP_H
64306 #include <ieeefp.h>
64307 #endif
64308
64309 int
64310 main ()
64311 {
64312 _expl(0);
64313 ;
64314 return 0;
64315 }
64316 _ACEOF
64317 if ac_fn_cxx_try_compile "$LINENO"; then :
64318 glibcxx_cv_func__expl_use=yes
64319 else
64320 glibcxx_cv_func__expl_use=no
64321 fi
64322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64323 ac_ext=c
64324 ac_cpp='$CPP $CPPFLAGS'
64325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64328
64329
64330 fi
64331
64332 fi
64333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64334 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64335
64336 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64337 for ac_func in _expl
64338 do :
64339 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64340 if test "x$ac_cv_func__expl" = x""yes; then :
64341 cat >>confdefs.h <<_ACEOF
64342 #define HAVE__EXPL 1
64343 _ACEOF
64344
64345 fi
64346 done
64347
64348 fi
64349 fi
64350
64351
64352
64353
64354
64355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64356 $as_echo_n "checking for fabsl declaration... " >&6; }
64357 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64358 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64359 $as_echo_n "(cached) " >&6
64360 else
64361
64362
64363 ac_ext=cpp
64364 ac_cpp='$CXXCPP $CPPFLAGS'
64365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64368
64369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64370 /* end confdefs.h. */
64371 #include <math.h>
64372 #ifdef HAVE_IEEEFP_H
64373 #include <ieeefp.h>
64374 #endif
64375
64376 int
64377 main ()
64378 {
64379 fabsl(0);
64380 ;
64381 return 0;
64382 }
64383 _ACEOF
64384 if ac_fn_cxx_try_compile "$LINENO"; then :
64385 glibcxx_cv_func_fabsl_use=yes
64386 else
64387 glibcxx_cv_func_fabsl_use=no
64388 fi
64389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64390 ac_ext=c
64391 ac_cpp='$CPP $CPPFLAGS'
64392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64395
64396
64397 fi
64398
64399 fi
64400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64401 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64402
64403 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64404 for ac_func in fabsl
64405 do :
64406 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64407 if test "x$ac_cv_func_fabsl" = x""yes; then :
64408 cat >>confdefs.h <<_ACEOF
64409 #define HAVE_FABSL 1
64410 _ACEOF
64411
64412 fi
64413 done
64414
64415 else
64416
64417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64418 $as_echo_n "checking for _fabsl declaration... " >&6; }
64419 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64420 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64421 $as_echo_n "(cached) " >&6
64422 else
64423
64424
64425 ac_ext=cpp
64426 ac_cpp='$CXXCPP $CPPFLAGS'
64427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64430
64431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64432 /* end confdefs.h. */
64433 #include <math.h>
64434 #ifdef HAVE_IEEEFP_H
64435 #include <ieeefp.h>
64436 #endif
64437
64438 int
64439 main ()
64440 {
64441 _fabsl(0);
64442 ;
64443 return 0;
64444 }
64445 _ACEOF
64446 if ac_fn_cxx_try_compile "$LINENO"; then :
64447 glibcxx_cv_func__fabsl_use=yes
64448 else
64449 glibcxx_cv_func__fabsl_use=no
64450 fi
64451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64452 ac_ext=c
64453 ac_cpp='$CPP $CPPFLAGS'
64454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64457
64458
64459 fi
64460
64461 fi
64462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64463 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64464
64465 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64466 for ac_func in _fabsl
64467 do :
64468 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64469 if test "x$ac_cv_func__fabsl" = x""yes; then :
64470 cat >>confdefs.h <<_ACEOF
64471 #define HAVE__FABSL 1
64472 _ACEOF
64473
64474 fi
64475 done
64476
64477 fi
64478 fi
64479
64480
64481
64482
64483
64484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64485 $as_echo_n "checking for fmodl declaration... " >&6; }
64486 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64487 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64488 $as_echo_n "(cached) " >&6
64489 else
64490
64491
64492 ac_ext=cpp
64493 ac_cpp='$CXXCPP $CPPFLAGS'
64494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64497
64498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64499 /* end confdefs.h. */
64500 #include <math.h>
64501 int
64502 main ()
64503 {
64504 fmodl(0, 0);
64505 ;
64506 return 0;
64507 }
64508 _ACEOF
64509 if ac_fn_cxx_try_compile "$LINENO"; then :
64510 glibcxx_cv_func_fmodl_use=yes
64511 else
64512 glibcxx_cv_func_fmodl_use=no
64513 fi
64514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64515 ac_ext=c
64516 ac_cpp='$CPP $CPPFLAGS'
64517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64520
64521
64522 fi
64523
64524 fi
64525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64526 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64527
64528 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64529 for ac_func in fmodl
64530 do :
64531 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64532 if test "x$ac_cv_func_fmodl" = x""yes; then :
64533 cat >>confdefs.h <<_ACEOF
64534 #define HAVE_FMODL 1
64535 _ACEOF
64536
64537 fi
64538 done
64539
64540 else
64541
64542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64543 $as_echo_n "checking for _fmodl declaration... " >&6; }
64544 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64545 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64546 $as_echo_n "(cached) " >&6
64547 else
64548
64549
64550 ac_ext=cpp
64551 ac_cpp='$CXXCPP $CPPFLAGS'
64552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64555
64556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64557 /* end confdefs.h. */
64558 #include <math.h>
64559 int
64560 main ()
64561 {
64562 _fmodl(0, 0);
64563 ;
64564 return 0;
64565 }
64566 _ACEOF
64567 if ac_fn_cxx_try_compile "$LINENO"; then :
64568 glibcxx_cv_func__fmodl_use=yes
64569 else
64570 glibcxx_cv_func__fmodl_use=no
64571 fi
64572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64573 ac_ext=c
64574 ac_cpp='$CPP $CPPFLAGS'
64575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64578
64579
64580 fi
64581
64582 fi
64583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64584 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64585
64586 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64587 for ac_func in _fmodl
64588 do :
64589 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64590 if test "x$ac_cv_func__fmodl" = x""yes; then :
64591 cat >>confdefs.h <<_ACEOF
64592 #define HAVE__FMODL 1
64593 _ACEOF
64594
64595 fi
64596 done
64597
64598 fi
64599 fi
64600
64601
64602
64603
64604
64605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64606 $as_echo_n "checking for frexpl declaration... " >&6; }
64607 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64608 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64609 $as_echo_n "(cached) " >&6
64610 else
64611
64612
64613 ac_ext=cpp
64614 ac_cpp='$CXXCPP $CPPFLAGS'
64615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64618
64619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64620 /* end confdefs.h. */
64621 #include <math.h>
64622 int
64623 main ()
64624 {
64625 frexpl(0, 0);
64626 ;
64627 return 0;
64628 }
64629 _ACEOF
64630 if ac_fn_cxx_try_compile "$LINENO"; then :
64631 glibcxx_cv_func_frexpl_use=yes
64632 else
64633 glibcxx_cv_func_frexpl_use=no
64634 fi
64635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64636 ac_ext=c
64637 ac_cpp='$CPP $CPPFLAGS'
64638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64641
64642
64643 fi
64644
64645 fi
64646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64647 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64648
64649 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64650 for ac_func in frexpl
64651 do :
64652 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64653 if test "x$ac_cv_func_frexpl" = x""yes; then :
64654 cat >>confdefs.h <<_ACEOF
64655 #define HAVE_FREXPL 1
64656 _ACEOF
64657
64658 fi
64659 done
64660
64661 else
64662
64663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64664 $as_echo_n "checking for _frexpl declaration... " >&6; }
64665 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64666 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64667 $as_echo_n "(cached) " >&6
64668 else
64669
64670
64671 ac_ext=cpp
64672 ac_cpp='$CXXCPP $CPPFLAGS'
64673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64676
64677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64678 /* end confdefs.h. */
64679 #include <math.h>
64680 int
64681 main ()
64682 {
64683 _frexpl(0, 0);
64684 ;
64685 return 0;
64686 }
64687 _ACEOF
64688 if ac_fn_cxx_try_compile "$LINENO"; then :
64689 glibcxx_cv_func__frexpl_use=yes
64690 else
64691 glibcxx_cv_func__frexpl_use=no
64692 fi
64693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64694 ac_ext=c
64695 ac_cpp='$CPP $CPPFLAGS'
64696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64699
64700
64701 fi
64702
64703 fi
64704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64705 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64706
64707 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64708 for ac_func in _frexpl
64709 do :
64710 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64711 if test "x$ac_cv_func__frexpl" = x""yes; then :
64712 cat >>confdefs.h <<_ACEOF
64713 #define HAVE__FREXPL 1
64714 _ACEOF
64715
64716 fi
64717 done
64718
64719 fi
64720 fi
64721
64722
64723
64724
64725
64726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64727 $as_echo_n "checking for hypotl declaration... " >&6; }
64728 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64729 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64730 $as_echo_n "(cached) " >&6
64731 else
64732
64733
64734 ac_ext=cpp
64735 ac_cpp='$CXXCPP $CPPFLAGS'
64736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64739
64740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64741 /* end confdefs.h. */
64742 #include <math.h>
64743 int
64744 main ()
64745 {
64746 hypotl(0, 0);
64747 ;
64748 return 0;
64749 }
64750 _ACEOF
64751 if ac_fn_cxx_try_compile "$LINENO"; then :
64752 glibcxx_cv_func_hypotl_use=yes
64753 else
64754 glibcxx_cv_func_hypotl_use=no
64755 fi
64756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64757 ac_ext=c
64758 ac_cpp='$CPP $CPPFLAGS'
64759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64762
64763
64764 fi
64765
64766 fi
64767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64768 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64769
64770 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64771 for ac_func in hypotl
64772 do :
64773 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64774 if test "x$ac_cv_func_hypotl" = x""yes; then :
64775 cat >>confdefs.h <<_ACEOF
64776 #define HAVE_HYPOTL 1
64777 _ACEOF
64778
64779 fi
64780 done
64781
64782 else
64783
64784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64785 $as_echo_n "checking for _hypotl declaration... " >&6; }
64786 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64787 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64788 $as_echo_n "(cached) " >&6
64789 else
64790
64791
64792 ac_ext=cpp
64793 ac_cpp='$CXXCPP $CPPFLAGS'
64794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64797
64798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64799 /* end confdefs.h. */
64800 #include <math.h>
64801 int
64802 main ()
64803 {
64804 _hypotl(0, 0);
64805 ;
64806 return 0;
64807 }
64808 _ACEOF
64809 if ac_fn_cxx_try_compile "$LINENO"; then :
64810 glibcxx_cv_func__hypotl_use=yes
64811 else
64812 glibcxx_cv_func__hypotl_use=no
64813 fi
64814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64815 ac_ext=c
64816 ac_cpp='$CPP $CPPFLAGS'
64817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64820
64821
64822 fi
64823
64824 fi
64825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64826 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64827
64828 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64829 for ac_func in _hypotl
64830 do :
64831 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64832 if test "x$ac_cv_func__hypotl" = x""yes; then :
64833 cat >>confdefs.h <<_ACEOF
64834 #define HAVE__HYPOTL 1
64835 _ACEOF
64836
64837 fi
64838 done
64839
64840 fi
64841 fi
64842
64843
64844
64845
64846
64847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64848 $as_echo_n "checking for ldexpl declaration... " >&6; }
64849 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64850 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64851 $as_echo_n "(cached) " >&6
64852 else
64853
64854
64855 ac_ext=cpp
64856 ac_cpp='$CXXCPP $CPPFLAGS'
64857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64860
64861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64862 /* end confdefs.h. */
64863 #include <math.h>
64864 int
64865 main ()
64866 {
64867 ldexpl(0, 0);
64868 ;
64869 return 0;
64870 }
64871 _ACEOF
64872 if ac_fn_cxx_try_compile "$LINENO"; then :
64873 glibcxx_cv_func_ldexpl_use=yes
64874 else
64875 glibcxx_cv_func_ldexpl_use=no
64876 fi
64877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64878 ac_ext=c
64879 ac_cpp='$CPP $CPPFLAGS'
64880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64883
64884
64885 fi
64886
64887 fi
64888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64889 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64890
64891 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64892 for ac_func in ldexpl
64893 do :
64894 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64895 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64896 cat >>confdefs.h <<_ACEOF
64897 #define HAVE_LDEXPL 1
64898 _ACEOF
64899
64900 fi
64901 done
64902
64903 else
64904
64905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64906 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64907 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64908 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64909 $as_echo_n "(cached) " >&6
64910 else
64911
64912
64913 ac_ext=cpp
64914 ac_cpp='$CXXCPP $CPPFLAGS'
64915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64918
64919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64920 /* end confdefs.h. */
64921 #include <math.h>
64922 int
64923 main ()
64924 {
64925 _ldexpl(0, 0);
64926 ;
64927 return 0;
64928 }
64929 _ACEOF
64930 if ac_fn_cxx_try_compile "$LINENO"; then :
64931 glibcxx_cv_func__ldexpl_use=yes
64932 else
64933 glibcxx_cv_func__ldexpl_use=no
64934 fi
64935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64936 ac_ext=c
64937 ac_cpp='$CPP $CPPFLAGS'
64938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64941
64942
64943 fi
64944
64945 fi
64946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64947 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64948
64949 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64950 for ac_func in _ldexpl
64951 do :
64952 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64953 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64954 cat >>confdefs.h <<_ACEOF
64955 #define HAVE__LDEXPL 1
64956 _ACEOF
64957
64958 fi
64959 done
64960
64961 fi
64962 fi
64963
64964
64965
64966
64967
64968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64969 $as_echo_n "checking for logl declaration... " >&6; }
64970 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64971 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64972 $as_echo_n "(cached) " >&6
64973 else
64974
64975
64976 ac_ext=cpp
64977 ac_cpp='$CXXCPP $CPPFLAGS'
64978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64981
64982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64983 /* end confdefs.h. */
64984 #include <math.h>
64985 #ifdef HAVE_IEEEFP_H
64986 #include <ieeefp.h>
64987 #endif
64988
64989 int
64990 main ()
64991 {
64992 logl(0);
64993 ;
64994 return 0;
64995 }
64996 _ACEOF
64997 if ac_fn_cxx_try_compile "$LINENO"; then :
64998 glibcxx_cv_func_logl_use=yes
64999 else
65000 glibcxx_cv_func_logl_use=no
65001 fi
65002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65003 ac_ext=c
65004 ac_cpp='$CPP $CPPFLAGS'
65005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65008
65009
65010 fi
65011
65012 fi
65013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65014 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65015
65016 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65017 for ac_func in logl
65018 do :
65019 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65020 if test "x$ac_cv_func_logl" = x""yes; then :
65021 cat >>confdefs.h <<_ACEOF
65022 #define HAVE_LOGL 1
65023 _ACEOF
65024
65025 fi
65026 done
65027
65028 else
65029
65030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65031 $as_echo_n "checking for _logl declaration... " >&6; }
65032 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65033 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65034 $as_echo_n "(cached) " >&6
65035 else
65036
65037
65038 ac_ext=cpp
65039 ac_cpp='$CXXCPP $CPPFLAGS'
65040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65043
65044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65045 /* end confdefs.h. */
65046 #include <math.h>
65047 #ifdef HAVE_IEEEFP_H
65048 #include <ieeefp.h>
65049 #endif
65050
65051 int
65052 main ()
65053 {
65054 _logl(0);
65055 ;
65056 return 0;
65057 }
65058 _ACEOF
65059 if ac_fn_cxx_try_compile "$LINENO"; then :
65060 glibcxx_cv_func__logl_use=yes
65061 else
65062 glibcxx_cv_func__logl_use=no
65063 fi
65064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65065 ac_ext=c
65066 ac_cpp='$CPP $CPPFLAGS'
65067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65070
65071
65072 fi
65073
65074 fi
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65076 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65077
65078 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65079 for ac_func in _logl
65080 do :
65081 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65082 if test "x$ac_cv_func__logl" = x""yes; then :
65083 cat >>confdefs.h <<_ACEOF
65084 #define HAVE__LOGL 1
65085 _ACEOF
65086
65087 fi
65088 done
65089
65090 fi
65091 fi
65092
65093
65094
65095
65096
65097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65098 $as_echo_n "checking for log10l declaration... " >&6; }
65099 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65100 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65101 $as_echo_n "(cached) " >&6
65102 else
65103
65104
65105 ac_ext=cpp
65106 ac_cpp='$CXXCPP $CPPFLAGS'
65107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65110
65111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65112 /* end confdefs.h. */
65113 #include <math.h>
65114 #ifdef HAVE_IEEEFP_H
65115 #include <ieeefp.h>
65116 #endif
65117
65118 int
65119 main ()
65120 {
65121 log10l(0);
65122 ;
65123 return 0;
65124 }
65125 _ACEOF
65126 if ac_fn_cxx_try_compile "$LINENO"; then :
65127 glibcxx_cv_func_log10l_use=yes
65128 else
65129 glibcxx_cv_func_log10l_use=no
65130 fi
65131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65132 ac_ext=c
65133 ac_cpp='$CPP $CPPFLAGS'
65134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65137
65138
65139 fi
65140
65141 fi
65142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65143 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65144
65145 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65146 for ac_func in log10l
65147 do :
65148 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65149 if test "x$ac_cv_func_log10l" = x""yes; then :
65150 cat >>confdefs.h <<_ACEOF
65151 #define HAVE_LOG10L 1
65152 _ACEOF
65153
65154 fi
65155 done
65156
65157 else
65158
65159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65160 $as_echo_n "checking for _log10l declaration... " >&6; }
65161 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65162 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65163 $as_echo_n "(cached) " >&6
65164 else
65165
65166
65167 ac_ext=cpp
65168 ac_cpp='$CXXCPP $CPPFLAGS'
65169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65172
65173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65174 /* end confdefs.h. */
65175 #include <math.h>
65176 #ifdef HAVE_IEEEFP_H
65177 #include <ieeefp.h>
65178 #endif
65179
65180 int
65181 main ()
65182 {
65183 _log10l(0);
65184 ;
65185 return 0;
65186 }
65187 _ACEOF
65188 if ac_fn_cxx_try_compile "$LINENO"; then :
65189 glibcxx_cv_func__log10l_use=yes
65190 else
65191 glibcxx_cv_func__log10l_use=no
65192 fi
65193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65194 ac_ext=c
65195 ac_cpp='$CPP $CPPFLAGS'
65196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65199
65200
65201 fi
65202
65203 fi
65204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65205 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65206
65207 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65208 for ac_func in _log10l
65209 do :
65210 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65211 if test "x$ac_cv_func__log10l" = x""yes; then :
65212 cat >>confdefs.h <<_ACEOF
65213 #define HAVE__LOG10L 1
65214 _ACEOF
65215
65216 fi
65217 done
65218
65219 fi
65220 fi
65221
65222
65223
65224
65225
65226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65227 $as_echo_n "checking for modfl declaration... " >&6; }
65228 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65229 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65230 $as_echo_n "(cached) " >&6
65231 else
65232
65233
65234 ac_ext=cpp
65235 ac_cpp='$CXXCPP $CPPFLAGS'
65236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65239
65240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65241 /* end confdefs.h. */
65242 #include <math.h>
65243 int
65244 main ()
65245 {
65246 modfl(0, 0);
65247 ;
65248 return 0;
65249 }
65250 _ACEOF
65251 if ac_fn_cxx_try_compile "$LINENO"; then :
65252 glibcxx_cv_func_modfl_use=yes
65253 else
65254 glibcxx_cv_func_modfl_use=no
65255 fi
65256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65257 ac_ext=c
65258 ac_cpp='$CPP $CPPFLAGS'
65259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65262
65263
65264 fi
65265
65266 fi
65267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65268 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65269
65270 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65271 for ac_func in modfl
65272 do :
65273 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65274 if test "x$ac_cv_func_modfl" = x""yes; then :
65275 cat >>confdefs.h <<_ACEOF
65276 #define HAVE_MODFL 1
65277 _ACEOF
65278
65279 fi
65280 done
65281
65282 else
65283
65284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65285 $as_echo_n "checking for _modfl declaration... " >&6; }
65286 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65287 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65288 $as_echo_n "(cached) " >&6
65289 else
65290
65291
65292 ac_ext=cpp
65293 ac_cpp='$CXXCPP $CPPFLAGS'
65294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65297
65298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65299 /* end confdefs.h. */
65300 #include <math.h>
65301 int
65302 main ()
65303 {
65304 _modfl(0, 0);
65305 ;
65306 return 0;
65307 }
65308 _ACEOF
65309 if ac_fn_cxx_try_compile "$LINENO"; then :
65310 glibcxx_cv_func__modfl_use=yes
65311 else
65312 glibcxx_cv_func__modfl_use=no
65313 fi
65314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65315 ac_ext=c
65316 ac_cpp='$CPP $CPPFLAGS'
65317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65320
65321
65322 fi
65323
65324 fi
65325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65326 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65327
65328 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65329 for ac_func in _modfl
65330 do :
65331 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65332 if test "x$ac_cv_func__modfl" = x""yes; then :
65333 cat >>confdefs.h <<_ACEOF
65334 #define HAVE__MODFL 1
65335 _ACEOF
65336
65337 fi
65338 done
65339
65340 fi
65341 fi
65342
65343
65344
65345
65346
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65348 $as_echo_n "checking for powl declaration... " >&6; }
65349 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65350 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65351 $as_echo_n "(cached) " >&6
65352 else
65353
65354
65355 ac_ext=cpp
65356 ac_cpp='$CXXCPP $CPPFLAGS'
65357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65360
65361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65362 /* end confdefs.h. */
65363 #include <math.h>
65364 int
65365 main ()
65366 {
65367 powl(0, 0);
65368 ;
65369 return 0;
65370 }
65371 _ACEOF
65372 if ac_fn_cxx_try_compile "$LINENO"; then :
65373 glibcxx_cv_func_powl_use=yes
65374 else
65375 glibcxx_cv_func_powl_use=no
65376 fi
65377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65378 ac_ext=c
65379 ac_cpp='$CPP $CPPFLAGS'
65380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65383
65384
65385 fi
65386
65387 fi
65388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65389 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65390
65391 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65392 for ac_func in powl
65393 do :
65394 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65395 if test "x$ac_cv_func_powl" = x""yes; then :
65396 cat >>confdefs.h <<_ACEOF
65397 #define HAVE_POWL 1
65398 _ACEOF
65399
65400 fi
65401 done
65402
65403 else
65404
65405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65406 $as_echo_n "checking for _powl declaration... " >&6; }
65407 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65408 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65409 $as_echo_n "(cached) " >&6
65410 else
65411
65412
65413 ac_ext=cpp
65414 ac_cpp='$CXXCPP $CPPFLAGS'
65415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65418
65419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65420 /* end confdefs.h. */
65421 #include <math.h>
65422 int
65423 main ()
65424 {
65425 _powl(0, 0);
65426 ;
65427 return 0;
65428 }
65429 _ACEOF
65430 if ac_fn_cxx_try_compile "$LINENO"; then :
65431 glibcxx_cv_func__powl_use=yes
65432 else
65433 glibcxx_cv_func__powl_use=no
65434 fi
65435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65436 ac_ext=c
65437 ac_cpp='$CPP $CPPFLAGS'
65438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65441
65442
65443 fi
65444
65445 fi
65446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65447 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65448
65449 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65450 for ac_func in _powl
65451 do :
65452 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65453 if test "x$ac_cv_func__powl" = x""yes; then :
65454 cat >>confdefs.h <<_ACEOF
65455 #define HAVE__POWL 1
65456 _ACEOF
65457
65458 fi
65459 done
65460
65461 fi
65462 fi
65463
65464
65465
65466
65467
65468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65469 $as_echo_n "checking for sqrtl declaration... " >&6; }
65470 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65471 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65472 $as_echo_n "(cached) " >&6
65473 else
65474
65475
65476 ac_ext=cpp
65477 ac_cpp='$CXXCPP $CPPFLAGS'
65478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65481
65482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65483 /* end confdefs.h. */
65484 #include <math.h>
65485 #ifdef HAVE_IEEEFP_H
65486 #include <ieeefp.h>
65487 #endif
65488
65489 int
65490 main ()
65491 {
65492 sqrtl(0);
65493 ;
65494 return 0;
65495 }
65496 _ACEOF
65497 if ac_fn_cxx_try_compile "$LINENO"; then :
65498 glibcxx_cv_func_sqrtl_use=yes
65499 else
65500 glibcxx_cv_func_sqrtl_use=no
65501 fi
65502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65503 ac_ext=c
65504 ac_cpp='$CPP $CPPFLAGS'
65505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65508
65509
65510 fi
65511
65512 fi
65513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65514 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65515
65516 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65517 for ac_func in sqrtl
65518 do :
65519 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65520 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65521 cat >>confdefs.h <<_ACEOF
65522 #define HAVE_SQRTL 1
65523 _ACEOF
65524
65525 fi
65526 done
65527
65528 else
65529
65530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65531 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65532 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65533 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65534 $as_echo_n "(cached) " >&6
65535 else
65536
65537
65538 ac_ext=cpp
65539 ac_cpp='$CXXCPP $CPPFLAGS'
65540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65543
65544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65545 /* end confdefs.h. */
65546 #include <math.h>
65547 #ifdef HAVE_IEEEFP_H
65548 #include <ieeefp.h>
65549 #endif
65550
65551 int
65552 main ()
65553 {
65554 _sqrtl(0);
65555 ;
65556 return 0;
65557 }
65558 _ACEOF
65559 if ac_fn_cxx_try_compile "$LINENO"; then :
65560 glibcxx_cv_func__sqrtl_use=yes
65561 else
65562 glibcxx_cv_func__sqrtl_use=no
65563 fi
65564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65565 ac_ext=c
65566 ac_cpp='$CPP $CPPFLAGS'
65567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65570
65571
65572 fi
65573
65574 fi
65575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65576 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65577
65578 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65579 for ac_func in _sqrtl
65580 do :
65581 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65582 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65583 cat >>confdefs.h <<_ACEOF
65584 #define HAVE__SQRTL 1
65585 _ACEOF
65586
65587 fi
65588 done
65589
65590 fi
65591 fi
65592
65593
65594
65595
65596
65597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65598 $as_echo_n "checking for sincosl declaration... " >&6; }
65599 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65600 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65601 $as_echo_n "(cached) " >&6
65602 else
65603
65604
65605 ac_ext=cpp
65606 ac_cpp='$CXXCPP $CPPFLAGS'
65607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65610
65611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65612 /* end confdefs.h. */
65613 #include <math.h>
65614 int
65615 main ()
65616 {
65617 sincosl(0, 0, 0);
65618 ;
65619 return 0;
65620 }
65621 _ACEOF
65622 if ac_fn_cxx_try_compile "$LINENO"; then :
65623 glibcxx_cv_func_sincosl_use=yes
65624 else
65625 glibcxx_cv_func_sincosl_use=no
65626 fi
65627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65628 ac_ext=c
65629 ac_cpp='$CPP $CPPFLAGS'
65630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65633
65634
65635 fi
65636
65637 fi
65638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65639 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65640
65641 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65642 for ac_func in sincosl
65643 do :
65644 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65645 if test "x$ac_cv_func_sincosl" = x""yes; then :
65646 cat >>confdefs.h <<_ACEOF
65647 #define HAVE_SINCOSL 1
65648 _ACEOF
65649
65650 fi
65651 done
65652
65653 else
65654
65655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65656 $as_echo_n "checking for _sincosl declaration... " >&6; }
65657 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65658 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65659 $as_echo_n "(cached) " >&6
65660 else
65661
65662
65663 ac_ext=cpp
65664 ac_cpp='$CXXCPP $CPPFLAGS'
65665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65668
65669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65670 /* end confdefs.h. */
65671 #include <math.h>
65672 int
65673 main ()
65674 {
65675 _sincosl(0, 0, 0);
65676 ;
65677 return 0;
65678 }
65679 _ACEOF
65680 if ac_fn_cxx_try_compile "$LINENO"; then :
65681 glibcxx_cv_func__sincosl_use=yes
65682 else
65683 glibcxx_cv_func__sincosl_use=no
65684 fi
65685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65686 ac_ext=c
65687 ac_cpp='$CPP $CPPFLAGS'
65688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65691
65692
65693 fi
65694
65695 fi
65696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65697 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65698
65699 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65700 for ac_func in _sincosl
65701 do :
65702 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65703 if test "x$ac_cv_func__sincosl" = x""yes; then :
65704 cat >>confdefs.h <<_ACEOF
65705 #define HAVE__SINCOSL 1
65706 _ACEOF
65707
65708 fi
65709 done
65710
65711 fi
65712 fi
65713
65714
65715
65716
65717
65718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65719 $as_echo_n "checking for finitel declaration... " >&6; }
65720 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65721 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65722 $as_echo_n "(cached) " >&6
65723 else
65724
65725
65726 ac_ext=cpp
65727 ac_cpp='$CXXCPP $CPPFLAGS'
65728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65731
65732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65733 /* end confdefs.h. */
65734 #include <math.h>
65735 #ifdef HAVE_IEEEFP_H
65736 #include <ieeefp.h>
65737 #endif
65738
65739 int
65740 main ()
65741 {
65742 finitel(0);
65743 ;
65744 return 0;
65745 }
65746 _ACEOF
65747 if ac_fn_cxx_try_compile "$LINENO"; then :
65748 glibcxx_cv_func_finitel_use=yes
65749 else
65750 glibcxx_cv_func_finitel_use=no
65751 fi
65752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65753 ac_ext=c
65754 ac_cpp='$CPP $CPPFLAGS'
65755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65758
65759
65760 fi
65761
65762 fi
65763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65764 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65765
65766 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65767 for ac_func in finitel
65768 do :
65769 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65770 if test "x$ac_cv_func_finitel" = x""yes; then :
65771 cat >>confdefs.h <<_ACEOF
65772 #define HAVE_FINITEL 1
65773 _ACEOF
65774
65775 fi
65776 done
65777
65778 else
65779
65780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65781 $as_echo_n "checking for _finitel declaration... " >&6; }
65782 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65783 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65784 $as_echo_n "(cached) " >&6
65785 else
65786
65787
65788 ac_ext=cpp
65789 ac_cpp='$CXXCPP $CPPFLAGS'
65790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65793
65794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65795 /* end confdefs.h. */
65796 #include <math.h>
65797 #ifdef HAVE_IEEEFP_H
65798 #include <ieeefp.h>
65799 #endif
65800
65801 int
65802 main ()
65803 {
65804 _finitel(0);
65805 ;
65806 return 0;
65807 }
65808 _ACEOF
65809 if ac_fn_cxx_try_compile "$LINENO"; then :
65810 glibcxx_cv_func__finitel_use=yes
65811 else
65812 glibcxx_cv_func__finitel_use=no
65813 fi
65814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65815 ac_ext=c
65816 ac_cpp='$CPP $CPPFLAGS'
65817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65820
65821
65822 fi
65823
65824 fi
65825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65826 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65827
65828 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65829 for ac_func in _finitel
65830 do :
65831 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65832 if test "x$ac_cv_func__finitel" = x""yes; then :
65833 cat >>confdefs.h <<_ACEOF
65834 #define HAVE__FINITEL 1
65835 _ACEOF
65836
65837 fi
65838 done
65839
65840 fi
65841 fi
65842
65843
65844
65845
65846 LIBS="$ac_save_LIBS"
65847 CXXFLAGS="$ac_save_CXXFLAGS"
65848
65849
65850 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65851 ac_save_CXXFLAGS="$CXXFLAGS"
65852 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65853
65854
65855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65856 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65857 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65858 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65859 $as_echo_n "(cached) " >&6
65860 else
65861
65862
65863 ac_ext=cpp
65864 ac_cpp='$CXXCPP $CPPFLAGS'
65865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65868
65869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65870 /* end confdefs.h. */
65871 #include <stdlib.h>
65872 int
65873 main ()
65874 {
65875 at_quick_exit(0);
65876 ;
65877 return 0;
65878 }
65879 _ACEOF
65880 if ac_fn_cxx_try_compile "$LINENO"; then :
65881 glibcxx_cv_func_at_quick_exit_use=yes
65882 else
65883 glibcxx_cv_func_at_quick_exit_use=no
65884 fi
65885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65886 ac_ext=c
65887 ac_cpp='$CPP $CPPFLAGS'
65888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65891
65892
65893 fi
65894
65895 fi
65896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65897 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65898 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65899 for ac_func in at_quick_exit
65900 do :
65901 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65902 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65903 cat >>confdefs.h <<_ACEOF
65904 #define HAVE_AT_QUICK_EXIT 1
65905 _ACEOF
65906
65907 fi
65908 done
65909
65910 fi
65911
65912
65913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65914 $as_echo_n "checking for quick_exit declaration... " >&6; }
65915 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65916 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65917 $as_echo_n "(cached) " >&6
65918 else
65919
65920
65921 ac_ext=cpp
65922 ac_cpp='$CXXCPP $CPPFLAGS'
65923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65926
65927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65928 /* end confdefs.h. */
65929 #include <stdlib.h>
65930 int
65931 main ()
65932 {
65933 quick_exit(0);
65934 ;
65935 return 0;
65936 }
65937 _ACEOF
65938 if ac_fn_cxx_try_compile "$LINENO"; then :
65939 glibcxx_cv_func_quick_exit_use=yes
65940 else
65941 glibcxx_cv_func_quick_exit_use=no
65942 fi
65943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65944 ac_ext=c
65945 ac_cpp='$CPP $CPPFLAGS'
65946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65949
65950
65951 fi
65952
65953 fi
65954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65955 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65956 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65957 for ac_func in quick_exit
65958 do :
65959 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65960 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65961 cat >>confdefs.h <<_ACEOF
65962 #define HAVE_QUICK_EXIT 1
65963 _ACEOF
65964
65965 fi
65966 done
65967
65968 fi
65969
65970
65971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65972 $as_echo_n "checking for strtold declaration... " >&6; }
65973 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65974 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65975 $as_echo_n "(cached) " >&6
65976 else
65977
65978
65979 ac_ext=cpp
65980 ac_cpp='$CXXCPP $CPPFLAGS'
65981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65984
65985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65986 /* end confdefs.h. */
65987 #include <stdlib.h>
65988 int
65989 main ()
65990 {
65991 strtold(0, 0);
65992 ;
65993 return 0;
65994 }
65995 _ACEOF
65996 if ac_fn_cxx_try_compile "$LINENO"; then :
65997 glibcxx_cv_func_strtold_use=yes
65998 else
65999 glibcxx_cv_func_strtold_use=no
66000 fi
66001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66002 ac_ext=c
66003 ac_cpp='$CPP $CPPFLAGS'
66004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66007
66008
66009 fi
66010
66011 fi
66012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66013 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66014 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66015 for ac_func in strtold
66016 do :
66017 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66018 if test "x$ac_cv_func_strtold" = x""yes; then :
66019 cat >>confdefs.h <<_ACEOF
66020 #define HAVE_STRTOLD 1
66021 _ACEOF
66022
66023 fi
66024 done
66025
66026 fi
66027
66028
66029
66030
66031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66032 $as_echo_n "checking for strtof declaration... " >&6; }
66033 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66034 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66035 $as_echo_n "(cached) " >&6
66036 else
66037
66038
66039 ac_ext=cpp
66040 ac_cpp='$CXXCPP $CPPFLAGS'
66041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66044
66045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66046 /* end confdefs.h. */
66047 #include <stdlib.h>
66048 int
66049 main ()
66050 {
66051 strtof(0, 0);
66052 ;
66053 return 0;
66054 }
66055 _ACEOF
66056 if ac_fn_cxx_try_compile "$LINENO"; then :
66057 glibcxx_cv_func_strtof_use=yes
66058 else
66059 glibcxx_cv_func_strtof_use=no
66060 fi
66061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66062 ac_ext=c
66063 ac_cpp='$CPP $CPPFLAGS'
66064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66067
66068
66069 fi
66070
66071 fi
66072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66073 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66074 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66075 for ac_func in strtof
66076 do :
66077 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66078 if test "x$ac_cv_func_strtof" = x""yes; then :
66079 cat >>confdefs.h <<_ACEOF
66080 #define HAVE_STRTOF 1
66081 _ACEOF
66082
66083 fi
66084 done
66085
66086 fi
66087
66088
66089
66090
66091 CXXFLAGS="$ac_save_CXXFLAGS"
66092
66093 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66094 do :
66095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66097 eval as_val=\$$as_ac_var
66098 if test "x$as_val" = x""yes; then :
66099 cat >>confdefs.h <<_ACEOF
66100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66101 _ACEOF
66102
66103 fi
66104 done
66105
66106 for ac_func in _wfopen
66107 do :
66108 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66109 if test "x$ac_cv_func__wfopen" = x""yes; then :
66110 cat >>confdefs.h <<_ACEOF
66111 #define HAVE__WFOPEN 1
66112 _ACEOF
66113
66114 fi
66115 done
66116
66117 ;;
66118 *-netbsd* | *-openbsd*)
66119 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66120
66121
66122 # If we're not using GNU ld, then there's no point in even trying these
66123 # tests. Check for that first. We should have already tested for gld
66124 # by now (in libtool), but require it now just to be safe...
66125 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66126 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66127
66128
66129
66130 # The name set by libtool depends on the version of libtool. Shame on us
66131 # for depending on an impl detail, but c'est la vie. Older versions used
66132 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66133 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66134 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66135 # set (hence we're using an older libtool), then set it.
66136 if test x${with_gnu_ld+set} != xset; then
66137 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66138 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66139 with_gnu_ld=no
66140 else
66141 with_gnu_ld=$ac_cv_prog_gnu_ld
66142 fi
66143 fi
66144
66145 # Start by getting the version number. I think the libtool test already
66146 # does some of this, but throws away the result.
66147 glibcxx_ld_is_gold=no
66148 if test x"$with_gnu_ld" = x"yes"; then
66149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66150 $as_echo_n "checking for ld version... " >&6; }
66151
66152 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66153 glibcxx_ld_is_gold=yes
66154 fi
66155 ldver=`$LD --version 2>/dev/null |
66156 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'`
66157
66158 glibcxx_gnu_ld_version=`echo $ldver | \
66159 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66161 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66162 fi
66163
66164 # Set --gc-sections.
66165 glibcxx_have_gc_sections=no
66166 if test "$glibcxx_ld_is_gold" = "yes"; then
66167 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66168 glibcxx_have_gc_sections=yes
66169 fi
66170 else
66171 glibcxx_gcsections_min_ld=21602
66172 if test x"$with_gnu_ld" = x"yes" &&
66173 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66174 glibcxx_have_gc_sections=yes
66175 fi
66176 fi
66177 if test "$glibcxx_have_gc_sections" = "yes"; then
66178 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66179 # NB: This flag only works reliably after 2.16.1. Configure tests
66180 # for this are difficult, so hard wire a value that should work.
66181
66182 ac_test_CFLAGS="${CFLAGS+set}"
66183 ac_save_CFLAGS="$CFLAGS"
66184 CFLAGS='-Wl,--gc-sections'
66185
66186 # Check for -Wl,--gc-sections
66187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66188 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66189 if test x$gcc_no_link = xyes; then
66190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66191 fi
66192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66193 /* end confdefs.h. */
66194 int one(void) { return 1; }
66195 int two(void) { return 2; }
66196
66197 int
66198 main ()
66199 {
66200 two();
66201 ;
66202 return 0;
66203 }
66204 _ACEOF
66205 if ac_fn_c_try_link "$LINENO"; then :
66206 ac_gcsections=yes
66207 else
66208 ac_gcsections=no
66209 fi
66210 rm -f core conftest.err conftest.$ac_objext \
66211 conftest$ac_exeext conftest.$ac_ext
66212 if test "$ac_gcsections" = "yes"; then
66213 rm -f conftest.c
66214 touch conftest.c
66215 if $CC -c conftest.c; then
66216 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66217 grep "Warning: gc-sections option ignored" > /dev/null; then
66218 ac_gcsections=no
66219 fi
66220 fi
66221 rm -f conftest.c conftest.o conftest
66222 fi
66223 if test "$ac_gcsections" = "yes"; then
66224 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66225 fi
66226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66227 $as_echo "$ac_gcsections" >&6; }
66228
66229 if test "$ac_test_CFLAGS" = set; then
66230 CFLAGS="$ac_save_CFLAGS"
66231 else
66232 # this is the suspicious part
66233 CFLAGS=''
66234 fi
66235 fi
66236
66237 # Set -z,relro.
66238 # Note this is only for shared objects.
66239 ac_ld_relro=no
66240 if test x"$with_gnu_ld" = x"yes"; then
66241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66242 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66243 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66244 if test -n "$cxx_z_relo"; then
66245 OPT_LDFLAGS="-Wl,-z,relro"
66246 ac_ld_relro=yes
66247 fi
66248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66249 $as_echo "$ac_ld_relro" >&6; }
66250 fi
66251
66252 # Set linker optimization flags.
66253 if test x"$with_gnu_ld" = x"yes"; then
66254 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66255 fi
66256
66257
66258
66259
66260 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66261
66262 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66263
66264 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66265
66266 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66267
66268 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66269
66270 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66271
66272 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66273
66274 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66275
66276 if test x"long_double_math_on_this_cpu" = x"yes"; then
66277 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66278
66279 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66280
66281 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66282
66283 fi
66284 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66285 do :
66286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66288 eval as_val=\$$as_ac_var
66289 if test "x$as_val" = x""yes; then :
66290 cat >>confdefs.h <<_ACEOF
66291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66292 _ACEOF
66293
66294 fi
66295 done
66296
66297 ;;
66298 *-qnx6.1* | *-qnx6.2*)
66299 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66300
66301
66302 # If we're not using GNU ld, then there's no point in even trying these
66303 # tests. Check for that first. We should have already tested for gld
66304 # by now (in libtool), but require it now just to be safe...
66305 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66306 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66307
66308
66309
66310 # The name set by libtool depends on the version of libtool. Shame on us
66311 # for depending on an impl detail, but c'est la vie. Older versions used
66312 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66313 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66314 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66315 # set (hence we're using an older libtool), then set it.
66316 if test x${with_gnu_ld+set} != xset; then
66317 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66318 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66319 with_gnu_ld=no
66320 else
66321 with_gnu_ld=$ac_cv_prog_gnu_ld
66322 fi
66323 fi
66324
66325 # Start by getting the version number. I think the libtool test already
66326 # does some of this, but throws away the result.
66327 glibcxx_ld_is_gold=no
66328 if test x"$with_gnu_ld" = x"yes"; then
66329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66330 $as_echo_n "checking for ld version... " >&6; }
66331
66332 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66333 glibcxx_ld_is_gold=yes
66334 fi
66335 ldver=`$LD --version 2>/dev/null |
66336 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'`
66337
66338 glibcxx_gnu_ld_version=`echo $ldver | \
66339 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66341 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66342 fi
66343
66344 # Set --gc-sections.
66345 glibcxx_have_gc_sections=no
66346 if test "$glibcxx_ld_is_gold" = "yes"; then
66347 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66348 glibcxx_have_gc_sections=yes
66349 fi
66350 else
66351 glibcxx_gcsections_min_ld=21602
66352 if test x"$with_gnu_ld" = x"yes" &&
66353 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66354 glibcxx_have_gc_sections=yes
66355 fi
66356 fi
66357 if test "$glibcxx_have_gc_sections" = "yes"; then
66358 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66359 # NB: This flag only works reliably after 2.16.1. Configure tests
66360 # for this are difficult, so hard wire a value that should work.
66361
66362 ac_test_CFLAGS="${CFLAGS+set}"
66363 ac_save_CFLAGS="$CFLAGS"
66364 CFLAGS='-Wl,--gc-sections'
66365
66366 # Check for -Wl,--gc-sections
66367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66368 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66369 if test x$gcc_no_link = xyes; then
66370 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66371 fi
66372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66373 /* end confdefs.h. */
66374 int one(void) { return 1; }
66375 int two(void) { return 2; }
66376
66377 int
66378 main ()
66379 {
66380 two();
66381 ;
66382 return 0;
66383 }
66384 _ACEOF
66385 if ac_fn_c_try_link "$LINENO"; then :
66386 ac_gcsections=yes
66387 else
66388 ac_gcsections=no
66389 fi
66390 rm -f core conftest.err conftest.$ac_objext \
66391 conftest$ac_exeext conftest.$ac_ext
66392 if test "$ac_gcsections" = "yes"; then
66393 rm -f conftest.c
66394 touch conftest.c
66395 if $CC -c conftest.c; then
66396 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66397 grep "Warning: gc-sections option ignored" > /dev/null; then
66398 ac_gcsections=no
66399 fi
66400 fi
66401 rm -f conftest.c conftest.o conftest
66402 fi
66403 if test "$ac_gcsections" = "yes"; then
66404 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66405 fi
66406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66407 $as_echo "$ac_gcsections" >&6; }
66408
66409 if test "$ac_test_CFLAGS" = set; then
66410 CFLAGS="$ac_save_CFLAGS"
66411 else
66412 # this is the suspicious part
66413 CFLAGS=''
66414 fi
66415 fi
66416
66417 # Set -z,relro.
66418 # Note this is only for shared objects.
66419 ac_ld_relro=no
66420 if test x"$with_gnu_ld" = x"yes"; then
66421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66422 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66423 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66424 if test -n "$cxx_z_relo"; then
66425 OPT_LDFLAGS="-Wl,-z,relro"
66426 ac_ld_relro=yes
66427 fi
66428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66429 $as_echo "$ac_ld_relro" >&6; }
66430 fi
66431
66432 # Set linker optimization flags.
66433 if test x"$with_gnu_ld" = x"yes"; then
66434 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66435 fi
66436
66437
66438
66439
66440 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66441
66442 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66443
66444 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66445
66446 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66447
66448 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66449
66450 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66451
66452 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66453
66454 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66455
66456 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66457
66458 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66459
66460 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66461
66462 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66463
66464 ;;
66465 *-rtems*)
66466
66467 # All these tests are for C++; save the language and the compiler flags.
66468 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66469 # found in GLIBCXX_CONFIGURE.
66470
66471 ac_ext=cpp
66472 ac_cpp='$CXXCPP $CPPFLAGS'
66473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66476
66477 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66478 ac_save_CXXFLAGS="$CXXFLAGS"
66479
66480 # Check for -ffunction-sections -fdata-sections
66481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66482 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66483 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66485 /* end confdefs.h. */
66486 int foo; void bar() { };
66487 int
66488 main ()
66489 {
66490
66491 ;
66492 return 0;
66493 }
66494 _ACEOF
66495 if ac_fn_cxx_try_compile "$LINENO"; then :
66496 ac_fdsections=yes
66497 else
66498 ac_fdsections=no
66499 fi
66500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66501 if test "$ac_test_CXXFLAGS" = set; then
66502 CXXFLAGS="$ac_save_CXXFLAGS"
66503 else
66504 # this is the suspicious part
66505 CXXFLAGS=''
66506 fi
66507 if test x"$ac_fdsections" = x"yes"; then
66508 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66509 fi
66510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66511 $as_echo "$ac_fdsections" >&6; }
66512
66513 ac_ext=c
66514 ac_cpp='$CPP $CPPFLAGS'
66515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66518
66519
66520
66521
66522 # If we're not using GNU ld, then there's no point in even trying these
66523 # tests. Check for that first. We should have already tested for gld
66524 # by now (in libtool), but require it now just to be safe...
66525 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66526 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66527
66528
66529
66530 # The name set by libtool depends on the version of libtool. Shame on us
66531 # for depending on an impl detail, but c'est la vie. Older versions used
66532 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66533 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66534 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66535 # set (hence we're using an older libtool), then set it.
66536 if test x${with_gnu_ld+set} != xset; then
66537 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66538 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66539 with_gnu_ld=no
66540 else
66541 with_gnu_ld=$ac_cv_prog_gnu_ld
66542 fi
66543 fi
66544
66545 # Start by getting the version number. I think the libtool test already
66546 # does some of this, but throws away the result.
66547 glibcxx_ld_is_gold=no
66548 if test x"$with_gnu_ld" = x"yes"; then
66549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66550 $as_echo_n "checking for ld version... " >&6; }
66551
66552 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66553 glibcxx_ld_is_gold=yes
66554 fi
66555 ldver=`$LD --version 2>/dev/null |
66556 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'`
66557
66558 glibcxx_gnu_ld_version=`echo $ldver | \
66559 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66561 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66562 fi
66563
66564 # Set --gc-sections.
66565 glibcxx_have_gc_sections=no
66566 if test "$glibcxx_ld_is_gold" = "yes"; then
66567 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66568 glibcxx_have_gc_sections=yes
66569 fi
66570 else
66571 glibcxx_gcsections_min_ld=21602
66572 if test x"$with_gnu_ld" = x"yes" &&
66573 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66574 glibcxx_have_gc_sections=yes
66575 fi
66576 fi
66577 if test "$glibcxx_have_gc_sections" = "yes"; then
66578 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66579 # NB: This flag only works reliably after 2.16.1. Configure tests
66580 # for this are difficult, so hard wire a value that should work.
66581
66582 ac_test_CFLAGS="${CFLAGS+set}"
66583 ac_save_CFLAGS="$CFLAGS"
66584 CFLAGS='-Wl,--gc-sections'
66585
66586 # Check for -Wl,--gc-sections
66587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66588 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66589 if test x$gcc_no_link = xyes; then
66590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66591 fi
66592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66593 /* end confdefs.h. */
66594 int one(void) { return 1; }
66595 int two(void) { return 2; }
66596
66597 int
66598 main ()
66599 {
66600 two();
66601 ;
66602 return 0;
66603 }
66604 _ACEOF
66605 if ac_fn_c_try_link "$LINENO"; then :
66606 ac_gcsections=yes
66607 else
66608 ac_gcsections=no
66609 fi
66610 rm -f core conftest.err conftest.$ac_objext \
66611 conftest$ac_exeext conftest.$ac_ext
66612 if test "$ac_gcsections" = "yes"; then
66613 rm -f conftest.c
66614 touch conftest.c
66615 if $CC -c conftest.c; then
66616 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66617 grep "Warning: gc-sections option ignored" > /dev/null; then
66618 ac_gcsections=no
66619 fi
66620 fi
66621 rm -f conftest.c conftest.o conftest
66622 fi
66623 if test "$ac_gcsections" = "yes"; then
66624 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66625 fi
66626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66627 $as_echo "$ac_gcsections" >&6; }
66628
66629 if test "$ac_test_CFLAGS" = set; then
66630 CFLAGS="$ac_save_CFLAGS"
66631 else
66632 # this is the suspicious part
66633 CFLAGS=''
66634 fi
66635 fi
66636
66637 # Set -z,relro.
66638 # Note this is only for shared objects.
66639 ac_ld_relro=no
66640 if test x"$with_gnu_ld" = x"yes"; then
66641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66642 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66643 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66644 if test -n "$cxx_z_relo"; then
66645 OPT_LDFLAGS="-Wl,-z,relro"
66646 ac_ld_relro=yes
66647 fi
66648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66649 $as_echo "$ac_ld_relro" >&6; }
66650 fi
66651
66652 # Set linker optimization flags.
66653 if test x"$with_gnu_ld" = x"yes"; then
66654 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66655 fi
66656
66657
66658
66659
66660
66661 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66662 ac_save_CXXFLAGS="$CXXFLAGS"
66663 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66664
66665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66666 $as_echo_n "checking for sin in -lm... " >&6; }
66667 if test "${ac_cv_lib_m_sin+set}" = set; then :
66668 $as_echo_n "(cached) " >&6
66669 else
66670 ac_check_lib_save_LIBS=$LIBS
66671 LIBS="-lm $LIBS"
66672 if test x$gcc_no_link = xyes; then
66673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66674 fi
66675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66676 /* end confdefs.h. */
66677
66678 /* Override any GCC internal prototype to avoid an error.
66679 Use char because int might match the return type of a GCC
66680 builtin and then its argument prototype would still apply. */
66681 #ifdef __cplusplus
66682 extern "C"
66683 #endif
66684 char sin ();
66685 int
66686 main ()
66687 {
66688 return sin ();
66689 ;
66690 return 0;
66691 }
66692 _ACEOF
66693 if ac_fn_c_try_link "$LINENO"; then :
66694 ac_cv_lib_m_sin=yes
66695 else
66696 ac_cv_lib_m_sin=no
66697 fi
66698 rm -f core conftest.err conftest.$ac_objext \
66699 conftest$ac_exeext conftest.$ac_ext
66700 LIBS=$ac_check_lib_save_LIBS
66701 fi
66702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66703 $as_echo "$ac_cv_lib_m_sin" >&6; }
66704 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66705 libm="-lm"
66706 fi
66707
66708 ac_save_LIBS="$LIBS"
66709 LIBS="$LIBS $libm"
66710
66711
66712
66713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66714 $as_echo_n "checking for isinf declaration... " >&6; }
66715 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66716 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66717 $as_echo_n "(cached) " >&6
66718 else
66719
66720
66721 ac_ext=cpp
66722 ac_cpp='$CXXCPP $CPPFLAGS'
66723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66726
66727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66728 /* end confdefs.h. */
66729 #include <math.h>
66730 #ifdef HAVE_IEEEFP_H
66731 #include <ieeefp.h>
66732 #endif
66733
66734 int
66735 main ()
66736 {
66737 isinf(0);
66738 ;
66739 return 0;
66740 }
66741 _ACEOF
66742 if ac_fn_cxx_try_compile "$LINENO"; then :
66743 glibcxx_cv_func_isinf_use=yes
66744 else
66745 glibcxx_cv_func_isinf_use=no
66746 fi
66747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66748 ac_ext=c
66749 ac_cpp='$CPP $CPPFLAGS'
66750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66753
66754
66755 fi
66756
66757 fi
66758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66759 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66760
66761 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66762 for ac_func in isinf
66763 do :
66764 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66765 if test "x$ac_cv_func_isinf" = x""yes; then :
66766 cat >>confdefs.h <<_ACEOF
66767 #define HAVE_ISINF 1
66768 _ACEOF
66769
66770 fi
66771 done
66772
66773 else
66774
66775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66776 $as_echo_n "checking for _isinf declaration... " >&6; }
66777 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66778 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66779 $as_echo_n "(cached) " >&6
66780 else
66781
66782
66783 ac_ext=cpp
66784 ac_cpp='$CXXCPP $CPPFLAGS'
66785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66788
66789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66790 /* end confdefs.h. */
66791 #include <math.h>
66792 #ifdef HAVE_IEEEFP_H
66793 #include <ieeefp.h>
66794 #endif
66795
66796 int
66797 main ()
66798 {
66799 _isinf(0);
66800 ;
66801 return 0;
66802 }
66803 _ACEOF
66804 if ac_fn_cxx_try_compile "$LINENO"; then :
66805 glibcxx_cv_func__isinf_use=yes
66806 else
66807 glibcxx_cv_func__isinf_use=no
66808 fi
66809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66810 ac_ext=c
66811 ac_cpp='$CPP $CPPFLAGS'
66812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66815
66816
66817 fi
66818
66819 fi
66820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66821 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66822
66823 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66824 for ac_func in _isinf
66825 do :
66826 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66827 if test "x$ac_cv_func__isinf" = x""yes; then :
66828 cat >>confdefs.h <<_ACEOF
66829 #define HAVE__ISINF 1
66830 _ACEOF
66831
66832 fi
66833 done
66834
66835 fi
66836 fi
66837
66838
66839
66840
66841
66842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66843 $as_echo_n "checking for isnan declaration... " >&6; }
66844 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66845 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66846 $as_echo_n "(cached) " >&6
66847 else
66848
66849
66850 ac_ext=cpp
66851 ac_cpp='$CXXCPP $CPPFLAGS'
66852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66855
66856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66857 /* end confdefs.h. */
66858 #include <math.h>
66859 #ifdef HAVE_IEEEFP_H
66860 #include <ieeefp.h>
66861 #endif
66862
66863 int
66864 main ()
66865 {
66866 isnan(0);
66867 ;
66868 return 0;
66869 }
66870 _ACEOF
66871 if ac_fn_cxx_try_compile "$LINENO"; then :
66872 glibcxx_cv_func_isnan_use=yes
66873 else
66874 glibcxx_cv_func_isnan_use=no
66875 fi
66876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66877 ac_ext=c
66878 ac_cpp='$CPP $CPPFLAGS'
66879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66882
66883
66884 fi
66885
66886 fi
66887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66888 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66889
66890 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66891 for ac_func in isnan
66892 do :
66893 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66894 if test "x$ac_cv_func_isnan" = x""yes; then :
66895 cat >>confdefs.h <<_ACEOF
66896 #define HAVE_ISNAN 1
66897 _ACEOF
66898
66899 fi
66900 done
66901
66902 else
66903
66904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66905 $as_echo_n "checking for _isnan declaration... " >&6; }
66906 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66907 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66908 $as_echo_n "(cached) " >&6
66909 else
66910
66911
66912 ac_ext=cpp
66913 ac_cpp='$CXXCPP $CPPFLAGS'
66914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66917
66918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66919 /* end confdefs.h. */
66920 #include <math.h>
66921 #ifdef HAVE_IEEEFP_H
66922 #include <ieeefp.h>
66923 #endif
66924
66925 int
66926 main ()
66927 {
66928 _isnan(0);
66929 ;
66930 return 0;
66931 }
66932 _ACEOF
66933 if ac_fn_cxx_try_compile "$LINENO"; then :
66934 glibcxx_cv_func__isnan_use=yes
66935 else
66936 glibcxx_cv_func__isnan_use=no
66937 fi
66938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66939 ac_ext=c
66940 ac_cpp='$CPP $CPPFLAGS'
66941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66944
66945
66946 fi
66947
66948 fi
66949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66950 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66951
66952 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66953 for ac_func in _isnan
66954 do :
66955 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66956 if test "x$ac_cv_func__isnan" = x""yes; then :
66957 cat >>confdefs.h <<_ACEOF
66958 #define HAVE__ISNAN 1
66959 _ACEOF
66960
66961 fi
66962 done
66963
66964 fi
66965 fi
66966
66967
66968
66969
66970
66971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66972 $as_echo_n "checking for finite declaration... " >&6; }
66973 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66974 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66975 $as_echo_n "(cached) " >&6
66976 else
66977
66978
66979 ac_ext=cpp
66980 ac_cpp='$CXXCPP $CPPFLAGS'
66981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66984
66985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66986 /* end confdefs.h. */
66987 #include <math.h>
66988 #ifdef HAVE_IEEEFP_H
66989 #include <ieeefp.h>
66990 #endif
66991
66992 int
66993 main ()
66994 {
66995 finite(0);
66996 ;
66997 return 0;
66998 }
66999 _ACEOF
67000 if ac_fn_cxx_try_compile "$LINENO"; then :
67001 glibcxx_cv_func_finite_use=yes
67002 else
67003 glibcxx_cv_func_finite_use=no
67004 fi
67005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67006 ac_ext=c
67007 ac_cpp='$CPP $CPPFLAGS'
67008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67011
67012
67013 fi
67014
67015 fi
67016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67017 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67018
67019 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67020 for ac_func in finite
67021 do :
67022 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67023 if test "x$ac_cv_func_finite" = x""yes; then :
67024 cat >>confdefs.h <<_ACEOF
67025 #define HAVE_FINITE 1
67026 _ACEOF
67027
67028 fi
67029 done
67030
67031 else
67032
67033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67034 $as_echo_n "checking for _finite declaration... " >&6; }
67035 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67036 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67037 $as_echo_n "(cached) " >&6
67038 else
67039
67040
67041 ac_ext=cpp
67042 ac_cpp='$CXXCPP $CPPFLAGS'
67043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67046
67047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67048 /* end confdefs.h. */
67049 #include <math.h>
67050 #ifdef HAVE_IEEEFP_H
67051 #include <ieeefp.h>
67052 #endif
67053
67054 int
67055 main ()
67056 {
67057 _finite(0);
67058 ;
67059 return 0;
67060 }
67061 _ACEOF
67062 if ac_fn_cxx_try_compile "$LINENO"; then :
67063 glibcxx_cv_func__finite_use=yes
67064 else
67065 glibcxx_cv_func__finite_use=no
67066 fi
67067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67068 ac_ext=c
67069 ac_cpp='$CPP $CPPFLAGS'
67070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67073
67074
67075 fi
67076
67077 fi
67078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67079 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67080
67081 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67082 for ac_func in _finite
67083 do :
67084 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67085 if test "x$ac_cv_func__finite" = x""yes; then :
67086 cat >>confdefs.h <<_ACEOF
67087 #define HAVE__FINITE 1
67088 _ACEOF
67089
67090 fi
67091 done
67092
67093 fi
67094 fi
67095
67096
67097
67098
67099
67100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67101 $as_echo_n "checking for sincos declaration... " >&6; }
67102 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67103 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67104 $as_echo_n "(cached) " >&6
67105 else
67106
67107
67108 ac_ext=cpp
67109 ac_cpp='$CXXCPP $CPPFLAGS'
67110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67113
67114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67115 /* end confdefs.h. */
67116 #include <math.h>
67117 int
67118 main ()
67119 {
67120 sincos(0, 0, 0);
67121 ;
67122 return 0;
67123 }
67124 _ACEOF
67125 if ac_fn_cxx_try_compile "$LINENO"; then :
67126 glibcxx_cv_func_sincos_use=yes
67127 else
67128 glibcxx_cv_func_sincos_use=no
67129 fi
67130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67131 ac_ext=c
67132 ac_cpp='$CPP $CPPFLAGS'
67133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67136
67137
67138 fi
67139
67140 fi
67141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67142 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67143
67144 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67145 for ac_func in sincos
67146 do :
67147 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67148 if test "x$ac_cv_func_sincos" = x""yes; then :
67149 cat >>confdefs.h <<_ACEOF
67150 #define HAVE_SINCOS 1
67151 _ACEOF
67152
67153 fi
67154 done
67155
67156 else
67157
67158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67159 $as_echo_n "checking for _sincos declaration... " >&6; }
67160 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67161 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67162 $as_echo_n "(cached) " >&6
67163 else
67164
67165
67166 ac_ext=cpp
67167 ac_cpp='$CXXCPP $CPPFLAGS'
67168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67171
67172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67173 /* end confdefs.h. */
67174 #include <math.h>
67175 int
67176 main ()
67177 {
67178 _sincos(0, 0, 0);
67179 ;
67180 return 0;
67181 }
67182 _ACEOF
67183 if ac_fn_cxx_try_compile "$LINENO"; then :
67184 glibcxx_cv_func__sincos_use=yes
67185 else
67186 glibcxx_cv_func__sincos_use=no
67187 fi
67188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67189 ac_ext=c
67190 ac_cpp='$CPP $CPPFLAGS'
67191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67194
67195
67196 fi
67197
67198 fi
67199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67200 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67201
67202 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67203 for ac_func in _sincos
67204 do :
67205 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67206 if test "x$ac_cv_func__sincos" = x""yes; then :
67207 cat >>confdefs.h <<_ACEOF
67208 #define HAVE__SINCOS 1
67209 _ACEOF
67210
67211 fi
67212 done
67213
67214 fi
67215 fi
67216
67217
67218
67219
67220
67221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67222 $as_echo_n "checking for fpclass declaration... " >&6; }
67223 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67224 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67225 $as_echo_n "(cached) " >&6
67226 else
67227
67228
67229 ac_ext=cpp
67230 ac_cpp='$CXXCPP $CPPFLAGS'
67231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67234
67235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67236 /* end confdefs.h. */
67237 #include <math.h>
67238 #ifdef HAVE_IEEEFP_H
67239 #include <ieeefp.h>
67240 #endif
67241
67242 int
67243 main ()
67244 {
67245 fpclass(0);
67246 ;
67247 return 0;
67248 }
67249 _ACEOF
67250 if ac_fn_cxx_try_compile "$LINENO"; then :
67251 glibcxx_cv_func_fpclass_use=yes
67252 else
67253 glibcxx_cv_func_fpclass_use=no
67254 fi
67255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67256 ac_ext=c
67257 ac_cpp='$CPP $CPPFLAGS'
67258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67261
67262
67263 fi
67264
67265 fi
67266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67267 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67268
67269 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67270 for ac_func in fpclass
67271 do :
67272 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67273 if test "x$ac_cv_func_fpclass" = x""yes; then :
67274 cat >>confdefs.h <<_ACEOF
67275 #define HAVE_FPCLASS 1
67276 _ACEOF
67277
67278 fi
67279 done
67280
67281 else
67282
67283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67284 $as_echo_n "checking for _fpclass declaration... " >&6; }
67285 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67286 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67287 $as_echo_n "(cached) " >&6
67288 else
67289
67290
67291 ac_ext=cpp
67292 ac_cpp='$CXXCPP $CPPFLAGS'
67293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67296
67297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67298 /* end confdefs.h. */
67299 #include <math.h>
67300 #ifdef HAVE_IEEEFP_H
67301 #include <ieeefp.h>
67302 #endif
67303
67304 int
67305 main ()
67306 {
67307 _fpclass(0);
67308 ;
67309 return 0;
67310 }
67311 _ACEOF
67312 if ac_fn_cxx_try_compile "$LINENO"; then :
67313 glibcxx_cv_func__fpclass_use=yes
67314 else
67315 glibcxx_cv_func__fpclass_use=no
67316 fi
67317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67318 ac_ext=c
67319 ac_cpp='$CPP $CPPFLAGS'
67320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67323
67324
67325 fi
67326
67327 fi
67328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67329 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67330
67331 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67332 for ac_func in _fpclass
67333 do :
67334 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67335 if test "x$ac_cv_func__fpclass" = x""yes; then :
67336 cat >>confdefs.h <<_ACEOF
67337 #define HAVE__FPCLASS 1
67338 _ACEOF
67339
67340 fi
67341 done
67342
67343 fi
67344 fi
67345
67346
67347
67348
67349
67350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67351 $as_echo_n "checking for qfpclass declaration... " >&6; }
67352 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67353 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67354 $as_echo_n "(cached) " >&6
67355 else
67356
67357
67358 ac_ext=cpp
67359 ac_cpp='$CXXCPP $CPPFLAGS'
67360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67363
67364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67365 /* end confdefs.h. */
67366 #include <math.h>
67367 #ifdef HAVE_IEEEFP_H
67368 #include <ieeefp.h>
67369 #endif
67370
67371 int
67372 main ()
67373 {
67374 qfpclass(0);
67375 ;
67376 return 0;
67377 }
67378 _ACEOF
67379 if ac_fn_cxx_try_compile "$LINENO"; then :
67380 glibcxx_cv_func_qfpclass_use=yes
67381 else
67382 glibcxx_cv_func_qfpclass_use=no
67383 fi
67384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67385 ac_ext=c
67386 ac_cpp='$CPP $CPPFLAGS'
67387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67390
67391
67392 fi
67393
67394 fi
67395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67396 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67397
67398 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67399 for ac_func in qfpclass
67400 do :
67401 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67402 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67403 cat >>confdefs.h <<_ACEOF
67404 #define HAVE_QFPCLASS 1
67405 _ACEOF
67406
67407 fi
67408 done
67409
67410 else
67411
67412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67413 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67414 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67415 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67416 $as_echo_n "(cached) " >&6
67417 else
67418
67419
67420 ac_ext=cpp
67421 ac_cpp='$CXXCPP $CPPFLAGS'
67422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67425
67426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67427 /* end confdefs.h. */
67428 #include <math.h>
67429 #ifdef HAVE_IEEEFP_H
67430 #include <ieeefp.h>
67431 #endif
67432
67433 int
67434 main ()
67435 {
67436 _qfpclass(0);
67437 ;
67438 return 0;
67439 }
67440 _ACEOF
67441 if ac_fn_cxx_try_compile "$LINENO"; then :
67442 glibcxx_cv_func__qfpclass_use=yes
67443 else
67444 glibcxx_cv_func__qfpclass_use=no
67445 fi
67446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67447 ac_ext=c
67448 ac_cpp='$CPP $CPPFLAGS'
67449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67452
67453
67454 fi
67455
67456 fi
67457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67458 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67459
67460 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67461 for ac_func in _qfpclass
67462 do :
67463 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67464 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67465 cat >>confdefs.h <<_ACEOF
67466 #define HAVE__QFPCLASS 1
67467 _ACEOF
67468
67469 fi
67470 done
67471
67472 fi
67473 fi
67474
67475
67476
67477
67478
67479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67480 $as_echo_n "checking for hypot declaration... " >&6; }
67481 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67482 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67483 $as_echo_n "(cached) " >&6
67484 else
67485
67486
67487 ac_ext=cpp
67488 ac_cpp='$CXXCPP $CPPFLAGS'
67489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67492
67493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67494 /* end confdefs.h. */
67495 #include <math.h>
67496 int
67497 main ()
67498 {
67499 hypot(0, 0);
67500 ;
67501 return 0;
67502 }
67503 _ACEOF
67504 if ac_fn_cxx_try_compile "$LINENO"; then :
67505 glibcxx_cv_func_hypot_use=yes
67506 else
67507 glibcxx_cv_func_hypot_use=no
67508 fi
67509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67510 ac_ext=c
67511 ac_cpp='$CPP $CPPFLAGS'
67512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67515
67516
67517 fi
67518
67519 fi
67520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67521 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67522
67523 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67524 for ac_func in hypot
67525 do :
67526 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67527 if test "x$ac_cv_func_hypot" = x""yes; then :
67528 cat >>confdefs.h <<_ACEOF
67529 #define HAVE_HYPOT 1
67530 _ACEOF
67531
67532 fi
67533 done
67534
67535 else
67536
67537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67538 $as_echo_n "checking for _hypot declaration... " >&6; }
67539 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67540 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67541 $as_echo_n "(cached) " >&6
67542 else
67543
67544
67545 ac_ext=cpp
67546 ac_cpp='$CXXCPP $CPPFLAGS'
67547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67550
67551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67552 /* end confdefs.h. */
67553 #include <math.h>
67554 int
67555 main ()
67556 {
67557 _hypot(0, 0);
67558 ;
67559 return 0;
67560 }
67561 _ACEOF
67562 if ac_fn_cxx_try_compile "$LINENO"; then :
67563 glibcxx_cv_func__hypot_use=yes
67564 else
67565 glibcxx_cv_func__hypot_use=no
67566 fi
67567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67568 ac_ext=c
67569 ac_cpp='$CPP $CPPFLAGS'
67570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67573
67574
67575 fi
67576
67577 fi
67578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67579 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67580
67581 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67582 for ac_func in _hypot
67583 do :
67584 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67585 if test "x$ac_cv_func__hypot" = x""yes; then :
67586 cat >>confdefs.h <<_ACEOF
67587 #define HAVE__HYPOT 1
67588 _ACEOF
67589
67590 fi
67591 done
67592
67593 fi
67594 fi
67595
67596
67597
67598
67599
67600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67601 $as_echo_n "checking for float trig functions... " >&6; }
67602 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67603 $as_echo_n "(cached) " >&6
67604 else
67605
67606
67607 ac_ext=cpp
67608 ac_cpp='$CXXCPP $CPPFLAGS'
67609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67612
67613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67614 /* end confdefs.h. */
67615 #include <math.h>
67616 int
67617 main ()
67618 {
67619 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67620 ;
67621 return 0;
67622 }
67623 _ACEOF
67624 if ac_fn_cxx_try_compile "$LINENO"; then :
67625 glibcxx_cv_func_float_trig_use=yes
67626 else
67627 glibcxx_cv_func_float_trig_use=no
67628 fi
67629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67630 ac_ext=c
67631 ac_cpp='$CPP $CPPFLAGS'
67632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67635
67636 fi
67637
67638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67639 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67640 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67641 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67642 do :
67643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67644 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67645 eval as_val=\$$as_ac_var
67646 if test "x$as_val" = x""yes; then :
67647 cat >>confdefs.h <<_ACEOF
67648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67649 _ACEOF
67650
67651 fi
67652 done
67653
67654 else
67655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67656 $as_echo_n "checking for _float trig functions... " >&6; }
67657 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67658 $as_echo_n "(cached) " >&6
67659 else
67660
67661
67662 ac_ext=cpp
67663 ac_cpp='$CXXCPP $CPPFLAGS'
67664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67667
67668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67669 /* end confdefs.h. */
67670 #include <math.h>
67671 int
67672 main ()
67673 {
67674 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67675 ;
67676 return 0;
67677 }
67678 _ACEOF
67679 if ac_fn_cxx_try_compile "$LINENO"; then :
67680 glibcxx_cv_func__float_trig_use=yes
67681 else
67682 glibcxx_cv_func__float_trig_use=no
67683 fi
67684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67685 ac_ext=c
67686 ac_cpp='$CPP $CPPFLAGS'
67687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67690
67691 fi
67692
67693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67694 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67695 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67696 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67697 do :
67698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67700 eval as_val=\$$as_ac_var
67701 if test "x$as_val" = x""yes; then :
67702 cat >>confdefs.h <<_ACEOF
67703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67704 _ACEOF
67705
67706 fi
67707 done
67708
67709 fi
67710 fi
67711
67712
67713
67714
67715
67716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67717 $as_echo_n "checking for float round functions... " >&6; }
67718 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67719 $as_echo_n "(cached) " >&6
67720 else
67721
67722
67723 ac_ext=cpp
67724 ac_cpp='$CXXCPP $CPPFLAGS'
67725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67728
67729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67730 /* end confdefs.h. */
67731 #include <math.h>
67732 int
67733 main ()
67734 {
67735 ceilf (0); floorf (0);
67736 ;
67737 return 0;
67738 }
67739 _ACEOF
67740 if ac_fn_cxx_try_compile "$LINENO"; then :
67741 glibcxx_cv_func_float_round_use=yes
67742 else
67743 glibcxx_cv_func_float_round_use=no
67744 fi
67745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67746 ac_ext=c
67747 ac_cpp='$CPP $CPPFLAGS'
67748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67751
67752 fi
67753
67754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67755 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67756 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67757 for ac_func in ceilf floorf
67758 do :
67759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67761 eval as_val=\$$as_ac_var
67762 if test "x$as_val" = x""yes; then :
67763 cat >>confdefs.h <<_ACEOF
67764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67765 _ACEOF
67766
67767 fi
67768 done
67769
67770 else
67771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67772 $as_echo_n "checking for _float round functions... " >&6; }
67773 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67774 $as_echo_n "(cached) " >&6
67775 else
67776
67777
67778 ac_ext=cpp
67779 ac_cpp='$CXXCPP $CPPFLAGS'
67780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67783
67784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67785 /* end confdefs.h. */
67786 #include <math.h>
67787 int
67788 main ()
67789 {
67790 _ceilf (0); _floorf (0);
67791 ;
67792 return 0;
67793 }
67794 _ACEOF
67795 if ac_fn_cxx_try_compile "$LINENO"; then :
67796 glibcxx_cv_func__float_round_use=yes
67797 else
67798 glibcxx_cv_func__float_round_use=no
67799 fi
67800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67801 ac_ext=c
67802 ac_cpp='$CPP $CPPFLAGS'
67803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67806
67807 fi
67808
67809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67810 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67811 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67812 for ac_func in _ceilf _floorf
67813 do :
67814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67816 eval as_val=\$$as_ac_var
67817 if test "x$as_val" = x""yes; then :
67818 cat >>confdefs.h <<_ACEOF
67819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67820 _ACEOF
67821
67822 fi
67823 done
67824
67825 fi
67826 fi
67827
67828
67829
67830
67831
67832
67833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67834 $as_echo_n "checking for expf declaration... " >&6; }
67835 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67836 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67837 $as_echo_n "(cached) " >&6
67838 else
67839
67840
67841 ac_ext=cpp
67842 ac_cpp='$CXXCPP $CPPFLAGS'
67843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67846
67847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67848 /* end confdefs.h. */
67849 #include <math.h>
67850 #ifdef HAVE_IEEEFP_H
67851 #include <ieeefp.h>
67852 #endif
67853
67854 int
67855 main ()
67856 {
67857 expf(0);
67858 ;
67859 return 0;
67860 }
67861 _ACEOF
67862 if ac_fn_cxx_try_compile "$LINENO"; then :
67863 glibcxx_cv_func_expf_use=yes
67864 else
67865 glibcxx_cv_func_expf_use=no
67866 fi
67867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67868 ac_ext=c
67869 ac_cpp='$CPP $CPPFLAGS'
67870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67873
67874
67875 fi
67876
67877 fi
67878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67879 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67880
67881 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67882 for ac_func in expf
67883 do :
67884 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67885 if test "x$ac_cv_func_expf" = x""yes; then :
67886 cat >>confdefs.h <<_ACEOF
67887 #define HAVE_EXPF 1
67888 _ACEOF
67889
67890 fi
67891 done
67892
67893 else
67894
67895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67896 $as_echo_n "checking for _expf declaration... " >&6; }
67897 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67898 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67899 $as_echo_n "(cached) " >&6
67900 else
67901
67902
67903 ac_ext=cpp
67904 ac_cpp='$CXXCPP $CPPFLAGS'
67905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67908
67909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67910 /* end confdefs.h. */
67911 #include <math.h>
67912 #ifdef HAVE_IEEEFP_H
67913 #include <ieeefp.h>
67914 #endif
67915
67916 int
67917 main ()
67918 {
67919 _expf(0);
67920 ;
67921 return 0;
67922 }
67923 _ACEOF
67924 if ac_fn_cxx_try_compile "$LINENO"; then :
67925 glibcxx_cv_func__expf_use=yes
67926 else
67927 glibcxx_cv_func__expf_use=no
67928 fi
67929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67930 ac_ext=c
67931 ac_cpp='$CPP $CPPFLAGS'
67932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67935
67936
67937 fi
67938
67939 fi
67940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67941 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67942
67943 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67944 for ac_func in _expf
67945 do :
67946 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67947 if test "x$ac_cv_func__expf" = x""yes; then :
67948 cat >>confdefs.h <<_ACEOF
67949 #define HAVE__EXPF 1
67950 _ACEOF
67951
67952 fi
67953 done
67954
67955 fi
67956 fi
67957
67958
67959
67960
67961
67962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67963 $as_echo_n "checking for isnanf declaration... " >&6; }
67964 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67965 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67966 $as_echo_n "(cached) " >&6
67967 else
67968
67969
67970 ac_ext=cpp
67971 ac_cpp='$CXXCPP $CPPFLAGS'
67972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67975
67976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67977 /* end confdefs.h. */
67978 #include <math.h>
67979 #ifdef HAVE_IEEEFP_H
67980 #include <ieeefp.h>
67981 #endif
67982
67983 int
67984 main ()
67985 {
67986 isnanf(0);
67987 ;
67988 return 0;
67989 }
67990 _ACEOF
67991 if ac_fn_cxx_try_compile "$LINENO"; then :
67992 glibcxx_cv_func_isnanf_use=yes
67993 else
67994 glibcxx_cv_func_isnanf_use=no
67995 fi
67996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67997 ac_ext=c
67998 ac_cpp='$CPP $CPPFLAGS'
67999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68002
68003
68004 fi
68005
68006 fi
68007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68008 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68009
68010 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68011 for ac_func in isnanf
68012 do :
68013 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68014 if test "x$ac_cv_func_isnanf" = x""yes; then :
68015 cat >>confdefs.h <<_ACEOF
68016 #define HAVE_ISNANF 1
68017 _ACEOF
68018
68019 fi
68020 done
68021
68022 else
68023
68024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68025 $as_echo_n "checking for _isnanf declaration... " >&6; }
68026 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68027 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68028 $as_echo_n "(cached) " >&6
68029 else
68030
68031
68032 ac_ext=cpp
68033 ac_cpp='$CXXCPP $CPPFLAGS'
68034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68037
68038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68039 /* end confdefs.h. */
68040 #include <math.h>
68041 #ifdef HAVE_IEEEFP_H
68042 #include <ieeefp.h>
68043 #endif
68044
68045 int
68046 main ()
68047 {
68048 _isnanf(0);
68049 ;
68050 return 0;
68051 }
68052 _ACEOF
68053 if ac_fn_cxx_try_compile "$LINENO"; then :
68054 glibcxx_cv_func__isnanf_use=yes
68055 else
68056 glibcxx_cv_func__isnanf_use=no
68057 fi
68058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68059 ac_ext=c
68060 ac_cpp='$CPP $CPPFLAGS'
68061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68064
68065
68066 fi
68067
68068 fi
68069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68070 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68071
68072 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68073 for ac_func in _isnanf
68074 do :
68075 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68076 if test "x$ac_cv_func__isnanf" = x""yes; then :
68077 cat >>confdefs.h <<_ACEOF
68078 #define HAVE__ISNANF 1
68079 _ACEOF
68080
68081 fi
68082 done
68083
68084 fi
68085 fi
68086
68087
68088
68089
68090
68091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68092 $as_echo_n "checking for isinff declaration... " >&6; }
68093 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68094 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68095 $as_echo_n "(cached) " >&6
68096 else
68097
68098
68099 ac_ext=cpp
68100 ac_cpp='$CXXCPP $CPPFLAGS'
68101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68104
68105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68106 /* end confdefs.h. */
68107 #include <math.h>
68108 #ifdef HAVE_IEEEFP_H
68109 #include <ieeefp.h>
68110 #endif
68111
68112 int
68113 main ()
68114 {
68115 isinff(0);
68116 ;
68117 return 0;
68118 }
68119 _ACEOF
68120 if ac_fn_cxx_try_compile "$LINENO"; then :
68121 glibcxx_cv_func_isinff_use=yes
68122 else
68123 glibcxx_cv_func_isinff_use=no
68124 fi
68125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68126 ac_ext=c
68127 ac_cpp='$CPP $CPPFLAGS'
68128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68131
68132
68133 fi
68134
68135 fi
68136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68137 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68138
68139 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68140 for ac_func in isinff
68141 do :
68142 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68143 if test "x$ac_cv_func_isinff" = x""yes; then :
68144 cat >>confdefs.h <<_ACEOF
68145 #define HAVE_ISINFF 1
68146 _ACEOF
68147
68148 fi
68149 done
68150
68151 else
68152
68153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68154 $as_echo_n "checking for _isinff declaration... " >&6; }
68155 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68156 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68157 $as_echo_n "(cached) " >&6
68158 else
68159
68160
68161 ac_ext=cpp
68162 ac_cpp='$CXXCPP $CPPFLAGS'
68163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68166
68167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68168 /* end confdefs.h. */
68169 #include <math.h>
68170 #ifdef HAVE_IEEEFP_H
68171 #include <ieeefp.h>
68172 #endif
68173
68174 int
68175 main ()
68176 {
68177 _isinff(0);
68178 ;
68179 return 0;
68180 }
68181 _ACEOF
68182 if ac_fn_cxx_try_compile "$LINENO"; then :
68183 glibcxx_cv_func__isinff_use=yes
68184 else
68185 glibcxx_cv_func__isinff_use=no
68186 fi
68187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68188 ac_ext=c
68189 ac_cpp='$CPP $CPPFLAGS'
68190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68193
68194
68195 fi
68196
68197 fi
68198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68199 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68200
68201 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68202 for ac_func in _isinff
68203 do :
68204 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68205 if test "x$ac_cv_func__isinff" = x""yes; then :
68206 cat >>confdefs.h <<_ACEOF
68207 #define HAVE__ISINFF 1
68208 _ACEOF
68209
68210 fi
68211 done
68212
68213 fi
68214 fi
68215
68216
68217
68218
68219
68220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68221 $as_echo_n "checking for atan2f declaration... " >&6; }
68222 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68223 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68224 $as_echo_n "(cached) " >&6
68225 else
68226
68227
68228 ac_ext=cpp
68229 ac_cpp='$CXXCPP $CPPFLAGS'
68230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68233
68234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68235 /* end confdefs.h. */
68236 #include <math.h>
68237 int
68238 main ()
68239 {
68240 atan2f(0, 0);
68241 ;
68242 return 0;
68243 }
68244 _ACEOF
68245 if ac_fn_cxx_try_compile "$LINENO"; then :
68246 glibcxx_cv_func_atan2f_use=yes
68247 else
68248 glibcxx_cv_func_atan2f_use=no
68249 fi
68250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68251 ac_ext=c
68252 ac_cpp='$CPP $CPPFLAGS'
68253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68256
68257
68258 fi
68259
68260 fi
68261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68262 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68263
68264 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68265 for ac_func in atan2f
68266 do :
68267 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68268 if test "x$ac_cv_func_atan2f" = x""yes; then :
68269 cat >>confdefs.h <<_ACEOF
68270 #define HAVE_ATAN2F 1
68271 _ACEOF
68272
68273 fi
68274 done
68275
68276 else
68277
68278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68279 $as_echo_n "checking for _atan2f declaration... " >&6; }
68280 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68281 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68282 $as_echo_n "(cached) " >&6
68283 else
68284
68285
68286 ac_ext=cpp
68287 ac_cpp='$CXXCPP $CPPFLAGS'
68288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68291
68292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68293 /* end confdefs.h. */
68294 #include <math.h>
68295 int
68296 main ()
68297 {
68298 _atan2f(0, 0);
68299 ;
68300 return 0;
68301 }
68302 _ACEOF
68303 if ac_fn_cxx_try_compile "$LINENO"; then :
68304 glibcxx_cv_func__atan2f_use=yes
68305 else
68306 glibcxx_cv_func__atan2f_use=no
68307 fi
68308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68309 ac_ext=c
68310 ac_cpp='$CPP $CPPFLAGS'
68311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68314
68315
68316 fi
68317
68318 fi
68319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68320 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68321
68322 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68323 for ac_func in _atan2f
68324 do :
68325 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68326 if test "x$ac_cv_func__atan2f" = x""yes; then :
68327 cat >>confdefs.h <<_ACEOF
68328 #define HAVE__ATAN2F 1
68329 _ACEOF
68330
68331 fi
68332 done
68333
68334 fi
68335 fi
68336
68337
68338
68339
68340
68341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68342 $as_echo_n "checking for fabsf declaration... " >&6; }
68343 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68344 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68345 $as_echo_n "(cached) " >&6
68346 else
68347
68348
68349 ac_ext=cpp
68350 ac_cpp='$CXXCPP $CPPFLAGS'
68351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68354
68355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68356 /* end confdefs.h. */
68357 #include <math.h>
68358 #ifdef HAVE_IEEEFP_H
68359 #include <ieeefp.h>
68360 #endif
68361
68362 int
68363 main ()
68364 {
68365 fabsf(0);
68366 ;
68367 return 0;
68368 }
68369 _ACEOF
68370 if ac_fn_cxx_try_compile "$LINENO"; then :
68371 glibcxx_cv_func_fabsf_use=yes
68372 else
68373 glibcxx_cv_func_fabsf_use=no
68374 fi
68375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68376 ac_ext=c
68377 ac_cpp='$CPP $CPPFLAGS'
68378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68381
68382
68383 fi
68384
68385 fi
68386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68387 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68388
68389 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68390 for ac_func in fabsf
68391 do :
68392 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68393 if test "x$ac_cv_func_fabsf" = x""yes; then :
68394 cat >>confdefs.h <<_ACEOF
68395 #define HAVE_FABSF 1
68396 _ACEOF
68397
68398 fi
68399 done
68400
68401 else
68402
68403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68404 $as_echo_n "checking for _fabsf declaration... " >&6; }
68405 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68406 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68407 $as_echo_n "(cached) " >&6
68408 else
68409
68410
68411 ac_ext=cpp
68412 ac_cpp='$CXXCPP $CPPFLAGS'
68413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68416
68417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68418 /* end confdefs.h. */
68419 #include <math.h>
68420 #ifdef HAVE_IEEEFP_H
68421 #include <ieeefp.h>
68422 #endif
68423
68424 int
68425 main ()
68426 {
68427 _fabsf(0);
68428 ;
68429 return 0;
68430 }
68431 _ACEOF
68432 if ac_fn_cxx_try_compile "$LINENO"; then :
68433 glibcxx_cv_func__fabsf_use=yes
68434 else
68435 glibcxx_cv_func__fabsf_use=no
68436 fi
68437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68438 ac_ext=c
68439 ac_cpp='$CPP $CPPFLAGS'
68440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68443
68444
68445 fi
68446
68447 fi
68448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68449 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68450
68451 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68452 for ac_func in _fabsf
68453 do :
68454 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68455 if test "x$ac_cv_func__fabsf" = x""yes; then :
68456 cat >>confdefs.h <<_ACEOF
68457 #define HAVE__FABSF 1
68458 _ACEOF
68459
68460 fi
68461 done
68462
68463 fi
68464 fi
68465
68466
68467
68468
68469
68470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68471 $as_echo_n "checking for fmodf declaration... " >&6; }
68472 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68473 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68474 $as_echo_n "(cached) " >&6
68475 else
68476
68477
68478 ac_ext=cpp
68479 ac_cpp='$CXXCPP $CPPFLAGS'
68480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68483
68484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68485 /* end confdefs.h. */
68486 #include <math.h>
68487 int
68488 main ()
68489 {
68490 fmodf(0, 0);
68491 ;
68492 return 0;
68493 }
68494 _ACEOF
68495 if ac_fn_cxx_try_compile "$LINENO"; then :
68496 glibcxx_cv_func_fmodf_use=yes
68497 else
68498 glibcxx_cv_func_fmodf_use=no
68499 fi
68500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68501 ac_ext=c
68502 ac_cpp='$CPP $CPPFLAGS'
68503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68506
68507
68508 fi
68509
68510 fi
68511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68512 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68513
68514 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68515 for ac_func in fmodf
68516 do :
68517 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68518 if test "x$ac_cv_func_fmodf" = x""yes; then :
68519 cat >>confdefs.h <<_ACEOF
68520 #define HAVE_FMODF 1
68521 _ACEOF
68522
68523 fi
68524 done
68525
68526 else
68527
68528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68529 $as_echo_n "checking for _fmodf declaration... " >&6; }
68530 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68531 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68532 $as_echo_n "(cached) " >&6
68533 else
68534
68535
68536 ac_ext=cpp
68537 ac_cpp='$CXXCPP $CPPFLAGS'
68538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68541
68542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68543 /* end confdefs.h. */
68544 #include <math.h>
68545 int
68546 main ()
68547 {
68548 _fmodf(0, 0);
68549 ;
68550 return 0;
68551 }
68552 _ACEOF
68553 if ac_fn_cxx_try_compile "$LINENO"; then :
68554 glibcxx_cv_func__fmodf_use=yes
68555 else
68556 glibcxx_cv_func__fmodf_use=no
68557 fi
68558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68559 ac_ext=c
68560 ac_cpp='$CPP $CPPFLAGS'
68561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68564
68565
68566 fi
68567
68568 fi
68569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68570 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68571
68572 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68573 for ac_func in _fmodf
68574 do :
68575 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68576 if test "x$ac_cv_func__fmodf" = x""yes; then :
68577 cat >>confdefs.h <<_ACEOF
68578 #define HAVE__FMODF 1
68579 _ACEOF
68580
68581 fi
68582 done
68583
68584 fi
68585 fi
68586
68587
68588
68589
68590
68591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68592 $as_echo_n "checking for frexpf declaration... " >&6; }
68593 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68594 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68595 $as_echo_n "(cached) " >&6
68596 else
68597
68598
68599 ac_ext=cpp
68600 ac_cpp='$CXXCPP $CPPFLAGS'
68601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68604
68605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68606 /* end confdefs.h. */
68607 #include <math.h>
68608 int
68609 main ()
68610 {
68611 frexpf(0, 0);
68612 ;
68613 return 0;
68614 }
68615 _ACEOF
68616 if ac_fn_cxx_try_compile "$LINENO"; then :
68617 glibcxx_cv_func_frexpf_use=yes
68618 else
68619 glibcxx_cv_func_frexpf_use=no
68620 fi
68621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68622 ac_ext=c
68623 ac_cpp='$CPP $CPPFLAGS'
68624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68627
68628
68629 fi
68630
68631 fi
68632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68633 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68634
68635 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68636 for ac_func in frexpf
68637 do :
68638 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68639 if test "x$ac_cv_func_frexpf" = x""yes; then :
68640 cat >>confdefs.h <<_ACEOF
68641 #define HAVE_FREXPF 1
68642 _ACEOF
68643
68644 fi
68645 done
68646
68647 else
68648
68649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68650 $as_echo_n "checking for _frexpf declaration... " >&6; }
68651 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68652 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68653 $as_echo_n "(cached) " >&6
68654 else
68655
68656
68657 ac_ext=cpp
68658 ac_cpp='$CXXCPP $CPPFLAGS'
68659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68662
68663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68664 /* end confdefs.h. */
68665 #include <math.h>
68666 int
68667 main ()
68668 {
68669 _frexpf(0, 0);
68670 ;
68671 return 0;
68672 }
68673 _ACEOF
68674 if ac_fn_cxx_try_compile "$LINENO"; then :
68675 glibcxx_cv_func__frexpf_use=yes
68676 else
68677 glibcxx_cv_func__frexpf_use=no
68678 fi
68679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68680 ac_ext=c
68681 ac_cpp='$CPP $CPPFLAGS'
68682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68685
68686
68687 fi
68688
68689 fi
68690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68691 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68692
68693 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68694 for ac_func in _frexpf
68695 do :
68696 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68697 if test "x$ac_cv_func__frexpf" = x""yes; then :
68698 cat >>confdefs.h <<_ACEOF
68699 #define HAVE__FREXPF 1
68700 _ACEOF
68701
68702 fi
68703 done
68704
68705 fi
68706 fi
68707
68708
68709
68710
68711
68712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68713 $as_echo_n "checking for hypotf declaration... " >&6; }
68714 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68715 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68716 $as_echo_n "(cached) " >&6
68717 else
68718
68719
68720 ac_ext=cpp
68721 ac_cpp='$CXXCPP $CPPFLAGS'
68722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68725
68726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68727 /* end confdefs.h. */
68728 #include <math.h>
68729 int
68730 main ()
68731 {
68732 hypotf(0, 0);
68733 ;
68734 return 0;
68735 }
68736 _ACEOF
68737 if ac_fn_cxx_try_compile "$LINENO"; then :
68738 glibcxx_cv_func_hypotf_use=yes
68739 else
68740 glibcxx_cv_func_hypotf_use=no
68741 fi
68742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68743 ac_ext=c
68744 ac_cpp='$CPP $CPPFLAGS'
68745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68748
68749
68750 fi
68751
68752 fi
68753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68754 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68755
68756 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68757 for ac_func in hypotf
68758 do :
68759 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68760 if test "x$ac_cv_func_hypotf" = x""yes; then :
68761 cat >>confdefs.h <<_ACEOF
68762 #define HAVE_HYPOTF 1
68763 _ACEOF
68764
68765 fi
68766 done
68767
68768 else
68769
68770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68771 $as_echo_n "checking for _hypotf declaration... " >&6; }
68772 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68773 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68774 $as_echo_n "(cached) " >&6
68775 else
68776
68777
68778 ac_ext=cpp
68779 ac_cpp='$CXXCPP $CPPFLAGS'
68780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68783
68784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68785 /* end confdefs.h. */
68786 #include <math.h>
68787 int
68788 main ()
68789 {
68790 _hypotf(0, 0);
68791 ;
68792 return 0;
68793 }
68794 _ACEOF
68795 if ac_fn_cxx_try_compile "$LINENO"; then :
68796 glibcxx_cv_func__hypotf_use=yes
68797 else
68798 glibcxx_cv_func__hypotf_use=no
68799 fi
68800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68801 ac_ext=c
68802 ac_cpp='$CPP $CPPFLAGS'
68803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68806
68807
68808 fi
68809
68810 fi
68811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68812 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68813
68814 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68815 for ac_func in _hypotf
68816 do :
68817 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68818 if test "x$ac_cv_func__hypotf" = x""yes; then :
68819 cat >>confdefs.h <<_ACEOF
68820 #define HAVE__HYPOTF 1
68821 _ACEOF
68822
68823 fi
68824 done
68825
68826 fi
68827 fi
68828
68829
68830
68831
68832
68833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68834 $as_echo_n "checking for ldexpf declaration... " >&6; }
68835 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68836 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68837 $as_echo_n "(cached) " >&6
68838 else
68839
68840
68841 ac_ext=cpp
68842 ac_cpp='$CXXCPP $CPPFLAGS'
68843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68846
68847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68848 /* end confdefs.h. */
68849 #include <math.h>
68850 int
68851 main ()
68852 {
68853 ldexpf(0, 0);
68854 ;
68855 return 0;
68856 }
68857 _ACEOF
68858 if ac_fn_cxx_try_compile "$LINENO"; then :
68859 glibcxx_cv_func_ldexpf_use=yes
68860 else
68861 glibcxx_cv_func_ldexpf_use=no
68862 fi
68863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68864 ac_ext=c
68865 ac_cpp='$CPP $CPPFLAGS'
68866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68869
68870
68871 fi
68872
68873 fi
68874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68875 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68876
68877 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68878 for ac_func in ldexpf
68879 do :
68880 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68881 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68882 cat >>confdefs.h <<_ACEOF
68883 #define HAVE_LDEXPF 1
68884 _ACEOF
68885
68886 fi
68887 done
68888
68889 else
68890
68891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68892 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68893 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68894 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68895 $as_echo_n "(cached) " >&6
68896 else
68897
68898
68899 ac_ext=cpp
68900 ac_cpp='$CXXCPP $CPPFLAGS'
68901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68904
68905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68906 /* end confdefs.h. */
68907 #include <math.h>
68908 int
68909 main ()
68910 {
68911 _ldexpf(0, 0);
68912 ;
68913 return 0;
68914 }
68915 _ACEOF
68916 if ac_fn_cxx_try_compile "$LINENO"; then :
68917 glibcxx_cv_func__ldexpf_use=yes
68918 else
68919 glibcxx_cv_func__ldexpf_use=no
68920 fi
68921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68922 ac_ext=c
68923 ac_cpp='$CPP $CPPFLAGS'
68924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68927
68928
68929 fi
68930
68931 fi
68932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68933 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68934
68935 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68936 for ac_func in _ldexpf
68937 do :
68938 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68939 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68940 cat >>confdefs.h <<_ACEOF
68941 #define HAVE__LDEXPF 1
68942 _ACEOF
68943
68944 fi
68945 done
68946
68947 fi
68948 fi
68949
68950
68951
68952
68953
68954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68955 $as_echo_n "checking for logf declaration... " >&6; }
68956 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68957 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68958 $as_echo_n "(cached) " >&6
68959 else
68960
68961
68962 ac_ext=cpp
68963 ac_cpp='$CXXCPP $CPPFLAGS'
68964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68967
68968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68969 /* end confdefs.h. */
68970 #include <math.h>
68971 #ifdef HAVE_IEEEFP_H
68972 #include <ieeefp.h>
68973 #endif
68974
68975 int
68976 main ()
68977 {
68978 logf(0);
68979 ;
68980 return 0;
68981 }
68982 _ACEOF
68983 if ac_fn_cxx_try_compile "$LINENO"; then :
68984 glibcxx_cv_func_logf_use=yes
68985 else
68986 glibcxx_cv_func_logf_use=no
68987 fi
68988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68989 ac_ext=c
68990 ac_cpp='$CPP $CPPFLAGS'
68991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68994
68995
68996 fi
68997
68998 fi
68999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69000 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69001
69002 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69003 for ac_func in logf
69004 do :
69005 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69006 if test "x$ac_cv_func_logf" = x""yes; then :
69007 cat >>confdefs.h <<_ACEOF
69008 #define HAVE_LOGF 1
69009 _ACEOF
69010
69011 fi
69012 done
69013
69014 else
69015
69016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69017 $as_echo_n "checking for _logf declaration... " >&6; }
69018 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69019 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69020 $as_echo_n "(cached) " >&6
69021 else
69022
69023
69024 ac_ext=cpp
69025 ac_cpp='$CXXCPP $CPPFLAGS'
69026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69029
69030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69031 /* end confdefs.h. */
69032 #include <math.h>
69033 #ifdef HAVE_IEEEFP_H
69034 #include <ieeefp.h>
69035 #endif
69036
69037 int
69038 main ()
69039 {
69040 _logf(0);
69041 ;
69042 return 0;
69043 }
69044 _ACEOF
69045 if ac_fn_cxx_try_compile "$LINENO"; then :
69046 glibcxx_cv_func__logf_use=yes
69047 else
69048 glibcxx_cv_func__logf_use=no
69049 fi
69050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69051 ac_ext=c
69052 ac_cpp='$CPP $CPPFLAGS'
69053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69056
69057
69058 fi
69059
69060 fi
69061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69062 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69063
69064 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69065 for ac_func in _logf
69066 do :
69067 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69068 if test "x$ac_cv_func__logf" = x""yes; then :
69069 cat >>confdefs.h <<_ACEOF
69070 #define HAVE__LOGF 1
69071 _ACEOF
69072
69073 fi
69074 done
69075
69076 fi
69077 fi
69078
69079
69080
69081
69082
69083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69084 $as_echo_n "checking for log10f declaration... " >&6; }
69085 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69086 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69087 $as_echo_n "(cached) " >&6
69088 else
69089
69090
69091 ac_ext=cpp
69092 ac_cpp='$CXXCPP $CPPFLAGS'
69093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69096
69097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69098 /* end confdefs.h. */
69099 #include <math.h>
69100 #ifdef HAVE_IEEEFP_H
69101 #include <ieeefp.h>
69102 #endif
69103
69104 int
69105 main ()
69106 {
69107 log10f(0);
69108 ;
69109 return 0;
69110 }
69111 _ACEOF
69112 if ac_fn_cxx_try_compile "$LINENO"; then :
69113 glibcxx_cv_func_log10f_use=yes
69114 else
69115 glibcxx_cv_func_log10f_use=no
69116 fi
69117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69118 ac_ext=c
69119 ac_cpp='$CPP $CPPFLAGS'
69120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69123
69124
69125 fi
69126
69127 fi
69128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69129 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69130
69131 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69132 for ac_func in log10f
69133 do :
69134 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69135 if test "x$ac_cv_func_log10f" = x""yes; then :
69136 cat >>confdefs.h <<_ACEOF
69137 #define HAVE_LOG10F 1
69138 _ACEOF
69139
69140 fi
69141 done
69142
69143 else
69144
69145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69146 $as_echo_n "checking for _log10f declaration... " >&6; }
69147 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69148 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69149 $as_echo_n "(cached) " >&6
69150 else
69151
69152
69153 ac_ext=cpp
69154 ac_cpp='$CXXCPP $CPPFLAGS'
69155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69158
69159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69160 /* end confdefs.h. */
69161 #include <math.h>
69162 #ifdef HAVE_IEEEFP_H
69163 #include <ieeefp.h>
69164 #endif
69165
69166 int
69167 main ()
69168 {
69169 _log10f(0);
69170 ;
69171 return 0;
69172 }
69173 _ACEOF
69174 if ac_fn_cxx_try_compile "$LINENO"; then :
69175 glibcxx_cv_func__log10f_use=yes
69176 else
69177 glibcxx_cv_func__log10f_use=no
69178 fi
69179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69180 ac_ext=c
69181 ac_cpp='$CPP $CPPFLAGS'
69182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69185
69186
69187 fi
69188
69189 fi
69190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69191 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69192
69193 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69194 for ac_func in _log10f
69195 do :
69196 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69197 if test "x$ac_cv_func__log10f" = x""yes; then :
69198 cat >>confdefs.h <<_ACEOF
69199 #define HAVE__LOG10F 1
69200 _ACEOF
69201
69202 fi
69203 done
69204
69205 fi
69206 fi
69207
69208
69209
69210
69211
69212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69213 $as_echo_n "checking for modff declaration... " >&6; }
69214 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69215 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69216 $as_echo_n "(cached) " >&6
69217 else
69218
69219
69220 ac_ext=cpp
69221 ac_cpp='$CXXCPP $CPPFLAGS'
69222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69225
69226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69227 /* end confdefs.h. */
69228 #include <math.h>
69229 int
69230 main ()
69231 {
69232 modff(0, 0);
69233 ;
69234 return 0;
69235 }
69236 _ACEOF
69237 if ac_fn_cxx_try_compile "$LINENO"; then :
69238 glibcxx_cv_func_modff_use=yes
69239 else
69240 glibcxx_cv_func_modff_use=no
69241 fi
69242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69243 ac_ext=c
69244 ac_cpp='$CPP $CPPFLAGS'
69245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69248
69249
69250 fi
69251
69252 fi
69253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69254 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69255
69256 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69257 for ac_func in modff
69258 do :
69259 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69260 if test "x$ac_cv_func_modff" = x""yes; then :
69261 cat >>confdefs.h <<_ACEOF
69262 #define HAVE_MODFF 1
69263 _ACEOF
69264
69265 fi
69266 done
69267
69268 else
69269
69270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69271 $as_echo_n "checking for _modff declaration... " >&6; }
69272 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69273 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69274 $as_echo_n "(cached) " >&6
69275 else
69276
69277
69278 ac_ext=cpp
69279 ac_cpp='$CXXCPP $CPPFLAGS'
69280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69283
69284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69285 /* end confdefs.h. */
69286 #include <math.h>
69287 int
69288 main ()
69289 {
69290 _modff(0, 0);
69291 ;
69292 return 0;
69293 }
69294 _ACEOF
69295 if ac_fn_cxx_try_compile "$LINENO"; then :
69296 glibcxx_cv_func__modff_use=yes
69297 else
69298 glibcxx_cv_func__modff_use=no
69299 fi
69300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69301 ac_ext=c
69302 ac_cpp='$CPP $CPPFLAGS'
69303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69306
69307
69308 fi
69309
69310 fi
69311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69312 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69313
69314 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69315 for ac_func in _modff
69316 do :
69317 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69318 if test "x$ac_cv_func__modff" = x""yes; then :
69319 cat >>confdefs.h <<_ACEOF
69320 #define HAVE__MODFF 1
69321 _ACEOF
69322
69323 fi
69324 done
69325
69326 fi
69327 fi
69328
69329
69330
69331
69332
69333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69334 $as_echo_n "checking for modf declaration... " >&6; }
69335 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69336 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69337 $as_echo_n "(cached) " >&6
69338 else
69339
69340
69341 ac_ext=cpp
69342 ac_cpp='$CXXCPP $CPPFLAGS'
69343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69346
69347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69348 /* end confdefs.h. */
69349 #include <math.h>
69350 int
69351 main ()
69352 {
69353 modf(0, 0);
69354 ;
69355 return 0;
69356 }
69357 _ACEOF
69358 if ac_fn_cxx_try_compile "$LINENO"; then :
69359 glibcxx_cv_func_modf_use=yes
69360 else
69361 glibcxx_cv_func_modf_use=no
69362 fi
69363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69364 ac_ext=c
69365 ac_cpp='$CPP $CPPFLAGS'
69366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69369
69370
69371 fi
69372
69373 fi
69374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69375 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69376
69377 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69378 for ac_func in modf
69379 do :
69380 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69381 if test "x$ac_cv_func_modf" = x""yes; then :
69382 cat >>confdefs.h <<_ACEOF
69383 #define HAVE_MODF 1
69384 _ACEOF
69385
69386 fi
69387 done
69388
69389 else
69390
69391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69392 $as_echo_n "checking for _modf declaration... " >&6; }
69393 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69394 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69395 $as_echo_n "(cached) " >&6
69396 else
69397
69398
69399 ac_ext=cpp
69400 ac_cpp='$CXXCPP $CPPFLAGS'
69401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69404
69405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69406 /* end confdefs.h. */
69407 #include <math.h>
69408 int
69409 main ()
69410 {
69411 _modf(0, 0);
69412 ;
69413 return 0;
69414 }
69415 _ACEOF
69416 if ac_fn_cxx_try_compile "$LINENO"; then :
69417 glibcxx_cv_func__modf_use=yes
69418 else
69419 glibcxx_cv_func__modf_use=no
69420 fi
69421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69422 ac_ext=c
69423 ac_cpp='$CPP $CPPFLAGS'
69424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69427
69428
69429 fi
69430
69431 fi
69432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69433 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69434
69435 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69436 for ac_func in _modf
69437 do :
69438 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69439 if test "x$ac_cv_func__modf" = x""yes; then :
69440 cat >>confdefs.h <<_ACEOF
69441 #define HAVE__MODF 1
69442 _ACEOF
69443
69444 fi
69445 done
69446
69447 fi
69448 fi
69449
69450
69451
69452
69453
69454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69455 $as_echo_n "checking for powf declaration... " >&6; }
69456 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69457 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69458 $as_echo_n "(cached) " >&6
69459 else
69460
69461
69462 ac_ext=cpp
69463 ac_cpp='$CXXCPP $CPPFLAGS'
69464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69467
69468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69469 /* end confdefs.h. */
69470 #include <math.h>
69471 int
69472 main ()
69473 {
69474 powf(0, 0);
69475 ;
69476 return 0;
69477 }
69478 _ACEOF
69479 if ac_fn_cxx_try_compile "$LINENO"; then :
69480 glibcxx_cv_func_powf_use=yes
69481 else
69482 glibcxx_cv_func_powf_use=no
69483 fi
69484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69485 ac_ext=c
69486 ac_cpp='$CPP $CPPFLAGS'
69487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69490
69491
69492 fi
69493
69494 fi
69495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69496 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69497
69498 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69499 for ac_func in powf
69500 do :
69501 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69502 if test "x$ac_cv_func_powf" = x""yes; then :
69503 cat >>confdefs.h <<_ACEOF
69504 #define HAVE_POWF 1
69505 _ACEOF
69506
69507 fi
69508 done
69509
69510 else
69511
69512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69513 $as_echo_n "checking for _powf declaration... " >&6; }
69514 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69515 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69516 $as_echo_n "(cached) " >&6
69517 else
69518
69519
69520 ac_ext=cpp
69521 ac_cpp='$CXXCPP $CPPFLAGS'
69522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69525
69526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69527 /* end confdefs.h. */
69528 #include <math.h>
69529 int
69530 main ()
69531 {
69532 _powf(0, 0);
69533 ;
69534 return 0;
69535 }
69536 _ACEOF
69537 if ac_fn_cxx_try_compile "$LINENO"; then :
69538 glibcxx_cv_func__powf_use=yes
69539 else
69540 glibcxx_cv_func__powf_use=no
69541 fi
69542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69543 ac_ext=c
69544 ac_cpp='$CPP $CPPFLAGS'
69545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69548
69549
69550 fi
69551
69552 fi
69553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69554 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69555
69556 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69557 for ac_func in _powf
69558 do :
69559 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69560 if test "x$ac_cv_func__powf" = x""yes; then :
69561 cat >>confdefs.h <<_ACEOF
69562 #define HAVE__POWF 1
69563 _ACEOF
69564
69565 fi
69566 done
69567
69568 fi
69569 fi
69570
69571
69572
69573
69574
69575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69576 $as_echo_n "checking for sqrtf declaration... " >&6; }
69577 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69578 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69579 $as_echo_n "(cached) " >&6
69580 else
69581
69582
69583 ac_ext=cpp
69584 ac_cpp='$CXXCPP $CPPFLAGS'
69585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69588
69589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69590 /* end confdefs.h. */
69591 #include <math.h>
69592 #ifdef HAVE_IEEEFP_H
69593 #include <ieeefp.h>
69594 #endif
69595
69596 int
69597 main ()
69598 {
69599 sqrtf(0);
69600 ;
69601 return 0;
69602 }
69603 _ACEOF
69604 if ac_fn_cxx_try_compile "$LINENO"; then :
69605 glibcxx_cv_func_sqrtf_use=yes
69606 else
69607 glibcxx_cv_func_sqrtf_use=no
69608 fi
69609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69610 ac_ext=c
69611 ac_cpp='$CPP $CPPFLAGS'
69612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69615
69616
69617 fi
69618
69619 fi
69620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69621 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69622
69623 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69624 for ac_func in sqrtf
69625 do :
69626 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69627 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69628 cat >>confdefs.h <<_ACEOF
69629 #define HAVE_SQRTF 1
69630 _ACEOF
69631
69632 fi
69633 done
69634
69635 else
69636
69637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69638 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69639 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69640 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69641 $as_echo_n "(cached) " >&6
69642 else
69643
69644
69645 ac_ext=cpp
69646 ac_cpp='$CXXCPP $CPPFLAGS'
69647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69650
69651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69652 /* end confdefs.h. */
69653 #include <math.h>
69654 #ifdef HAVE_IEEEFP_H
69655 #include <ieeefp.h>
69656 #endif
69657
69658 int
69659 main ()
69660 {
69661 _sqrtf(0);
69662 ;
69663 return 0;
69664 }
69665 _ACEOF
69666 if ac_fn_cxx_try_compile "$LINENO"; then :
69667 glibcxx_cv_func__sqrtf_use=yes
69668 else
69669 glibcxx_cv_func__sqrtf_use=no
69670 fi
69671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69672 ac_ext=c
69673 ac_cpp='$CPP $CPPFLAGS'
69674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69677
69678
69679 fi
69680
69681 fi
69682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69683 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69684
69685 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69686 for ac_func in _sqrtf
69687 do :
69688 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69689 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69690 cat >>confdefs.h <<_ACEOF
69691 #define HAVE__SQRTF 1
69692 _ACEOF
69693
69694 fi
69695 done
69696
69697 fi
69698 fi
69699
69700
69701
69702
69703
69704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69705 $as_echo_n "checking for sincosf declaration... " >&6; }
69706 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69707 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69708 $as_echo_n "(cached) " >&6
69709 else
69710
69711
69712 ac_ext=cpp
69713 ac_cpp='$CXXCPP $CPPFLAGS'
69714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69717
69718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69719 /* end confdefs.h. */
69720 #include <math.h>
69721 int
69722 main ()
69723 {
69724 sincosf(0, 0, 0);
69725 ;
69726 return 0;
69727 }
69728 _ACEOF
69729 if ac_fn_cxx_try_compile "$LINENO"; then :
69730 glibcxx_cv_func_sincosf_use=yes
69731 else
69732 glibcxx_cv_func_sincosf_use=no
69733 fi
69734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69735 ac_ext=c
69736 ac_cpp='$CPP $CPPFLAGS'
69737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69740
69741
69742 fi
69743
69744 fi
69745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69746 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69747
69748 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69749 for ac_func in sincosf
69750 do :
69751 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69752 if test "x$ac_cv_func_sincosf" = x""yes; then :
69753 cat >>confdefs.h <<_ACEOF
69754 #define HAVE_SINCOSF 1
69755 _ACEOF
69756
69757 fi
69758 done
69759
69760 else
69761
69762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69763 $as_echo_n "checking for _sincosf declaration... " >&6; }
69764 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69765 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69766 $as_echo_n "(cached) " >&6
69767 else
69768
69769
69770 ac_ext=cpp
69771 ac_cpp='$CXXCPP $CPPFLAGS'
69772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69775
69776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69777 /* end confdefs.h. */
69778 #include <math.h>
69779 int
69780 main ()
69781 {
69782 _sincosf(0, 0, 0);
69783 ;
69784 return 0;
69785 }
69786 _ACEOF
69787 if ac_fn_cxx_try_compile "$LINENO"; then :
69788 glibcxx_cv_func__sincosf_use=yes
69789 else
69790 glibcxx_cv_func__sincosf_use=no
69791 fi
69792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69793 ac_ext=c
69794 ac_cpp='$CPP $CPPFLAGS'
69795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69798
69799
69800 fi
69801
69802 fi
69803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69804 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69805
69806 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69807 for ac_func in _sincosf
69808 do :
69809 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69810 if test "x$ac_cv_func__sincosf" = x""yes; then :
69811 cat >>confdefs.h <<_ACEOF
69812 #define HAVE__SINCOSF 1
69813 _ACEOF
69814
69815 fi
69816 done
69817
69818 fi
69819 fi
69820
69821
69822
69823
69824
69825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69826 $as_echo_n "checking for finitef declaration... " >&6; }
69827 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69828 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69829 $as_echo_n "(cached) " >&6
69830 else
69831
69832
69833 ac_ext=cpp
69834 ac_cpp='$CXXCPP $CPPFLAGS'
69835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69838
69839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69840 /* end confdefs.h. */
69841 #include <math.h>
69842 #ifdef HAVE_IEEEFP_H
69843 #include <ieeefp.h>
69844 #endif
69845
69846 int
69847 main ()
69848 {
69849 finitef(0);
69850 ;
69851 return 0;
69852 }
69853 _ACEOF
69854 if ac_fn_cxx_try_compile "$LINENO"; then :
69855 glibcxx_cv_func_finitef_use=yes
69856 else
69857 glibcxx_cv_func_finitef_use=no
69858 fi
69859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69860 ac_ext=c
69861 ac_cpp='$CPP $CPPFLAGS'
69862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69865
69866
69867 fi
69868
69869 fi
69870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69871 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69872
69873 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69874 for ac_func in finitef
69875 do :
69876 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69877 if test "x$ac_cv_func_finitef" = x""yes; then :
69878 cat >>confdefs.h <<_ACEOF
69879 #define HAVE_FINITEF 1
69880 _ACEOF
69881
69882 fi
69883 done
69884
69885 else
69886
69887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69888 $as_echo_n "checking for _finitef declaration... " >&6; }
69889 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69890 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69891 $as_echo_n "(cached) " >&6
69892 else
69893
69894
69895 ac_ext=cpp
69896 ac_cpp='$CXXCPP $CPPFLAGS'
69897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69900
69901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69902 /* end confdefs.h. */
69903 #include <math.h>
69904 #ifdef HAVE_IEEEFP_H
69905 #include <ieeefp.h>
69906 #endif
69907
69908 int
69909 main ()
69910 {
69911 _finitef(0);
69912 ;
69913 return 0;
69914 }
69915 _ACEOF
69916 if ac_fn_cxx_try_compile "$LINENO"; then :
69917 glibcxx_cv_func__finitef_use=yes
69918 else
69919 glibcxx_cv_func__finitef_use=no
69920 fi
69921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69922 ac_ext=c
69923 ac_cpp='$CPP $CPPFLAGS'
69924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69927
69928
69929 fi
69930
69931 fi
69932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69933 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69934
69935 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69936 for ac_func in _finitef
69937 do :
69938 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69939 if test "x$ac_cv_func__finitef" = x""yes; then :
69940 cat >>confdefs.h <<_ACEOF
69941 #define HAVE__FINITEF 1
69942 _ACEOF
69943
69944 fi
69945 done
69946
69947 fi
69948 fi
69949
69950
69951
69952
69953
69954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69955 $as_echo_n "checking for long double trig functions... " >&6; }
69956 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69957 $as_echo_n "(cached) " >&6
69958 else
69959
69960
69961 ac_ext=cpp
69962 ac_cpp='$CXXCPP $CPPFLAGS'
69963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69966
69967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69968 /* end confdefs.h. */
69969 #include <math.h>
69970 int
69971 main ()
69972 {
69973 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69974 ;
69975 return 0;
69976 }
69977 _ACEOF
69978 if ac_fn_cxx_try_compile "$LINENO"; then :
69979 glibcxx_cv_func_long_double_trig_use=yes
69980 else
69981 glibcxx_cv_func_long_double_trig_use=no
69982 fi
69983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69984 ac_ext=c
69985 ac_cpp='$CPP $CPPFLAGS'
69986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69989
69990 fi
69991
69992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69993 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69994 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69995 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69996 do :
69997 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69998 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69999 eval as_val=\$$as_ac_var
70000 if test "x$as_val" = x""yes; then :
70001 cat >>confdefs.h <<_ACEOF
70002 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70003 _ACEOF
70004
70005 fi
70006 done
70007
70008 else
70009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70010 $as_echo_n "checking for _long double trig functions... " >&6; }
70011 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
70012 $as_echo_n "(cached) " >&6
70013 else
70014
70015
70016 ac_ext=cpp
70017 ac_cpp='$CXXCPP $CPPFLAGS'
70018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70021
70022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70023 /* end confdefs.h. */
70024 #include <math.h>
70025 int
70026 main ()
70027 {
70028 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70029 ;
70030 return 0;
70031 }
70032 _ACEOF
70033 if ac_fn_cxx_try_compile "$LINENO"; then :
70034 glibcxx_cv_func__long_double_trig_use=yes
70035 else
70036 glibcxx_cv_func__long_double_trig_use=no
70037 fi
70038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70039 ac_ext=c
70040 ac_cpp='$CPP $CPPFLAGS'
70041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70044
70045 fi
70046
70047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70048 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70049 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70050 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70051 do :
70052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70054 eval as_val=\$$as_ac_var
70055 if test "x$as_val" = x""yes; then :
70056 cat >>confdefs.h <<_ACEOF
70057 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70058 _ACEOF
70059
70060 fi
70061 done
70062
70063 fi
70064 fi
70065
70066
70067
70068
70069
70070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70071 $as_echo_n "checking for long double round functions... " >&6; }
70072 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70073 $as_echo_n "(cached) " >&6
70074 else
70075
70076
70077 ac_ext=cpp
70078 ac_cpp='$CXXCPP $CPPFLAGS'
70079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70082
70083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70084 /* end confdefs.h. */
70085 #include <math.h>
70086 int
70087 main ()
70088 {
70089 ceill (0); floorl (0);
70090 ;
70091 return 0;
70092 }
70093 _ACEOF
70094 if ac_fn_cxx_try_compile "$LINENO"; then :
70095 glibcxx_cv_func_long_double_round_use=yes
70096 else
70097 glibcxx_cv_func_long_double_round_use=no
70098 fi
70099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70100 ac_ext=c
70101 ac_cpp='$CPP $CPPFLAGS'
70102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70105
70106 fi
70107
70108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70109 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70110 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70111 for ac_func in ceill floorl
70112 do :
70113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70115 eval as_val=\$$as_ac_var
70116 if test "x$as_val" = x""yes; then :
70117 cat >>confdefs.h <<_ACEOF
70118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70119 _ACEOF
70120
70121 fi
70122 done
70123
70124 else
70125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70126 $as_echo_n "checking for _long double round functions... " >&6; }
70127 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70128 $as_echo_n "(cached) " >&6
70129 else
70130
70131
70132 ac_ext=cpp
70133 ac_cpp='$CXXCPP $CPPFLAGS'
70134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70137
70138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70139 /* end confdefs.h. */
70140 #include <math.h>
70141 int
70142 main ()
70143 {
70144 _ceill (0); _floorl (0);
70145 ;
70146 return 0;
70147 }
70148 _ACEOF
70149 if ac_fn_cxx_try_compile "$LINENO"; then :
70150 glibcxx_cv_func__long_double_round_use=yes
70151 else
70152 glibcxx_cv_func__long_double_round_use=no
70153 fi
70154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70155 ac_ext=c
70156 ac_cpp='$CPP $CPPFLAGS'
70157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70160
70161 fi
70162
70163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70164 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70165 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70166 for ac_func in _ceill _floorl
70167 do :
70168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70170 eval as_val=\$$as_ac_var
70171 if test "x$as_val" = x""yes; then :
70172 cat >>confdefs.h <<_ACEOF
70173 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70174 _ACEOF
70175
70176 fi
70177 done
70178
70179 fi
70180 fi
70181
70182
70183
70184
70185
70186
70187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70188 $as_echo_n "checking for isnanl declaration... " >&6; }
70189 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70190 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70191 $as_echo_n "(cached) " >&6
70192 else
70193
70194
70195 ac_ext=cpp
70196 ac_cpp='$CXXCPP $CPPFLAGS'
70197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70200
70201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70202 /* end confdefs.h. */
70203 #include <math.h>
70204 #ifdef HAVE_IEEEFP_H
70205 #include <ieeefp.h>
70206 #endif
70207
70208 int
70209 main ()
70210 {
70211 isnanl(0);
70212 ;
70213 return 0;
70214 }
70215 _ACEOF
70216 if ac_fn_cxx_try_compile "$LINENO"; then :
70217 glibcxx_cv_func_isnanl_use=yes
70218 else
70219 glibcxx_cv_func_isnanl_use=no
70220 fi
70221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70222 ac_ext=c
70223 ac_cpp='$CPP $CPPFLAGS'
70224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70227
70228
70229 fi
70230
70231 fi
70232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70233 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70234
70235 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70236 for ac_func in isnanl
70237 do :
70238 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70239 if test "x$ac_cv_func_isnanl" = x""yes; then :
70240 cat >>confdefs.h <<_ACEOF
70241 #define HAVE_ISNANL 1
70242 _ACEOF
70243
70244 fi
70245 done
70246
70247 else
70248
70249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70250 $as_echo_n "checking for _isnanl declaration... " >&6; }
70251 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70252 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70253 $as_echo_n "(cached) " >&6
70254 else
70255
70256
70257 ac_ext=cpp
70258 ac_cpp='$CXXCPP $CPPFLAGS'
70259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70262
70263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70264 /* end confdefs.h. */
70265 #include <math.h>
70266 #ifdef HAVE_IEEEFP_H
70267 #include <ieeefp.h>
70268 #endif
70269
70270 int
70271 main ()
70272 {
70273 _isnanl(0);
70274 ;
70275 return 0;
70276 }
70277 _ACEOF
70278 if ac_fn_cxx_try_compile "$LINENO"; then :
70279 glibcxx_cv_func__isnanl_use=yes
70280 else
70281 glibcxx_cv_func__isnanl_use=no
70282 fi
70283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70284 ac_ext=c
70285 ac_cpp='$CPP $CPPFLAGS'
70286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70289
70290
70291 fi
70292
70293 fi
70294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70295 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70296
70297 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70298 for ac_func in _isnanl
70299 do :
70300 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70301 if test "x$ac_cv_func__isnanl" = x""yes; then :
70302 cat >>confdefs.h <<_ACEOF
70303 #define HAVE__ISNANL 1
70304 _ACEOF
70305
70306 fi
70307 done
70308
70309 fi
70310 fi
70311
70312
70313
70314
70315
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70317 $as_echo_n "checking for isinfl declaration... " >&6; }
70318 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70319 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70320 $as_echo_n "(cached) " >&6
70321 else
70322
70323
70324 ac_ext=cpp
70325 ac_cpp='$CXXCPP $CPPFLAGS'
70326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70329
70330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70331 /* end confdefs.h. */
70332 #include <math.h>
70333 #ifdef HAVE_IEEEFP_H
70334 #include <ieeefp.h>
70335 #endif
70336
70337 int
70338 main ()
70339 {
70340 isinfl(0);
70341 ;
70342 return 0;
70343 }
70344 _ACEOF
70345 if ac_fn_cxx_try_compile "$LINENO"; then :
70346 glibcxx_cv_func_isinfl_use=yes
70347 else
70348 glibcxx_cv_func_isinfl_use=no
70349 fi
70350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70351 ac_ext=c
70352 ac_cpp='$CPP $CPPFLAGS'
70353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70356
70357
70358 fi
70359
70360 fi
70361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70362 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70363
70364 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70365 for ac_func in isinfl
70366 do :
70367 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70368 if test "x$ac_cv_func_isinfl" = x""yes; then :
70369 cat >>confdefs.h <<_ACEOF
70370 #define HAVE_ISINFL 1
70371 _ACEOF
70372
70373 fi
70374 done
70375
70376 else
70377
70378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70379 $as_echo_n "checking for _isinfl declaration... " >&6; }
70380 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70381 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70382 $as_echo_n "(cached) " >&6
70383 else
70384
70385
70386 ac_ext=cpp
70387 ac_cpp='$CXXCPP $CPPFLAGS'
70388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70391
70392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70393 /* end confdefs.h. */
70394 #include <math.h>
70395 #ifdef HAVE_IEEEFP_H
70396 #include <ieeefp.h>
70397 #endif
70398
70399 int
70400 main ()
70401 {
70402 _isinfl(0);
70403 ;
70404 return 0;
70405 }
70406 _ACEOF
70407 if ac_fn_cxx_try_compile "$LINENO"; then :
70408 glibcxx_cv_func__isinfl_use=yes
70409 else
70410 glibcxx_cv_func__isinfl_use=no
70411 fi
70412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70413 ac_ext=c
70414 ac_cpp='$CPP $CPPFLAGS'
70415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70418
70419
70420 fi
70421
70422 fi
70423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70424 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70425
70426 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70427 for ac_func in _isinfl
70428 do :
70429 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70430 if test "x$ac_cv_func__isinfl" = x""yes; then :
70431 cat >>confdefs.h <<_ACEOF
70432 #define HAVE__ISINFL 1
70433 _ACEOF
70434
70435 fi
70436 done
70437
70438 fi
70439 fi
70440
70441
70442
70443
70444
70445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70446 $as_echo_n "checking for atan2l declaration... " >&6; }
70447 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70448 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70449 $as_echo_n "(cached) " >&6
70450 else
70451
70452
70453 ac_ext=cpp
70454 ac_cpp='$CXXCPP $CPPFLAGS'
70455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70458
70459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70460 /* end confdefs.h. */
70461 #include <math.h>
70462 int
70463 main ()
70464 {
70465 atan2l(0, 0);
70466 ;
70467 return 0;
70468 }
70469 _ACEOF
70470 if ac_fn_cxx_try_compile "$LINENO"; then :
70471 glibcxx_cv_func_atan2l_use=yes
70472 else
70473 glibcxx_cv_func_atan2l_use=no
70474 fi
70475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70476 ac_ext=c
70477 ac_cpp='$CPP $CPPFLAGS'
70478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70481
70482
70483 fi
70484
70485 fi
70486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70487 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70488
70489 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70490 for ac_func in atan2l
70491 do :
70492 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70493 if test "x$ac_cv_func_atan2l" = x""yes; then :
70494 cat >>confdefs.h <<_ACEOF
70495 #define HAVE_ATAN2L 1
70496 _ACEOF
70497
70498 fi
70499 done
70500
70501 else
70502
70503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70504 $as_echo_n "checking for _atan2l declaration... " >&6; }
70505 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70506 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70507 $as_echo_n "(cached) " >&6
70508 else
70509
70510
70511 ac_ext=cpp
70512 ac_cpp='$CXXCPP $CPPFLAGS'
70513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70516
70517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70518 /* end confdefs.h. */
70519 #include <math.h>
70520 int
70521 main ()
70522 {
70523 _atan2l(0, 0);
70524 ;
70525 return 0;
70526 }
70527 _ACEOF
70528 if ac_fn_cxx_try_compile "$LINENO"; then :
70529 glibcxx_cv_func__atan2l_use=yes
70530 else
70531 glibcxx_cv_func__atan2l_use=no
70532 fi
70533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70534 ac_ext=c
70535 ac_cpp='$CPP $CPPFLAGS'
70536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70539
70540
70541 fi
70542
70543 fi
70544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70545 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70546
70547 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70548 for ac_func in _atan2l
70549 do :
70550 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70551 if test "x$ac_cv_func__atan2l" = x""yes; then :
70552 cat >>confdefs.h <<_ACEOF
70553 #define HAVE__ATAN2L 1
70554 _ACEOF
70555
70556 fi
70557 done
70558
70559 fi
70560 fi
70561
70562
70563
70564
70565
70566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70567 $as_echo_n "checking for expl declaration... " >&6; }
70568 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70569 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70570 $as_echo_n "(cached) " >&6
70571 else
70572
70573
70574 ac_ext=cpp
70575 ac_cpp='$CXXCPP $CPPFLAGS'
70576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70579
70580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70581 /* end confdefs.h. */
70582 #include <math.h>
70583 #ifdef HAVE_IEEEFP_H
70584 #include <ieeefp.h>
70585 #endif
70586
70587 int
70588 main ()
70589 {
70590 expl(0);
70591 ;
70592 return 0;
70593 }
70594 _ACEOF
70595 if ac_fn_cxx_try_compile "$LINENO"; then :
70596 glibcxx_cv_func_expl_use=yes
70597 else
70598 glibcxx_cv_func_expl_use=no
70599 fi
70600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70601 ac_ext=c
70602 ac_cpp='$CPP $CPPFLAGS'
70603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70606
70607
70608 fi
70609
70610 fi
70611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70612 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70613
70614 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70615 for ac_func in expl
70616 do :
70617 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70618 if test "x$ac_cv_func_expl" = x""yes; then :
70619 cat >>confdefs.h <<_ACEOF
70620 #define HAVE_EXPL 1
70621 _ACEOF
70622
70623 fi
70624 done
70625
70626 else
70627
70628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70629 $as_echo_n "checking for _expl declaration... " >&6; }
70630 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70631 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70632 $as_echo_n "(cached) " >&6
70633 else
70634
70635
70636 ac_ext=cpp
70637 ac_cpp='$CXXCPP $CPPFLAGS'
70638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70641
70642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70643 /* end confdefs.h. */
70644 #include <math.h>
70645 #ifdef HAVE_IEEEFP_H
70646 #include <ieeefp.h>
70647 #endif
70648
70649 int
70650 main ()
70651 {
70652 _expl(0);
70653 ;
70654 return 0;
70655 }
70656 _ACEOF
70657 if ac_fn_cxx_try_compile "$LINENO"; then :
70658 glibcxx_cv_func__expl_use=yes
70659 else
70660 glibcxx_cv_func__expl_use=no
70661 fi
70662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70663 ac_ext=c
70664 ac_cpp='$CPP $CPPFLAGS'
70665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70668
70669
70670 fi
70671
70672 fi
70673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70674 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70675
70676 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70677 for ac_func in _expl
70678 do :
70679 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70680 if test "x$ac_cv_func__expl" = x""yes; then :
70681 cat >>confdefs.h <<_ACEOF
70682 #define HAVE__EXPL 1
70683 _ACEOF
70684
70685 fi
70686 done
70687
70688 fi
70689 fi
70690
70691
70692
70693
70694
70695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70696 $as_echo_n "checking for fabsl declaration... " >&6; }
70697 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70698 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70699 $as_echo_n "(cached) " >&6
70700 else
70701
70702
70703 ac_ext=cpp
70704 ac_cpp='$CXXCPP $CPPFLAGS'
70705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70708
70709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70710 /* end confdefs.h. */
70711 #include <math.h>
70712 #ifdef HAVE_IEEEFP_H
70713 #include <ieeefp.h>
70714 #endif
70715
70716 int
70717 main ()
70718 {
70719 fabsl(0);
70720 ;
70721 return 0;
70722 }
70723 _ACEOF
70724 if ac_fn_cxx_try_compile "$LINENO"; then :
70725 glibcxx_cv_func_fabsl_use=yes
70726 else
70727 glibcxx_cv_func_fabsl_use=no
70728 fi
70729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70730 ac_ext=c
70731 ac_cpp='$CPP $CPPFLAGS'
70732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70735
70736
70737 fi
70738
70739 fi
70740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70741 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70742
70743 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70744 for ac_func in fabsl
70745 do :
70746 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70747 if test "x$ac_cv_func_fabsl" = x""yes; then :
70748 cat >>confdefs.h <<_ACEOF
70749 #define HAVE_FABSL 1
70750 _ACEOF
70751
70752 fi
70753 done
70754
70755 else
70756
70757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70758 $as_echo_n "checking for _fabsl declaration... " >&6; }
70759 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70760 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70761 $as_echo_n "(cached) " >&6
70762 else
70763
70764
70765 ac_ext=cpp
70766 ac_cpp='$CXXCPP $CPPFLAGS'
70767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70770
70771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70772 /* end confdefs.h. */
70773 #include <math.h>
70774 #ifdef HAVE_IEEEFP_H
70775 #include <ieeefp.h>
70776 #endif
70777
70778 int
70779 main ()
70780 {
70781 _fabsl(0);
70782 ;
70783 return 0;
70784 }
70785 _ACEOF
70786 if ac_fn_cxx_try_compile "$LINENO"; then :
70787 glibcxx_cv_func__fabsl_use=yes
70788 else
70789 glibcxx_cv_func__fabsl_use=no
70790 fi
70791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70792 ac_ext=c
70793 ac_cpp='$CPP $CPPFLAGS'
70794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70797
70798
70799 fi
70800
70801 fi
70802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70803 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70804
70805 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70806 for ac_func in _fabsl
70807 do :
70808 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70809 if test "x$ac_cv_func__fabsl" = x""yes; then :
70810 cat >>confdefs.h <<_ACEOF
70811 #define HAVE__FABSL 1
70812 _ACEOF
70813
70814 fi
70815 done
70816
70817 fi
70818 fi
70819
70820
70821
70822
70823
70824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70825 $as_echo_n "checking for fmodl declaration... " >&6; }
70826 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70827 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70828 $as_echo_n "(cached) " >&6
70829 else
70830
70831
70832 ac_ext=cpp
70833 ac_cpp='$CXXCPP $CPPFLAGS'
70834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70837
70838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70839 /* end confdefs.h. */
70840 #include <math.h>
70841 int
70842 main ()
70843 {
70844 fmodl(0, 0);
70845 ;
70846 return 0;
70847 }
70848 _ACEOF
70849 if ac_fn_cxx_try_compile "$LINENO"; then :
70850 glibcxx_cv_func_fmodl_use=yes
70851 else
70852 glibcxx_cv_func_fmodl_use=no
70853 fi
70854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70855 ac_ext=c
70856 ac_cpp='$CPP $CPPFLAGS'
70857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70860
70861
70862 fi
70863
70864 fi
70865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70866 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70867
70868 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70869 for ac_func in fmodl
70870 do :
70871 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70872 if test "x$ac_cv_func_fmodl" = x""yes; then :
70873 cat >>confdefs.h <<_ACEOF
70874 #define HAVE_FMODL 1
70875 _ACEOF
70876
70877 fi
70878 done
70879
70880 else
70881
70882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70883 $as_echo_n "checking for _fmodl declaration... " >&6; }
70884 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70885 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70886 $as_echo_n "(cached) " >&6
70887 else
70888
70889
70890 ac_ext=cpp
70891 ac_cpp='$CXXCPP $CPPFLAGS'
70892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70895
70896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70897 /* end confdefs.h. */
70898 #include <math.h>
70899 int
70900 main ()
70901 {
70902 _fmodl(0, 0);
70903 ;
70904 return 0;
70905 }
70906 _ACEOF
70907 if ac_fn_cxx_try_compile "$LINENO"; then :
70908 glibcxx_cv_func__fmodl_use=yes
70909 else
70910 glibcxx_cv_func__fmodl_use=no
70911 fi
70912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70913 ac_ext=c
70914 ac_cpp='$CPP $CPPFLAGS'
70915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70918
70919
70920 fi
70921
70922 fi
70923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70924 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70925
70926 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70927 for ac_func in _fmodl
70928 do :
70929 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70930 if test "x$ac_cv_func__fmodl" = x""yes; then :
70931 cat >>confdefs.h <<_ACEOF
70932 #define HAVE__FMODL 1
70933 _ACEOF
70934
70935 fi
70936 done
70937
70938 fi
70939 fi
70940
70941
70942
70943
70944
70945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70946 $as_echo_n "checking for frexpl declaration... " >&6; }
70947 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70948 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70949 $as_echo_n "(cached) " >&6
70950 else
70951
70952
70953 ac_ext=cpp
70954 ac_cpp='$CXXCPP $CPPFLAGS'
70955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70958
70959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70960 /* end confdefs.h. */
70961 #include <math.h>
70962 int
70963 main ()
70964 {
70965 frexpl(0, 0);
70966 ;
70967 return 0;
70968 }
70969 _ACEOF
70970 if ac_fn_cxx_try_compile "$LINENO"; then :
70971 glibcxx_cv_func_frexpl_use=yes
70972 else
70973 glibcxx_cv_func_frexpl_use=no
70974 fi
70975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70976 ac_ext=c
70977 ac_cpp='$CPP $CPPFLAGS'
70978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70981
70982
70983 fi
70984
70985 fi
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70987 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70988
70989 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70990 for ac_func in frexpl
70991 do :
70992 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70993 if test "x$ac_cv_func_frexpl" = x""yes; then :
70994 cat >>confdefs.h <<_ACEOF
70995 #define HAVE_FREXPL 1
70996 _ACEOF
70997
70998 fi
70999 done
71000
71001 else
71002
71003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71004 $as_echo_n "checking for _frexpl declaration... " >&6; }
71005 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71006 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
71007 $as_echo_n "(cached) " >&6
71008 else
71009
71010
71011 ac_ext=cpp
71012 ac_cpp='$CXXCPP $CPPFLAGS'
71013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71016
71017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71018 /* end confdefs.h. */
71019 #include <math.h>
71020 int
71021 main ()
71022 {
71023 _frexpl(0, 0);
71024 ;
71025 return 0;
71026 }
71027 _ACEOF
71028 if ac_fn_cxx_try_compile "$LINENO"; then :
71029 glibcxx_cv_func__frexpl_use=yes
71030 else
71031 glibcxx_cv_func__frexpl_use=no
71032 fi
71033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71034 ac_ext=c
71035 ac_cpp='$CPP $CPPFLAGS'
71036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71039
71040
71041 fi
71042
71043 fi
71044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71045 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71046
71047 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71048 for ac_func in _frexpl
71049 do :
71050 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71051 if test "x$ac_cv_func__frexpl" = x""yes; then :
71052 cat >>confdefs.h <<_ACEOF
71053 #define HAVE__FREXPL 1
71054 _ACEOF
71055
71056 fi
71057 done
71058
71059 fi
71060 fi
71061
71062
71063
71064
71065
71066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71067 $as_echo_n "checking for hypotl declaration... " >&6; }
71068 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71069 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71070 $as_echo_n "(cached) " >&6
71071 else
71072
71073
71074 ac_ext=cpp
71075 ac_cpp='$CXXCPP $CPPFLAGS'
71076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71079
71080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71081 /* end confdefs.h. */
71082 #include <math.h>
71083 int
71084 main ()
71085 {
71086 hypotl(0, 0);
71087 ;
71088 return 0;
71089 }
71090 _ACEOF
71091 if ac_fn_cxx_try_compile "$LINENO"; then :
71092 glibcxx_cv_func_hypotl_use=yes
71093 else
71094 glibcxx_cv_func_hypotl_use=no
71095 fi
71096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71097 ac_ext=c
71098 ac_cpp='$CPP $CPPFLAGS'
71099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71102
71103
71104 fi
71105
71106 fi
71107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71108 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71109
71110 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71111 for ac_func in hypotl
71112 do :
71113 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71114 if test "x$ac_cv_func_hypotl" = x""yes; then :
71115 cat >>confdefs.h <<_ACEOF
71116 #define HAVE_HYPOTL 1
71117 _ACEOF
71118
71119 fi
71120 done
71121
71122 else
71123
71124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71125 $as_echo_n "checking for _hypotl declaration... " >&6; }
71126 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71127 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71128 $as_echo_n "(cached) " >&6
71129 else
71130
71131
71132 ac_ext=cpp
71133 ac_cpp='$CXXCPP $CPPFLAGS'
71134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71137
71138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71139 /* end confdefs.h. */
71140 #include <math.h>
71141 int
71142 main ()
71143 {
71144 _hypotl(0, 0);
71145 ;
71146 return 0;
71147 }
71148 _ACEOF
71149 if ac_fn_cxx_try_compile "$LINENO"; then :
71150 glibcxx_cv_func__hypotl_use=yes
71151 else
71152 glibcxx_cv_func__hypotl_use=no
71153 fi
71154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71155 ac_ext=c
71156 ac_cpp='$CPP $CPPFLAGS'
71157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71160
71161
71162 fi
71163
71164 fi
71165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71166 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71167
71168 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71169 for ac_func in _hypotl
71170 do :
71171 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71172 if test "x$ac_cv_func__hypotl" = x""yes; then :
71173 cat >>confdefs.h <<_ACEOF
71174 #define HAVE__HYPOTL 1
71175 _ACEOF
71176
71177 fi
71178 done
71179
71180 fi
71181 fi
71182
71183
71184
71185
71186
71187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71188 $as_echo_n "checking for ldexpl declaration... " >&6; }
71189 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71190 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71191 $as_echo_n "(cached) " >&6
71192 else
71193
71194
71195 ac_ext=cpp
71196 ac_cpp='$CXXCPP $CPPFLAGS'
71197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71200
71201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71202 /* end confdefs.h. */
71203 #include <math.h>
71204 int
71205 main ()
71206 {
71207 ldexpl(0, 0);
71208 ;
71209 return 0;
71210 }
71211 _ACEOF
71212 if ac_fn_cxx_try_compile "$LINENO"; then :
71213 glibcxx_cv_func_ldexpl_use=yes
71214 else
71215 glibcxx_cv_func_ldexpl_use=no
71216 fi
71217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71218 ac_ext=c
71219 ac_cpp='$CPP $CPPFLAGS'
71220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71223
71224
71225 fi
71226
71227 fi
71228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71229 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71230
71231 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71232 for ac_func in ldexpl
71233 do :
71234 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71235 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71236 cat >>confdefs.h <<_ACEOF
71237 #define HAVE_LDEXPL 1
71238 _ACEOF
71239
71240 fi
71241 done
71242
71243 else
71244
71245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71246 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71247 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71248 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71249 $as_echo_n "(cached) " >&6
71250 else
71251
71252
71253 ac_ext=cpp
71254 ac_cpp='$CXXCPP $CPPFLAGS'
71255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71258
71259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71260 /* end confdefs.h. */
71261 #include <math.h>
71262 int
71263 main ()
71264 {
71265 _ldexpl(0, 0);
71266 ;
71267 return 0;
71268 }
71269 _ACEOF
71270 if ac_fn_cxx_try_compile "$LINENO"; then :
71271 glibcxx_cv_func__ldexpl_use=yes
71272 else
71273 glibcxx_cv_func__ldexpl_use=no
71274 fi
71275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71276 ac_ext=c
71277 ac_cpp='$CPP $CPPFLAGS'
71278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71281
71282
71283 fi
71284
71285 fi
71286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71287 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71288
71289 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71290 for ac_func in _ldexpl
71291 do :
71292 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71293 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71294 cat >>confdefs.h <<_ACEOF
71295 #define HAVE__LDEXPL 1
71296 _ACEOF
71297
71298 fi
71299 done
71300
71301 fi
71302 fi
71303
71304
71305
71306
71307
71308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71309 $as_echo_n "checking for logl declaration... " >&6; }
71310 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71311 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71312 $as_echo_n "(cached) " >&6
71313 else
71314
71315
71316 ac_ext=cpp
71317 ac_cpp='$CXXCPP $CPPFLAGS'
71318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71321
71322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71323 /* end confdefs.h. */
71324 #include <math.h>
71325 #ifdef HAVE_IEEEFP_H
71326 #include <ieeefp.h>
71327 #endif
71328
71329 int
71330 main ()
71331 {
71332 logl(0);
71333 ;
71334 return 0;
71335 }
71336 _ACEOF
71337 if ac_fn_cxx_try_compile "$LINENO"; then :
71338 glibcxx_cv_func_logl_use=yes
71339 else
71340 glibcxx_cv_func_logl_use=no
71341 fi
71342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71343 ac_ext=c
71344 ac_cpp='$CPP $CPPFLAGS'
71345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71348
71349
71350 fi
71351
71352 fi
71353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71354 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71355
71356 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71357 for ac_func in logl
71358 do :
71359 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71360 if test "x$ac_cv_func_logl" = x""yes; then :
71361 cat >>confdefs.h <<_ACEOF
71362 #define HAVE_LOGL 1
71363 _ACEOF
71364
71365 fi
71366 done
71367
71368 else
71369
71370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71371 $as_echo_n "checking for _logl declaration... " >&6; }
71372 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71373 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71374 $as_echo_n "(cached) " >&6
71375 else
71376
71377
71378 ac_ext=cpp
71379 ac_cpp='$CXXCPP $CPPFLAGS'
71380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71383
71384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71385 /* end confdefs.h. */
71386 #include <math.h>
71387 #ifdef HAVE_IEEEFP_H
71388 #include <ieeefp.h>
71389 #endif
71390
71391 int
71392 main ()
71393 {
71394 _logl(0);
71395 ;
71396 return 0;
71397 }
71398 _ACEOF
71399 if ac_fn_cxx_try_compile "$LINENO"; then :
71400 glibcxx_cv_func__logl_use=yes
71401 else
71402 glibcxx_cv_func__logl_use=no
71403 fi
71404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71405 ac_ext=c
71406 ac_cpp='$CPP $CPPFLAGS'
71407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71410
71411
71412 fi
71413
71414 fi
71415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71416 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71417
71418 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71419 for ac_func in _logl
71420 do :
71421 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71422 if test "x$ac_cv_func__logl" = x""yes; then :
71423 cat >>confdefs.h <<_ACEOF
71424 #define HAVE__LOGL 1
71425 _ACEOF
71426
71427 fi
71428 done
71429
71430 fi
71431 fi
71432
71433
71434
71435
71436
71437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71438 $as_echo_n "checking for log10l declaration... " >&6; }
71439 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71440 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71441 $as_echo_n "(cached) " >&6
71442 else
71443
71444
71445 ac_ext=cpp
71446 ac_cpp='$CXXCPP $CPPFLAGS'
71447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71450
71451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71452 /* end confdefs.h. */
71453 #include <math.h>
71454 #ifdef HAVE_IEEEFP_H
71455 #include <ieeefp.h>
71456 #endif
71457
71458 int
71459 main ()
71460 {
71461 log10l(0);
71462 ;
71463 return 0;
71464 }
71465 _ACEOF
71466 if ac_fn_cxx_try_compile "$LINENO"; then :
71467 glibcxx_cv_func_log10l_use=yes
71468 else
71469 glibcxx_cv_func_log10l_use=no
71470 fi
71471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71472 ac_ext=c
71473 ac_cpp='$CPP $CPPFLAGS'
71474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71477
71478
71479 fi
71480
71481 fi
71482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71483 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71484
71485 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71486 for ac_func in log10l
71487 do :
71488 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71489 if test "x$ac_cv_func_log10l" = x""yes; then :
71490 cat >>confdefs.h <<_ACEOF
71491 #define HAVE_LOG10L 1
71492 _ACEOF
71493
71494 fi
71495 done
71496
71497 else
71498
71499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71500 $as_echo_n "checking for _log10l declaration... " >&6; }
71501 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71502 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71503 $as_echo_n "(cached) " >&6
71504 else
71505
71506
71507 ac_ext=cpp
71508 ac_cpp='$CXXCPP $CPPFLAGS'
71509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71512
71513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71514 /* end confdefs.h. */
71515 #include <math.h>
71516 #ifdef HAVE_IEEEFP_H
71517 #include <ieeefp.h>
71518 #endif
71519
71520 int
71521 main ()
71522 {
71523 _log10l(0);
71524 ;
71525 return 0;
71526 }
71527 _ACEOF
71528 if ac_fn_cxx_try_compile "$LINENO"; then :
71529 glibcxx_cv_func__log10l_use=yes
71530 else
71531 glibcxx_cv_func__log10l_use=no
71532 fi
71533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71534 ac_ext=c
71535 ac_cpp='$CPP $CPPFLAGS'
71536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71539
71540
71541 fi
71542
71543 fi
71544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71545 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71546
71547 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71548 for ac_func in _log10l
71549 do :
71550 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71551 if test "x$ac_cv_func__log10l" = x""yes; then :
71552 cat >>confdefs.h <<_ACEOF
71553 #define HAVE__LOG10L 1
71554 _ACEOF
71555
71556 fi
71557 done
71558
71559 fi
71560 fi
71561
71562
71563
71564
71565
71566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71567 $as_echo_n "checking for modfl declaration... " >&6; }
71568 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71569 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71570 $as_echo_n "(cached) " >&6
71571 else
71572
71573
71574 ac_ext=cpp
71575 ac_cpp='$CXXCPP $CPPFLAGS'
71576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71579
71580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71581 /* end confdefs.h. */
71582 #include <math.h>
71583 int
71584 main ()
71585 {
71586 modfl(0, 0);
71587 ;
71588 return 0;
71589 }
71590 _ACEOF
71591 if ac_fn_cxx_try_compile "$LINENO"; then :
71592 glibcxx_cv_func_modfl_use=yes
71593 else
71594 glibcxx_cv_func_modfl_use=no
71595 fi
71596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71597 ac_ext=c
71598 ac_cpp='$CPP $CPPFLAGS'
71599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71602
71603
71604 fi
71605
71606 fi
71607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71608 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71609
71610 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71611 for ac_func in modfl
71612 do :
71613 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71614 if test "x$ac_cv_func_modfl" = x""yes; then :
71615 cat >>confdefs.h <<_ACEOF
71616 #define HAVE_MODFL 1
71617 _ACEOF
71618
71619 fi
71620 done
71621
71622 else
71623
71624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71625 $as_echo_n "checking for _modfl declaration... " >&6; }
71626 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71627 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71628 $as_echo_n "(cached) " >&6
71629 else
71630
71631
71632 ac_ext=cpp
71633 ac_cpp='$CXXCPP $CPPFLAGS'
71634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71637
71638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71639 /* end confdefs.h. */
71640 #include <math.h>
71641 int
71642 main ()
71643 {
71644 _modfl(0, 0);
71645 ;
71646 return 0;
71647 }
71648 _ACEOF
71649 if ac_fn_cxx_try_compile "$LINENO"; then :
71650 glibcxx_cv_func__modfl_use=yes
71651 else
71652 glibcxx_cv_func__modfl_use=no
71653 fi
71654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71655 ac_ext=c
71656 ac_cpp='$CPP $CPPFLAGS'
71657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71660
71661
71662 fi
71663
71664 fi
71665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71666 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71667
71668 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71669 for ac_func in _modfl
71670 do :
71671 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71672 if test "x$ac_cv_func__modfl" = x""yes; then :
71673 cat >>confdefs.h <<_ACEOF
71674 #define HAVE__MODFL 1
71675 _ACEOF
71676
71677 fi
71678 done
71679
71680 fi
71681 fi
71682
71683
71684
71685
71686
71687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71688 $as_echo_n "checking for powl declaration... " >&6; }
71689 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71690 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71691 $as_echo_n "(cached) " >&6
71692 else
71693
71694
71695 ac_ext=cpp
71696 ac_cpp='$CXXCPP $CPPFLAGS'
71697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71700
71701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71702 /* end confdefs.h. */
71703 #include <math.h>
71704 int
71705 main ()
71706 {
71707 powl(0, 0);
71708 ;
71709 return 0;
71710 }
71711 _ACEOF
71712 if ac_fn_cxx_try_compile "$LINENO"; then :
71713 glibcxx_cv_func_powl_use=yes
71714 else
71715 glibcxx_cv_func_powl_use=no
71716 fi
71717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71718 ac_ext=c
71719 ac_cpp='$CPP $CPPFLAGS'
71720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71723
71724
71725 fi
71726
71727 fi
71728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71729 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71730
71731 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71732 for ac_func in powl
71733 do :
71734 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71735 if test "x$ac_cv_func_powl" = x""yes; then :
71736 cat >>confdefs.h <<_ACEOF
71737 #define HAVE_POWL 1
71738 _ACEOF
71739
71740 fi
71741 done
71742
71743 else
71744
71745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71746 $as_echo_n "checking for _powl declaration... " >&6; }
71747 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71748 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71749 $as_echo_n "(cached) " >&6
71750 else
71751
71752
71753 ac_ext=cpp
71754 ac_cpp='$CXXCPP $CPPFLAGS'
71755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71758
71759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71760 /* end confdefs.h. */
71761 #include <math.h>
71762 int
71763 main ()
71764 {
71765 _powl(0, 0);
71766 ;
71767 return 0;
71768 }
71769 _ACEOF
71770 if ac_fn_cxx_try_compile "$LINENO"; then :
71771 glibcxx_cv_func__powl_use=yes
71772 else
71773 glibcxx_cv_func__powl_use=no
71774 fi
71775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71776 ac_ext=c
71777 ac_cpp='$CPP $CPPFLAGS'
71778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71781
71782
71783 fi
71784
71785 fi
71786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71787 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71788
71789 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71790 for ac_func in _powl
71791 do :
71792 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71793 if test "x$ac_cv_func__powl" = x""yes; then :
71794 cat >>confdefs.h <<_ACEOF
71795 #define HAVE__POWL 1
71796 _ACEOF
71797
71798 fi
71799 done
71800
71801 fi
71802 fi
71803
71804
71805
71806
71807
71808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71809 $as_echo_n "checking for sqrtl declaration... " >&6; }
71810 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71811 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71812 $as_echo_n "(cached) " >&6
71813 else
71814
71815
71816 ac_ext=cpp
71817 ac_cpp='$CXXCPP $CPPFLAGS'
71818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71821
71822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71823 /* end confdefs.h. */
71824 #include <math.h>
71825 #ifdef HAVE_IEEEFP_H
71826 #include <ieeefp.h>
71827 #endif
71828
71829 int
71830 main ()
71831 {
71832 sqrtl(0);
71833 ;
71834 return 0;
71835 }
71836 _ACEOF
71837 if ac_fn_cxx_try_compile "$LINENO"; then :
71838 glibcxx_cv_func_sqrtl_use=yes
71839 else
71840 glibcxx_cv_func_sqrtl_use=no
71841 fi
71842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71843 ac_ext=c
71844 ac_cpp='$CPP $CPPFLAGS'
71845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71848
71849
71850 fi
71851
71852 fi
71853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71854 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71855
71856 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71857 for ac_func in sqrtl
71858 do :
71859 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71860 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71861 cat >>confdefs.h <<_ACEOF
71862 #define HAVE_SQRTL 1
71863 _ACEOF
71864
71865 fi
71866 done
71867
71868 else
71869
71870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71871 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71872 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71873 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71874 $as_echo_n "(cached) " >&6
71875 else
71876
71877
71878 ac_ext=cpp
71879 ac_cpp='$CXXCPP $CPPFLAGS'
71880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71883
71884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71885 /* end confdefs.h. */
71886 #include <math.h>
71887 #ifdef HAVE_IEEEFP_H
71888 #include <ieeefp.h>
71889 #endif
71890
71891 int
71892 main ()
71893 {
71894 _sqrtl(0);
71895 ;
71896 return 0;
71897 }
71898 _ACEOF
71899 if ac_fn_cxx_try_compile "$LINENO"; then :
71900 glibcxx_cv_func__sqrtl_use=yes
71901 else
71902 glibcxx_cv_func__sqrtl_use=no
71903 fi
71904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71905 ac_ext=c
71906 ac_cpp='$CPP $CPPFLAGS'
71907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71910
71911
71912 fi
71913
71914 fi
71915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71916 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71917
71918 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71919 for ac_func in _sqrtl
71920 do :
71921 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71922 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71923 cat >>confdefs.h <<_ACEOF
71924 #define HAVE__SQRTL 1
71925 _ACEOF
71926
71927 fi
71928 done
71929
71930 fi
71931 fi
71932
71933
71934
71935
71936
71937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71938 $as_echo_n "checking for sincosl declaration... " >&6; }
71939 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71940 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71941 $as_echo_n "(cached) " >&6
71942 else
71943
71944
71945 ac_ext=cpp
71946 ac_cpp='$CXXCPP $CPPFLAGS'
71947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71950
71951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71952 /* end confdefs.h. */
71953 #include <math.h>
71954 int
71955 main ()
71956 {
71957 sincosl(0, 0, 0);
71958 ;
71959 return 0;
71960 }
71961 _ACEOF
71962 if ac_fn_cxx_try_compile "$LINENO"; then :
71963 glibcxx_cv_func_sincosl_use=yes
71964 else
71965 glibcxx_cv_func_sincosl_use=no
71966 fi
71967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71968 ac_ext=c
71969 ac_cpp='$CPP $CPPFLAGS'
71970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71973
71974
71975 fi
71976
71977 fi
71978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71979 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71980
71981 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71982 for ac_func in sincosl
71983 do :
71984 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71985 if test "x$ac_cv_func_sincosl" = x""yes; then :
71986 cat >>confdefs.h <<_ACEOF
71987 #define HAVE_SINCOSL 1
71988 _ACEOF
71989
71990 fi
71991 done
71992
71993 else
71994
71995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71996 $as_echo_n "checking for _sincosl declaration... " >&6; }
71997 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71998 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71999 $as_echo_n "(cached) " >&6
72000 else
72001
72002
72003 ac_ext=cpp
72004 ac_cpp='$CXXCPP $CPPFLAGS'
72005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72008
72009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72010 /* end confdefs.h. */
72011 #include <math.h>
72012 int
72013 main ()
72014 {
72015 _sincosl(0, 0, 0);
72016 ;
72017 return 0;
72018 }
72019 _ACEOF
72020 if ac_fn_cxx_try_compile "$LINENO"; then :
72021 glibcxx_cv_func__sincosl_use=yes
72022 else
72023 glibcxx_cv_func__sincosl_use=no
72024 fi
72025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72026 ac_ext=c
72027 ac_cpp='$CPP $CPPFLAGS'
72028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72031
72032
72033 fi
72034
72035 fi
72036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72037 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72038
72039 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72040 for ac_func in _sincosl
72041 do :
72042 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72043 if test "x$ac_cv_func__sincosl" = x""yes; then :
72044 cat >>confdefs.h <<_ACEOF
72045 #define HAVE__SINCOSL 1
72046 _ACEOF
72047
72048 fi
72049 done
72050
72051 fi
72052 fi
72053
72054
72055
72056
72057
72058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72059 $as_echo_n "checking for finitel declaration... " >&6; }
72060 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72061 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72062 $as_echo_n "(cached) " >&6
72063 else
72064
72065
72066 ac_ext=cpp
72067 ac_cpp='$CXXCPP $CPPFLAGS'
72068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72071
72072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72073 /* end confdefs.h. */
72074 #include <math.h>
72075 #ifdef HAVE_IEEEFP_H
72076 #include <ieeefp.h>
72077 #endif
72078
72079 int
72080 main ()
72081 {
72082 finitel(0);
72083 ;
72084 return 0;
72085 }
72086 _ACEOF
72087 if ac_fn_cxx_try_compile "$LINENO"; then :
72088 glibcxx_cv_func_finitel_use=yes
72089 else
72090 glibcxx_cv_func_finitel_use=no
72091 fi
72092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72093 ac_ext=c
72094 ac_cpp='$CPP $CPPFLAGS'
72095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72098
72099
72100 fi
72101
72102 fi
72103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72104 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72105
72106 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72107 for ac_func in finitel
72108 do :
72109 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72110 if test "x$ac_cv_func_finitel" = x""yes; then :
72111 cat >>confdefs.h <<_ACEOF
72112 #define HAVE_FINITEL 1
72113 _ACEOF
72114
72115 fi
72116 done
72117
72118 else
72119
72120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72121 $as_echo_n "checking for _finitel declaration... " >&6; }
72122 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72123 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72124 $as_echo_n "(cached) " >&6
72125 else
72126
72127
72128 ac_ext=cpp
72129 ac_cpp='$CXXCPP $CPPFLAGS'
72130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72133
72134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72135 /* end confdefs.h. */
72136 #include <math.h>
72137 #ifdef HAVE_IEEEFP_H
72138 #include <ieeefp.h>
72139 #endif
72140
72141 int
72142 main ()
72143 {
72144 _finitel(0);
72145 ;
72146 return 0;
72147 }
72148 _ACEOF
72149 if ac_fn_cxx_try_compile "$LINENO"; then :
72150 glibcxx_cv_func__finitel_use=yes
72151 else
72152 glibcxx_cv_func__finitel_use=no
72153 fi
72154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72155 ac_ext=c
72156 ac_cpp='$CPP $CPPFLAGS'
72157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72160
72161
72162 fi
72163
72164 fi
72165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72166 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72167
72168 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72169 for ac_func in _finitel
72170 do :
72171 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72172 if test "x$ac_cv_func__finitel" = x""yes; then :
72173 cat >>confdefs.h <<_ACEOF
72174 #define HAVE__FINITEL 1
72175 _ACEOF
72176
72177 fi
72178 done
72179
72180 fi
72181 fi
72182
72183
72184
72185
72186 LIBS="$ac_save_LIBS"
72187 CXXFLAGS="$ac_save_CXXFLAGS"
72188
72189
72190 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72191 ac_save_CXXFLAGS="$CXXFLAGS"
72192 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72193
72194
72195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72196 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72197 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72198 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72199 $as_echo_n "(cached) " >&6
72200 else
72201
72202
72203 ac_ext=cpp
72204 ac_cpp='$CXXCPP $CPPFLAGS'
72205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72208
72209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72210 /* end confdefs.h. */
72211 #include <stdlib.h>
72212 int
72213 main ()
72214 {
72215 at_quick_exit(0);
72216 ;
72217 return 0;
72218 }
72219 _ACEOF
72220 if ac_fn_cxx_try_compile "$LINENO"; then :
72221 glibcxx_cv_func_at_quick_exit_use=yes
72222 else
72223 glibcxx_cv_func_at_quick_exit_use=no
72224 fi
72225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72226 ac_ext=c
72227 ac_cpp='$CPP $CPPFLAGS'
72228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72231
72232
72233 fi
72234
72235 fi
72236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72237 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72238 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72239 for ac_func in at_quick_exit
72240 do :
72241 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72242 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72243 cat >>confdefs.h <<_ACEOF
72244 #define HAVE_AT_QUICK_EXIT 1
72245 _ACEOF
72246
72247 fi
72248 done
72249
72250 fi
72251
72252
72253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72254 $as_echo_n "checking for quick_exit declaration... " >&6; }
72255 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72256 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72257 $as_echo_n "(cached) " >&6
72258 else
72259
72260
72261 ac_ext=cpp
72262 ac_cpp='$CXXCPP $CPPFLAGS'
72263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72266
72267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72268 /* end confdefs.h. */
72269 #include <stdlib.h>
72270 int
72271 main ()
72272 {
72273 quick_exit(0);
72274 ;
72275 return 0;
72276 }
72277 _ACEOF
72278 if ac_fn_cxx_try_compile "$LINENO"; then :
72279 glibcxx_cv_func_quick_exit_use=yes
72280 else
72281 glibcxx_cv_func_quick_exit_use=no
72282 fi
72283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72284 ac_ext=c
72285 ac_cpp='$CPP $CPPFLAGS'
72286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72289
72290
72291 fi
72292
72293 fi
72294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72295 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72296 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72297 for ac_func in quick_exit
72298 do :
72299 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72300 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72301 cat >>confdefs.h <<_ACEOF
72302 #define HAVE_QUICK_EXIT 1
72303 _ACEOF
72304
72305 fi
72306 done
72307
72308 fi
72309
72310
72311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72312 $as_echo_n "checking for strtold declaration... " >&6; }
72313 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72314 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72315 $as_echo_n "(cached) " >&6
72316 else
72317
72318
72319 ac_ext=cpp
72320 ac_cpp='$CXXCPP $CPPFLAGS'
72321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72324
72325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72326 /* end confdefs.h. */
72327 #include <stdlib.h>
72328 int
72329 main ()
72330 {
72331 strtold(0, 0);
72332 ;
72333 return 0;
72334 }
72335 _ACEOF
72336 if ac_fn_cxx_try_compile "$LINENO"; then :
72337 glibcxx_cv_func_strtold_use=yes
72338 else
72339 glibcxx_cv_func_strtold_use=no
72340 fi
72341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72342 ac_ext=c
72343 ac_cpp='$CPP $CPPFLAGS'
72344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72347
72348
72349 fi
72350
72351 fi
72352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72353 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72354 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72355 for ac_func in strtold
72356 do :
72357 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72358 if test "x$ac_cv_func_strtold" = x""yes; then :
72359 cat >>confdefs.h <<_ACEOF
72360 #define HAVE_STRTOLD 1
72361 _ACEOF
72362
72363 fi
72364 done
72365
72366 fi
72367
72368
72369
72370
72371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72372 $as_echo_n "checking for strtof declaration... " >&6; }
72373 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72374 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72375 $as_echo_n "(cached) " >&6
72376 else
72377
72378
72379 ac_ext=cpp
72380 ac_cpp='$CXXCPP $CPPFLAGS'
72381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72384
72385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72386 /* end confdefs.h. */
72387 #include <stdlib.h>
72388 int
72389 main ()
72390 {
72391 strtof(0, 0);
72392 ;
72393 return 0;
72394 }
72395 _ACEOF
72396 if ac_fn_cxx_try_compile "$LINENO"; then :
72397 glibcxx_cv_func_strtof_use=yes
72398 else
72399 glibcxx_cv_func_strtof_use=no
72400 fi
72401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72402 ac_ext=c
72403 ac_cpp='$CPP $CPPFLAGS'
72404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72407
72408
72409 fi
72410
72411 fi
72412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72413 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72414 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72415 for ac_func in strtof
72416 do :
72417 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72418 if test "x$ac_cv_func_strtof" = x""yes; then :
72419 cat >>confdefs.h <<_ACEOF
72420 #define HAVE_STRTOF 1
72421 _ACEOF
72422
72423 fi
72424 done
72425
72426 fi
72427
72428
72429
72430
72431 CXXFLAGS="$ac_save_CXXFLAGS"
72432
72433 ;;
72434 *-tpf)
72435 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72436 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72437
72438 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72439
72440 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72441
72442 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72443
72444 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72445
72446 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72447
72448 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72449
72450 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72451
72452 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72453
72454 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72455
72456 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72457
72458 if test x"long_double_math_on_this_cpu" = x"yes"; then
72459 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72460
72461 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72462
72463 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72464
72465 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72466
72467 fi
72468 ;;
72469 *-*vms*)
72470 # Check for available headers.
72471 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72472
72473 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72474 ac_save_CXXFLAGS="$CXXFLAGS"
72475 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72476
72477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72478 $as_echo_n "checking for sin in -lm... " >&6; }
72479 if test "${ac_cv_lib_m_sin+set}" = set; then :
72480 $as_echo_n "(cached) " >&6
72481 else
72482 ac_check_lib_save_LIBS=$LIBS
72483 LIBS="-lm $LIBS"
72484 if test x$gcc_no_link = xyes; then
72485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72486 fi
72487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72488 /* end confdefs.h. */
72489
72490 /* Override any GCC internal prototype to avoid an error.
72491 Use char because int might match the return type of a GCC
72492 builtin and then its argument prototype would still apply. */
72493 #ifdef __cplusplus
72494 extern "C"
72495 #endif
72496 char sin ();
72497 int
72498 main ()
72499 {
72500 return sin ();
72501 ;
72502 return 0;
72503 }
72504 _ACEOF
72505 if ac_fn_c_try_link "$LINENO"; then :
72506 ac_cv_lib_m_sin=yes
72507 else
72508 ac_cv_lib_m_sin=no
72509 fi
72510 rm -f core conftest.err conftest.$ac_objext \
72511 conftest$ac_exeext conftest.$ac_ext
72512 LIBS=$ac_check_lib_save_LIBS
72513 fi
72514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72515 $as_echo "$ac_cv_lib_m_sin" >&6; }
72516 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72517 libm="-lm"
72518 fi
72519
72520 ac_save_LIBS="$LIBS"
72521 LIBS="$LIBS $libm"
72522
72523
72524
72525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72526 $as_echo_n "checking for isinf declaration... " >&6; }
72527 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72528 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72529 $as_echo_n "(cached) " >&6
72530 else
72531
72532
72533 ac_ext=cpp
72534 ac_cpp='$CXXCPP $CPPFLAGS'
72535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72538
72539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72540 /* end confdefs.h. */
72541 #include <math.h>
72542 #ifdef HAVE_IEEEFP_H
72543 #include <ieeefp.h>
72544 #endif
72545
72546 int
72547 main ()
72548 {
72549 isinf(0);
72550 ;
72551 return 0;
72552 }
72553 _ACEOF
72554 if ac_fn_cxx_try_compile "$LINENO"; then :
72555 glibcxx_cv_func_isinf_use=yes
72556 else
72557 glibcxx_cv_func_isinf_use=no
72558 fi
72559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72560 ac_ext=c
72561 ac_cpp='$CPP $CPPFLAGS'
72562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72565
72566
72567 fi
72568
72569 fi
72570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72571 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72572
72573 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72574 for ac_func in isinf
72575 do :
72576 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72577 if test "x$ac_cv_func_isinf" = x""yes; then :
72578 cat >>confdefs.h <<_ACEOF
72579 #define HAVE_ISINF 1
72580 _ACEOF
72581
72582 fi
72583 done
72584
72585 else
72586
72587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72588 $as_echo_n "checking for _isinf declaration... " >&6; }
72589 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72590 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72591 $as_echo_n "(cached) " >&6
72592 else
72593
72594
72595 ac_ext=cpp
72596 ac_cpp='$CXXCPP $CPPFLAGS'
72597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72600
72601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72602 /* end confdefs.h. */
72603 #include <math.h>
72604 #ifdef HAVE_IEEEFP_H
72605 #include <ieeefp.h>
72606 #endif
72607
72608 int
72609 main ()
72610 {
72611 _isinf(0);
72612 ;
72613 return 0;
72614 }
72615 _ACEOF
72616 if ac_fn_cxx_try_compile "$LINENO"; then :
72617 glibcxx_cv_func__isinf_use=yes
72618 else
72619 glibcxx_cv_func__isinf_use=no
72620 fi
72621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72622 ac_ext=c
72623 ac_cpp='$CPP $CPPFLAGS'
72624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72627
72628
72629 fi
72630
72631 fi
72632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72633 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72634
72635 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72636 for ac_func in _isinf
72637 do :
72638 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72639 if test "x$ac_cv_func__isinf" = x""yes; then :
72640 cat >>confdefs.h <<_ACEOF
72641 #define HAVE__ISINF 1
72642 _ACEOF
72643
72644 fi
72645 done
72646
72647 fi
72648 fi
72649
72650
72651
72652
72653
72654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72655 $as_echo_n "checking for isnan declaration... " >&6; }
72656 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72657 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72658 $as_echo_n "(cached) " >&6
72659 else
72660
72661
72662 ac_ext=cpp
72663 ac_cpp='$CXXCPP $CPPFLAGS'
72664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72667
72668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72669 /* end confdefs.h. */
72670 #include <math.h>
72671 #ifdef HAVE_IEEEFP_H
72672 #include <ieeefp.h>
72673 #endif
72674
72675 int
72676 main ()
72677 {
72678 isnan(0);
72679 ;
72680 return 0;
72681 }
72682 _ACEOF
72683 if ac_fn_cxx_try_compile "$LINENO"; then :
72684 glibcxx_cv_func_isnan_use=yes
72685 else
72686 glibcxx_cv_func_isnan_use=no
72687 fi
72688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72689 ac_ext=c
72690 ac_cpp='$CPP $CPPFLAGS'
72691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72694
72695
72696 fi
72697
72698 fi
72699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72700 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72701
72702 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72703 for ac_func in isnan
72704 do :
72705 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72706 if test "x$ac_cv_func_isnan" = x""yes; then :
72707 cat >>confdefs.h <<_ACEOF
72708 #define HAVE_ISNAN 1
72709 _ACEOF
72710
72711 fi
72712 done
72713
72714 else
72715
72716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72717 $as_echo_n "checking for _isnan declaration... " >&6; }
72718 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72719 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72720 $as_echo_n "(cached) " >&6
72721 else
72722
72723
72724 ac_ext=cpp
72725 ac_cpp='$CXXCPP $CPPFLAGS'
72726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72729
72730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72731 /* end confdefs.h. */
72732 #include <math.h>
72733 #ifdef HAVE_IEEEFP_H
72734 #include <ieeefp.h>
72735 #endif
72736
72737 int
72738 main ()
72739 {
72740 _isnan(0);
72741 ;
72742 return 0;
72743 }
72744 _ACEOF
72745 if ac_fn_cxx_try_compile "$LINENO"; then :
72746 glibcxx_cv_func__isnan_use=yes
72747 else
72748 glibcxx_cv_func__isnan_use=no
72749 fi
72750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72751 ac_ext=c
72752 ac_cpp='$CPP $CPPFLAGS'
72753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72756
72757
72758 fi
72759
72760 fi
72761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72762 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72763
72764 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72765 for ac_func in _isnan
72766 do :
72767 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72768 if test "x$ac_cv_func__isnan" = x""yes; then :
72769 cat >>confdefs.h <<_ACEOF
72770 #define HAVE__ISNAN 1
72771 _ACEOF
72772
72773 fi
72774 done
72775
72776 fi
72777 fi
72778
72779
72780
72781
72782
72783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72784 $as_echo_n "checking for finite declaration... " >&6; }
72785 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72786 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72787 $as_echo_n "(cached) " >&6
72788 else
72789
72790
72791 ac_ext=cpp
72792 ac_cpp='$CXXCPP $CPPFLAGS'
72793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72796
72797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72798 /* end confdefs.h. */
72799 #include <math.h>
72800 #ifdef HAVE_IEEEFP_H
72801 #include <ieeefp.h>
72802 #endif
72803
72804 int
72805 main ()
72806 {
72807 finite(0);
72808 ;
72809 return 0;
72810 }
72811 _ACEOF
72812 if ac_fn_cxx_try_compile "$LINENO"; then :
72813 glibcxx_cv_func_finite_use=yes
72814 else
72815 glibcxx_cv_func_finite_use=no
72816 fi
72817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72818 ac_ext=c
72819 ac_cpp='$CPP $CPPFLAGS'
72820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72823
72824
72825 fi
72826
72827 fi
72828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72829 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72830
72831 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72832 for ac_func in finite
72833 do :
72834 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72835 if test "x$ac_cv_func_finite" = x""yes; then :
72836 cat >>confdefs.h <<_ACEOF
72837 #define HAVE_FINITE 1
72838 _ACEOF
72839
72840 fi
72841 done
72842
72843 else
72844
72845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72846 $as_echo_n "checking for _finite declaration... " >&6; }
72847 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72848 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72849 $as_echo_n "(cached) " >&6
72850 else
72851
72852
72853 ac_ext=cpp
72854 ac_cpp='$CXXCPP $CPPFLAGS'
72855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72858
72859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72860 /* end confdefs.h. */
72861 #include <math.h>
72862 #ifdef HAVE_IEEEFP_H
72863 #include <ieeefp.h>
72864 #endif
72865
72866 int
72867 main ()
72868 {
72869 _finite(0);
72870 ;
72871 return 0;
72872 }
72873 _ACEOF
72874 if ac_fn_cxx_try_compile "$LINENO"; then :
72875 glibcxx_cv_func__finite_use=yes
72876 else
72877 glibcxx_cv_func__finite_use=no
72878 fi
72879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72880 ac_ext=c
72881 ac_cpp='$CPP $CPPFLAGS'
72882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72885
72886
72887 fi
72888
72889 fi
72890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72891 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72892
72893 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72894 for ac_func in _finite
72895 do :
72896 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72897 if test "x$ac_cv_func__finite" = x""yes; then :
72898 cat >>confdefs.h <<_ACEOF
72899 #define HAVE__FINITE 1
72900 _ACEOF
72901
72902 fi
72903 done
72904
72905 fi
72906 fi
72907
72908
72909
72910
72911
72912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72913 $as_echo_n "checking for sincos declaration... " >&6; }
72914 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72915 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72916 $as_echo_n "(cached) " >&6
72917 else
72918
72919
72920 ac_ext=cpp
72921 ac_cpp='$CXXCPP $CPPFLAGS'
72922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72925
72926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72927 /* end confdefs.h. */
72928 #include <math.h>
72929 int
72930 main ()
72931 {
72932 sincos(0, 0, 0);
72933 ;
72934 return 0;
72935 }
72936 _ACEOF
72937 if ac_fn_cxx_try_compile "$LINENO"; then :
72938 glibcxx_cv_func_sincos_use=yes
72939 else
72940 glibcxx_cv_func_sincos_use=no
72941 fi
72942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72943 ac_ext=c
72944 ac_cpp='$CPP $CPPFLAGS'
72945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72948
72949
72950 fi
72951
72952 fi
72953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72954 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72955
72956 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72957 for ac_func in sincos
72958 do :
72959 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72960 if test "x$ac_cv_func_sincos" = x""yes; then :
72961 cat >>confdefs.h <<_ACEOF
72962 #define HAVE_SINCOS 1
72963 _ACEOF
72964
72965 fi
72966 done
72967
72968 else
72969
72970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72971 $as_echo_n "checking for _sincos declaration... " >&6; }
72972 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72973 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72974 $as_echo_n "(cached) " >&6
72975 else
72976
72977
72978 ac_ext=cpp
72979 ac_cpp='$CXXCPP $CPPFLAGS'
72980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72983
72984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72985 /* end confdefs.h. */
72986 #include <math.h>
72987 int
72988 main ()
72989 {
72990 _sincos(0, 0, 0);
72991 ;
72992 return 0;
72993 }
72994 _ACEOF
72995 if ac_fn_cxx_try_compile "$LINENO"; then :
72996 glibcxx_cv_func__sincos_use=yes
72997 else
72998 glibcxx_cv_func__sincos_use=no
72999 fi
73000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73001 ac_ext=c
73002 ac_cpp='$CPP $CPPFLAGS'
73003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73006
73007
73008 fi
73009
73010 fi
73011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73012 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73013
73014 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73015 for ac_func in _sincos
73016 do :
73017 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73018 if test "x$ac_cv_func__sincos" = x""yes; then :
73019 cat >>confdefs.h <<_ACEOF
73020 #define HAVE__SINCOS 1
73021 _ACEOF
73022
73023 fi
73024 done
73025
73026 fi
73027 fi
73028
73029
73030
73031
73032
73033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73034 $as_echo_n "checking for fpclass declaration... " >&6; }
73035 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73036 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73037 $as_echo_n "(cached) " >&6
73038 else
73039
73040
73041 ac_ext=cpp
73042 ac_cpp='$CXXCPP $CPPFLAGS'
73043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73046
73047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73048 /* end confdefs.h. */
73049 #include <math.h>
73050 #ifdef HAVE_IEEEFP_H
73051 #include <ieeefp.h>
73052 #endif
73053
73054 int
73055 main ()
73056 {
73057 fpclass(0);
73058 ;
73059 return 0;
73060 }
73061 _ACEOF
73062 if ac_fn_cxx_try_compile "$LINENO"; then :
73063 glibcxx_cv_func_fpclass_use=yes
73064 else
73065 glibcxx_cv_func_fpclass_use=no
73066 fi
73067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73068 ac_ext=c
73069 ac_cpp='$CPP $CPPFLAGS'
73070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73073
73074
73075 fi
73076
73077 fi
73078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73079 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73080
73081 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73082 for ac_func in fpclass
73083 do :
73084 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73085 if test "x$ac_cv_func_fpclass" = x""yes; then :
73086 cat >>confdefs.h <<_ACEOF
73087 #define HAVE_FPCLASS 1
73088 _ACEOF
73089
73090 fi
73091 done
73092
73093 else
73094
73095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73096 $as_echo_n "checking for _fpclass declaration... " >&6; }
73097 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73098 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73099 $as_echo_n "(cached) " >&6
73100 else
73101
73102
73103 ac_ext=cpp
73104 ac_cpp='$CXXCPP $CPPFLAGS'
73105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73108
73109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73110 /* end confdefs.h. */
73111 #include <math.h>
73112 #ifdef HAVE_IEEEFP_H
73113 #include <ieeefp.h>
73114 #endif
73115
73116 int
73117 main ()
73118 {
73119 _fpclass(0);
73120 ;
73121 return 0;
73122 }
73123 _ACEOF
73124 if ac_fn_cxx_try_compile "$LINENO"; then :
73125 glibcxx_cv_func__fpclass_use=yes
73126 else
73127 glibcxx_cv_func__fpclass_use=no
73128 fi
73129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73130 ac_ext=c
73131 ac_cpp='$CPP $CPPFLAGS'
73132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73135
73136
73137 fi
73138
73139 fi
73140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73141 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73142
73143 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73144 for ac_func in _fpclass
73145 do :
73146 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73147 if test "x$ac_cv_func__fpclass" = x""yes; then :
73148 cat >>confdefs.h <<_ACEOF
73149 #define HAVE__FPCLASS 1
73150 _ACEOF
73151
73152 fi
73153 done
73154
73155 fi
73156 fi
73157
73158
73159
73160
73161
73162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73163 $as_echo_n "checking for qfpclass declaration... " >&6; }
73164 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73165 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73166 $as_echo_n "(cached) " >&6
73167 else
73168
73169
73170 ac_ext=cpp
73171 ac_cpp='$CXXCPP $CPPFLAGS'
73172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73175
73176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73177 /* end confdefs.h. */
73178 #include <math.h>
73179 #ifdef HAVE_IEEEFP_H
73180 #include <ieeefp.h>
73181 #endif
73182
73183 int
73184 main ()
73185 {
73186 qfpclass(0);
73187 ;
73188 return 0;
73189 }
73190 _ACEOF
73191 if ac_fn_cxx_try_compile "$LINENO"; then :
73192 glibcxx_cv_func_qfpclass_use=yes
73193 else
73194 glibcxx_cv_func_qfpclass_use=no
73195 fi
73196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73197 ac_ext=c
73198 ac_cpp='$CPP $CPPFLAGS'
73199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73202
73203
73204 fi
73205
73206 fi
73207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73208 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73209
73210 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73211 for ac_func in qfpclass
73212 do :
73213 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73214 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73215 cat >>confdefs.h <<_ACEOF
73216 #define HAVE_QFPCLASS 1
73217 _ACEOF
73218
73219 fi
73220 done
73221
73222 else
73223
73224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73225 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73226 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73227 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73228 $as_echo_n "(cached) " >&6
73229 else
73230
73231
73232 ac_ext=cpp
73233 ac_cpp='$CXXCPP $CPPFLAGS'
73234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73237
73238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73239 /* end confdefs.h. */
73240 #include <math.h>
73241 #ifdef HAVE_IEEEFP_H
73242 #include <ieeefp.h>
73243 #endif
73244
73245 int
73246 main ()
73247 {
73248 _qfpclass(0);
73249 ;
73250 return 0;
73251 }
73252 _ACEOF
73253 if ac_fn_cxx_try_compile "$LINENO"; then :
73254 glibcxx_cv_func__qfpclass_use=yes
73255 else
73256 glibcxx_cv_func__qfpclass_use=no
73257 fi
73258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73259 ac_ext=c
73260 ac_cpp='$CPP $CPPFLAGS'
73261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73264
73265
73266 fi
73267
73268 fi
73269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73270 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73271
73272 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73273 for ac_func in _qfpclass
73274 do :
73275 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73276 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73277 cat >>confdefs.h <<_ACEOF
73278 #define HAVE__QFPCLASS 1
73279 _ACEOF
73280
73281 fi
73282 done
73283
73284 fi
73285 fi
73286
73287
73288
73289
73290
73291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73292 $as_echo_n "checking for hypot declaration... " >&6; }
73293 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73294 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73295 $as_echo_n "(cached) " >&6
73296 else
73297
73298
73299 ac_ext=cpp
73300 ac_cpp='$CXXCPP $CPPFLAGS'
73301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73304
73305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73306 /* end confdefs.h. */
73307 #include <math.h>
73308 int
73309 main ()
73310 {
73311 hypot(0, 0);
73312 ;
73313 return 0;
73314 }
73315 _ACEOF
73316 if ac_fn_cxx_try_compile "$LINENO"; then :
73317 glibcxx_cv_func_hypot_use=yes
73318 else
73319 glibcxx_cv_func_hypot_use=no
73320 fi
73321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73322 ac_ext=c
73323 ac_cpp='$CPP $CPPFLAGS'
73324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73327
73328
73329 fi
73330
73331 fi
73332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73333 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73334
73335 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73336 for ac_func in hypot
73337 do :
73338 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73339 if test "x$ac_cv_func_hypot" = x""yes; then :
73340 cat >>confdefs.h <<_ACEOF
73341 #define HAVE_HYPOT 1
73342 _ACEOF
73343
73344 fi
73345 done
73346
73347 else
73348
73349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73350 $as_echo_n "checking for _hypot declaration... " >&6; }
73351 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73352 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73353 $as_echo_n "(cached) " >&6
73354 else
73355
73356
73357 ac_ext=cpp
73358 ac_cpp='$CXXCPP $CPPFLAGS'
73359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73362
73363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73364 /* end confdefs.h. */
73365 #include <math.h>
73366 int
73367 main ()
73368 {
73369 _hypot(0, 0);
73370 ;
73371 return 0;
73372 }
73373 _ACEOF
73374 if ac_fn_cxx_try_compile "$LINENO"; then :
73375 glibcxx_cv_func__hypot_use=yes
73376 else
73377 glibcxx_cv_func__hypot_use=no
73378 fi
73379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73380 ac_ext=c
73381 ac_cpp='$CPP $CPPFLAGS'
73382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73385
73386
73387 fi
73388
73389 fi
73390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73391 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73392
73393 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73394 for ac_func in _hypot
73395 do :
73396 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73397 if test "x$ac_cv_func__hypot" = x""yes; then :
73398 cat >>confdefs.h <<_ACEOF
73399 #define HAVE__HYPOT 1
73400 _ACEOF
73401
73402 fi
73403 done
73404
73405 fi
73406 fi
73407
73408
73409
73410
73411
73412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73413 $as_echo_n "checking for float trig functions... " >&6; }
73414 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73415 $as_echo_n "(cached) " >&6
73416 else
73417
73418
73419 ac_ext=cpp
73420 ac_cpp='$CXXCPP $CPPFLAGS'
73421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73424
73425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73426 /* end confdefs.h. */
73427 #include <math.h>
73428 int
73429 main ()
73430 {
73431 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73432 ;
73433 return 0;
73434 }
73435 _ACEOF
73436 if ac_fn_cxx_try_compile "$LINENO"; then :
73437 glibcxx_cv_func_float_trig_use=yes
73438 else
73439 glibcxx_cv_func_float_trig_use=no
73440 fi
73441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73442 ac_ext=c
73443 ac_cpp='$CPP $CPPFLAGS'
73444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73447
73448 fi
73449
73450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73451 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73452 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73453 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73454 do :
73455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73457 eval as_val=\$$as_ac_var
73458 if test "x$as_val" = x""yes; then :
73459 cat >>confdefs.h <<_ACEOF
73460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73461 _ACEOF
73462
73463 fi
73464 done
73465
73466 else
73467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73468 $as_echo_n "checking for _float trig functions... " >&6; }
73469 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73470 $as_echo_n "(cached) " >&6
73471 else
73472
73473
73474 ac_ext=cpp
73475 ac_cpp='$CXXCPP $CPPFLAGS'
73476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73479
73480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73481 /* end confdefs.h. */
73482 #include <math.h>
73483 int
73484 main ()
73485 {
73486 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73487 ;
73488 return 0;
73489 }
73490 _ACEOF
73491 if ac_fn_cxx_try_compile "$LINENO"; then :
73492 glibcxx_cv_func__float_trig_use=yes
73493 else
73494 glibcxx_cv_func__float_trig_use=no
73495 fi
73496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73497 ac_ext=c
73498 ac_cpp='$CPP $CPPFLAGS'
73499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73502
73503 fi
73504
73505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73506 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73507 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73508 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73509 do :
73510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73512 eval as_val=\$$as_ac_var
73513 if test "x$as_val" = x""yes; then :
73514 cat >>confdefs.h <<_ACEOF
73515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73516 _ACEOF
73517
73518 fi
73519 done
73520
73521 fi
73522 fi
73523
73524
73525
73526
73527
73528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73529 $as_echo_n "checking for float round functions... " >&6; }
73530 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73531 $as_echo_n "(cached) " >&6
73532 else
73533
73534
73535 ac_ext=cpp
73536 ac_cpp='$CXXCPP $CPPFLAGS'
73537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73540
73541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73542 /* end confdefs.h. */
73543 #include <math.h>
73544 int
73545 main ()
73546 {
73547 ceilf (0); floorf (0);
73548 ;
73549 return 0;
73550 }
73551 _ACEOF
73552 if ac_fn_cxx_try_compile "$LINENO"; then :
73553 glibcxx_cv_func_float_round_use=yes
73554 else
73555 glibcxx_cv_func_float_round_use=no
73556 fi
73557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73558 ac_ext=c
73559 ac_cpp='$CPP $CPPFLAGS'
73560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73563
73564 fi
73565
73566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73567 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73568 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73569 for ac_func in ceilf floorf
73570 do :
73571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73573 eval as_val=\$$as_ac_var
73574 if test "x$as_val" = x""yes; then :
73575 cat >>confdefs.h <<_ACEOF
73576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73577 _ACEOF
73578
73579 fi
73580 done
73581
73582 else
73583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73584 $as_echo_n "checking for _float round functions... " >&6; }
73585 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73586 $as_echo_n "(cached) " >&6
73587 else
73588
73589
73590 ac_ext=cpp
73591 ac_cpp='$CXXCPP $CPPFLAGS'
73592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73595
73596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73597 /* end confdefs.h. */
73598 #include <math.h>
73599 int
73600 main ()
73601 {
73602 _ceilf (0); _floorf (0);
73603 ;
73604 return 0;
73605 }
73606 _ACEOF
73607 if ac_fn_cxx_try_compile "$LINENO"; then :
73608 glibcxx_cv_func__float_round_use=yes
73609 else
73610 glibcxx_cv_func__float_round_use=no
73611 fi
73612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73613 ac_ext=c
73614 ac_cpp='$CPP $CPPFLAGS'
73615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73618
73619 fi
73620
73621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73622 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73623 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73624 for ac_func in _ceilf _floorf
73625 do :
73626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73628 eval as_val=\$$as_ac_var
73629 if test "x$as_val" = x""yes; then :
73630 cat >>confdefs.h <<_ACEOF
73631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73632 _ACEOF
73633
73634 fi
73635 done
73636
73637 fi
73638 fi
73639
73640
73641
73642
73643
73644
73645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73646 $as_echo_n "checking for expf declaration... " >&6; }
73647 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73648 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73649 $as_echo_n "(cached) " >&6
73650 else
73651
73652
73653 ac_ext=cpp
73654 ac_cpp='$CXXCPP $CPPFLAGS'
73655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73658
73659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73660 /* end confdefs.h. */
73661 #include <math.h>
73662 #ifdef HAVE_IEEEFP_H
73663 #include <ieeefp.h>
73664 #endif
73665
73666 int
73667 main ()
73668 {
73669 expf(0);
73670 ;
73671 return 0;
73672 }
73673 _ACEOF
73674 if ac_fn_cxx_try_compile "$LINENO"; then :
73675 glibcxx_cv_func_expf_use=yes
73676 else
73677 glibcxx_cv_func_expf_use=no
73678 fi
73679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73680 ac_ext=c
73681 ac_cpp='$CPP $CPPFLAGS'
73682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73685
73686
73687 fi
73688
73689 fi
73690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73691 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73692
73693 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73694 for ac_func in expf
73695 do :
73696 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73697 if test "x$ac_cv_func_expf" = x""yes; then :
73698 cat >>confdefs.h <<_ACEOF
73699 #define HAVE_EXPF 1
73700 _ACEOF
73701
73702 fi
73703 done
73704
73705 else
73706
73707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73708 $as_echo_n "checking for _expf declaration... " >&6; }
73709 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73710 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73711 $as_echo_n "(cached) " >&6
73712 else
73713
73714
73715 ac_ext=cpp
73716 ac_cpp='$CXXCPP $CPPFLAGS'
73717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73720
73721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73722 /* end confdefs.h. */
73723 #include <math.h>
73724 #ifdef HAVE_IEEEFP_H
73725 #include <ieeefp.h>
73726 #endif
73727
73728 int
73729 main ()
73730 {
73731 _expf(0);
73732 ;
73733 return 0;
73734 }
73735 _ACEOF
73736 if ac_fn_cxx_try_compile "$LINENO"; then :
73737 glibcxx_cv_func__expf_use=yes
73738 else
73739 glibcxx_cv_func__expf_use=no
73740 fi
73741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73742 ac_ext=c
73743 ac_cpp='$CPP $CPPFLAGS'
73744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73747
73748
73749 fi
73750
73751 fi
73752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73753 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73754
73755 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73756 for ac_func in _expf
73757 do :
73758 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73759 if test "x$ac_cv_func__expf" = x""yes; then :
73760 cat >>confdefs.h <<_ACEOF
73761 #define HAVE__EXPF 1
73762 _ACEOF
73763
73764 fi
73765 done
73766
73767 fi
73768 fi
73769
73770
73771
73772
73773
73774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73775 $as_echo_n "checking for isnanf declaration... " >&6; }
73776 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73777 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73778 $as_echo_n "(cached) " >&6
73779 else
73780
73781
73782 ac_ext=cpp
73783 ac_cpp='$CXXCPP $CPPFLAGS'
73784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73787
73788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73789 /* end confdefs.h. */
73790 #include <math.h>
73791 #ifdef HAVE_IEEEFP_H
73792 #include <ieeefp.h>
73793 #endif
73794
73795 int
73796 main ()
73797 {
73798 isnanf(0);
73799 ;
73800 return 0;
73801 }
73802 _ACEOF
73803 if ac_fn_cxx_try_compile "$LINENO"; then :
73804 glibcxx_cv_func_isnanf_use=yes
73805 else
73806 glibcxx_cv_func_isnanf_use=no
73807 fi
73808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73809 ac_ext=c
73810 ac_cpp='$CPP $CPPFLAGS'
73811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73814
73815
73816 fi
73817
73818 fi
73819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73820 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73821
73822 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73823 for ac_func in isnanf
73824 do :
73825 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73826 if test "x$ac_cv_func_isnanf" = x""yes; then :
73827 cat >>confdefs.h <<_ACEOF
73828 #define HAVE_ISNANF 1
73829 _ACEOF
73830
73831 fi
73832 done
73833
73834 else
73835
73836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73837 $as_echo_n "checking for _isnanf declaration... " >&6; }
73838 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73839 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73840 $as_echo_n "(cached) " >&6
73841 else
73842
73843
73844 ac_ext=cpp
73845 ac_cpp='$CXXCPP $CPPFLAGS'
73846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73849
73850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73851 /* end confdefs.h. */
73852 #include <math.h>
73853 #ifdef HAVE_IEEEFP_H
73854 #include <ieeefp.h>
73855 #endif
73856
73857 int
73858 main ()
73859 {
73860 _isnanf(0);
73861 ;
73862 return 0;
73863 }
73864 _ACEOF
73865 if ac_fn_cxx_try_compile "$LINENO"; then :
73866 glibcxx_cv_func__isnanf_use=yes
73867 else
73868 glibcxx_cv_func__isnanf_use=no
73869 fi
73870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73871 ac_ext=c
73872 ac_cpp='$CPP $CPPFLAGS'
73873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73876
73877
73878 fi
73879
73880 fi
73881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73882 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73883
73884 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73885 for ac_func in _isnanf
73886 do :
73887 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73888 if test "x$ac_cv_func__isnanf" = x""yes; then :
73889 cat >>confdefs.h <<_ACEOF
73890 #define HAVE__ISNANF 1
73891 _ACEOF
73892
73893 fi
73894 done
73895
73896 fi
73897 fi
73898
73899
73900
73901
73902
73903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73904 $as_echo_n "checking for isinff declaration... " >&6; }
73905 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73906 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73907 $as_echo_n "(cached) " >&6
73908 else
73909
73910
73911 ac_ext=cpp
73912 ac_cpp='$CXXCPP $CPPFLAGS'
73913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73916
73917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73918 /* end confdefs.h. */
73919 #include <math.h>
73920 #ifdef HAVE_IEEEFP_H
73921 #include <ieeefp.h>
73922 #endif
73923
73924 int
73925 main ()
73926 {
73927 isinff(0);
73928 ;
73929 return 0;
73930 }
73931 _ACEOF
73932 if ac_fn_cxx_try_compile "$LINENO"; then :
73933 glibcxx_cv_func_isinff_use=yes
73934 else
73935 glibcxx_cv_func_isinff_use=no
73936 fi
73937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73938 ac_ext=c
73939 ac_cpp='$CPP $CPPFLAGS'
73940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73943
73944
73945 fi
73946
73947 fi
73948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73949 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73950
73951 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73952 for ac_func in isinff
73953 do :
73954 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73955 if test "x$ac_cv_func_isinff" = x""yes; then :
73956 cat >>confdefs.h <<_ACEOF
73957 #define HAVE_ISINFF 1
73958 _ACEOF
73959
73960 fi
73961 done
73962
73963 else
73964
73965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73966 $as_echo_n "checking for _isinff declaration... " >&6; }
73967 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73968 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73969 $as_echo_n "(cached) " >&6
73970 else
73971
73972
73973 ac_ext=cpp
73974 ac_cpp='$CXXCPP $CPPFLAGS'
73975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73978
73979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73980 /* end confdefs.h. */
73981 #include <math.h>
73982 #ifdef HAVE_IEEEFP_H
73983 #include <ieeefp.h>
73984 #endif
73985
73986 int
73987 main ()
73988 {
73989 _isinff(0);
73990 ;
73991 return 0;
73992 }
73993 _ACEOF
73994 if ac_fn_cxx_try_compile "$LINENO"; then :
73995 glibcxx_cv_func__isinff_use=yes
73996 else
73997 glibcxx_cv_func__isinff_use=no
73998 fi
73999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74000 ac_ext=c
74001 ac_cpp='$CPP $CPPFLAGS'
74002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74005
74006
74007 fi
74008
74009 fi
74010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74011 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74012
74013 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74014 for ac_func in _isinff
74015 do :
74016 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74017 if test "x$ac_cv_func__isinff" = x""yes; then :
74018 cat >>confdefs.h <<_ACEOF
74019 #define HAVE__ISINFF 1
74020 _ACEOF
74021
74022 fi
74023 done
74024
74025 fi
74026 fi
74027
74028
74029
74030
74031
74032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74033 $as_echo_n "checking for atan2f declaration... " >&6; }
74034 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74035 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74036 $as_echo_n "(cached) " >&6
74037 else
74038
74039
74040 ac_ext=cpp
74041 ac_cpp='$CXXCPP $CPPFLAGS'
74042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74045
74046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74047 /* end confdefs.h. */
74048 #include <math.h>
74049 int
74050 main ()
74051 {
74052 atan2f(0, 0);
74053 ;
74054 return 0;
74055 }
74056 _ACEOF
74057 if ac_fn_cxx_try_compile "$LINENO"; then :
74058 glibcxx_cv_func_atan2f_use=yes
74059 else
74060 glibcxx_cv_func_atan2f_use=no
74061 fi
74062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74063 ac_ext=c
74064 ac_cpp='$CPP $CPPFLAGS'
74065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74068
74069
74070 fi
74071
74072 fi
74073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74074 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74075
74076 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74077 for ac_func in atan2f
74078 do :
74079 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74080 if test "x$ac_cv_func_atan2f" = x""yes; then :
74081 cat >>confdefs.h <<_ACEOF
74082 #define HAVE_ATAN2F 1
74083 _ACEOF
74084
74085 fi
74086 done
74087
74088 else
74089
74090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74091 $as_echo_n "checking for _atan2f declaration... " >&6; }
74092 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74093 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74094 $as_echo_n "(cached) " >&6
74095 else
74096
74097
74098 ac_ext=cpp
74099 ac_cpp='$CXXCPP $CPPFLAGS'
74100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74103
74104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74105 /* end confdefs.h. */
74106 #include <math.h>
74107 int
74108 main ()
74109 {
74110 _atan2f(0, 0);
74111 ;
74112 return 0;
74113 }
74114 _ACEOF
74115 if ac_fn_cxx_try_compile "$LINENO"; then :
74116 glibcxx_cv_func__atan2f_use=yes
74117 else
74118 glibcxx_cv_func__atan2f_use=no
74119 fi
74120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74121 ac_ext=c
74122 ac_cpp='$CPP $CPPFLAGS'
74123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74126
74127
74128 fi
74129
74130 fi
74131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74132 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74133
74134 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74135 for ac_func in _atan2f
74136 do :
74137 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74138 if test "x$ac_cv_func__atan2f" = x""yes; then :
74139 cat >>confdefs.h <<_ACEOF
74140 #define HAVE__ATAN2F 1
74141 _ACEOF
74142
74143 fi
74144 done
74145
74146 fi
74147 fi
74148
74149
74150
74151
74152
74153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74154 $as_echo_n "checking for fabsf declaration... " >&6; }
74155 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74156 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74157 $as_echo_n "(cached) " >&6
74158 else
74159
74160
74161 ac_ext=cpp
74162 ac_cpp='$CXXCPP $CPPFLAGS'
74163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74166
74167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74168 /* end confdefs.h. */
74169 #include <math.h>
74170 #ifdef HAVE_IEEEFP_H
74171 #include <ieeefp.h>
74172 #endif
74173
74174 int
74175 main ()
74176 {
74177 fabsf(0);
74178 ;
74179 return 0;
74180 }
74181 _ACEOF
74182 if ac_fn_cxx_try_compile "$LINENO"; then :
74183 glibcxx_cv_func_fabsf_use=yes
74184 else
74185 glibcxx_cv_func_fabsf_use=no
74186 fi
74187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74188 ac_ext=c
74189 ac_cpp='$CPP $CPPFLAGS'
74190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74193
74194
74195 fi
74196
74197 fi
74198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74199 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74200
74201 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74202 for ac_func in fabsf
74203 do :
74204 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74205 if test "x$ac_cv_func_fabsf" = x""yes; then :
74206 cat >>confdefs.h <<_ACEOF
74207 #define HAVE_FABSF 1
74208 _ACEOF
74209
74210 fi
74211 done
74212
74213 else
74214
74215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74216 $as_echo_n "checking for _fabsf declaration... " >&6; }
74217 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74218 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74219 $as_echo_n "(cached) " >&6
74220 else
74221
74222
74223 ac_ext=cpp
74224 ac_cpp='$CXXCPP $CPPFLAGS'
74225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74228
74229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74230 /* end confdefs.h. */
74231 #include <math.h>
74232 #ifdef HAVE_IEEEFP_H
74233 #include <ieeefp.h>
74234 #endif
74235
74236 int
74237 main ()
74238 {
74239 _fabsf(0);
74240 ;
74241 return 0;
74242 }
74243 _ACEOF
74244 if ac_fn_cxx_try_compile "$LINENO"; then :
74245 glibcxx_cv_func__fabsf_use=yes
74246 else
74247 glibcxx_cv_func__fabsf_use=no
74248 fi
74249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74250 ac_ext=c
74251 ac_cpp='$CPP $CPPFLAGS'
74252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74255
74256
74257 fi
74258
74259 fi
74260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74261 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74262
74263 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74264 for ac_func in _fabsf
74265 do :
74266 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74267 if test "x$ac_cv_func__fabsf" = x""yes; then :
74268 cat >>confdefs.h <<_ACEOF
74269 #define HAVE__FABSF 1
74270 _ACEOF
74271
74272 fi
74273 done
74274
74275 fi
74276 fi
74277
74278
74279
74280
74281
74282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74283 $as_echo_n "checking for fmodf declaration... " >&6; }
74284 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74285 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74286 $as_echo_n "(cached) " >&6
74287 else
74288
74289
74290 ac_ext=cpp
74291 ac_cpp='$CXXCPP $CPPFLAGS'
74292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74295
74296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74297 /* end confdefs.h. */
74298 #include <math.h>
74299 int
74300 main ()
74301 {
74302 fmodf(0, 0);
74303 ;
74304 return 0;
74305 }
74306 _ACEOF
74307 if ac_fn_cxx_try_compile "$LINENO"; then :
74308 glibcxx_cv_func_fmodf_use=yes
74309 else
74310 glibcxx_cv_func_fmodf_use=no
74311 fi
74312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74313 ac_ext=c
74314 ac_cpp='$CPP $CPPFLAGS'
74315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74318
74319
74320 fi
74321
74322 fi
74323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74324 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74325
74326 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74327 for ac_func in fmodf
74328 do :
74329 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74330 if test "x$ac_cv_func_fmodf" = x""yes; then :
74331 cat >>confdefs.h <<_ACEOF
74332 #define HAVE_FMODF 1
74333 _ACEOF
74334
74335 fi
74336 done
74337
74338 else
74339
74340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74341 $as_echo_n "checking for _fmodf declaration... " >&6; }
74342 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74343 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74344 $as_echo_n "(cached) " >&6
74345 else
74346
74347
74348 ac_ext=cpp
74349 ac_cpp='$CXXCPP $CPPFLAGS'
74350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74353
74354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74355 /* end confdefs.h. */
74356 #include <math.h>
74357 int
74358 main ()
74359 {
74360 _fmodf(0, 0);
74361 ;
74362 return 0;
74363 }
74364 _ACEOF
74365 if ac_fn_cxx_try_compile "$LINENO"; then :
74366 glibcxx_cv_func__fmodf_use=yes
74367 else
74368 glibcxx_cv_func__fmodf_use=no
74369 fi
74370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74371 ac_ext=c
74372 ac_cpp='$CPP $CPPFLAGS'
74373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74376
74377
74378 fi
74379
74380 fi
74381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74382 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74383
74384 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74385 for ac_func in _fmodf
74386 do :
74387 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74388 if test "x$ac_cv_func__fmodf" = x""yes; then :
74389 cat >>confdefs.h <<_ACEOF
74390 #define HAVE__FMODF 1
74391 _ACEOF
74392
74393 fi
74394 done
74395
74396 fi
74397 fi
74398
74399
74400
74401
74402
74403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74404 $as_echo_n "checking for frexpf declaration... " >&6; }
74405 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74406 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74407 $as_echo_n "(cached) " >&6
74408 else
74409
74410
74411 ac_ext=cpp
74412 ac_cpp='$CXXCPP $CPPFLAGS'
74413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74416
74417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74418 /* end confdefs.h. */
74419 #include <math.h>
74420 int
74421 main ()
74422 {
74423 frexpf(0, 0);
74424 ;
74425 return 0;
74426 }
74427 _ACEOF
74428 if ac_fn_cxx_try_compile "$LINENO"; then :
74429 glibcxx_cv_func_frexpf_use=yes
74430 else
74431 glibcxx_cv_func_frexpf_use=no
74432 fi
74433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74434 ac_ext=c
74435 ac_cpp='$CPP $CPPFLAGS'
74436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74439
74440
74441 fi
74442
74443 fi
74444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74445 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74446
74447 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74448 for ac_func in frexpf
74449 do :
74450 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74451 if test "x$ac_cv_func_frexpf" = x""yes; then :
74452 cat >>confdefs.h <<_ACEOF
74453 #define HAVE_FREXPF 1
74454 _ACEOF
74455
74456 fi
74457 done
74458
74459 else
74460
74461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74462 $as_echo_n "checking for _frexpf declaration... " >&6; }
74463 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74464 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74465 $as_echo_n "(cached) " >&6
74466 else
74467
74468
74469 ac_ext=cpp
74470 ac_cpp='$CXXCPP $CPPFLAGS'
74471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74474
74475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74476 /* end confdefs.h. */
74477 #include <math.h>
74478 int
74479 main ()
74480 {
74481 _frexpf(0, 0);
74482 ;
74483 return 0;
74484 }
74485 _ACEOF
74486 if ac_fn_cxx_try_compile "$LINENO"; then :
74487 glibcxx_cv_func__frexpf_use=yes
74488 else
74489 glibcxx_cv_func__frexpf_use=no
74490 fi
74491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74492 ac_ext=c
74493 ac_cpp='$CPP $CPPFLAGS'
74494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74497
74498
74499 fi
74500
74501 fi
74502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74503 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74504
74505 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74506 for ac_func in _frexpf
74507 do :
74508 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74509 if test "x$ac_cv_func__frexpf" = x""yes; then :
74510 cat >>confdefs.h <<_ACEOF
74511 #define HAVE__FREXPF 1
74512 _ACEOF
74513
74514 fi
74515 done
74516
74517 fi
74518 fi
74519
74520
74521
74522
74523
74524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74525 $as_echo_n "checking for hypotf declaration... " >&6; }
74526 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74527 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74528 $as_echo_n "(cached) " >&6
74529 else
74530
74531
74532 ac_ext=cpp
74533 ac_cpp='$CXXCPP $CPPFLAGS'
74534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74537
74538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74539 /* end confdefs.h. */
74540 #include <math.h>
74541 int
74542 main ()
74543 {
74544 hypotf(0, 0);
74545 ;
74546 return 0;
74547 }
74548 _ACEOF
74549 if ac_fn_cxx_try_compile "$LINENO"; then :
74550 glibcxx_cv_func_hypotf_use=yes
74551 else
74552 glibcxx_cv_func_hypotf_use=no
74553 fi
74554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74555 ac_ext=c
74556 ac_cpp='$CPP $CPPFLAGS'
74557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74560
74561
74562 fi
74563
74564 fi
74565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74566 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74567
74568 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74569 for ac_func in hypotf
74570 do :
74571 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74572 if test "x$ac_cv_func_hypotf" = x""yes; then :
74573 cat >>confdefs.h <<_ACEOF
74574 #define HAVE_HYPOTF 1
74575 _ACEOF
74576
74577 fi
74578 done
74579
74580 else
74581
74582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74583 $as_echo_n "checking for _hypotf declaration... " >&6; }
74584 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74585 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74586 $as_echo_n "(cached) " >&6
74587 else
74588
74589
74590 ac_ext=cpp
74591 ac_cpp='$CXXCPP $CPPFLAGS'
74592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74595
74596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74597 /* end confdefs.h. */
74598 #include <math.h>
74599 int
74600 main ()
74601 {
74602 _hypotf(0, 0);
74603 ;
74604 return 0;
74605 }
74606 _ACEOF
74607 if ac_fn_cxx_try_compile "$LINENO"; then :
74608 glibcxx_cv_func__hypotf_use=yes
74609 else
74610 glibcxx_cv_func__hypotf_use=no
74611 fi
74612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74613 ac_ext=c
74614 ac_cpp='$CPP $CPPFLAGS'
74615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74618
74619
74620 fi
74621
74622 fi
74623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74624 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74625
74626 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74627 for ac_func in _hypotf
74628 do :
74629 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74630 if test "x$ac_cv_func__hypotf" = x""yes; then :
74631 cat >>confdefs.h <<_ACEOF
74632 #define HAVE__HYPOTF 1
74633 _ACEOF
74634
74635 fi
74636 done
74637
74638 fi
74639 fi
74640
74641
74642
74643
74644
74645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74646 $as_echo_n "checking for ldexpf declaration... " >&6; }
74647 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74648 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74649 $as_echo_n "(cached) " >&6
74650 else
74651
74652
74653 ac_ext=cpp
74654 ac_cpp='$CXXCPP $CPPFLAGS'
74655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74658
74659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74660 /* end confdefs.h. */
74661 #include <math.h>
74662 int
74663 main ()
74664 {
74665 ldexpf(0, 0);
74666 ;
74667 return 0;
74668 }
74669 _ACEOF
74670 if ac_fn_cxx_try_compile "$LINENO"; then :
74671 glibcxx_cv_func_ldexpf_use=yes
74672 else
74673 glibcxx_cv_func_ldexpf_use=no
74674 fi
74675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74676 ac_ext=c
74677 ac_cpp='$CPP $CPPFLAGS'
74678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74681
74682
74683 fi
74684
74685 fi
74686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74687 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74688
74689 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74690 for ac_func in ldexpf
74691 do :
74692 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74693 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74694 cat >>confdefs.h <<_ACEOF
74695 #define HAVE_LDEXPF 1
74696 _ACEOF
74697
74698 fi
74699 done
74700
74701 else
74702
74703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74704 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74705 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74706 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74707 $as_echo_n "(cached) " >&6
74708 else
74709
74710
74711 ac_ext=cpp
74712 ac_cpp='$CXXCPP $CPPFLAGS'
74713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74716
74717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74718 /* end confdefs.h. */
74719 #include <math.h>
74720 int
74721 main ()
74722 {
74723 _ldexpf(0, 0);
74724 ;
74725 return 0;
74726 }
74727 _ACEOF
74728 if ac_fn_cxx_try_compile "$LINENO"; then :
74729 glibcxx_cv_func__ldexpf_use=yes
74730 else
74731 glibcxx_cv_func__ldexpf_use=no
74732 fi
74733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74734 ac_ext=c
74735 ac_cpp='$CPP $CPPFLAGS'
74736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74739
74740
74741 fi
74742
74743 fi
74744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74745 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74746
74747 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74748 for ac_func in _ldexpf
74749 do :
74750 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74751 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74752 cat >>confdefs.h <<_ACEOF
74753 #define HAVE__LDEXPF 1
74754 _ACEOF
74755
74756 fi
74757 done
74758
74759 fi
74760 fi
74761
74762
74763
74764
74765
74766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74767 $as_echo_n "checking for logf declaration... " >&6; }
74768 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74769 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74770 $as_echo_n "(cached) " >&6
74771 else
74772
74773
74774 ac_ext=cpp
74775 ac_cpp='$CXXCPP $CPPFLAGS'
74776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74779
74780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74781 /* end confdefs.h. */
74782 #include <math.h>
74783 #ifdef HAVE_IEEEFP_H
74784 #include <ieeefp.h>
74785 #endif
74786
74787 int
74788 main ()
74789 {
74790 logf(0);
74791 ;
74792 return 0;
74793 }
74794 _ACEOF
74795 if ac_fn_cxx_try_compile "$LINENO"; then :
74796 glibcxx_cv_func_logf_use=yes
74797 else
74798 glibcxx_cv_func_logf_use=no
74799 fi
74800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74801 ac_ext=c
74802 ac_cpp='$CPP $CPPFLAGS'
74803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74806
74807
74808 fi
74809
74810 fi
74811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74812 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74813
74814 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74815 for ac_func in logf
74816 do :
74817 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74818 if test "x$ac_cv_func_logf" = x""yes; then :
74819 cat >>confdefs.h <<_ACEOF
74820 #define HAVE_LOGF 1
74821 _ACEOF
74822
74823 fi
74824 done
74825
74826 else
74827
74828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74829 $as_echo_n "checking for _logf declaration... " >&6; }
74830 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74831 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74832 $as_echo_n "(cached) " >&6
74833 else
74834
74835
74836 ac_ext=cpp
74837 ac_cpp='$CXXCPP $CPPFLAGS'
74838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74841
74842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74843 /* end confdefs.h. */
74844 #include <math.h>
74845 #ifdef HAVE_IEEEFP_H
74846 #include <ieeefp.h>
74847 #endif
74848
74849 int
74850 main ()
74851 {
74852 _logf(0);
74853 ;
74854 return 0;
74855 }
74856 _ACEOF
74857 if ac_fn_cxx_try_compile "$LINENO"; then :
74858 glibcxx_cv_func__logf_use=yes
74859 else
74860 glibcxx_cv_func__logf_use=no
74861 fi
74862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74863 ac_ext=c
74864 ac_cpp='$CPP $CPPFLAGS'
74865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74868
74869
74870 fi
74871
74872 fi
74873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74874 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74875
74876 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74877 for ac_func in _logf
74878 do :
74879 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74880 if test "x$ac_cv_func__logf" = x""yes; then :
74881 cat >>confdefs.h <<_ACEOF
74882 #define HAVE__LOGF 1
74883 _ACEOF
74884
74885 fi
74886 done
74887
74888 fi
74889 fi
74890
74891
74892
74893
74894
74895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74896 $as_echo_n "checking for log10f declaration... " >&6; }
74897 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74898 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74899 $as_echo_n "(cached) " >&6
74900 else
74901
74902
74903 ac_ext=cpp
74904 ac_cpp='$CXXCPP $CPPFLAGS'
74905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74908
74909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74910 /* end confdefs.h. */
74911 #include <math.h>
74912 #ifdef HAVE_IEEEFP_H
74913 #include <ieeefp.h>
74914 #endif
74915
74916 int
74917 main ()
74918 {
74919 log10f(0);
74920 ;
74921 return 0;
74922 }
74923 _ACEOF
74924 if ac_fn_cxx_try_compile "$LINENO"; then :
74925 glibcxx_cv_func_log10f_use=yes
74926 else
74927 glibcxx_cv_func_log10f_use=no
74928 fi
74929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74930 ac_ext=c
74931 ac_cpp='$CPP $CPPFLAGS'
74932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74935
74936
74937 fi
74938
74939 fi
74940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74941 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74942
74943 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74944 for ac_func in log10f
74945 do :
74946 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74947 if test "x$ac_cv_func_log10f" = x""yes; then :
74948 cat >>confdefs.h <<_ACEOF
74949 #define HAVE_LOG10F 1
74950 _ACEOF
74951
74952 fi
74953 done
74954
74955 else
74956
74957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74958 $as_echo_n "checking for _log10f declaration... " >&6; }
74959 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74960 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74961 $as_echo_n "(cached) " >&6
74962 else
74963
74964
74965 ac_ext=cpp
74966 ac_cpp='$CXXCPP $CPPFLAGS'
74967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74970
74971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74972 /* end confdefs.h. */
74973 #include <math.h>
74974 #ifdef HAVE_IEEEFP_H
74975 #include <ieeefp.h>
74976 #endif
74977
74978 int
74979 main ()
74980 {
74981 _log10f(0);
74982 ;
74983 return 0;
74984 }
74985 _ACEOF
74986 if ac_fn_cxx_try_compile "$LINENO"; then :
74987 glibcxx_cv_func__log10f_use=yes
74988 else
74989 glibcxx_cv_func__log10f_use=no
74990 fi
74991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74992 ac_ext=c
74993 ac_cpp='$CPP $CPPFLAGS'
74994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74997
74998
74999 fi
75000
75001 fi
75002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75003 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75004
75005 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75006 for ac_func in _log10f
75007 do :
75008 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75009 if test "x$ac_cv_func__log10f" = x""yes; then :
75010 cat >>confdefs.h <<_ACEOF
75011 #define HAVE__LOG10F 1
75012 _ACEOF
75013
75014 fi
75015 done
75016
75017 fi
75018 fi
75019
75020
75021
75022
75023
75024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75025 $as_echo_n "checking for modff declaration... " >&6; }
75026 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75027 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75028 $as_echo_n "(cached) " >&6
75029 else
75030
75031
75032 ac_ext=cpp
75033 ac_cpp='$CXXCPP $CPPFLAGS'
75034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75037
75038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75039 /* end confdefs.h. */
75040 #include <math.h>
75041 int
75042 main ()
75043 {
75044 modff(0, 0);
75045 ;
75046 return 0;
75047 }
75048 _ACEOF
75049 if ac_fn_cxx_try_compile "$LINENO"; then :
75050 glibcxx_cv_func_modff_use=yes
75051 else
75052 glibcxx_cv_func_modff_use=no
75053 fi
75054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75055 ac_ext=c
75056 ac_cpp='$CPP $CPPFLAGS'
75057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75060
75061
75062 fi
75063
75064 fi
75065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75066 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75067
75068 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75069 for ac_func in modff
75070 do :
75071 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75072 if test "x$ac_cv_func_modff" = x""yes; then :
75073 cat >>confdefs.h <<_ACEOF
75074 #define HAVE_MODFF 1
75075 _ACEOF
75076
75077 fi
75078 done
75079
75080 else
75081
75082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75083 $as_echo_n "checking for _modff declaration... " >&6; }
75084 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75085 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75086 $as_echo_n "(cached) " >&6
75087 else
75088
75089
75090 ac_ext=cpp
75091 ac_cpp='$CXXCPP $CPPFLAGS'
75092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75095
75096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75097 /* end confdefs.h. */
75098 #include <math.h>
75099 int
75100 main ()
75101 {
75102 _modff(0, 0);
75103 ;
75104 return 0;
75105 }
75106 _ACEOF
75107 if ac_fn_cxx_try_compile "$LINENO"; then :
75108 glibcxx_cv_func__modff_use=yes
75109 else
75110 glibcxx_cv_func__modff_use=no
75111 fi
75112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75113 ac_ext=c
75114 ac_cpp='$CPP $CPPFLAGS'
75115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75118
75119
75120 fi
75121
75122 fi
75123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75124 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75125
75126 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75127 for ac_func in _modff
75128 do :
75129 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75130 if test "x$ac_cv_func__modff" = x""yes; then :
75131 cat >>confdefs.h <<_ACEOF
75132 #define HAVE__MODFF 1
75133 _ACEOF
75134
75135 fi
75136 done
75137
75138 fi
75139 fi
75140
75141
75142
75143
75144
75145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75146 $as_echo_n "checking for modf declaration... " >&6; }
75147 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75148 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75149 $as_echo_n "(cached) " >&6
75150 else
75151
75152
75153 ac_ext=cpp
75154 ac_cpp='$CXXCPP $CPPFLAGS'
75155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75158
75159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75160 /* end confdefs.h. */
75161 #include <math.h>
75162 int
75163 main ()
75164 {
75165 modf(0, 0);
75166 ;
75167 return 0;
75168 }
75169 _ACEOF
75170 if ac_fn_cxx_try_compile "$LINENO"; then :
75171 glibcxx_cv_func_modf_use=yes
75172 else
75173 glibcxx_cv_func_modf_use=no
75174 fi
75175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75176 ac_ext=c
75177 ac_cpp='$CPP $CPPFLAGS'
75178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75181
75182
75183 fi
75184
75185 fi
75186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75187 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75188
75189 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75190 for ac_func in modf
75191 do :
75192 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75193 if test "x$ac_cv_func_modf" = x""yes; then :
75194 cat >>confdefs.h <<_ACEOF
75195 #define HAVE_MODF 1
75196 _ACEOF
75197
75198 fi
75199 done
75200
75201 else
75202
75203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75204 $as_echo_n "checking for _modf declaration... " >&6; }
75205 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75206 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75207 $as_echo_n "(cached) " >&6
75208 else
75209
75210
75211 ac_ext=cpp
75212 ac_cpp='$CXXCPP $CPPFLAGS'
75213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75216
75217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75218 /* end confdefs.h. */
75219 #include <math.h>
75220 int
75221 main ()
75222 {
75223 _modf(0, 0);
75224 ;
75225 return 0;
75226 }
75227 _ACEOF
75228 if ac_fn_cxx_try_compile "$LINENO"; then :
75229 glibcxx_cv_func__modf_use=yes
75230 else
75231 glibcxx_cv_func__modf_use=no
75232 fi
75233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75234 ac_ext=c
75235 ac_cpp='$CPP $CPPFLAGS'
75236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75239
75240
75241 fi
75242
75243 fi
75244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75245 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75246
75247 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75248 for ac_func in _modf
75249 do :
75250 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75251 if test "x$ac_cv_func__modf" = x""yes; then :
75252 cat >>confdefs.h <<_ACEOF
75253 #define HAVE__MODF 1
75254 _ACEOF
75255
75256 fi
75257 done
75258
75259 fi
75260 fi
75261
75262
75263
75264
75265
75266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75267 $as_echo_n "checking for powf declaration... " >&6; }
75268 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75269 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75270 $as_echo_n "(cached) " >&6
75271 else
75272
75273
75274 ac_ext=cpp
75275 ac_cpp='$CXXCPP $CPPFLAGS'
75276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75279
75280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75281 /* end confdefs.h. */
75282 #include <math.h>
75283 int
75284 main ()
75285 {
75286 powf(0, 0);
75287 ;
75288 return 0;
75289 }
75290 _ACEOF
75291 if ac_fn_cxx_try_compile "$LINENO"; then :
75292 glibcxx_cv_func_powf_use=yes
75293 else
75294 glibcxx_cv_func_powf_use=no
75295 fi
75296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75297 ac_ext=c
75298 ac_cpp='$CPP $CPPFLAGS'
75299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75302
75303
75304 fi
75305
75306 fi
75307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75308 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75309
75310 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75311 for ac_func in powf
75312 do :
75313 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75314 if test "x$ac_cv_func_powf" = x""yes; then :
75315 cat >>confdefs.h <<_ACEOF
75316 #define HAVE_POWF 1
75317 _ACEOF
75318
75319 fi
75320 done
75321
75322 else
75323
75324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75325 $as_echo_n "checking for _powf declaration... " >&6; }
75326 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75327 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75328 $as_echo_n "(cached) " >&6
75329 else
75330
75331
75332 ac_ext=cpp
75333 ac_cpp='$CXXCPP $CPPFLAGS'
75334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75337
75338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75339 /* end confdefs.h. */
75340 #include <math.h>
75341 int
75342 main ()
75343 {
75344 _powf(0, 0);
75345 ;
75346 return 0;
75347 }
75348 _ACEOF
75349 if ac_fn_cxx_try_compile "$LINENO"; then :
75350 glibcxx_cv_func__powf_use=yes
75351 else
75352 glibcxx_cv_func__powf_use=no
75353 fi
75354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75355 ac_ext=c
75356 ac_cpp='$CPP $CPPFLAGS'
75357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75360
75361
75362 fi
75363
75364 fi
75365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75366 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75367
75368 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75369 for ac_func in _powf
75370 do :
75371 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75372 if test "x$ac_cv_func__powf" = x""yes; then :
75373 cat >>confdefs.h <<_ACEOF
75374 #define HAVE__POWF 1
75375 _ACEOF
75376
75377 fi
75378 done
75379
75380 fi
75381 fi
75382
75383
75384
75385
75386
75387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75388 $as_echo_n "checking for sqrtf declaration... " >&6; }
75389 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75390 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75391 $as_echo_n "(cached) " >&6
75392 else
75393
75394
75395 ac_ext=cpp
75396 ac_cpp='$CXXCPP $CPPFLAGS'
75397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75400
75401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75402 /* end confdefs.h. */
75403 #include <math.h>
75404 #ifdef HAVE_IEEEFP_H
75405 #include <ieeefp.h>
75406 #endif
75407
75408 int
75409 main ()
75410 {
75411 sqrtf(0);
75412 ;
75413 return 0;
75414 }
75415 _ACEOF
75416 if ac_fn_cxx_try_compile "$LINENO"; then :
75417 glibcxx_cv_func_sqrtf_use=yes
75418 else
75419 glibcxx_cv_func_sqrtf_use=no
75420 fi
75421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75422 ac_ext=c
75423 ac_cpp='$CPP $CPPFLAGS'
75424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75427
75428
75429 fi
75430
75431 fi
75432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75433 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75434
75435 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75436 for ac_func in sqrtf
75437 do :
75438 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75439 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75440 cat >>confdefs.h <<_ACEOF
75441 #define HAVE_SQRTF 1
75442 _ACEOF
75443
75444 fi
75445 done
75446
75447 else
75448
75449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75450 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75451 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75452 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75453 $as_echo_n "(cached) " >&6
75454 else
75455
75456
75457 ac_ext=cpp
75458 ac_cpp='$CXXCPP $CPPFLAGS'
75459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75462
75463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75464 /* end confdefs.h. */
75465 #include <math.h>
75466 #ifdef HAVE_IEEEFP_H
75467 #include <ieeefp.h>
75468 #endif
75469
75470 int
75471 main ()
75472 {
75473 _sqrtf(0);
75474 ;
75475 return 0;
75476 }
75477 _ACEOF
75478 if ac_fn_cxx_try_compile "$LINENO"; then :
75479 glibcxx_cv_func__sqrtf_use=yes
75480 else
75481 glibcxx_cv_func__sqrtf_use=no
75482 fi
75483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75484 ac_ext=c
75485 ac_cpp='$CPP $CPPFLAGS'
75486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75489
75490
75491 fi
75492
75493 fi
75494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75495 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75496
75497 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75498 for ac_func in _sqrtf
75499 do :
75500 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75501 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75502 cat >>confdefs.h <<_ACEOF
75503 #define HAVE__SQRTF 1
75504 _ACEOF
75505
75506 fi
75507 done
75508
75509 fi
75510 fi
75511
75512
75513
75514
75515
75516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75517 $as_echo_n "checking for sincosf declaration... " >&6; }
75518 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75519 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75520 $as_echo_n "(cached) " >&6
75521 else
75522
75523
75524 ac_ext=cpp
75525 ac_cpp='$CXXCPP $CPPFLAGS'
75526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75529
75530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75531 /* end confdefs.h. */
75532 #include <math.h>
75533 int
75534 main ()
75535 {
75536 sincosf(0, 0, 0);
75537 ;
75538 return 0;
75539 }
75540 _ACEOF
75541 if ac_fn_cxx_try_compile "$LINENO"; then :
75542 glibcxx_cv_func_sincosf_use=yes
75543 else
75544 glibcxx_cv_func_sincosf_use=no
75545 fi
75546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75547 ac_ext=c
75548 ac_cpp='$CPP $CPPFLAGS'
75549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75552
75553
75554 fi
75555
75556 fi
75557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75558 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75559
75560 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75561 for ac_func in sincosf
75562 do :
75563 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75564 if test "x$ac_cv_func_sincosf" = x""yes; then :
75565 cat >>confdefs.h <<_ACEOF
75566 #define HAVE_SINCOSF 1
75567 _ACEOF
75568
75569 fi
75570 done
75571
75572 else
75573
75574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75575 $as_echo_n "checking for _sincosf declaration... " >&6; }
75576 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75577 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75578 $as_echo_n "(cached) " >&6
75579 else
75580
75581
75582 ac_ext=cpp
75583 ac_cpp='$CXXCPP $CPPFLAGS'
75584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75587
75588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75589 /* end confdefs.h. */
75590 #include <math.h>
75591 int
75592 main ()
75593 {
75594 _sincosf(0, 0, 0);
75595 ;
75596 return 0;
75597 }
75598 _ACEOF
75599 if ac_fn_cxx_try_compile "$LINENO"; then :
75600 glibcxx_cv_func__sincosf_use=yes
75601 else
75602 glibcxx_cv_func__sincosf_use=no
75603 fi
75604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75605 ac_ext=c
75606 ac_cpp='$CPP $CPPFLAGS'
75607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75610
75611
75612 fi
75613
75614 fi
75615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75616 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75617
75618 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75619 for ac_func in _sincosf
75620 do :
75621 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75622 if test "x$ac_cv_func__sincosf" = x""yes; then :
75623 cat >>confdefs.h <<_ACEOF
75624 #define HAVE__SINCOSF 1
75625 _ACEOF
75626
75627 fi
75628 done
75629
75630 fi
75631 fi
75632
75633
75634
75635
75636
75637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75638 $as_echo_n "checking for finitef declaration... " >&6; }
75639 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75640 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75641 $as_echo_n "(cached) " >&6
75642 else
75643
75644
75645 ac_ext=cpp
75646 ac_cpp='$CXXCPP $CPPFLAGS'
75647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75650
75651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75652 /* end confdefs.h. */
75653 #include <math.h>
75654 #ifdef HAVE_IEEEFP_H
75655 #include <ieeefp.h>
75656 #endif
75657
75658 int
75659 main ()
75660 {
75661 finitef(0);
75662 ;
75663 return 0;
75664 }
75665 _ACEOF
75666 if ac_fn_cxx_try_compile "$LINENO"; then :
75667 glibcxx_cv_func_finitef_use=yes
75668 else
75669 glibcxx_cv_func_finitef_use=no
75670 fi
75671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75672 ac_ext=c
75673 ac_cpp='$CPP $CPPFLAGS'
75674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75677
75678
75679 fi
75680
75681 fi
75682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75683 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75684
75685 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75686 for ac_func in finitef
75687 do :
75688 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75689 if test "x$ac_cv_func_finitef" = x""yes; then :
75690 cat >>confdefs.h <<_ACEOF
75691 #define HAVE_FINITEF 1
75692 _ACEOF
75693
75694 fi
75695 done
75696
75697 else
75698
75699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75700 $as_echo_n "checking for _finitef declaration... " >&6; }
75701 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75702 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75703 $as_echo_n "(cached) " >&6
75704 else
75705
75706
75707 ac_ext=cpp
75708 ac_cpp='$CXXCPP $CPPFLAGS'
75709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75712
75713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75714 /* end confdefs.h. */
75715 #include <math.h>
75716 #ifdef HAVE_IEEEFP_H
75717 #include <ieeefp.h>
75718 #endif
75719
75720 int
75721 main ()
75722 {
75723 _finitef(0);
75724 ;
75725 return 0;
75726 }
75727 _ACEOF
75728 if ac_fn_cxx_try_compile "$LINENO"; then :
75729 glibcxx_cv_func__finitef_use=yes
75730 else
75731 glibcxx_cv_func__finitef_use=no
75732 fi
75733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75734 ac_ext=c
75735 ac_cpp='$CPP $CPPFLAGS'
75736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75739
75740
75741 fi
75742
75743 fi
75744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75745 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75746
75747 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75748 for ac_func in _finitef
75749 do :
75750 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75751 if test "x$ac_cv_func__finitef" = x""yes; then :
75752 cat >>confdefs.h <<_ACEOF
75753 #define HAVE__FINITEF 1
75754 _ACEOF
75755
75756 fi
75757 done
75758
75759 fi
75760 fi
75761
75762
75763
75764
75765
75766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75767 $as_echo_n "checking for long double trig functions... " >&6; }
75768 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75769 $as_echo_n "(cached) " >&6
75770 else
75771
75772
75773 ac_ext=cpp
75774 ac_cpp='$CXXCPP $CPPFLAGS'
75775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75778
75779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75780 /* end confdefs.h. */
75781 #include <math.h>
75782 int
75783 main ()
75784 {
75785 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75786 ;
75787 return 0;
75788 }
75789 _ACEOF
75790 if ac_fn_cxx_try_compile "$LINENO"; then :
75791 glibcxx_cv_func_long_double_trig_use=yes
75792 else
75793 glibcxx_cv_func_long_double_trig_use=no
75794 fi
75795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75796 ac_ext=c
75797 ac_cpp='$CPP $CPPFLAGS'
75798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75801
75802 fi
75803
75804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75805 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75806 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75807 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75808 do :
75809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75810 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75811 eval as_val=\$$as_ac_var
75812 if test "x$as_val" = x""yes; then :
75813 cat >>confdefs.h <<_ACEOF
75814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75815 _ACEOF
75816
75817 fi
75818 done
75819
75820 else
75821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75822 $as_echo_n "checking for _long double trig functions... " >&6; }
75823 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75824 $as_echo_n "(cached) " >&6
75825 else
75826
75827
75828 ac_ext=cpp
75829 ac_cpp='$CXXCPP $CPPFLAGS'
75830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75833
75834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75835 /* end confdefs.h. */
75836 #include <math.h>
75837 int
75838 main ()
75839 {
75840 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75841 ;
75842 return 0;
75843 }
75844 _ACEOF
75845 if ac_fn_cxx_try_compile "$LINENO"; then :
75846 glibcxx_cv_func__long_double_trig_use=yes
75847 else
75848 glibcxx_cv_func__long_double_trig_use=no
75849 fi
75850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75851 ac_ext=c
75852 ac_cpp='$CPP $CPPFLAGS'
75853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75856
75857 fi
75858
75859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75860 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75861 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75862 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75863 do :
75864 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75865 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75866 eval as_val=\$$as_ac_var
75867 if test "x$as_val" = x""yes; then :
75868 cat >>confdefs.h <<_ACEOF
75869 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75870 _ACEOF
75871
75872 fi
75873 done
75874
75875 fi
75876 fi
75877
75878
75879
75880
75881
75882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75883 $as_echo_n "checking for long double round functions... " >&6; }
75884 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75885 $as_echo_n "(cached) " >&6
75886 else
75887
75888
75889 ac_ext=cpp
75890 ac_cpp='$CXXCPP $CPPFLAGS'
75891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75894
75895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75896 /* end confdefs.h. */
75897 #include <math.h>
75898 int
75899 main ()
75900 {
75901 ceill (0); floorl (0);
75902 ;
75903 return 0;
75904 }
75905 _ACEOF
75906 if ac_fn_cxx_try_compile "$LINENO"; then :
75907 glibcxx_cv_func_long_double_round_use=yes
75908 else
75909 glibcxx_cv_func_long_double_round_use=no
75910 fi
75911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75912 ac_ext=c
75913 ac_cpp='$CPP $CPPFLAGS'
75914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75917
75918 fi
75919
75920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75921 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75922 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75923 for ac_func in ceill floorl
75924 do :
75925 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75926 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75927 eval as_val=\$$as_ac_var
75928 if test "x$as_val" = x""yes; then :
75929 cat >>confdefs.h <<_ACEOF
75930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75931 _ACEOF
75932
75933 fi
75934 done
75935
75936 else
75937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75938 $as_echo_n "checking for _long double round functions... " >&6; }
75939 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75940 $as_echo_n "(cached) " >&6
75941 else
75942
75943
75944 ac_ext=cpp
75945 ac_cpp='$CXXCPP $CPPFLAGS'
75946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75949
75950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75951 /* end confdefs.h. */
75952 #include <math.h>
75953 int
75954 main ()
75955 {
75956 _ceill (0); _floorl (0);
75957 ;
75958 return 0;
75959 }
75960 _ACEOF
75961 if ac_fn_cxx_try_compile "$LINENO"; then :
75962 glibcxx_cv_func__long_double_round_use=yes
75963 else
75964 glibcxx_cv_func__long_double_round_use=no
75965 fi
75966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75967 ac_ext=c
75968 ac_cpp='$CPP $CPPFLAGS'
75969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75972
75973 fi
75974
75975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75976 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75977 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75978 for ac_func in _ceill _floorl
75979 do :
75980 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75981 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75982 eval as_val=\$$as_ac_var
75983 if test "x$as_val" = x""yes; then :
75984 cat >>confdefs.h <<_ACEOF
75985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75986 _ACEOF
75987
75988 fi
75989 done
75990
75991 fi
75992 fi
75993
75994
75995
75996
75997
75998
75999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76000 $as_echo_n "checking for isnanl declaration... " >&6; }
76001 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76002 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76003 $as_echo_n "(cached) " >&6
76004 else
76005
76006
76007 ac_ext=cpp
76008 ac_cpp='$CXXCPP $CPPFLAGS'
76009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76012
76013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76014 /* end confdefs.h. */
76015 #include <math.h>
76016 #ifdef HAVE_IEEEFP_H
76017 #include <ieeefp.h>
76018 #endif
76019
76020 int
76021 main ()
76022 {
76023 isnanl(0);
76024 ;
76025 return 0;
76026 }
76027 _ACEOF
76028 if ac_fn_cxx_try_compile "$LINENO"; then :
76029 glibcxx_cv_func_isnanl_use=yes
76030 else
76031 glibcxx_cv_func_isnanl_use=no
76032 fi
76033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76034 ac_ext=c
76035 ac_cpp='$CPP $CPPFLAGS'
76036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76039
76040
76041 fi
76042
76043 fi
76044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76045 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76046
76047 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76048 for ac_func in isnanl
76049 do :
76050 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76051 if test "x$ac_cv_func_isnanl" = x""yes; then :
76052 cat >>confdefs.h <<_ACEOF
76053 #define HAVE_ISNANL 1
76054 _ACEOF
76055
76056 fi
76057 done
76058
76059 else
76060
76061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76062 $as_echo_n "checking for _isnanl declaration... " >&6; }
76063 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76064 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76065 $as_echo_n "(cached) " >&6
76066 else
76067
76068
76069 ac_ext=cpp
76070 ac_cpp='$CXXCPP $CPPFLAGS'
76071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76074
76075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76076 /* end confdefs.h. */
76077 #include <math.h>
76078 #ifdef HAVE_IEEEFP_H
76079 #include <ieeefp.h>
76080 #endif
76081
76082 int
76083 main ()
76084 {
76085 _isnanl(0);
76086 ;
76087 return 0;
76088 }
76089 _ACEOF
76090 if ac_fn_cxx_try_compile "$LINENO"; then :
76091 glibcxx_cv_func__isnanl_use=yes
76092 else
76093 glibcxx_cv_func__isnanl_use=no
76094 fi
76095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76096 ac_ext=c
76097 ac_cpp='$CPP $CPPFLAGS'
76098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76101
76102
76103 fi
76104
76105 fi
76106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76107 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76108
76109 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76110 for ac_func in _isnanl
76111 do :
76112 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76113 if test "x$ac_cv_func__isnanl" = x""yes; then :
76114 cat >>confdefs.h <<_ACEOF
76115 #define HAVE__ISNANL 1
76116 _ACEOF
76117
76118 fi
76119 done
76120
76121 fi
76122 fi
76123
76124
76125
76126
76127
76128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76129 $as_echo_n "checking for isinfl declaration... " >&6; }
76130 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76131 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76132 $as_echo_n "(cached) " >&6
76133 else
76134
76135
76136 ac_ext=cpp
76137 ac_cpp='$CXXCPP $CPPFLAGS'
76138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76141
76142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76143 /* end confdefs.h. */
76144 #include <math.h>
76145 #ifdef HAVE_IEEEFP_H
76146 #include <ieeefp.h>
76147 #endif
76148
76149 int
76150 main ()
76151 {
76152 isinfl(0);
76153 ;
76154 return 0;
76155 }
76156 _ACEOF
76157 if ac_fn_cxx_try_compile "$LINENO"; then :
76158 glibcxx_cv_func_isinfl_use=yes
76159 else
76160 glibcxx_cv_func_isinfl_use=no
76161 fi
76162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76163 ac_ext=c
76164 ac_cpp='$CPP $CPPFLAGS'
76165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76168
76169
76170 fi
76171
76172 fi
76173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76174 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76175
76176 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76177 for ac_func in isinfl
76178 do :
76179 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76180 if test "x$ac_cv_func_isinfl" = x""yes; then :
76181 cat >>confdefs.h <<_ACEOF
76182 #define HAVE_ISINFL 1
76183 _ACEOF
76184
76185 fi
76186 done
76187
76188 else
76189
76190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76191 $as_echo_n "checking for _isinfl declaration... " >&6; }
76192 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76193 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76194 $as_echo_n "(cached) " >&6
76195 else
76196
76197
76198 ac_ext=cpp
76199 ac_cpp='$CXXCPP $CPPFLAGS'
76200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76203
76204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76205 /* end confdefs.h. */
76206 #include <math.h>
76207 #ifdef HAVE_IEEEFP_H
76208 #include <ieeefp.h>
76209 #endif
76210
76211 int
76212 main ()
76213 {
76214 _isinfl(0);
76215 ;
76216 return 0;
76217 }
76218 _ACEOF
76219 if ac_fn_cxx_try_compile "$LINENO"; then :
76220 glibcxx_cv_func__isinfl_use=yes
76221 else
76222 glibcxx_cv_func__isinfl_use=no
76223 fi
76224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76225 ac_ext=c
76226 ac_cpp='$CPP $CPPFLAGS'
76227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76230
76231
76232 fi
76233
76234 fi
76235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76236 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76237
76238 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76239 for ac_func in _isinfl
76240 do :
76241 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76242 if test "x$ac_cv_func__isinfl" = x""yes; then :
76243 cat >>confdefs.h <<_ACEOF
76244 #define HAVE__ISINFL 1
76245 _ACEOF
76246
76247 fi
76248 done
76249
76250 fi
76251 fi
76252
76253
76254
76255
76256
76257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76258 $as_echo_n "checking for atan2l declaration... " >&6; }
76259 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76260 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76261 $as_echo_n "(cached) " >&6
76262 else
76263
76264
76265 ac_ext=cpp
76266 ac_cpp='$CXXCPP $CPPFLAGS'
76267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76270
76271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76272 /* end confdefs.h. */
76273 #include <math.h>
76274 int
76275 main ()
76276 {
76277 atan2l(0, 0);
76278 ;
76279 return 0;
76280 }
76281 _ACEOF
76282 if ac_fn_cxx_try_compile "$LINENO"; then :
76283 glibcxx_cv_func_atan2l_use=yes
76284 else
76285 glibcxx_cv_func_atan2l_use=no
76286 fi
76287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76288 ac_ext=c
76289 ac_cpp='$CPP $CPPFLAGS'
76290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76293
76294
76295 fi
76296
76297 fi
76298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76299 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76300
76301 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76302 for ac_func in atan2l
76303 do :
76304 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76305 if test "x$ac_cv_func_atan2l" = x""yes; then :
76306 cat >>confdefs.h <<_ACEOF
76307 #define HAVE_ATAN2L 1
76308 _ACEOF
76309
76310 fi
76311 done
76312
76313 else
76314
76315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76316 $as_echo_n "checking for _atan2l declaration... " >&6; }
76317 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76318 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76319 $as_echo_n "(cached) " >&6
76320 else
76321
76322
76323 ac_ext=cpp
76324 ac_cpp='$CXXCPP $CPPFLAGS'
76325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76328
76329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76330 /* end confdefs.h. */
76331 #include <math.h>
76332 int
76333 main ()
76334 {
76335 _atan2l(0, 0);
76336 ;
76337 return 0;
76338 }
76339 _ACEOF
76340 if ac_fn_cxx_try_compile "$LINENO"; then :
76341 glibcxx_cv_func__atan2l_use=yes
76342 else
76343 glibcxx_cv_func__atan2l_use=no
76344 fi
76345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76346 ac_ext=c
76347 ac_cpp='$CPP $CPPFLAGS'
76348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76351
76352
76353 fi
76354
76355 fi
76356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76357 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76358
76359 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76360 for ac_func in _atan2l
76361 do :
76362 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76363 if test "x$ac_cv_func__atan2l" = x""yes; then :
76364 cat >>confdefs.h <<_ACEOF
76365 #define HAVE__ATAN2L 1
76366 _ACEOF
76367
76368 fi
76369 done
76370
76371 fi
76372 fi
76373
76374
76375
76376
76377
76378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76379 $as_echo_n "checking for expl declaration... " >&6; }
76380 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76381 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76382 $as_echo_n "(cached) " >&6
76383 else
76384
76385
76386 ac_ext=cpp
76387 ac_cpp='$CXXCPP $CPPFLAGS'
76388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76391
76392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76393 /* end confdefs.h. */
76394 #include <math.h>
76395 #ifdef HAVE_IEEEFP_H
76396 #include <ieeefp.h>
76397 #endif
76398
76399 int
76400 main ()
76401 {
76402 expl(0);
76403 ;
76404 return 0;
76405 }
76406 _ACEOF
76407 if ac_fn_cxx_try_compile "$LINENO"; then :
76408 glibcxx_cv_func_expl_use=yes
76409 else
76410 glibcxx_cv_func_expl_use=no
76411 fi
76412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76413 ac_ext=c
76414 ac_cpp='$CPP $CPPFLAGS'
76415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76418
76419
76420 fi
76421
76422 fi
76423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76424 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76425
76426 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76427 for ac_func in expl
76428 do :
76429 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76430 if test "x$ac_cv_func_expl" = x""yes; then :
76431 cat >>confdefs.h <<_ACEOF
76432 #define HAVE_EXPL 1
76433 _ACEOF
76434
76435 fi
76436 done
76437
76438 else
76439
76440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76441 $as_echo_n "checking for _expl declaration... " >&6; }
76442 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76443 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76444 $as_echo_n "(cached) " >&6
76445 else
76446
76447
76448 ac_ext=cpp
76449 ac_cpp='$CXXCPP $CPPFLAGS'
76450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76453
76454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76455 /* end confdefs.h. */
76456 #include <math.h>
76457 #ifdef HAVE_IEEEFP_H
76458 #include <ieeefp.h>
76459 #endif
76460
76461 int
76462 main ()
76463 {
76464 _expl(0);
76465 ;
76466 return 0;
76467 }
76468 _ACEOF
76469 if ac_fn_cxx_try_compile "$LINENO"; then :
76470 glibcxx_cv_func__expl_use=yes
76471 else
76472 glibcxx_cv_func__expl_use=no
76473 fi
76474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76475 ac_ext=c
76476 ac_cpp='$CPP $CPPFLAGS'
76477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76480
76481
76482 fi
76483
76484 fi
76485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76486 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76487
76488 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76489 for ac_func in _expl
76490 do :
76491 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76492 if test "x$ac_cv_func__expl" = x""yes; then :
76493 cat >>confdefs.h <<_ACEOF
76494 #define HAVE__EXPL 1
76495 _ACEOF
76496
76497 fi
76498 done
76499
76500 fi
76501 fi
76502
76503
76504
76505
76506
76507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76508 $as_echo_n "checking for fabsl declaration... " >&6; }
76509 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76510 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76511 $as_echo_n "(cached) " >&6
76512 else
76513
76514
76515 ac_ext=cpp
76516 ac_cpp='$CXXCPP $CPPFLAGS'
76517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76520
76521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76522 /* end confdefs.h. */
76523 #include <math.h>
76524 #ifdef HAVE_IEEEFP_H
76525 #include <ieeefp.h>
76526 #endif
76527
76528 int
76529 main ()
76530 {
76531 fabsl(0);
76532 ;
76533 return 0;
76534 }
76535 _ACEOF
76536 if ac_fn_cxx_try_compile "$LINENO"; then :
76537 glibcxx_cv_func_fabsl_use=yes
76538 else
76539 glibcxx_cv_func_fabsl_use=no
76540 fi
76541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76542 ac_ext=c
76543 ac_cpp='$CPP $CPPFLAGS'
76544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76547
76548
76549 fi
76550
76551 fi
76552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76553 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76554
76555 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76556 for ac_func in fabsl
76557 do :
76558 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76559 if test "x$ac_cv_func_fabsl" = x""yes; then :
76560 cat >>confdefs.h <<_ACEOF
76561 #define HAVE_FABSL 1
76562 _ACEOF
76563
76564 fi
76565 done
76566
76567 else
76568
76569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76570 $as_echo_n "checking for _fabsl declaration... " >&6; }
76571 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76572 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76573 $as_echo_n "(cached) " >&6
76574 else
76575
76576
76577 ac_ext=cpp
76578 ac_cpp='$CXXCPP $CPPFLAGS'
76579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76582
76583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76584 /* end confdefs.h. */
76585 #include <math.h>
76586 #ifdef HAVE_IEEEFP_H
76587 #include <ieeefp.h>
76588 #endif
76589
76590 int
76591 main ()
76592 {
76593 _fabsl(0);
76594 ;
76595 return 0;
76596 }
76597 _ACEOF
76598 if ac_fn_cxx_try_compile "$LINENO"; then :
76599 glibcxx_cv_func__fabsl_use=yes
76600 else
76601 glibcxx_cv_func__fabsl_use=no
76602 fi
76603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76604 ac_ext=c
76605 ac_cpp='$CPP $CPPFLAGS'
76606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76609
76610
76611 fi
76612
76613 fi
76614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76615 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76616
76617 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76618 for ac_func in _fabsl
76619 do :
76620 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76621 if test "x$ac_cv_func__fabsl" = x""yes; then :
76622 cat >>confdefs.h <<_ACEOF
76623 #define HAVE__FABSL 1
76624 _ACEOF
76625
76626 fi
76627 done
76628
76629 fi
76630 fi
76631
76632
76633
76634
76635
76636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76637 $as_echo_n "checking for fmodl declaration... " >&6; }
76638 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76639 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76640 $as_echo_n "(cached) " >&6
76641 else
76642
76643
76644 ac_ext=cpp
76645 ac_cpp='$CXXCPP $CPPFLAGS'
76646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76649
76650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76651 /* end confdefs.h. */
76652 #include <math.h>
76653 int
76654 main ()
76655 {
76656 fmodl(0, 0);
76657 ;
76658 return 0;
76659 }
76660 _ACEOF
76661 if ac_fn_cxx_try_compile "$LINENO"; then :
76662 glibcxx_cv_func_fmodl_use=yes
76663 else
76664 glibcxx_cv_func_fmodl_use=no
76665 fi
76666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76667 ac_ext=c
76668 ac_cpp='$CPP $CPPFLAGS'
76669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76672
76673
76674 fi
76675
76676 fi
76677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76678 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76679
76680 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76681 for ac_func in fmodl
76682 do :
76683 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76684 if test "x$ac_cv_func_fmodl" = x""yes; then :
76685 cat >>confdefs.h <<_ACEOF
76686 #define HAVE_FMODL 1
76687 _ACEOF
76688
76689 fi
76690 done
76691
76692 else
76693
76694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76695 $as_echo_n "checking for _fmodl declaration... " >&6; }
76696 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76697 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76698 $as_echo_n "(cached) " >&6
76699 else
76700
76701
76702 ac_ext=cpp
76703 ac_cpp='$CXXCPP $CPPFLAGS'
76704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76707
76708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76709 /* end confdefs.h. */
76710 #include <math.h>
76711 int
76712 main ()
76713 {
76714 _fmodl(0, 0);
76715 ;
76716 return 0;
76717 }
76718 _ACEOF
76719 if ac_fn_cxx_try_compile "$LINENO"; then :
76720 glibcxx_cv_func__fmodl_use=yes
76721 else
76722 glibcxx_cv_func__fmodl_use=no
76723 fi
76724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76725 ac_ext=c
76726 ac_cpp='$CPP $CPPFLAGS'
76727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76730
76731
76732 fi
76733
76734 fi
76735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76736 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76737
76738 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76739 for ac_func in _fmodl
76740 do :
76741 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76742 if test "x$ac_cv_func__fmodl" = x""yes; then :
76743 cat >>confdefs.h <<_ACEOF
76744 #define HAVE__FMODL 1
76745 _ACEOF
76746
76747 fi
76748 done
76749
76750 fi
76751 fi
76752
76753
76754
76755
76756
76757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76758 $as_echo_n "checking for frexpl declaration... " >&6; }
76759 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76760 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76761 $as_echo_n "(cached) " >&6
76762 else
76763
76764
76765 ac_ext=cpp
76766 ac_cpp='$CXXCPP $CPPFLAGS'
76767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76770
76771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76772 /* end confdefs.h. */
76773 #include <math.h>
76774 int
76775 main ()
76776 {
76777 frexpl(0, 0);
76778 ;
76779 return 0;
76780 }
76781 _ACEOF
76782 if ac_fn_cxx_try_compile "$LINENO"; then :
76783 glibcxx_cv_func_frexpl_use=yes
76784 else
76785 glibcxx_cv_func_frexpl_use=no
76786 fi
76787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76788 ac_ext=c
76789 ac_cpp='$CPP $CPPFLAGS'
76790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76793
76794
76795 fi
76796
76797 fi
76798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76799 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76800
76801 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76802 for ac_func in frexpl
76803 do :
76804 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76805 if test "x$ac_cv_func_frexpl" = x""yes; then :
76806 cat >>confdefs.h <<_ACEOF
76807 #define HAVE_FREXPL 1
76808 _ACEOF
76809
76810 fi
76811 done
76812
76813 else
76814
76815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76816 $as_echo_n "checking for _frexpl declaration... " >&6; }
76817 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76818 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76819 $as_echo_n "(cached) " >&6
76820 else
76821
76822
76823 ac_ext=cpp
76824 ac_cpp='$CXXCPP $CPPFLAGS'
76825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76828
76829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76830 /* end confdefs.h. */
76831 #include <math.h>
76832 int
76833 main ()
76834 {
76835 _frexpl(0, 0);
76836 ;
76837 return 0;
76838 }
76839 _ACEOF
76840 if ac_fn_cxx_try_compile "$LINENO"; then :
76841 glibcxx_cv_func__frexpl_use=yes
76842 else
76843 glibcxx_cv_func__frexpl_use=no
76844 fi
76845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76846 ac_ext=c
76847 ac_cpp='$CPP $CPPFLAGS'
76848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76851
76852
76853 fi
76854
76855 fi
76856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76857 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76858
76859 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76860 for ac_func in _frexpl
76861 do :
76862 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76863 if test "x$ac_cv_func__frexpl" = x""yes; then :
76864 cat >>confdefs.h <<_ACEOF
76865 #define HAVE__FREXPL 1
76866 _ACEOF
76867
76868 fi
76869 done
76870
76871 fi
76872 fi
76873
76874
76875
76876
76877
76878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76879 $as_echo_n "checking for hypotl declaration... " >&6; }
76880 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76881 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76882 $as_echo_n "(cached) " >&6
76883 else
76884
76885
76886 ac_ext=cpp
76887 ac_cpp='$CXXCPP $CPPFLAGS'
76888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76891
76892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76893 /* end confdefs.h. */
76894 #include <math.h>
76895 int
76896 main ()
76897 {
76898 hypotl(0, 0);
76899 ;
76900 return 0;
76901 }
76902 _ACEOF
76903 if ac_fn_cxx_try_compile "$LINENO"; then :
76904 glibcxx_cv_func_hypotl_use=yes
76905 else
76906 glibcxx_cv_func_hypotl_use=no
76907 fi
76908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76909 ac_ext=c
76910 ac_cpp='$CPP $CPPFLAGS'
76911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76914
76915
76916 fi
76917
76918 fi
76919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76920 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76921
76922 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76923 for ac_func in hypotl
76924 do :
76925 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76926 if test "x$ac_cv_func_hypotl" = x""yes; then :
76927 cat >>confdefs.h <<_ACEOF
76928 #define HAVE_HYPOTL 1
76929 _ACEOF
76930
76931 fi
76932 done
76933
76934 else
76935
76936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76937 $as_echo_n "checking for _hypotl declaration... " >&6; }
76938 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76939 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76940 $as_echo_n "(cached) " >&6
76941 else
76942
76943
76944 ac_ext=cpp
76945 ac_cpp='$CXXCPP $CPPFLAGS'
76946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76949
76950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76951 /* end confdefs.h. */
76952 #include <math.h>
76953 int
76954 main ()
76955 {
76956 _hypotl(0, 0);
76957 ;
76958 return 0;
76959 }
76960 _ACEOF
76961 if ac_fn_cxx_try_compile "$LINENO"; then :
76962 glibcxx_cv_func__hypotl_use=yes
76963 else
76964 glibcxx_cv_func__hypotl_use=no
76965 fi
76966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76967 ac_ext=c
76968 ac_cpp='$CPP $CPPFLAGS'
76969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76972
76973
76974 fi
76975
76976 fi
76977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76978 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76979
76980 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76981 for ac_func in _hypotl
76982 do :
76983 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76984 if test "x$ac_cv_func__hypotl" = x""yes; then :
76985 cat >>confdefs.h <<_ACEOF
76986 #define HAVE__HYPOTL 1
76987 _ACEOF
76988
76989 fi
76990 done
76991
76992 fi
76993 fi
76994
76995
76996
76997
76998
76999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77000 $as_echo_n "checking for ldexpl declaration... " >&6; }
77001 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77002 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77003 $as_echo_n "(cached) " >&6
77004 else
77005
77006
77007 ac_ext=cpp
77008 ac_cpp='$CXXCPP $CPPFLAGS'
77009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77012
77013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77014 /* end confdefs.h. */
77015 #include <math.h>
77016 int
77017 main ()
77018 {
77019 ldexpl(0, 0);
77020 ;
77021 return 0;
77022 }
77023 _ACEOF
77024 if ac_fn_cxx_try_compile "$LINENO"; then :
77025 glibcxx_cv_func_ldexpl_use=yes
77026 else
77027 glibcxx_cv_func_ldexpl_use=no
77028 fi
77029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77030 ac_ext=c
77031 ac_cpp='$CPP $CPPFLAGS'
77032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77035
77036
77037 fi
77038
77039 fi
77040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77041 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77042
77043 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77044 for ac_func in ldexpl
77045 do :
77046 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77047 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77048 cat >>confdefs.h <<_ACEOF
77049 #define HAVE_LDEXPL 1
77050 _ACEOF
77051
77052 fi
77053 done
77054
77055 else
77056
77057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77058 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77059 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77060 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77061 $as_echo_n "(cached) " >&6
77062 else
77063
77064
77065 ac_ext=cpp
77066 ac_cpp='$CXXCPP $CPPFLAGS'
77067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77070
77071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77072 /* end confdefs.h. */
77073 #include <math.h>
77074 int
77075 main ()
77076 {
77077 _ldexpl(0, 0);
77078 ;
77079 return 0;
77080 }
77081 _ACEOF
77082 if ac_fn_cxx_try_compile "$LINENO"; then :
77083 glibcxx_cv_func__ldexpl_use=yes
77084 else
77085 glibcxx_cv_func__ldexpl_use=no
77086 fi
77087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77088 ac_ext=c
77089 ac_cpp='$CPP $CPPFLAGS'
77090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77093
77094
77095 fi
77096
77097 fi
77098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77099 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77100
77101 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77102 for ac_func in _ldexpl
77103 do :
77104 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77105 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77106 cat >>confdefs.h <<_ACEOF
77107 #define HAVE__LDEXPL 1
77108 _ACEOF
77109
77110 fi
77111 done
77112
77113 fi
77114 fi
77115
77116
77117
77118
77119
77120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77121 $as_echo_n "checking for logl declaration... " >&6; }
77122 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77123 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77124 $as_echo_n "(cached) " >&6
77125 else
77126
77127
77128 ac_ext=cpp
77129 ac_cpp='$CXXCPP $CPPFLAGS'
77130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77133
77134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77135 /* end confdefs.h. */
77136 #include <math.h>
77137 #ifdef HAVE_IEEEFP_H
77138 #include <ieeefp.h>
77139 #endif
77140
77141 int
77142 main ()
77143 {
77144 logl(0);
77145 ;
77146 return 0;
77147 }
77148 _ACEOF
77149 if ac_fn_cxx_try_compile "$LINENO"; then :
77150 glibcxx_cv_func_logl_use=yes
77151 else
77152 glibcxx_cv_func_logl_use=no
77153 fi
77154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77155 ac_ext=c
77156 ac_cpp='$CPP $CPPFLAGS'
77157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77160
77161
77162 fi
77163
77164 fi
77165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77166 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77167
77168 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77169 for ac_func in logl
77170 do :
77171 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77172 if test "x$ac_cv_func_logl" = x""yes; then :
77173 cat >>confdefs.h <<_ACEOF
77174 #define HAVE_LOGL 1
77175 _ACEOF
77176
77177 fi
77178 done
77179
77180 else
77181
77182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77183 $as_echo_n "checking for _logl declaration... " >&6; }
77184 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77185 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77186 $as_echo_n "(cached) " >&6
77187 else
77188
77189
77190 ac_ext=cpp
77191 ac_cpp='$CXXCPP $CPPFLAGS'
77192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77195
77196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77197 /* end confdefs.h. */
77198 #include <math.h>
77199 #ifdef HAVE_IEEEFP_H
77200 #include <ieeefp.h>
77201 #endif
77202
77203 int
77204 main ()
77205 {
77206 _logl(0);
77207 ;
77208 return 0;
77209 }
77210 _ACEOF
77211 if ac_fn_cxx_try_compile "$LINENO"; then :
77212 glibcxx_cv_func__logl_use=yes
77213 else
77214 glibcxx_cv_func__logl_use=no
77215 fi
77216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77217 ac_ext=c
77218 ac_cpp='$CPP $CPPFLAGS'
77219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77222
77223
77224 fi
77225
77226 fi
77227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77228 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77229
77230 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77231 for ac_func in _logl
77232 do :
77233 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77234 if test "x$ac_cv_func__logl" = x""yes; then :
77235 cat >>confdefs.h <<_ACEOF
77236 #define HAVE__LOGL 1
77237 _ACEOF
77238
77239 fi
77240 done
77241
77242 fi
77243 fi
77244
77245
77246
77247
77248
77249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77250 $as_echo_n "checking for log10l declaration... " >&6; }
77251 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77252 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77253 $as_echo_n "(cached) " >&6
77254 else
77255
77256
77257 ac_ext=cpp
77258 ac_cpp='$CXXCPP $CPPFLAGS'
77259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77262
77263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77264 /* end confdefs.h. */
77265 #include <math.h>
77266 #ifdef HAVE_IEEEFP_H
77267 #include <ieeefp.h>
77268 #endif
77269
77270 int
77271 main ()
77272 {
77273 log10l(0);
77274 ;
77275 return 0;
77276 }
77277 _ACEOF
77278 if ac_fn_cxx_try_compile "$LINENO"; then :
77279 glibcxx_cv_func_log10l_use=yes
77280 else
77281 glibcxx_cv_func_log10l_use=no
77282 fi
77283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77284 ac_ext=c
77285 ac_cpp='$CPP $CPPFLAGS'
77286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77289
77290
77291 fi
77292
77293 fi
77294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77295 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77296
77297 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77298 for ac_func in log10l
77299 do :
77300 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77301 if test "x$ac_cv_func_log10l" = x""yes; then :
77302 cat >>confdefs.h <<_ACEOF
77303 #define HAVE_LOG10L 1
77304 _ACEOF
77305
77306 fi
77307 done
77308
77309 else
77310
77311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77312 $as_echo_n "checking for _log10l declaration... " >&6; }
77313 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77314 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77315 $as_echo_n "(cached) " >&6
77316 else
77317
77318
77319 ac_ext=cpp
77320 ac_cpp='$CXXCPP $CPPFLAGS'
77321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77324
77325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77326 /* end confdefs.h. */
77327 #include <math.h>
77328 #ifdef HAVE_IEEEFP_H
77329 #include <ieeefp.h>
77330 #endif
77331
77332 int
77333 main ()
77334 {
77335 _log10l(0);
77336 ;
77337 return 0;
77338 }
77339 _ACEOF
77340 if ac_fn_cxx_try_compile "$LINENO"; then :
77341 glibcxx_cv_func__log10l_use=yes
77342 else
77343 glibcxx_cv_func__log10l_use=no
77344 fi
77345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77346 ac_ext=c
77347 ac_cpp='$CPP $CPPFLAGS'
77348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77351
77352
77353 fi
77354
77355 fi
77356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77357 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77358
77359 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77360 for ac_func in _log10l
77361 do :
77362 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77363 if test "x$ac_cv_func__log10l" = x""yes; then :
77364 cat >>confdefs.h <<_ACEOF
77365 #define HAVE__LOG10L 1
77366 _ACEOF
77367
77368 fi
77369 done
77370
77371 fi
77372 fi
77373
77374
77375
77376
77377
77378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77379 $as_echo_n "checking for modfl declaration... " >&6; }
77380 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77381 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77382 $as_echo_n "(cached) " >&6
77383 else
77384
77385
77386 ac_ext=cpp
77387 ac_cpp='$CXXCPP $CPPFLAGS'
77388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77391
77392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77393 /* end confdefs.h. */
77394 #include <math.h>
77395 int
77396 main ()
77397 {
77398 modfl(0, 0);
77399 ;
77400 return 0;
77401 }
77402 _ACEOF
77403 if ac_fn_cxx_try_compile "$LINENO"; then :
77404 glibcxx_cv_func_modfl_use=yes
77405 else
77406 glibcxx_cv_func_modfl_use=no
77407 fi
77408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77409 ac_ext=c
77410 ac_cpp='$CPP $CPPFLAGS'
77411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77414
77415
77416 fi
77417
77418 fi
77419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77420 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77421
77422 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77423 for ac_func in modfl
77424 do :
77425 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77426 if test "x$ac_cv_func_modfl" = x""yes; then :
77427 cat >>confdefs.h <<_ACEOF
77428 #define HAVE_MODFL 1
77429 _ACEOF
77430
77431 fi
77432 done
77433
77434 else
77435
77436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77437 $as_echo_n "checking for _modfl declaration... " >&6; }
77438 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77439 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77440 $as_echo_n "(cached) " >&6
77441 else
77442
77443
77444 ac_ext=cpp
77445 ac_cpp='$CXXCPP $CPPFLAGS'
77446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77449
77450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77451 /* end confdefs.h. */
77452 #include <math.h>
77453 int
77454 main ()
77455 {
77456 _modfl(0, 0);
77457 ;
77458 return 0;
77459 }
77460 _ACEOF
77461 if ac_fn_cxx_try_compile "$LINENO"; then :
77462 glibcxx_cv_func__modfl_use=yes
77463 else
77464 glibcxx_cv_func__modfl_use=no
77465 fi
77466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77467 ac_ext=c
77468 ac_cpp='$CPP $CPPFLAGS'
77469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77472
77473
77474 fi
77475
77476 fi
77477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77478 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77479
77480 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77481 for ac_func in _modfl
77482 do :
77483 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77484 if test "x$ac_cv_func__modfl" = x""yes; then :
77485 cat >>confdefs.h <<_ACEOF
77486 #define HAVE__MODFL 1
77487 _ACEOF
77488
77489 fi
77490 done
77491
77492 fi
77493 fi
77494
77495
77496
77497
77498
77499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77500 $as_echo_n "checking for powl declaration... " >&6; }
77501 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77502 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77503 $as_echo_n "(cached) " >&6
77504 else
77505
77506
77507 ac_ext=cpp
77508 ac_cpp='$CXXCPP $CPPFLAGS'
77509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77512
77513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77514 /* end confdefs.h. */
77515 #include <math.h>
77516 int
77517 main ()
77518 {
77519 powl(0, 0);
77520 ;
77521 return 0;
77522 }
77523 _ACEOF
77524 if ac_fn_cxx_try_compile "$LINENO"; then :
77525 glibcxx_cv_func_powl_use=yes
77526 else
77527 glibcxx_cv_func_powl_use=no
77528 fi
77529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77530 ac_ext=c
77531 ac_cpp='$CPP $CPPFLAGS'
77532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77535
77536
77537 fi
77538
77539 fi
77540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77541 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77542
77543 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77544 for ac_func in powl
77545 do :
77546 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77547 if test "x$ac_cv_func_powl" = x""yes; then :
77548 cat >>confdefs.h <<_ACEOF
77549 #define HAVE_POWL 1
77550 _ACEOF
77551
77552 fi
77553 done
77554
77555 else
77556
77557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77558 $as_echo_n "checking for _powl declaration... " >&6; }
77559 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77560 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77561 $as_echo_n "(cached) " >&6
77562 else
77563
77564
77565 ac_ext=cpp
77566 ac_cpp='$CXXCPP $CPPFLAGS'
77567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77570
77571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77572 /* end confdefs.h. */
77573 #include <math.h>
77574 int
77575 main ()
77576 {
77577 _powl(0, 0);
77578 ;
77579 return 0;
77580 }
77581 _ACEOF
77582 if ac_fn_cxx_try_compile "$LINENO"; then :
77583 glibcxx_cv_func__powl_use=yes
77584 else
77585 glibcxx_cv_func__powl_use=no
77586 fi
77587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77588 ac_ext=c
77589 ac_cpp='$CPP $CPPFLAGS'
77590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77593
77594
77595 fi
77596
77597 fi
77598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77599 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77600
77601 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77602 for ac_func in _powl
77603 do :
77604 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77605 if test "x$ac_cv_func__powl" = x""yes; then :
77606 cat >>confdefs.h <<_ACEOF
77607 #define HAVE__POWL 1
77608 _ACEOF
77609
77610 fi
77611 done
77612
77613 fi
77614 fi
77615
77616
77617
77618
77619
77620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77621 $as_echo_n "checking for sqrtl declaration... " >&6; }
77622 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77623 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77624 $as_echo_n "(cached) " >&6
77625 else
77626
77627
77628 ac_ext=cpp
77629 ac_cpp='$CXXCPP $CPPFLAGS'
77630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77633
77634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77635 /* end confdefs.h. */
77636 #include <math.h>
77637 #ifdef HAVE_IEEEFP_H
77638 #include <ieeefp.h>
77639 #endif
77640
77641 int
77642 main ()
77643 {
77644 sqrtl(0);
77645 ;
77646 return 0;
77647 }
77648 _ACEOF
77649 if ac_fn_cxx_try_compile "$LINENO"; then :
77650 glibcxx_cv_func_sqrtl_use=yes
77651 else
77652 glibcxx_cv_func_sqrtl_use=no
77653 fi
77654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77655 ac_ext=c
77656 ac_cpp='$CPP $CPPFLAGS'
77657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77660
77661
77662 fi
77663
77664 fi
77665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77666 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77667
77668 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77669 for ac_func in sqrtl
77670 do :
77671 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77672 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77673 cat >>confdefs.h <<_ACEOF
77674 #define HAVE_SQRTL 1
77675 _ACEOF
77676
77677 fi
77678 done
77679
77680 else
77681
77682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77683 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77684 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77685 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77686 $as_echo_n "(cached) " >&6
77687 else
77688
77689
77690 ac_ext=cpp
77691 ac_cpp='$CXXCPP $CPPFLAGS'
77692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77695
77696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77697 /* end confdefs.h. */
77698 #include <math.h>
77699 #ifdef HAVE_IEEEFP_H
77700 #include <ieeefp.h>
77701 #endif
77702
77703 int
77704 main ()
77705 {
77706 _sqrtl(0);
77707 ;
77708 return 0;
77709 }
77710 _ACEOF
77711 if ac_fn_cxx_try_compile "$LINENO"; then :
77712 glibcxx_cv_func__sqrtl_use=yes
77713 else
77714 glibcxx_cv_func__sqrtl_use=no
77715 fi
77716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77717 ac_ext=c
77718 ac_cpp='$CPP $CPPFLAGS'
77719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77722
77723
77724 fi
77725
77726 fi
77727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77728 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77729
77730 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77731 for ac_func in _sqrtl
77732 do :
77733 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77734 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77735 cat >>confdefs.h <<_ACEOF
77736 #define HAVE__SQRTL 1
77737 _ACEOF
77738
77739 fi
77740 done
77741
77742 fi
77743 fi
77744
77745
77746
77747
77748
77749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77750 $as_echo_n "checking for sincosl declaration... " >&6; }
77751 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77752 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77753 $as_echo_n "(cached) " >&6
77754 else
77755
77756
77757 ac_ext=cpp
77758 ac_cpp='$CXXCPP $CPPFLAGS'
77759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77762
77763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77764 /* end confdefs.h. */
77765 #include <math.h>
77766 int
77767 main ()
77768 {
77769 sincosl(0, 0, 0);
77770 ;
77771 return 0;
77772 }
77773 _ACEOF
77774 if ac_fn_cxx_try_compile "$LINENO"; then :
77775 glibcxx_cv_func_sincosl_use=yes
77776 else
77777 glibcxx_cv_func_sincosl_use=no
77778 fi
77779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77780 ac_ext=c
77781 ac_cpp='$CPP $CPPFLAGS'
77782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77785
77786
77787 fi
77788
77789 fi
77790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77791 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77792
77793 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77794 for ac_func in sincosl
77795 do :
77796 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77797 if test "x$ac_cv_func_sincosl" = x""yes; then :
77798 cat >>confdefs.h <<_ACEOF
77799 #define HAVE_SINCOSL 1
77800 _ACEOF
77801
77802 fi
77803 done
77804
77805 else
77806
77807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77808 $as_echo_n "checking for _sincosl declaration... " >&6; }
77809 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77810 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77811 $as_echo_n "(cached) " >&6
77812 else
77813
77814
77815 ac_ext=cpp
77816 ac_cpp='$CXXCPP $CPPFLAGS'
77817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77820
77821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77822 /* end confdefs.h. */
77823 #include <math.h>
77824 int
77825 main ()
77826 {
77827 _sincosl(0, 0, 0);
77828 ;
77829 return 0;
77830 }
77831 _ACEOF
77832 if ac_fn_cxx_try_compile "$LINENO"; then :
77833 glibcxx_cv_func__sincosl_use=yes
77834 else
77835 glibcxx_cv_func__sincosl_use=no
77836 fi
77837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77838 ac_ext=c
77839 ac_cpp='$CPP $CPPFLAGS'
77840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77843
77844
77845 fi
77846
77847 fi
77848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77849 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77850
77851 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77852 for ac_func in _sincosl
77853 do :
77854 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77855 if test "x$ac_cv_func__sincosl" = x""yes; then :
77856 cat >>confdefs.h <<_ACEOF
77857 #define HAVE__SINCOSL 1
77858 _ACEOF
77859
77860 fi
77861 done
77862
77863 fi
77864 fi
77865
77866
77867
77868
77869
77870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77871 $as_echo_n "checking for finitel declaration... " >&6; }
77872 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77873 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77874 $as_echo_n "(cached) " >&6
77875 else
77876
77877
77878 ac_ext=cpp
77879 ac_cpp='$CXXCPP $CPPFLAGS'
77880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77883
77884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77885 /* end confdefs.h. */
77886 #include <math.h>
77887 #ifdef HAVE_IEEEFP_H
77888 #include <ieeefp.h>
77889 #endif
77890
77891 int
77892 main ()
77893 {
77894 finitel(0);
77895 ;
77896 return 0;
77897 }
77898 _ACEOF
77899 if ac_fn_cxx_try_compile "$LINENO"; then :
77900 glibcxx_cv_func_finitel_use=yes
77901 else
77902 glibcxx_cv_func_finitel_use=no
77903 fi
77904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77905 ac_ext=c
77906 ac_cpp='$CPP $CPPFLAGS'
77907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77910
77911
77912 fi
77913
77914 fi
77915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77916 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77917
77918 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77919 for ac_func in finitel
77920 do :
77921 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77922 if test "x$ac_cv_func_finitel" = x""yes; then :
77923 cat >>confdefs.h <<_ACEOF
77924 #define HAVE_FINITEL 1
77925 _ACEOF
77926
77927 fi
77928 done
77929
77930 else
77931
77932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77933 $as_echo_n "checking for _finitel declaration... " >&6; }
77934 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77935 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77936 $as_echo_n "(cached) " >&6
77937 else
77938
77939
77940 ac_ext=cpp
77941 ac_cpp='$CXXCPP $CPPFLAGS'
77942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77945
77946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77947 /* end confdefs.h. */
77948 #include <math.h>
77949 #ifdef HAVE_IEEEFP_H
77950 #include <ieeefp.h>
77951 #endif
77952
77953 int
77954 main ()
77955 {
77956 _finitel(0);
77957 ;
77958 return 0;
77959 }
77960 _ACEOF
77961 if ac_fn_cxx_try_compile "$LINENO"; then :
77962 glibcxx_cv_func__finitel_use=yes
77963 else
77964 glibcxx_cv_func__finitel_use=no
77965 fi
77966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77967 ac_ext=c
77968 ac_cpp='$CPP $CPPFLAGS'
77969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77972
77973
77974 fi
77975
77976 fi
77977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77978 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77979
77980 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77981 for ac_func in _finitel
77982 do :
77983 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77984 if test "x$ac_cv_func__finitel" = x""yes; then :
77985 cat >>confdefs.h <<_ACEOF
77986 #define HAVE__FINITEL 1
77987 _ACEOF
77988
77989 fi
77990 done
77991
77992 fi
77993 fi
77994
77995
77996
77997
77998 LIBS="$ac_save_LIBS"
77999 CXXFLAGS="$ac_save_CXXFLAGS"
78000
78001
78002 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78003 ac_save_CXXFLAGS="$CXXFLAGS"
78004 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78005
78006
78007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78008 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78009 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78010 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78011 $as_echo_n "(cached) " >&6
78012 else
78013
78014
78015 ac_ext=cpp
78016 ac_cpp='$CXXCPP $CPPFLAGS'
78017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78020
78021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78022 /* end confdefs.h. */
78023 #include <stdlib.h>
78024 int
78025 main ()
78026 {
78027 at_quick_exit(0);
78028 ;
78029 return 0;
78030 }
78031 _ACEOF
78032 if ac_fn_cxx_try_compile "$LINENO"; then :
78033 glibcxx_cv_func_at_quick_exit_use=yes
78034 else
78035 glibcxx_cv_func_at_quick_exit_use=no
78036 fi
78037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78038 ac_ext=c
78039 ac_cpp='$CPP $CPPFLAGS'
78040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78043
78044
78045 fi
78046
78047 fi
78048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78049 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78050 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78051 for ac_func in at_quick_exit
78052 do :
78053 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78054 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78055 cat >>confdefs.h <<_ACEOF
78056 #define HAVE_AT_QUICK_EXIT 1
78057 _ACEOF
78058
78059 fi
78060 done
78061
78062 fi
78063
78064
78065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78066 $as_echo_n "checking for quick_exit declaration... " >&6; }
78067 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78068 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78069 $as_echo_n "(cached) " >&6
78070 else
78071
78072
78073 ac_ext=cpp
78074 ac_cpp='$CXXCPP $CPPFLAGS'
78075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78078
78079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78080 /* end confdefs.h. */
78081 #include <stdlib.h>
78082 int
78083 main ()
78084 {
78085 quick_exit(0);
78086 ;
78087 return 0;
78088 }
78089 _ACEOF
78090 if ac_fn_cxx_try_compile "$LINENO"; then :
78091 glibcxx_cv_func_quick_exit_use=yes
78092 else
78093 glibcxx_cv_func_quick_exit_use=no
78094 fi
78095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78096 ac_ext=c
78097 ac_cpp='$CPP $CPPFLAGS'
78098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78101
78102
78103 fi
78104
78105 fi
78106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78107 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78108 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78109 for ac_func in quick_exit
78110 do :
78111 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78112 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78113 cat >>confdefs.h <<_ACEOF
78114 #define HAVE_QUICK_EXIT 1
78115 _ACEOF
78116
78117 fi
78118 done
78119
78120 fi
78121
78122
78123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78124 $as_echo_n "checking for strtold declaration... " >&6; }
78125 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78126 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78127 $as_echo_n "(cached) " >&6
78128 else
78129
78130
78131 ac_ext=cpp
78132 ac_cpp='$CXXCPP $CPPFLAGS'
78133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78136
78137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78138 /* end confdefs.h. */
78139 #include <stdlib.h>
78140 int
78141 main ()
78142 {
78143 strtold(0, 0);
78144 ;
78145 return 0;
78146 }
78147 _ACEOF
78148 if ac_fn_cxx_try_compile "$LINENO"; then :
78149 glibcxx_cv_func_strtold_use=yes
78150 else
78151 glibcxx_cv_func_strtold_use=no
78152 fi
78153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78154 ac_ext=c
78155 ac_cpp='$CPP $CPPFLAGS'
78156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78159
78160
78161 fi
78162
78163 fi
78164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78165 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78166 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78167 for ac_func in strtold
78168 do :
78169 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78170 if test "x$ac_cv_func_strtold" = x""yes; then :
78171 cat >>confdefs.h <<_ACEOF
78172 #define HAVE_STRTOLD 1
78173 _ACEOF
78174
78175 fi
78176 done
78177
78178 fi
78179
78180
78181
78182
78183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78184 $as_echo_n "checking for strtof declaration... " >&6; }
78185 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78186 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78187 $as_echo_n "(cached) " >&6
78188 else
78189
78190
78191 ac_ext=cpp
78192 ac_cpp='$CXXCPP $CPPFLAGS'
78193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78196
78197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78198 /* end confdefs.h. */
78199 #include <stdlib.h>
78200 int
78201 main ()
78202 {
78203 strtof(0, 0);
78204 ;
78205 return 0;
78206 }
78207 _ACEOF
78208 if ac_fn_cxx_try_compile "$LINENO"; then :
78209 glibcxx_cv_func_strtof_use=yes
78210 else
78211 glibcxx_cv_func_strtof_use=no
78212 fi
78213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78214 ac_ext=c
78215 ac_cpp='$CPP $CPPFLAGS'
78216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78219
78220
78221 fi
78222
78223 fi
78224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78225 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78226 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78227 for ac_func in strtof
78228 do :
78229 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78230 if test "x$ac_cv_func_strtof" = x""yes; then :
78231 cat >>confdefs.h <<_ACEOF
78232 #define HAVE_STRTOF 1
78233 _ACEOF
78234
78235 fi
78236 done
78237
78238 fi
78239
78240
78241
78242
78243 CXXFLAGS="$ac_save_CXXFLAGS"
78244
78245 ;;
78246 *-vxworks)
78247 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78248
78249 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78250
78251 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78252
78253 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78254
78255 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78256
78257 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78258
78259 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78260
78261 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78262
78263 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78264
78265 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78266
78267 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78268
78269 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78270
78271 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78272
78273 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78274
78275 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78276
78277 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78278
78279 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78280
78281 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78282
78283 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78284
78285 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78286
78287 ;;
78288 *)
78289 as_fn_error "No support for this host/target combination." "$LINENO" 5
78290 ;;
78291 esac
78292
78293 fi
78294
78295 # At some point, we should differentiate between architectures
78296 # like x86, which have long double versions, and alpha/powerpc/etc.,
78297 # which don't. For the time being, punt.
78298 if test x"long_double_math_on_this_cpu" = x"yes"; then
78299 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78300
78301 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78302
78303 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78304
78305 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78306
78307 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78308
78309 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78310
78311 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78312
78313 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78314
78315 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78316
78317 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78318
78319 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78320
78321 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78322
78323 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78324
78325 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78326
78327 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78328
78329 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78330
78331 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78332
78333 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78334
78335 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78336
78337 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78338
78339 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78340
78341 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78342
78343 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78344
78345 fi
78346 fi
78347
78348 # Check for _Unwind_GetIPInfo.
78349
78350
78351 # Check whether --with-system-libunwind was given.
78352 if test "${with_system_libunwind+set}" = set; then :
78353 withval=$with_system_libunwind;
78354 fi
78355
78356 # If system-libunwind was not specifically set, pick a default setting.
78357 if test x$with_system_libunwind = x; then
78358 case ${target} in
78359 ia64-*-hpux*) with_system_libunwind=yes ;;
78360 *) with_system_libunwind=no ;;
78361 esac
78362 fi
78363 # Based on system-libunwind and target, do we have ipinfo?
78364 if test x$with_system_libunwind = xyes; then
78365 case ${target} in
78366 ia64-*-*) have_unwind_getipinfo=no ;;
78367 *) have_unwind_getipinfo=yes ;;
78368 esac
78369 else
78370 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78371
78372 case ${target} in
78373 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78374 *) have_unwind_getipinfo=yes ;;
78375 esac
78376
78377 fi
78378
78379 if test x$have_unwind_getipinfo = xyes; then
78380
78381 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78382
78383 fi
78384
78385
78386 # Check whether --enable-linux-futex was given.
78387 if test "${enable_linux_futex+set}" = set; then :
78388 enableval=$enable_linux_futex;
78389 case "$enableval" in
78390 yes|no|default) ;;
78391 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78392 esac
78393
78394 else
78395 enable_linux_futex=default
78396 fi
78397
78398
78399 case "$target" in
78400 *-linux*)
78401 case "$enable_linux_futex" in
78402 default)
78403 # If headers don't have gettid/futex syscalls definition, then
78404 # default to no, otherwise there will be compile time failures.
78405 # Otherwise, default to yes. If we don't detect we are
78406 # compiled/linked against NPTL and not cross-compiling, check
78407 # if programs are run by default against NPTL and if not, issue
78408 # a warning.
78409 enable_linux_futex=no
78410 if test x$gcc_no_link = xyes; then
78411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78412 fi
78413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78414 /* end confdefs.h. */
78415 #include <sys/syscall.h>
78416 int lk;
78417 int
78418 main ()
78419 {
78420 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78421 ;
78422 return 0;
78423 }
78424 _ACEOF
78425 if ac_fn_c_try_link "$LINENO"; then :
78426 save_LIBS="$LIBS"
78427 LIBS="-lpthread $LIBS"
78428 if test x$gcc_no_link = xyes; then
78429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78430 fi
78431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78432 /* end confdefs.h. */
78433 #ifndef _GNU_SOURCE
78434 #define _GNU_SOURCE 1
78435 #endif
78436 #include <pthread.h>
78437 pthread_t th; void *status;
78438 int
78439 main ()
78440 {
78441 pthread_tryjoin_np (th, &status);
78442 ;
78443 return 0;
78444 }
78445 _ACEOF
78446 if ac_fn_c_try_link "$LINENO"; then :
78447 enable_linux_futex=yes
78448 else
78449 if test x$cross_compiling = xno; then
78450 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78451 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78453 If so, please configure with --disable-linux-futex" >&5
78454 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78455 If so, please configure with --disable-linux-futex" >&2;}
78456 fi
78457 fi
78458 enable_linux_futex=yes
78459 fi
78460 rm -f core conftest.err conftest.$ac_objext \
78461 conftest$ac_exeext conftest.$ac_ext
78462 LIBS="$save_LIBS"
78463 fi
78464 rm -f core conftest.err conftest.$ac_objext \
78465 conftest$ac_exeext conftest.$ac_ext
78466 ;;
78467 yes)
78468 if test x$gcc_no_link = xyes; then
78469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78470 fi
78471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78472 /* end confdefs.h. */
78473 #include <sys/syscall.h>
78474 int lk;
78475 int
78476 main ()
78477 {
78478 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78479 ;
78480 return 0;
78481 }
78482 _ACEOF
78483 if ac_fn_c_try_link "$LINENO"; then :
78484
78485 else
78486 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78487 fi
78488 rm -f core conftest.err conftest.$ac_objext \
78489 conftest$ac_exeext conftest.$ac_ext
78490 ;;
78491 esac
78492 ;;
78493 *)
78494 enable_linux_futex=no
78495 ;;
78496 esac
78497 if test x$enable_linux_futex = xyes; then
78498
78499 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78500
78501 fi
78502
78503
78504
78505
78506 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78507
78508 acx_cv_header_stdint=stddef.h
78509 acx_cv_header_stdint_kind="(already complete)"
78510 for i in stdint.h $inttype_headers; do
78511 unset ac_cv_type_uintptr_t
78512 unset ac_cv_type_uintmax_t
78513 unset ac_cv_type_int_least32_t
78514 unset ac_cv_type_int_fast32_t
78515 unset ac_cv_type_uint64_t
78516 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78517 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78518 #include <$i>
78519 "
78520 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78521 acx_cv_header_stdint=$i
78522 else
78523 continue
78524 fi
78525
78526 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78527 #include <$i>
78528 "
78529 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78530
78531 else
78532 acx_cv_header_stdint_kind="(mostly complete)"
78533 fi
78534
78535 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78536 #include <$i>
78537 "
78538 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78539
78540 else
78541 acx_cv_header_stdint_kind="(mostly complete)"
78542 fi
78543
78544 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78545 #include <$i>
78546 "
78547 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78548
78549 else
78550 acx_cv_header_stdint_kind="(mostly complete)"
78551 fi
78552
78553 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78554 #include <$i>
78555 "
78556 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78557
78558 else
78559 acx_cv_header_stdint_kind="(lacks uint64_t)"
78560 fi
78561
78562 break
78563 done
78564 if test "$acx_cv_header_stdint" = stddef.h; then
78565 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78566 for i in stdint.h $inttype_headers; do
78567 unset ac_cv_type_uintptr_t
78568 unset ac_cv_type_uint32_t
78569 unset ac_cv_type_uint64_t
78570 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78571 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78572 #include <$i>
78573 "
78574 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78575 acx_cv_header_stdint=$i
78576 else
78577 continue
78578 fi
78579
78580 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78581 #include <$i>
78582 "
78583 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78584
78585 fi
78586
78587 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78588 #include <$i>
78589 "
78590 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78591
78592 fi
78593
78594 break
78595 done
78596 fi
78597 if test "$acx_cv_header_stdint" = stddef.h; then
78598 acx_cv_header_stdint_kind="(u_intXX_t style)"
78599 for i in sys/types.h $inttype_headers; do
78600 unset ac_cv_type_u_int32_t
78601 unset ac_cv_type_u_int64_t
78602 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78603 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78604 #include <$i>
78605 "
78606 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78607 acx_cv_header_stdint=$i
78608 else
78609 continue
78610 fi
78611
78612 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78613 #include <$i>
78614 "
78615 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78616
78617 fi
78618
78619 break
78620 done
78621 fi
78622 if test "$acx_cv_header_stdint" = stddef.h; then
78623 acx_cv_header_stdint_kind="(using manual detection)"
78624 fi
78625
78626 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78627 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78628 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78629 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78630 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78631
78632 # ----------------- Summarize what we found so far
78633
78634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78635 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78636
78637 case `$as_basename -- include/gstdint.h ||
78638 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78639 Xinclude/gstdint.h : 'X\(//\)$' \| \
78640 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78641 $as_echo X/include/gstdint.h |
78642 sed '/^.*\/\([^/][^/]*\)\/*$/{
78643 s//\1/
78644 q
78645 }
78646 /^X\/\(\/\/\)$/{
78647 s//\1/
78648 q
78649 }
78650 /^X\/\(\/\).*/{
78651 s//\1/
78652 q
78653 }
78654 s/.*/./; q'` in
78655 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78656 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78657 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78658 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78659 *) ;;
78660 esac
78661
78662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78663 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78664
78665 # ----------------- done included file, check C basic types --------
78666
78667 # Lacking an uintptr_t? Test size of void *
78668 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78669 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78670 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78671 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78672 # This bug is HP SR number 8606223364.
78673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78674 $as_echo_n "checking size of void *... " >&6; }
78675 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78676 $as_echo_n "(cached) " >&6
78677 else
78678 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78679
78680 else
78681 if test "$ac_cv_type_void_p" = yes; then
78682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78684 { as_fn_set_status 77
78685 as_fn_error "cannot compute sizeof (void *)
78686 See \`config.log' for more details." "$LINENO" 5; }; }
78687 else
78688 ac_cv_sizeof_void_p=0
78689 fi
78690 fi
78691
78692 fi
78693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78694 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78695
78696
78697
78698 cat >>confdefs.h <<_ACEOF
78699 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78700 _ACEOF
78701
78702 ;;
78703 esac
78704
78705 # Lacking an uint64_t? Test size of long
78706 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78707 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78710 # This bug is HP SR number 8606223364.
78711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78712 $as_echo_n "checking size of long... " >&6; }
78713 if test "${ac_cv_sizeof_long+set}" = set; then :
78714 $as_echo_n "(cached) " >&6
78715 else
78716 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78717
78718 else
78719 if test "$ac_cv_type_long" = yes; then
78720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78722 { as_fn_set_status 77
78723 as_fn_error "cannot compute sizeof (long)
78724 See \`config.log' for more details." "$LINENO" 5; }; }
78725 else
78726 ac_cv_sizeof_long=0
78727 fi
78728 fi
78729
78730 fi
78731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78732 $as_echo "$ac_cv_sizeof_long" >&6; }
78733
78734
78735
78736 cat >>confdefs.h <<_ACEOF
78737 #define SIZEOF_LONG $ac_cv_sizeof_long
78738 _ACEOF
78739
78740 ;;
78741 esac
78742
78743 if test $acx_cv_header_stdint = stddef.h; then
78744 # Lacking a good header? Test size of everything and deduce all types.
78745 # The cast to long int works around a bug in the HP C Compiler
78746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78748 # This bug is HP SR number 8606223364.
78749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78750 $as_echo_n "checking size of int... " >&6; }
78751 if test "${ac_cv_sizeof_int+set}" = set; then :
78752 $as_echo_n "(cached) " >&6
78753 else
78754 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78755
78756 else
78757 if test "$ac_cv_type_int" = yes; then
78758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78760 { as_fn_set_status 77
78761 as_fn_error "cannot compute sizeof (int)
78762 See \`config.log' for more details." "$LINENO" 5; }; }
78763 else
78764 ac_cv_sizeof_int=0
78765 fi
78766 fi
78767
78768 fi
78769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78770 $as_echo "$ac_cv_sizeof_int" >&6; }
78771
78772
78773
78774 cat >>confdefs.h <<_ACEOF
78775 #define SIZEOF_INT $ac_cv_sizeof_int
78776 _ACEOF
78777
78778
78779 # The cast to long int works around a bug in the HP C Compiler
78780 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78781 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78782 # This bug is HP SR number 8606223364.
78783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78784 $as_echo_n "checking size of short... " >&6; }
78785 if test "${ac_cv_sizeof_short+set}" = set; then :
78786 $as_echo_n "(cached) " >&6
78787 else
78788 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78789
78790 else
78791 if test "$ac_cv_type_short" = yes; then
78792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78794 { as_fn_set_status 77
78795 as_fn_error "cannot compute sizeof (short)
78796 See \`config.log' for more details." "$LINENO" 5; }; }
78797 else
78798 ac_cv_sizeof_short=0
78799 fi
78800 fi
78801
78802 fi
78803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78804 $as_echo "$ac_cv_sizeof_short" >&6; }
78805
78806
78807
78808 cat >>confdefs.h <<_ACEOF
78809 #define SIZEOF_SHORT $ac_cv_sizeof_short
78810 _ACEOF
78811
78812
78813 # The cast to long int works around a bug in the HP C Compiler
78814 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78815 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78816 # This bug is HP SR number 8606223364.
78817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78818 $as_echo_n "checking size of char... " >&6; }
78819 if test "${ac_cv_sizeof_char+set}" = set; then :
78820 $as_echo_n "(cached) " >&6
78821 else
78822 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78823
78824 else
78825 if test "$ac_cv_type_char" = yes; then
78826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78828 { as_fn_set_status 77
78829 as_fn_error "cannot compute sizeof (char)
78830 See \`config.log' for more details." "$LINENO" 5; }; }
78831 else
78832 ac_cv_sizeof_char=0
78833 fi
78834 fi
78835
78836 fi
78837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78838 $as_echo "$ac_cv_sizeof_char" >&6; }
78839
78840
78841
78842 cat >>confdefs.h <<_ACEOF
78843 #define SIZEOF_CHAR $ac_cv_sizeof_char
78844 _ACEOF
78845
78846
78847
78848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78849 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78850 case "$ac_cv_sizeof_char" in
78851 1) acx_cv_type_int8_t=char ;;
78852 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78853 esac
78854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78855 $as_echo "$acx_cv_type_int8_t" >&6; }
78856
78857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78858 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78859 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78860 2:*) acx_cv_type_int16_t=int ;;
78861 *:2) acx_cv_type_int16_t=short ;;
78862 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78863 esac
78864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78865 $as_echo "$acx_cv_type_int16_t" >&6; }
78866
78867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78868 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78869 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78870 4:*) acx_cv_type_int32_t=int ;;
78871 *:4) acx_cv_type_int32_t=long ;;
78872 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78873 esac
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78875 $as_echo "$acx_cv_type_int32_t" >&6; }
78876 fi
78877
78878 # These tests are here to make the output prettier
78879
78880 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78881 case "$ac_cv_sizeof_long" in
78882 8) acx_cv_type_int64_t=long ;;
78883 esac
78884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78885 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78887 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78888 fi
78889
78890 # Now we can use the above types
78891
78892 if test "$ac_cv_type_uintptr_t" != yes; then
78893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78894 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78895 case $ac_cv_sizeof_void_p in
78896 2) acx_cv_type_intptr_t=int16_t ;;
78897 4) acx_cv_type_intptr_t=int32_t ;;
78898 8) acx_cv_type_intptr_t=int64_t ;;
78899 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78900 esac
78901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78902 $as_echo "$acx_cv_type_intptr_t" >&6; }
78903 fi
78904
78905 # ----------------- done all checks, emit header -------------
78906 ac_config_commands="$ac_config_commands include/gstdint.h"
78907
78908
78909
78910
78911
78912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78913 $as_echo_n "checking for GNU c++filt... " >&6; }
78914 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78915 $as_echo_n "(cached) " >&6
78916 else
78917 if test -z "$CXXFILT"; then
78918 ac_path_CXXFILT_found=false
78919 # Loop through the user's path and test for each of PROGNAME-LIST
78920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78921 for as_dir in $PATH
78922 do
78923 IFS=$as_save_IFS
78924 test -z "$as_dir" && as_dir=.
78925 for ac_prog in c++filt gc++filt; do
78926 for ac_exec_ext in '' $ac_executable_extensions; do
78927 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78928 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78929 # Check for GNU $ac_path_CXXFILT
78930 case `"$ac_path_CXXFILT" --version 2>&1` in
78931 *GNU*)
78932 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78933 esac
78934
78935 $ac_path_CXXFILT_found && break 3
78936 done
78937 done
78938 done
78939 IFS=$as_save_IFS
78940 if test -z "$ac_cv_path_CXXFILT"; then
78941 :
78942 fi
78943 else
78944 ac_cv_path_CXXFILT=$CXXFILT
78945 fi
78946
78947 fi
78948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78949 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78950 CXXFILT=$ac_cv_path_CXXFILT
78951
78952
78953
78954 # Check whether --enable-symvers was given.
78955 if test "${enable_symvers+set}" = set; then :
78956 enableval=$enable_symvers;
78957 case "$enableval" in
78958 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78959 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78960 esac
78961
78962 else
78963 enable_symvers=yes
78964 fi
78965
78966
78967
78968 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78969 # don't know enough about $LD to do tricks...
78970
78971 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78972 # with extern "C++" in version scripts.
78973
78974
78975 # Turn a 'yes' into a suitable default.
78976 if test x$enable_symvers = xyes ; then
78977 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78978 enable_symvers=no
78979 else
78980 if test $with_gnu_ld = yes ; then
78981 case ${target_os} in
78982 hpux*)
78983 enable_symvers=no ;;
78984 *)
78985 enable_symvers=gnu ;;
78986 esac
78987 else
78988 case ${target_os} in
78989 darwin*)
78990 enable_symvers=darwin ;;
78991 # Sun symbol versioning exists since Solaris 2.5.
78992 solaris2.[5-9]* | solaris2.1[0-9]*)
78993 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78994 # version scripts, so disable symbol versioning if none can be
78995 # found.
78996 if test -z "$ac_cv_path_CXXFILT"; then
78997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78998 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79000 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79002 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79003 enable_symvers=no
79004 else
79005 enable_symvers=sun
79006 fi
79007 ;;
79008 *)
79009 enable_symvers=no ;;
79010 esac
79011 fi
79012 fi
79013 fi
79014
79015 # Check to see if 'darwin' or 'darwin-export' can win.
79016 if test x$enable_symvers = xdarwin-export ; then
79017 enable_symvers=darwin
79018 fi
79019
79020 # Check if 'sun' was requested on non-Solaris 2 platforms.
79021 if test x$enable_symvers = xsun ; then
79022 case ${target_os} in
79023 solaris2*)
79024 # All fine.
79025 ;;
79026 *)
79027 # Unlikely to work.
79028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79029 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79031 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79033 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79034 enable_symvers=no
79035 ;;
79036 esac
79037 fi
79038
79039 # Check to see if 'gnu' can win.
79040 if test $enable_symvers = gnu ||
79041 test $enable_symvers = gnu-versioned-namespace ||
79042 test $enable_symvers = sun; then
79043 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79045 $as_echo_n "checking for shared libgcc... " >&6; }
79046 ac_save_CFLAGS="$CFLAGS"
79047 CFLAGS=' -lgcc_s'
79048 if test x$gcc_no_link = xyes; then
79049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79050 fi
79051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79052 /* end confdefs.h. */
79053
79054 int
79055 main ()
79056 {
79057 return 0;
79058 ;
79059 return 0;
79060 }
79061 _ACEOF
79062 if ac_fn_c_try_link "$LINENO"; then :
79063 glibcxx_shared_libgcc=yes
79064 else
79065 glibcxx_shared_libgcc=no
79066 fi
79067 rm -f core conftest.err conftest.$ac_objext \
79068 conftest$ac_exeext conftest.$ac_ext
79069 CFLAGS="$ac_save_CFLAGS"
79070 if test $glibcxx_shared_libgcc = no; then
79071 cat > conftest.c <<EOF
79072 int main (void) { return 0; }
79073 EOF
79074 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79075 -shared -shared-libgcc -o conftest.so \
79076 conftest.c -v 2>&1 >/dev/null \
79077 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79078 rm -f conftest.c conftest.so
79079 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79080 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79081 if test x$gcc_no_link = xyes; then
79082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79083 fi
79084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79085 /* end confdefs.h. */
79086
79087 int
79088 main ()
79089 {
79090 return 0;
79091 ;
79092 return 0;
79093 }
79094 _ACEOF
79095 if ac_fn_c_try_link "$LINENO"; then :
79096 glibcxx_shared_libgcc=yes
79097 fi
79098 rm -f core conftest.err conftest.$ac_objext \
79099 conftest$ac_exeext conftest.$ac_ext
79100 CFLAGS="$ac_save_CFLAGS"
79101 fi
79102 fi
79103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79104 $as_echo "$glibcxx_shared_libgcc" >&6; }
79105
79106 # For GNU ld, we need at least this version. The format is described in
79107 # GLIBCXX_CHECK_LINKER_FEATURES above.
79108 glibcxx_min_gnu_ld_version=21400
79109
79110 # If no shared libgcc, can't win.
79111 if test $glibcxx_shared_libgcc != yes; then
79112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79113 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79115 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79117 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79118 enable_symvers=no
79119 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79120 : All interesting versions of Sun ld support sun style symbol versioning.
79121 elif test $with_gnu_ld != yes ; then
79122 # just fail for now
79123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79124 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79126 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79128 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79129 enable_symvers=no
79130 elif test $glibcxx_ld_is_gold = yes ; then
79131 : All versions of gold support symbol versioning.
79132 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79133 # The right tools, the right setup, but too old. Fallbacks?
79134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79135 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79137 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79139 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79141 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79143 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79144 enable_symvers=no
79145 fi
79146 fi
79147
79148 # For libtool versioning info, format is CURRENT:REVISION:AGE
79149 libtool_VERSION=6:26:0
79150
79151 # Everything parsed; figure out what files and settings to use.
79152 case $enable_symvers in
79153 no)
79154 SYMVER_FILE=config/abi/pre/none.ver
79155 ;;
79156 gnu)
79157 SYMVER_FILE=config/abi/pre/gnu.ver
79158
79159 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79160
79161 ;;
79162 gnu-versioned-namespace)
79163 libtool_VERSION=8:0:0
79164 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79165
79166 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79167
79168 ;;
79169 darwin)
79170 SYMVER_FILE=config/abi/pre/gnu.ver
79171
79172 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79173
79174 ;;
79175 sun)
79176 SYMVER_FILE=config/abi/pre/gnu.ver
79177
79178 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79179
79180 ;;
79181 esac
79182
79183 if test x$enable_symvers != xno ; then
79184
79185 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79186
79187 fi
79188
79189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79190 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79191 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79192 $as_echo_n "(cached) " >&6
79193 else
79194
79195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79196 /* end confdefs.h. */
79197 void foo (void); __asm (".symver foo, bar@SYMVER");
79198 int
79199 main ()
79200 {
79201
79202 ;
79203 return 0;
79204 }
79205 _ACEOF
79206 if ac_fn_c_try_compile "$LINENO"; then :
79207 glibcxx_cv_have_as_symver_directive=yes
79208 else
79209 glibcxx_cv_have_as_symver_directive=no
79210 fi
79211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79212 fi
79213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79214 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79215 if test $glibcxx_cv_have_as_symver_directive = yes; then
79216
79217 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79218
79219 fi
79220
79221
79222
79223
79224
79225
79226
79227
79228 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79229 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79230
79231 if test $enable_symvers != no ; then
79232 case ${target_os} in
79233 # The Solaris 2 runtime linker doesn't support the GNU extension of
79234 # binding the same symbol to different versions
79235 solaris2*)
79236 ;;
79237 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79238 *)
79239
79240 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79241
79242 ;;
79243 esac
79244 fi
79245
79246 # Now, set up compatibility support, if any.
79247 # In addition, need this to deal with std::size_t mangling in
79248 # src/compatibility.cc. In a perfect world, could use
79249 # typeid(std::size_t).name()[0] to do direct substitution.
79250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79251 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79252 ac_save_CFLAGS="$CFLAGS"
79253 CFLAGS="-Werror"
79254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79255 /* end confdefs.h. */
79256
79257 int
79258 main ()
79259 {
79260 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79261 ;
79262 return 0;
79263 }
79264 _ACEOF
79265 if ac_fn_c_try_compile "$LINENO"; then :
79266 glibcxx_size_t_is_i=yes
79267 else
79268 glibcxx_size_t_is_i=no
79269 fi
79270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79271 CFLAGS=$ac_save_CFLAGS
79272 if test "$glibcxx_size_t_is_i" = yes; then
79273
79274 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79275
79276 fi
79277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79278 $as_echo "$glibcxx_size_t_is_i" >&6; }
79279
79280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79281 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79282 ac_save_CFLAGS="$CFLAGS"
79283 CFLAGS="-Werror"
79284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79285 /* end confdefs.h. */
79286
79287 int
79288 main ()
79289 {
79290 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79291 ;
79292 return 0;
79293 }
79294 _ACEOF
79295 if ac_fn_c_try_compile "$LINENO"; then :
79296 glibcxx_ptrdiff_t_is_i=yes
79297 else
79298 glibcxx_ptrdiff_t_is_i=no
79299 fi
79300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79301 CFLAGS=$ac_save_CFLAGS
79302 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79303
79304 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79305
79306 fi
79307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79308 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79309
79310
79311
79312
79313 # Check whether --enable-libstdcxx-visibility was given.
79314 if test "${enable_libstdcxx_visibility+set}" = set; then :
79315 enableval=$enable_libstdcxx_visibility;
79316 case "$enableval" in
79317 yes|no) ;;
79318 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79319 esac
79320
79321 else
79322 enable_libstdcxx_visibility=yes
79323 fi
79324
79325
79326
79327 if test x$enable_libstdcxx_visibility = xyes ; then
79328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79329 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79330 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79331 $as_echo_n "(cached) " >&6
79332 else
79333
79334 save_CFLAGS="$CFLAGS"
79335 CFLAGS="$CFLAGS -Werror"
79336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79337 /* end confdefs.h. */
79338 void __attribute__((visibility("hidden"))) foo(void) { }
79339 int
79340 main ()
79341 {
79342
79343 ;
79344 return 0;
79345 }
79346 _ACEOF
79347 if ac_fn_c_try_compile "$LINENO"; then :
79348 glibcxx_cv_have_attribute_visibility=yes
79349 else
79350 glibcxx_cv_have_attribute_visibility=no
79351 fi
79352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79353 CFLAGS="$save_CFLAGS"
79354 fi
79355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79356 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79357 if test $glibcxx_cv_have_attribute_visibility = no; then
79358 enable_libstdcxx_visibility=no
79359 fi
79360 fi
79361
79362
79363 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79364 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79365
79366
79367
79368 # Check whether --enable-libstdcxx-dual-abi was given.
79369 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79370 enableval=$enable_libstdcxx_dual_abi;
79371 case "$enableval" in
79372 yes|no) ;;
79373 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79374 esac
79375
79376 else
79377 enable_libstdcxx_dual_abi=yes
79378 fi
79379
79380
79381 if test x$enable_symvers = xgnu-versioned-namespace; then
79382 # gnu-versioned-namespace is incompatible with the dual ABI.
79383 enable_libstdcxx_dual_abi="no"
79384 fi
79385 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79386 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79387 $as_echo "$as_me: dual ABI is disabled" >&6;}
79388 default_libstdcxx_abi="gcc4-compatible"
79389 fi
79390
79391
79392
79393 if test x$enable_libstdcxx_dual_abi = xyes; then
79394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79395 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79396
79397 # Check whether --with-default-libstdcxx-abi was given.
79398 if test "${with_default_libstdcxx_abi+set}" = set; then :
79399 withval=$with_default_libstdcxx_abi; case "$withval" in
79400 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79401 new|cxx11) default_libstdcxx_abi="new" ;;
79402 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79403 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79404 esac
79405
79406 else
79407 default_libstdcxx_abi="new"
79408 fi
79409
79410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79411 $as_echo "${default_libstdcxx_abi}" >&6; }
79412 fi
79413 if test $default_libstdcxx_abi = "new"; then
79414 glibcxx_cxx11_abi=1
79415 glibcxx_cxx98_abi=0
79416 else
79417 glibcxx_cxx11_abi=0
79418 glibcxx_cxx98_abi=1
79419 fi
79420
79421
79422
79423
79424 ac_ldbl_compat=no
79425 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79426 case "$target" in
79427 powerpc*-*-linux* | \
79428 sparc*-*-linux* | \
79429 s390*-*-linux* | \
79430 alpha*-*-linux*)
79431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79432 /* end confdefs.h. */
79433
79434 int
79435 main ()
79436 {
79437
79438 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79439 #error no need for long double compatibility
79440 #endif
79441
79442 ;
79443 return 0;
79444 }
79445 _ACEOF
79446 if ac_fn_c_try_compile "$LINENO"; then :
79447 ac_ldbl_compat=yes
79448 else
79449 ac_ldbl_compat=no
79450 fi
79451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79452 if test "$ac_ldbl_compat" = yes; then
79453
79454 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79455
79456 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79457 case "$target" in
79458 powerpc*-*-linux*)
79459 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79460 esac
79461 fi
79462 esac
79463
79464
79465
79466 # Check if assembler supports disabling hardware capability support.
79467
79468 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79469
79470 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79471 # with a different meaning.
79472 case ${target_os} in
79473 solaris2*)
79474 ac_save_CFLAGS="$CFLAGS"
79475 CFLAGS="$CFLAGS -Wa,-nH"
79476
79477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79478 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79480 /* end confdefs.h. */
79481
79482 int
79483 main ()
79484 {
79485 return 0;
79486 ;
79487 return 0;
79488 }
79489 _ACEOF
79490 if ac_fn_c_try_compile "$LINENO"; then :
79491 ac_hwcap_flags=yes
79492 else
79493 ac_hwcap_flags=no
79494 fi
79495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79496 if test "$ac_hwcap_flags" = "yes"; then
79497 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79498 fi
79499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79500 $as_echo "$ac_hwcap_flags" >&6; }
79501
79502 CFLAGS="$ac_save_CFLAGS"
79503 ;;
79504 esac
79505
79506
79507
79508
79509 # Check if assembler supports rdrand opcode.
79510
79511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79512 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79513 if test "${ac_cv_x86_rdrand+set}" = set; then :
79514 $as_echo_n "(cached) " >&6
79515 else
79516
79517 ac_cv_x86_rdrand=no
79518 case "$target" in
79519 i?86-*-* | \
79520 x86_64-*-*)
79521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79522 /* end confdefs.h. */
79523
79524 int
79525 main ()
79526 {
79527 asm("rdrand %eax");
79528 ;
79529 return 0;
79530 }
79531 _ACEOF
79532 if ac_fn_c_try_compile "$LINENO"; then :
79533 ac_cv_x86_rdrand=yes
79534 else
79535 ac_cv_x86_rdrand=no
79536 fi
79537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79538 esac
79539
79540 fi
79541
79542 if test $ac_cv_x86_rdrand = yes; then
79543
79544 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79545
79546 fi
79547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79548 $as_echo "$ac_cv_x86_rdrand" >&6; }
79549
79550
79551 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79552
79553 # Do checks for resource limit functions.
79554
79555 setrlimit_have_headers=yes
79556 for ac_header in unistd.h sys/time.h sys/resource.h
79557 do :
79558 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79559 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79560 eval as_val=\$$as_ac_Header
79561 if test "x$as_val" = x""yes; then :
79562 cat >>confdefs.h <<_ACEOF
79563 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79564 _ACEOF
79565
79566 else
79567 setrlimit_have_headers=no
79568 fi
79569
79570 done
79571
79572 # If don't have the headers, then we can't run the tests now, and we
79573 # won't be seeing any of these during testsuite compilation.
79574 if test $setrlimit_have_headers = yes; then
79575 # Can't do these in a loop, else the resulting syntax is wrong.
79576
79577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79578 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79580 /* end confdefs.h. */
79581 #include <unistd.h>
79582 #include <sys/time.h>
79583 #include <sys/resource.h>
79584
79585 int
79586 main ()
79587 {
79588 int f = RLIMIT_DATA ;
79589 ;
79590 return 0;
79591 }
79592 _ACEOF
79593 if ac_fn_c_try_compile "$LINENO"; then :
79594 glibcxx_mresult=1
79595 else
79596 glibcxx_mresult=0
79597 fi
79598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79599
79600 cat >>confdefs.h <<_ACEOF
79601 #define HAVE_LIMIT_DATA $glibcxx_mresult
79602 _ACEOF
79603
79604 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79606 $as_echo "$res" >&6; }
79607
79608
79609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79610 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79612 /* end confdefs.h. */
79613 #include <unistd.h>
79614 #include <sys/time.h>
79615 #include <sys/resource.h>
79616
79617 int
79618 main ()
79619 {
79620 int f = RLIMIT_RSS ;
79621 ;
79622 return 0;
79623 }
79624 _ACEOF
79625 if ac_fn_c_try_compile "$LINENO"; then :
79626 glibcxx_mresult=1
79627 else
79628 glibcxx_mresult=0
79629 fi
79630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79631
79632 cat >>confdefs.h <<_ACEOF
79633 #define HAVE_LIMIT_RSS $glibcxx_mresult
79634 _ACEOF
79635
79636 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79638 $as_echo "$res" >&6; }
79639
79640
79641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79642 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79644 /* end confdefs.h. */
79645 #include <unistd.h>
79646 #include <sys/time.h>
79647 #include <sys/resource.h>
79648
79649 int
79650 main ()
79651 {
79652 int f = RLIMIT_VMEM ;
79653 ;
79654 return 0;
79655 }
79656 _ACEOF
79657 if ac_fn_c_try_compile "$LINENO"; then :
79658 glibcxx_mresult=1
79659 else
79660 glibcxx_mresult=0
79661 fi
79662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79663
79664 cat >>confdefs.h <<_ACEOF
79665 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79666 _ACEOF
79667
79668 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79670 $as_echo "$res" >&6; }
79671
79672
79673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79674 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79676 /* end confdefs.h. */
79677 #include <unistd.h>
79678 #include <sys/time.h>
79679 #include <sys/resource.h>
79680
79681 int
79682 main ()
79683 {
79684 int f = RLIMIT_AS ;
79685 ;
79686 return 0;
79687 }
79688 _ACEOF
79689 if ac_fn_c_try_compile "$LINENO"; then :
79690 glibcxx_mresult=1
79691 else
79692 glibcxx_mresult=0
79693 fi
79694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79695
79696 cat >>confdefs.h <<_ACEOF
79697 #define HAVE_LIMIT_AS $glibcxx_mresult
79698 _ACEOF
79699
79700 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79702 $as_echo "$res" >&6; }
79703
79704
79705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79706 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79708 /* end confdefs.h. */
79709 #include <unistd.h>
79710 #include <sys/time.h>
79711 #include <sys/resource.h>
79712
79713 int
79714 main ()
79715 {
79716 int f = RLIMIT_FSIZE ;
79717 ;
79718 return 0;
79719 }
79720 _ACEOF
79721 if ac_fn_c_try_compile "$LINENO"; then :
79722 glibcxx_mresult=1
79723 else
79724 glibcxx_mresult=0
79725 fi
79726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79727
79728 cat >>confdefs.h <<_ACEOF
79729 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79730 _ACEOF
79731
79732 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79734 $as_echo "$res" >&6; }
79735
79736
79737 # Check for rlimit, setrlimit.
79738 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79739 $as_echo_n "(cached) " >&6
79740 else
79741
79742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79743 /* end confdefs.h. */
79744 #include <unistd.h>
79745 #include <sys/time.h>
79746 #include <sys/resource.h>
79747
79748 int
79749 main ()
79750 {
79751 struct rlimit r;
79752 setrlimit(0, &r);
79753 ;
79754 return 0;
79755 }
79756 _ACEOF
79757 if ac_fn_c_try_compile "$LINENO"; then :
79758 glibcxx_cv_setrlimit=yes
79759 else
79760 glibcxx_cv_setrlimit=no
79761 fi
79762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79763
79764 fi
79765
79766 fi
79767
79768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79769 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79770 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79771 ac_res_limits=yes
79772
79773 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79774
79775 else
79776 ac_res_limits=no
79777 fi
79778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79779 $as_echo "$ac_res_limits" >&6; }
79780
79781
79782 if $GLIBCXX_IS_NATIVE ; then
79783 # Look for setenv, so that extended locale tests can be performed.
79784
79785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79786 $as_echo_n "checking for setenv declaration... " >&6; }
79787 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79788 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79789 $as_echo_n "(cached) " >&6
79790 else
79791
79792
79793 ac_ext=cpp
79794 ac_cpp='$CXXCPP $CPPFLAGS'
79795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79798
79799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79800 /* end confdefs.h. */
79801 #include <stdlib.h>
79802 int
79803 main ()
79804 {
79805 setenv(0, 0, 0);
79806 ;
79807 return 0;
79808 }
79809 _ACEOF
79810 if ac_fn_cxx_try_compile "$LINENO"; then :
79811 glibcxx_cv_func_setenv_use=yes
79812 else
79813 glibcxx_cv_func_setenv_use=no
79814 fi
79815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79816 ac_ext=c
79817 ac_cpp='$CPP $CPPFLAGS'
79818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79821
79822
79823 fi
79824
79825 fi
79826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79827 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79828 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79829 for ac_func in setenv
79830 do :
79831 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79832 if test "x$ac_cv_func_setenv" = x""yes; then :
79833 cat >>confdefs.h <<_ACEOF
79834 #define HAVE_SETENV 1
79835 _ACEOF
79836
79837 fi
79838 done
79839
79840 fi
79841
79842 fi
79843
79844 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79845 test $enable_symvers != no; then
79846 case "$host" in
79847 *-*-cygwin*)
79848 enable_abi_check=no ;;
79849 *)
79850 enable_abi_check=yes ;;
79851 esac
79852 else
79853 # Only build this as native, since automake does not understand
79854 # CXX_FOR_BUILD.
79855 enable_abi_check=no
79856 fi
79857
79858 # Export file names for ABI checking.
79859 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79860
79861 baseline_subdir_switch="$abi_baseline_subdir_switch"
79862
79863
79864
79865 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79866
79867 # Check whether --enable-libstdcxx-threads was given.
79868 if test "${enable_libstdcxx_threads+set}" = set; then :
79869 enableval=$enable_libstdcxx_threads;
79870 case "$enableval" in
79871 yes|no) ;;
79872 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79873 esac
79874
79875 else
79876 enable_libstdcxx_threads=auto
79877 fi
79878
79879
79880
79881 if test x$enable_libstdcxx_threads = xauto ||
79882 test x$enable_libstdcxx_threads = xyes; then
79883
79884
79885 ac_ext=cpp
79886 ac_cpp='$CXXCPP $CPPFLAGS'
79887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79890
79891
79892 ac_save_CXXFLAGS="$CXXFLAGS"
79893 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79894 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79895
79896 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79897 case $target_thread_file in
79898 posix)
79899 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79900 esac
79901
79902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79903 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79904
79905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79906 /* end confdefs.h. */
79907 #include <unistd.h>
79908 int
79909 main ()
79910 {
79911
79912 // In case of POSIX threads check _POSIX_TIMEOUTS.
79913 #if (defined(_PTHREADS) \
79914 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79915 #error
79916 #endif
79917
79918 ;
79919 return 0;
79920 }
79921 _ACEOF
79922 if ac_fn_cxx_try_compile "$LINENO"; then :
79923 ac_gthread_use_mutex_timedlock=1
79924 else
79925 ac_gthread_use_mutex_timedlock=0
79926 fi
79927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79928
79929
79930 cat >>confdefs.h <<_ACEOF
79931 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79932 _ACEOF
79933
79934
79935 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79936 else res_mutex_timedlock=no ; fi
79937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79938 $as_echo "$res_mutex_timedlock" >&6; }
79939
79940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79941 $as_echo_n "checking for gthreads library... " >&6; }
79942
79943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79944 /* end confdefs.h. */
79945 #include "gthr.h"
79946 int
79947 main ()
79948 {
79949
79950 #ifndef __GTHREADS_CXX0X
79951 #error
79952 #endif
79953
79954 ;
79955 return 0;
79956 }
79957 _ACEOF
79958 if ac_fn_cxx_try_compile "$LINENO"; then :
79959 ac_has_gthreads=yes
79960 else
79961 ac_has_gthreads=no
79962 fi
79963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79964 else
79965 ac_has_gthreads=no
79966 fi
79967
79968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79969 $as_echo "$ac_has_gthreads" >&6; }
79970
79971 if test x"$ac_has_gthreads" = x"yes"; then
79972
79973 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79974
79975
79976 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79977 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79978 "
79979 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79980
79981 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79982
79983 fi
79984
79985 fi
79986
79987 CXXFLAGS="$ac_save_CXXFLAGS"
79988 ac_ext=c
79989 ac_cpp='$CPP $CPPFLAGS'
79990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79993
79994
79995
79996 # For Filesystem TS.
79997 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79998 do :
79999 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80000 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80001 eval as_val=\$$as_ac_Header
80002 if test "x$as_val" = x""yes; then :
80003 cat >>confdefs.h <<_ACEOF
80004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80005 _ACEOF
80006
80007 fi
80008
80009 done
80010
80011
80012 # Check whether --enable-libstdcxx-filesystem-ts was given.
80013 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80014 enableval=$enable_libstdcxx_filesystem_ts;
80015 case "$enableval" in
80016 yes|no|auto) ;;
80017 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80018 esac
80019
80020 else
80021 enable_libstdcxx_filesystem_ts=auto
80022 fi
80023
80024
80025
80026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80027 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80028 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80029 enable_libstdcxx_filesystem_ts=no
80030 fi
80031 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80032 case "${target_os}" in
80033 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80034 enable_libstdcxx_filesystem_ts=yes
80035 ;;
80036 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80037 enable_libstdcxx_filesystem_ts=yes
80038 ;;
80039 rtems*)
80040 enable_libstdcxx_filesystem_ts=yes
80041 ;;
80042 solaris*)
80043 enable_libstdcxx_filesystem_ts=yes
80044 ;;
80045 *)
80046 enable_libstdcxx_filesystem_ts=no
80047 ;;
80048 esac
80049 fi
80050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80051 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80052
80053
80054 if test $enable_libstdcxx_filesystem_ts = yes; then
80055
80056 ac_ext=cpp
80057 ac_cpp='$CXXCPP $CPPFLAGS'
80058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80061
80062 ac_save_CXXFLAGS="$CXXFLAGS"
80063 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80065 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80066 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80067 $as_echo_n "(cached) " >&6
80068 else
80069 if test x$gcc_no_link = xyes; then
80070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80071 /* end confdefs.h. */
80072 #include <dirent.h>
80073 int
80074 main ()
80075 {
80076
80077 struct dirent d;
80078 if (sizeof d.d_type) return 0;
80079
80080 ;
80081 return 0;
80082 }
80083 _ACEOF
80084 if ac_fn_cxx_try_compile "$LINENO"; then :
80085 glibcxx_cv_dirent_d_type=yes
80086 else
80087 glibcxx_cv_dirent_d_type=no
80088 fi
80089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80090 else
80091 if test x$gcc_no_link = xyes; then
80092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80093 fi
80094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80095 /* end confdefs.h. */
80096 #include <dirent.h>
80097 int
80098 main ()
80099 {
80100
80101 struct dirent d;
80102 if (sizeof d.d_type) return 0;
80103
80104 ;
80105 return 0;
80106 }
80107 _ACEOF
80108 if ac_fn_cxx_try_link "$LINENO"; then :
80109 glibcxx_cv_dirent_d_type=yes
80110 else
80111 glibcxx_cv_dirent_d_type=no
80112 fi
80113 rm -f core conftest.err conftest.$ac_objext \
80114 conftest$ac_exeext conftest.$ac_ext
80115 fi
80116
80117 fi
80118
80119 if test $glibcxx_cv_dirent_d_type = yes; then
80120
80121 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80122
80123 fi
80124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80125 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80127 $as_echo_n "checking for realpath... " >&6; }
80128 if test "${glibcxx_cv_realpath+set}" = set; then :
80129 $as_echo_n "(cached) " >&6
80130 else
80131 if test x$gcc_no_link = xyes; then
80132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80133 /* end confdefs.h. */
80134
80135 #include <limits.h>
80136 #include <stdlib.h>
80137 #include <unistd.h>
80138
80139 int
80140 main ()
80141 {
80142
80143 #if _XOPEN_VERSION < 500
80144 #error
80145 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80146 char *tmp = realpath((const char*)NULL, (char*)NULL);
80147 #else
80148 #error
80149 #endif
80150
80151 ;
80152 return 0;
80153 }
80154 _ACEOF
80155 if ac_fn_cxx_try_compile "$LINENO"; then :
80156 glibcxx_cv_realpath=yes
80157 else
80158 glibcxx_cv_realpath=no
80159 fi
80160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80161 else
80162 if test x$gcc_no_link = xyes; then
80163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80164 fi
80165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80166 /* end confdefs.h. */
80167
80168 #include <limits.h>
80169 #include <stdlib.h>
80170 #include <unistd.h>
80171
80172 int
80173 main ()
80174 {
80175
80176 #if _XOPEN_VERSION < 500
80177 #error
80178 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80179 char *tmp = realpath((const char*)NULL, (char*)NULL);
80180 #else
80181 #error
80182 #endif
80183
80184 ;
80185 return 0;
80186 }
80187 _ACEOF
80188 if ac_fn_cxx_try_link "$LINENO"; then :
80189 glibcxx_cv_realpath=yes
80190 else
80191 glibcxx_cv_realpath=no
80192 fi
80193 rm -f core conftest.err conftest.$ac_objext \
80194 conftest$ac_exeext conftest.$ac_ext
80195 fi
80196
80197 fi
80198
80199 if test $glibcxx_cv_realpath = yes; then
80200
80201 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80202
80203 fi
80204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80205 $as_echo "$glibcxx_cv_realpath" >&6; }
80206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80207 $as_echo_n "checking for utimensat... " >&6; }
80208 if test "${glibcxx_cv_utimensat+set}" = set; then :
80209 $as_echo_n "(cached) " >&6
80210 else
80211 if test x$gcc_no_link = xyes; then
80212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80213 /* end confdefs.h. */
80214
80215 #include <fcntl.h>
80216 #include <sys/stat.h>
80217
80218 int
80219 main ()
80220 {
80221
80222 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80223 int i = utimensat(AT_FDCWD, "path", ts, 0);
80224
80225 ;
80226 return 0;
80227 }
80228 _ACEOF
80229 if ac_fn_cxx_try_compile "$LINENO"; then :
80230 glibcxx_cv_utimensat=yes
80231 else
80232 glibcxx_cv_utimensat=no
80233 fi
80234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80235 else
80236 if test x$gcc_no_link = xyes; then
80237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80238 fi
80239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80240 /* end confdefs.h. */
80241
80242 #include <fcntl.h>
80243 #include <sys/stat.h>
80244
80245 int
80246 main ()
80247 {
80248
80249 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80250 int i = utimensat(AT_FDCWD, "path", ts, 0);
80251
80252 ;
80253 return 0;
80254 }
80255 _ACEOF
80256 if ac_fn_cxx_try_link "$LINENO"; then :
80257 glibcxx_cv_utimensat=yes
80258 else
80259 glibcxx_cv_utimensat=no
80260 fi
80261 rm -f core conftest.err conftest.$ac_objext \
80262 conftest$ac_exeext conftest.$ac_ext
80263 fi
80264
80265 fi
80266
80267 if test $glibcxx_cv_utimensat = yes; then
80268
80269 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80270
80271 fi
80272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80273 $as_echo "$glibcxx_cv_utimensat" >&6; }
80274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80275 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80276 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80277 $as_echo_n "(cached) " >&6
80278 else
80279 if test x$gcc_no_link = xyes; then
80280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80281 /* end confdefs.h. */
80282 #include <sys/stat.h>
80283 int
80284 main ()
80285 {
80286
80287 struct stat st;
80288 return st.st_mtim.tv_nsec;
80289
80290 ;
80291 return 0;
80292 }
80293 _ACEOF
80294 if ac_fn_cxx_try_compile "$LINENO"; then :
80295 glibcxx_cv_st_mtim=yes
80296 else
80297 glibcxx_cv_st_mtim=no
80298 fi
80299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80300 else
80301 if test x$gcc_no_link = xyes; then
80302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80303 fi
80304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80305 /* end confdefs.h. */
80306 #include <sys/stat.h>
80307 int
80308 main ()
80309 {
80310
80311 struct stat st;
80312 return st.st_mtim.tv_nsec;
80313
80314 ;
80315 return 0;
80316 }
80317 _ACEOF
80318 if ac_fn_cxx_try_link "$LINENO"; then :
80319 glibcxx_cv_st_mtim=yes
80320 else
80321 glibcxx_cv_st_mtim=no
80322 fi
80323 rm -f core conftest.err conftest.$ac_objext \
80324 conftest$ac_exeext conftest.$ac_ext
80325 fi
80326
80327 fi
80328
80329 if test $glibcxx_cv_st_mtim = yes; then
80330
80331 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80332
80333 fi
80334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80335 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80337 $as_echo_n "checking for fchmod... " >&6; }
80338 if test "${glibcxx_cv_fchmod+set}" = set; then :
80339 $as_echo_n "(cached) " >&6
80340 else
80341 if test x$gcc_no_link = xyes; then
80342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80343 /* end confdefs.h. */
80344 #include <sys/stat.h>
80345 int
80346 main ()
80347 {
80348 fchmod(1, S_IWUSR);
80349 ;
80350 return 0;
80351 }
80352 _ACEOF
80353 if ac_fn_cxx_try_compile "$LINENO"; then :
80354 glibcxx_cv_fchmod=yes
80355 else
80356 glibcxx_cv_fchmod=no
80357 fi
80358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80359 else
80360 if test x$gcc_no_link = xyes; then
80361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80362 fi
80363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80364 /* end confdefs.h. */
80365 #include <sys/stat.h>
80366 int
80367 main ()
80368 {
80369 fchmod(1, S_IWUSR);
80370 ;
80371 return 0;
80372 }
80373 _ACEOF
80374 if ac_fn_cxx_try_link "$LINENO"; then :
80375 glibcxx_cv_fchmod=yes
80376 else
80377 glibcxx_cv_fchmod=no
80378 fi
80379 rm -f core conftest.err conftest.$ac_objext \
80380 conftest$ac_exeext conftest.$ac_ext
80381 fi
80382
80383 fi
80384
80385 if test $glibcxx_cv_fchmod = yes; then
80386
80387 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80388
80389 fi
80390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80391 $as_echo "$glibcxx_cv_fchmod" >&6; }
80392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80393 $as_echo_n "checking for fchmodat... " >&6; }
80394 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80395 $as_echo_n "(cached) " >&6
80396 else
80397 if test x$gcc_no_link = xyes; then
80398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80399 /* end confdefs.h. */
80400
80401 #include <fcntl.h>
80402 #include <sys/stat.h>
80403
80404 int
80405 main ()
80406 {
80407 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80408 ;
80409 return 0;
80410 }
80411 _ACEOF
80412 if ac_fn_cxx_try_compile "$LINENO"; then :
80413 glibcxx_cv_fchmodat=yes
80414 else
80415 glibcxx_cv_fchmodat=no
80416 fi
80417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80418 else
80419 if test x$gcc_no_link = xyes; then
80420 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80421 fi
80422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80423 /* end confdefs.h. */
80424
80425 #include <fcntl.h>
80426 #include <sys/stat.h>
80427
80428 int
80429 main ()
80430 {
80431 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80432 ;
80433 return 0;
80434 }
80435 _ACEOF
80436 if ac_fn_cxx_try_link "$LINENO"; then :
80437 glibcxx_cv_fchmodat=yes
80438 else
80439 glibcxx_cv_fchmodat=no
80440 fi
80441 rm -f core conftest.err conftest.$ac_objext \
80442 conftest$ac_exeext conftest.$ac_ext
80443 fi
80444
80445 fi
80446
80447 if test $glibcxx_cv_fchmodat = yes; then
80448
80449 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80450
80451 fi
80452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80453 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80455 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80456 if test "${glibcxx_cv_sendfile+set}" = set; then :
80457 $as_echo_n "(cached) " >&6
80458 else
80459 case "${target_os}" in
80460 gnu* | linux* | solaris*)
80461 if test x$gcc_no_link = xyes; then
80462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80463 /* end confdefs.h. */
80464 #include <sys/sendfile.h>
80465 int
80466 main ()
80467 {
80468 sendfile(1, 2, (off_t*)0, sizeof 1);
80469 ;
80470 return 0;
80471 }
80472 _ACEOF
80473 if ac_fn_cxx_try_compile "$LINENO"; then :
80474 glibcxx_cv_sendfile=yes
80475 else
80476 glibcxx_cv_sendfile=no
80477 fi
80478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80479 else
80480 if test x$gcc_no_link = xyes; then
80481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80482 fi
80483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80484 /* end confdefs.h. */
80485 #include <sys/sendfile.h>
80486 int
80487 main ()
80488 {
80489 sendfile(1, 2, (off_t*)0, sizeof 1);
80490 ;
80491 return 0;
80492 }
80493 _ACEOF
80494 if ac_fn_cxx_try_link "$LINENO"; then :
80495 glibcxx_cv_sendfile=yes
80496 else
80497 glibcxx_cv_sendfile=no
80498 fi
80499 rm -f core conftest.err conftest.$ac_objext \
80500 conftest$ac_exeext conftest.$ac_ext
80501 fi
80502 ;;
80503 *)
80504 glibcxx_cv_sendfile=no
80505 ;;
80506 esac
80507
80508 fi
80509
80510 if test $glibcxx_cv_sendfile = yes; then
80511
80512 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80513
80514 fi
80515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80516 $as_echo "$glibcxx_cv_sendfile" >&6; }
80517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
80518 $as_echo_n "checking for link... " >&6; }
80519 if test "${glibcxx_cv_link+set}" = set; then :
80520 $as_echo_n "(cached) " >&6
80521 else
80522 if test x$gcc_no_link = xyes; then
80523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80524 /* end confdefs.h. */
80525 #include <unistd.h>
80526 int
80527 main ()
80528 {
80529 link("", "");
80530 ;
80531 return 0;
80532 }
80533 _ACEOF
80534 if ac_fn_cxx_try_compile "$LINENO"; then :
80535 glibcxx_cv_link=yes
80536 else
80537 glibcxx_cv_link=no
80538 fi
80539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80540 else
80541 if test x$gcc_no_link = xyes; then
80542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80543 fi
80544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80545 /* end confdefs.h. */
80546 #include <unistd.h>
80547 int
80548 main ()
80549 {
80550 link("", "");
80551 ;
80552 return 0;
80553 }
80554 _ACEOF
80555 if ac_fn_cxx_try_link "$LINENO"; then :
80556 glibcxx_cv_link=yes
80557 else
80558 glibcxx_cv_link=no
80559 fi
80560 rm -f core conftest.err conftest.$ac_objext \
80561 conftest$ac_exeext conftest.$ac_ext
80562 fi
80563
80564 fi
80565
80566 if test $glibcxx_cv_link = yes; then
80567
80568 $as_echo "#define HAVE_LINK 1" >>confdefs.h
80569
80570 fi
80571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
80572 $as_echo "$glibcxx_cv_link" >&6; }
80573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
80574 $as_echo_n "checking for readlink... " >&6; }
80575 if test "${glibcxx_cv_readlink+set}" = set; then :
80576 $as_echo_n "(cached) " >&6
80577 else
80578 if test x$gcc_no_link = xyes; then
80579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80580 /* end confdefs.h. */
80581 #include <unistd.h>
80582 int
80583 main ()
80584 {
80585 char buf[32]; readlink("", buf, sizeof(buf));
80586 ;
80587 return 0;
80588 }
80589 _ACEOF
80590 if ac_fn_cxx_try_compile "$LINENO"; then :
80591 glibcxx_cv_readlink=yes
80592 else
80593 glibcxx_cv_readlink=no
80594 fi
80595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80596 else
80597 if test x$gcc_no_link = xyes; then
80598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80599 fi
80600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80601 /* end confdefs.h. */
80602 #include <unistd.h>
80603 int
80604 main ()
80605 {
80606 char buf[32]; readlink("", buf, sizeof(buf));
80607 ;
80608 return 0;
80609 }
80610 _ACEOF
80611 if ac_fn_cxx_try_link "$LINENO"; then :
80612 glibcxx_cv_readlink=yes
80613 else
80614 glibcxx_cv_readlink=no
80615 fi
80616 rm -f core conftest.err conftest.$ac_objext \
80617 conftest$ac_exeext conftest.$ac_ext
80618 fi
80619
80620 fi
80621
80622 if test $glibcxx_cv_readlink = yes; then
80623
80624 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
80625
80626 fi
80627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
80628 $as_echo "$glibcxx_cv_readlink" >&6; }
80629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
80630 $as_echo_n "checking for symlink... " >&6; }
80631 if test "${glibcxx_cv_symlink+set}" = set; then :
80632 $as_echo_n "(cached) " >&6
80633 else
80634 if test x$gcc_no_link = xyes; then
80635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80636 /* end confdefs.h. */
80637 #include <unistd.h>
80638 int
80639 main ()
80640 {
80641 symlink("", "");
80642 ;
80643 return 0;
80644 }
80645 _ACEOF
80646 if ac_fn_cxx_try_compile "$LINENO"; then :
80647 glibcxx_cv_symlink=yes
80648 else
80649 glibcxx_cv_symlink=no
80650 fi
80651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80652 else
80653 if test x$gcc_no_link = xyes; then
80654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80655 fi
80656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80657 /* end confdefs.h. */
80658 #include <unistd.h>
80659 int
80660 main ()
80661 {
80662 symlink("", "");
80663 ;
80664 return 0;
80665 }
80666 _ACEOF
80667 if ac_fn_cxx_try_link "$LINENO"; then :
80668 glibcxx_cv_symlink=yes
80669 else
80670 glibcxx_cv_symlink=no
80671 fi
80672 rm -f core conftest.err conftest.$ac_objext \
80673 conftest$ac_exeext conftest.$ac_ext
80674 fi
80675
80676 fi
80677
80678 if test $glibcxx_cv_symlink = yes; then
80679
80680 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
80681
80682 fi
80683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
80684 $as_echo "$glibcxx_cv_symlink" >&6; }
80685 CXXFLAGS="$ac_save_CXXFLAGS"
80686 ac_ext=c
80687 ac_cpp='$CPP $CPPFLAGS'
80688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80691
80692 fi
80693
80694
80695 # For Transactional Memory TS
80696
80697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80698 $as_echo_n "checking how size_t is mangled... " >&6; }
80699 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80700 $as_echo_n "(cached) " >&6
80701 else
80702
80703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80704 /* end confdefs.h. */
80705
80706 int
80707 main ()
80708 {
80709 extern __SIZE_TYPE__ x; extern unsigned long x;
80710 ;
80711 return 0;
80712 }
80713 _ACEOF
80714 if ac_fn_c_try_compile "$LINENO"; then :
80715 glibcxx_cv_size_t_mangling=m
80716 else
80717
80718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80719 /* end confdefs.h. */
80720
80721 int
80722 main ()
80723 {
80724 extern __SIZE_TYPE__ x; extern unsigned int x;
80725 ;
80726 return 0;
80727 }
80728 _ACEOF
80729 if ac_fn_c_try_compile "$LINENO"; then :
80730 glibcxx_cv_size_t_mangling=j
80731 else
80732
80733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80734 /* end confdefs.h. */
80735
80736 int
80737 main ()
80738 {
80739 extern __SIZE_TYPE__ x; extern unsigned long long x;
80740 ;
80741 return 0;
80742 }
80743 _ACEOF
80744 if ac_fn_c_try_compile "$LINENO"; then :
80745 glibcxx_cv_size_t_mangling=y
80746 else
80747
80748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80749 /* end confdefs.h. */
80750
80751 int
80752 main ()
80753 {
80754 extern __SIZE_TYPE__ x; extern unsigned short x;
80755 ;
80756 return 0;
80757 }
80758 _ACEOF
80759 if ac_fn_c_try_compile "$LINENO"; then :
80760 glibcxx_cv_size_t_mangling=t
80761 else
80762
80763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80764 /* end confdefs.h. */
80765
80766 int
80767 main ()
80768 {
80769 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80770 ;
80771 return 0;
80772 }
80773 _ACEOF
80774 if ac_fn_c_try_compile "$LINENO"; then :
80775 glibcxx_cv_size_t_mangling=u6uint20
80776 else
80777 glibcxx_cv_size_t_mangling=x
80778 fi
80779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80780
80781 fi
80782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80783
80784 fi
80785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80786
80787 fi
80788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80789
80790 fi
80791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80792
80793 fi
80794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80795 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80796 if test $glibcxx_cv_size_t_mangling = x; then
80797 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80798 fi
80799
80800 cat >>confdefs.h <<_ACEOF
80801 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80802 _ACEOF
80803
80804
80805
80806 # Check which release added std::exception_ptr for the target
80807
80808 if test $enable_symvers != no; then
80809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80810 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80811 case ${target} in
80812 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80813 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80814 ac_exception_ptr_since_gcc46=yes
80815 ;;
80816 *)
80817 # If the value of this macro changes then we will need to hardcode
80818 # yes/no here for additional targets based on the original value.
80819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80820 /* end confdefs.h. */
80821
80822 int
80823 main ()
80824 {
80825
80826 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80827 # error atomic int not always lock free
80828 #endif
80829
80830 ;
80831 return 0;
80832 }
80833 _ACEOF
80834 if ac_fn_c_try_compile "$LINENO"; then :
80835 ac_exception_ptr_since_gcc46=yes
80836 else
80837 ac_exception_ptr_since_gcc46=no
80838 fi
80839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80840 ;;
80841 esac
80842 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80843
80844 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80845
80846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80847 $as_echo "4.6.0" >&6; }
80848 else
80849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80850 $as_echo "7.1.0" >&6; }
80851 fi
80852 fi
80853
80854
80855 # Define documentation rules conditionally.
80856
80857 # See if makeinfo has been installed and is modern enough
80858 # that we can use it.
80859
80860 # Extract the first word of "makeinfo", so it can be a program name with args.
80861 set dummy makeinfo; ac_word=$2
80862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80863 $as_echo_n "checking for $ac_word... " >&6; }
80864 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80865 $as_echo_n "(cached) " >&6
80866 else
80867 if test -n "$MAKEINFO"; then
80868 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80869 else
80870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80871 for as_dir in $PATH
80872 do
80873 IFS=$as_save_IFS
80874 test -z "$as_dir" && as_dir=.
80875 for ac_exec_ext in '' $ac_executable_extensions; do
80876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80877 ac_cv_prog_MAKEINFO="makeinfo"
80878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80879 break 2
80880 fi
80881 done
80882 done
80883 IFS=$as_save_IFS
80884
80885 fi
80886 fi
80887 MAKEINFO=$ac_cv_prog_MAKEINFO
80888 if test -n "$MAKEINFO"; then
80889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80890 $as_echo "$MAKEINFO" >&6; }
80891 else
80892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80893 $as_echo "no" >&6; }
80894 fi
80895
80896
80897 if test -n "$MAKEINFO"; then
80898 # Found it, now check the version.
80899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80900 $as_echo_n "checking for modern makeinfo... " >&6; }
80901 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80902 $as_echo_n "(cached) " >&6
80903 else
80904 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80905 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80906
80907 case $ac_prog_version in
80908 '') gcc_cv_prog_makeinfo_modern=no;;
80909 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80910 *) gcc_cv_prog_makeinfo_modern=no;;
80911 esac
80912
80913 fi
80914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80915 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80916 else
80917 gcc_cv_prog_makeinfo_modern=no
80918 fi
80919 if test $gcc_cv_prog_makeinfo_modern = no; then
80920 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80921 fi
80922
80923 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80924 BUILD_INFO_TRUE=
80925 BUILD_INFO_FALSE='#'
80926 else
80927 BUILD_INFO_TRUE='#'
80928 BUILD_INFO_FALSE=
80929 fi
80930
80931
80932 # Check for doxygen
80933 # Extract the first word of "doxygen", so it can be a program name with args.
80934 set dummy doxygen; ac_word=$2
80935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80936 $as_echo_n "checking for $ac_word... " >&6; }
80937 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80938 $as_echo_n "(cached) " >&6
80939 else
80940 if test -n "$DOXYGEN"; then
80941 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80942 else
80943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80944 for as_dir in $PATH
80945 do
80946 IFS=$as_save_IFS
80947 test -z "$as_dir" && as_dir=.
80948 for ac_exec_ext in '' $ac_executable_extensions; do
80949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80950 ac_cv_prog_DOXYGEN="yes"
80951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80952 break 2
80953 fi
80954 done
80955 done
80956 IFS=$as_save_IFS
80957
80958 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80959 fi
80960 fi
80961 DOXYGEN=$ac_cv_prog_DOXYGEN
80962 if test -n "$DOXYGEN"; then
80963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80964 $as_echo "$DOXYGEN" >&6; }
80965 else
80966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80967 $as_echo "no" >&6; }
80968 fi
80969
80970
80971 # Extract the first word of "dot", so it can be a program name with args.
80972 set dummy dot; ac_word=$2
80973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80974 $as_echo_n "checking for $ac_word... " >&6; }
80975 if test "${ac_cv_prog_DOT+set}" = set; then :
80976 $as_echo_n "(cached) " >&6
80977 else
80978 if test -n "$DOT"; then
80979 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80980 else
80981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80982 for as_dir in $PATH
80983 do
80984 IFS=$as_save_IFS
80985 test -z "$as_dir" && as_dir=.
80986 for ac_exec_ext in '' $ac_executable_extensions; do
80987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80988 ac_cv_prog_DOT="yes"
80989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80990 break 2
80991 fi
80992 done
80993 done
80994 IFS=$as_save_IFS
80995
80996 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80997 fi
80998 fi
80999 DOT=$ac_cv_prog_DOT
81000 if test -n "$DOT"; then
81001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81002 $as_echo "$DOT" >&6; }
81003 else
81004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81005 $as_echo "no" >&6; }
81006 fi
81007
81008
81009
81010 # Check for docbook
81011 # Extract the first word of "xsltproc", so it can be a program name with args.
81012 set dummy xsltproc; ac_word=$2
81013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81014 $as_echo_n "checking for $ac_word... " >&6; }
81015 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
81016 $as_echo_n "(cached) " >&6
81017 else
81018 if test -n "$XSLTPROC"; then
81019 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81020 else
81021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81022 for as_dir in $PATH
81023 do
81024 IFS=$as_save_IFS
81025 test -z "$as_dir" && as_dir=.
81026 for ac_exec_ext in '' $ac_executable_extensions; do
81027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81028 ac_cv_prog_XSLTPROC="yes"
81029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81030 break 2
81031 fi
81032 done
81033 done
81034 IFS=$as_save_IFS
81035
81036 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81037 fi
81038 fi
81039 XSLTPROC=$ac_cv_prog_XSLTPROC
81040 if test -n "$XSLTPROC"; then
81041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81042 $as_echo "$XSLTPROC" >&6; }
81043 else
81044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81045 $as_echo "no" >&6; }
81046 fi
81047
81048
81049 # Extract the first word of "xmllint", so it can be a program name with args.
81050 set dummy xmllint; ac_word=$2
81051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81052 $as_echo_n "checking for $ac_word... " >&6; }
81053 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
81054 $as_echo_n "(cached) " >&6
81055 else
81056 if test -n "$XMLLINT"; then
81057 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81058 else
81059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81060 for as_dir in $PATH
81061 do
81062 IFS=$as_save_IFS
81063 test -z "$as_dir" && as_dir=.
81064 for ac_exec_ext in '' $ac_executable_extensions; do
81065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81066 ac_cv_prog_XMLLINT="yes"
81067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81068 break 2
81069 fi
81070 done
81071 done
81072 IFS=$as_save_IFS
81073
81074 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81075 fi
81076 fi
81077 XMLLINT=$ac_cv_prog_XMLLINT
81078 if test -n "$XMLLINT"; then
81079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81080 $as_echo "$XMLLINT" >&6; }
81081 else
81082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81083 $as_echo "no" >&6; }
81084 fi
81085
81086
81087
81088
81089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81090 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81091 glibcxx_stylesheets=no
81092 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
81093 glibcxx_stylesheets=yes
81094 fi
81095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81096 $as_echo "$glibcxx_stylesheets" >&6; }
81097
81098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81099 $as_echo_n "checking for local stylesheet directory... " >&6; }
81100 glibcxx_local_stylesheets=no
81101 if test x"$glibcxx_stylesheets" = x"yes"; then
81102 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81103 glibcxx_local_stylesheets=yes
81104 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81105 fi
81106 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81107 glibcxx_local_stylesheets=yes
81108 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81109 fi
81110 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81111 glibcxx_local_stylesheets=yes
81112 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81113 fi
81114 fi
81115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81116 $as_echo "$glibcxx_local_stylesheets" >&6; }
81117
81118 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81119
81120 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81121 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81122 else
81123 glibcxx_stylesheets=no
81124 fi
81125
81126 # Check for epub3 dependencies.
81127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81128 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81129 glibcxx_epub_stylesheets=no
81130 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81131 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81132 glibcxx_epub_stylesheets=yes
81133 fi
81134 fi
81135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81136 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81137 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81138 BUILD_EPUB_TRUE=
81139 BUILD_EPUB_FALSE='#'
81140 else
81141 BUILD_EPUB_TRUE='#'
81142 BUILD_EPUB_FALSE=
81143 fi
81144
81145
81146
81147
81148 # Check for xml/html dependencies.
81149 if test $ac_cv_prog_DOXYGEN = "yes" &&
81150 test $ac_cv_prog_DOT = "yes" &&
81151 test $ac_cv_prog_XSLTPROC = "yes" &&
81152 test $ac_cv_prog_XMLLINT = "yes" &&
81153 test $glibcxx_stylesheets = "yes"; then
81154 BUILD_XML_TRUE=
81155 BUILD_XML_FALSE='#'
81156 else
81157 BUILD_XML_TRUE='#'
81158 BUILD_XML_FALSE=
81159 fi
81160
81161
81162 if test $ac_cv_prog_DOXYGEN = "yes" &&
81163 test $ac_cv_prog_DOT = "yes" &&
81164 test $ac_cv_prog_XSLTPROC = "yes" &&
81165 test $ac_cv_prog_XMLLINT = "yes" &&
81166 test $glibcxx_stylesheets = "yes"; then
81167 BUILD_HTML_TRUE=
81168 BUILD_HTML_FALSE='#'
81169 else
81170 BUILD_HTML_TRUE='#'
81171 BUILD_HTML_FALSE=
81172 fi
81173
81174
81175 # Check for man dependencies.
81176 if test $ac_cv_prog_DOXYGEN = "yes" &&
81177 test $ac_cv_prog_DOT = "yes"; then
81178 BUILD_MAN_TRUE=
81179 BUILD_MAN_FALSE='#'
81180 else
81181 BUILD_MAN_TRUE='#'
81182 BUILD_MAN_FALSE=
81183 fi
81184
81185
81186 # Check for pdf dependencies.
81187 # Extract the first word of "dblatex", so it can be a program name with args.
81188 set dummy dblatex; ac_word=$2
81189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81190 $as_echo_n "checking for $ac_word... " >&6; }
81191 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81192 $as_echo_n "(cached) " >&6
81193 else
81194 if test -n "$DBLATEX"; then
81195 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81196 else
81197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81198 for as_dir in $PATH
81199 do
81200 IFS=$as_save_IFS
81201 test -z "$as_dir" && as_dir=.
81202 for ac_exec_ext in '' $ac_executable_extensions; do
81203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81204 ac_cv_prog_DBLATEX="yes"
81205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81206 break 2
81207 fi
81208 done
81209 done
81210 IFS=$as_save_IFS
81211
81212 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81213 fi
81214 fi
81215 DBLATEX=$ac_cv_prog_DBLATEX
81216 if test -n "$DBLATEX"; then
81217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81218 $as_echo "$DBLATEX" >&6; }
81219 else
81220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81221 $as_echo "no" >&6; }
81222 fi
81223
81224
81225 # Extract the first word of "pdflatex", so it can be a program name with args.
81226 set dummy pdflatex; ac_word=$2
81227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81228 $as_echo_n "checking for $ac_word... " >&6; }
81229 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81230 $as_echo_n "(cached) " >&6
81231 else
81232 if test -n "$PDFLATEX"; then
81233 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81234 else
81235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81236 for as_dir in $PATH
81237 do
81238 IFS=$as_save_IFS
81239 test -z "$as_dir" && as_dir=.
81240 for ac_exec_ext in '' $ac_executable_extensions; do
81241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81242 ac_cv_prog_PDFLATEX="yes"
81243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81244 break 2
81245 fi
81246 done
81247 done
81248 IFS=$as_save_IFS
81249
81250 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81251 fi
81252 fi
81253 PDFLATEX=$ac_cv_prog_PDFLATEX
81254 if test -n "$PDFLATEX"; then
81255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81256 $as_echo "$PDFLATEX" >&6; }
81257 else
81258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81259 $as_echo "no" >&6; }
81260 fi
81261
81262
81263 if test $ac_cv_prog_DBLATEX = "yes" &&
81264 test $ac_cv_prog_PDFLATEX = "yes"; then
81265 BUILD_PDF_TRUE=
81266 BUILD_PDF_FALSE='#'
81267 else
81268 BUILD_PDF_TRUE='#'
81269 BUILD_PDF_FALSE=
81270 fi
81271
81272
81273 case "$build" in
81274 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81275 * ) glibcxx_include_dir_notparallel=no ;;
81276 esac
81277 if test $glibcxx_include_dir_notparallel = "yes"; then
81278 INCLUDE_DIR_NOTPARALLEL_TRUE=
81279 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81280 else
81281 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81282 INCLUDE_DIR_NOTPARALLEL_FALSE=
81283 fi
81284
81285
81286 # Propagate the target-specific source directories through the build chain.
81287 ATOMICITY_SRCDIR=config/${atomicity_dir}
81288 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81289 ATOMIC_FLAGS=${atomic_flags}
81290 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81291 OS_INC_SRCDIR=config/${os_include_dir}
81292 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81293 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81294 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81295 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81296
81297
81298
81299
81300
81301
81302
81303
81304
81305
81306
81307 # Add CET specific flags if Intel CET is enabled.
81308 # Check whether --enable-cet was given.
81309 if test "${enable_cet+set}" = set; then :
81310 enableval=$enable_cet;
81311 case "$enableval" in
81312 yes|no|auto) ;;
81313 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81314 esac
81315
81316 else
81317 enable_cet=no
81318 fi
81319
81320
81321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81322 $as_echo_n "checking for CET support... " >&6; }
81323
81324 case "$host" in
81325 i[34567]86-*-linux* | x86_64-*-linux*)
81326 case "$enable_cet" in
81327 auto)
81328 # Check if target supports multi-byte NOPs
81329 # and if assembler supports CET insn.
81330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81331 /* end confdefs.h. */
81332
81333 int
81334 main ()
81335 {
81336
81337 #if !defined(__SSE2__)
81338 #error target does not support multi-byte NOPs
81339 #else
81340 asm ("setssbsy");
81341 #endif
81342
81343 ;
81344 return 0;
81345 }
81346 _ACEOF
81347 if ac_fn_c_try_compile "$LINENO"; then :
81348 enable_cet=yes
81349 else
81350 enable_cet=no
81351 fi
81352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81353 ;;
81354 yes)
81355 # Check if assembler supports CET.
81356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81357 /* end confdefs.h. */
81358
81359 int
81360 main ()
81361 {
81362 asm ("setssbsy");
81363 ;
81364 return 0;
81365 }
81366 _ACEOF
81367 if ac_fn_c_try_compile "$LINENO"; then :
81368
81369 else
81370 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81371 fi
81372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81373 ;;
81374 esac
81375 ;;
81376 *)
81377 enable_cet=no
81378 ;;
81379 esac
81380 if test x$enable_cet = xyes; then
81381 CET_FLAGS="-fcf-protection -mshstk"
81382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81383 $as_echo "yes" >&6; }
81384 else
81385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81386 $as_echo "no" >&6; }
81387 fi
81388
81389 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81390 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81391
81392
81393
81394 # Determine cross-compile flags and AM_CONDITIONALs.
81395 #AC_SUBST(GLIBCXX_IS_NATIVE)
81396 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81397 if test $is_hosted = yes; then
81398 GLIBCXX_HOSTED_TRUE=
81399 GLIBCXX_HOSTED_FALSE='#'
81400 else
81401 GLIBCXX_HOSTED_TRUE='#'
81402 GLIBCXX_HOSTED_FALSE=
81403 fi
81404
81405
81406 if test $enable_libstdcxx_pch = yes; then
81407 GLIBCXX_BUILD_PCH_TRUE=
81408 GLIBCXX_BUILD_PCH_FALSE='#'
81409 else
81410 GLIBCXX_BUILD_PCH_TRUE='#'
81411 GLIBCXX_BUILD_PCH_FALSE=
81412 fi
81413
81414
81415 if test $enable_float128 = yes; then
81416 ENABLE_FLOAT128_TRUE=
81417 ENABLE_FLOAT128_FALSE='#'
81418 else
81419 ENABLE_FLOAT128_TRUE='#'
81420 ENABLE_FLOAT128_FALSE=
81421 fi
81422
81423
81424 if test $enable_libstdcxx_allocator_flag = new; then
81425 ENABLE_ALLOCATOR_NEW_TRUE=
81426 ENABLE_ALLOCATOR_NEW_FALSE='#'
81427 else
81428 ENABLE_ALLOCATOR_NEW_TRUE='#'
81429 ENABLE_ALLOCATOR_NEW_FALSE=
81430 fi
81431
81432
81433 if test $enable_cheaders = c; then
81434 GLIBCXX_C_HEADERS_C_TRUE=
81435 GLIBCXX_C_HEADERS_C_FALSE='#'
81436 else
81437 GLIBCXX_C_HEADERS_C_TRUE='#'
81438 GLIBCXX_C_HEADERS_C_FALSE=
81439 fi
81440
81441
81442 if test $enable_cheaders = c_std; then
81443 GLIBCXX_C_HEADERS_C_STD_TRUE=
81444 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81445 else
81446 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81447 GLIBCXX_C_HEADERS_C_STD_FALSE=
81448 fi
81449
81450
81451 if test $enable_cheaders = c_global; then
81452 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81453 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81454 else
81455 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81456 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81457 fi
81458
81459
81460 if test $c_compatibility = yes; then
81461 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81462 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81463 else
81464 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81465 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81466 fi
81467
81468
81469 if test $enable_libstdcxx_debug = yes; then
81470 GLIBCXX_BUILD_DEBUG_TRUE=
81471 GLIBCXX_BUILD_DEBUG_FALSE='#'
81472 else
81473 GLIBCXX_BUILD_DEBUG_TRUE='#'
81474 GLIBCXX_BUILD_DEBUG_FALSE=
81475 fi
81476
81477
81478 if test $enable_extern_template = yes; then
81479 ENABLE_EXTERN_TEMPLATE_TRUE=
81480 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81481 else
81482 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81483 ENABLE_EXTERN_TEMPLATE_FALSE=
81484 fi
81485
81486
81487 if test $python_mod_dir != no; then
81488 ENABLE_PYTHONDIR_TRUE=
81489 ENABLE_PYTHONDIR_FALSE='#'
81490 else
81491 ENABLE_PYTHONDIR_TRUE='#'
81492 ENABLE_PYTHONDIR_FALSE=
81493 fi
81494
81495
81496 if test $enable_werror = yes; then
81497 ENABLE_WERROR_TRUE=
81498 ENABLE_WERROR_FALSE='#'
81499 else
81500 ENABLE_WERROR_TRUE='#'
81501 ENABLE_WERROR_FALSE=
81502 fi
81503
81504
81505 if test $enable_vtable_verify = yes; then
81506 ENABLE_VTABLE_VERIFY_TRUE=
81507 ENABLE_VTABLE_VERIFY_FALSE='#'
81508 else
81509 ENABLE_VTABLE_VERIFY_TRUE='#'
81510 ENABLE_VTABLE_VERIFY_FALSE=
81511 fi
81512
81513
81514 if test $enable_symvers != no; then
81515 ENABLE_SYMVERS_TRUE=
81516 ENABLE_SYMVERS_FALSE='#'
81517 else
81518 ENABLE_SYMVERS_TRUE='#'
81519 ENABLE_SYMVERS_FALSE=
81520 fi
81521
81522
81523 if test $enable_symvers = gnu; then
81524 ENABLE_SYMVERS_GNU_TRUE=
81525 ENABLE_SYMVERS_GNU_FALSE='#'
81526 else
81527 ENABLE_SYMVERS_GNU_TRUE='#'
81528 ENABLE_SYMVERS_GNU_FALSE=
81529 fi
81530
81531
81532 if test $enable_symvers = gnu-versioned-namespace; then
81533 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81534 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81535 else
81536 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81537 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81538 fi
81539
81540
81541 if test $enable_symvers = darwin; then
81542 ENABLE_SYMVERS_DARWIN_TRUE=
81543 ENABLE_SYMVERS_DARWIN_FALSE='#'
81544 else
81545 ENABLE_SYMVERS_DARWIN_TRUE='#'
81546 ENABLE_SYMVERS_DARWIN_FALSE=
81547 fi
81548
81549
81550 if test $enable_symvers = sun; then
81551 ENABLE_SYMVERS_SUN_TRUE=
81552 ENABLE_SYMVERS_SUN_FALSE='#'
81553 else
81554 ENABLE_SYMVERS_SUN_TRUE='#'
81555 ENABLE_SYMVERS_SUN_FALSE=
81556 fi
81557
81558
81559 if test $enable_libstdcxx_visibility = yes; then
81560 ENABLE_VISIBILITY_TRUE=
81561 ENABLE_VISIBILITY_FALSE='#'
81562 else
81563 ENABLE_VISIBILITY_TRUE='#'
81564 ENABLE_VISIBILITY_FALSE=
81565 fi
81566
81567
81568 if test $enable_libstdcxx_dual_abi = yes; then
81569 ENABLE_DUAL_ABI_TRUE=
81570 ENABLE_DUAL_ABI_FALSE='#'
81571 else
81572 ENABLE_DUAL_ABI_TRUE='#'
81573 ENABLE_DUAL_ABI_FALSE=
81574 fi
81575
81576
81577 if test $glibcxx_cxx11_abi = 1; then
81578 ENABLE_CXX11_ABI_TRUE=
81579 ENABLE_CXX11_ABI_FALSE='#'
81580 else
81581 ENABLE_CXX11_ABI_TRUE='#'
81582 ENABLE_CXX11_ABI_FALSE=
81583 fi
81584
81585
81586 if test $ac_ldbl_compat = yes; then
81587 GLIBCXX_LDBL_COMPAT_TRUE=
81588 GLIBCXX_LDBL_COMPAT_FALSE='#'
81589 else
81590 GLIBCXX_LDBL_COMPAT_TRUE='#'
81591 GLIBCXX_LDBL_COMPAT_FALSE=
81592 fi
81593
81594
81595 if test $enable_libstdcxx_filesystem_ts = yes; then
81596 ENABLE_FILESYSTEM_TS_TRUE=
81597 ENABLE_FILESYSTEM_TS_FALSE='#'
81598 else
81599 ENABLE_FILESYSTEM_TS_TRUE='#'
81600 ENABLE_FILESYSTEM_TS_FALSE=
81601 fi
81602
81603
81604
81605
81606 cat >confcache <<\_ACEOF
81607 # This file is a shell script that caches the results of configure
81608 # tests run on this system so they can be shared between configure
81609 # scripts and configure runs, see configure's option --config-cache.
81610 # It is not useful on other systems. If it contains results you don't
81611 # want to keep, you may remove or edit it.
81612 #
81613 # config.status only pays attention to the cache file if you give it
81614 # the --recheck option to rerun configure.
81615 #
81616 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81617 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81618 # following values.
81619
81620 _ACEOF
81621
81622 # The following way of writing the cache mishandles newlines in values,
81623 # but we know of no workaround that is simple, portable, and efficient.
81624 # So, we kill variables containing newlines.
81625 # Ultrix sh set writes to stderr and can't be redirected directly,
81626 # and sets the high bit in the cache file unless we assign to the vars.
81627 (
81628 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81629 eval ac_val=\$$ac_var
81630 case $ac_val in #(
81631 *${as_nl}*)
81632 case $ac_var in #(
81633 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81634 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81635 esac
81636 case $ac_var in #(
81637 _ | IFS | as_nl) ;; #(
81638 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81639 *) { eval $ac_var=; unset $ac_var;} ;;
81640 esac ;;
81641 esac
81642 done
81643
81644 (set) 2>&1 |
81645 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81646 *${as_nl}ac_space=\ *)
81647 # `set' does not quote correctly, so add quotes: double-quote
81648 # substitution turns \\\\ into \\, and sed turns \\ into \.
81649 sed -n \
81650 "s/'/'\\\\''/g;
81651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81652 ;; #(
81653 *)
81654 # `set' quotes correctly as required by POSIX, so do not add quotes.
81655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81656 ;;
81657 esac |
81658 sort
81659 ) |
81660 sed '
81661 /^ac_cv_env_/b end
81662 t clear
81663 :clear
81664 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81665 t end
81666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81667 :end' >>confcache
81668 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81669 if test -w "$cache_file"; then
81670 test "x$cache_file" != "x/dev/null" &&
81671 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81672 $as_echo "$as_me: updating cache $cache_file" >&6;}
81673 cat confcache >$cache_file
81674 else
81675 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81676 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81677 fi
81678 fi
81679 rm -f confcache
81680
81681 if test ${multilib} = yes; then
81682 multilib_arg="--enable-multilib"
81683 else
81684 multilib_arg=
81685 fi
81686
81687 # Export all the install information.
81688
81689 glibcxx_toolexecdir=no
81690 glibcxx_toolexeclibdir=no
81691 glibcxx_prefixdir=$prefix
81692
81693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81694 $as_echo_n "checking for gxx-include-dir... " >&6; }
81695
81696 # Check whether --with-gxx-include-dir was given.
81697 if test "${with_gxx_include_dir+set}" = set; then :
81698 withval=$with_gxx_include_dir; case "$withval" in
81699 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81700 no) gxx_include_dir=no ;;
81701 *) gxx_include_dir=$withval ;;
81702 esac
81703 else
81704 gxx_include_dir=no
81705 fi
81706
81707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81708 $as_echo "$gxx_include_dir" >&6; }
81709
81710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81711 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81712 # Check whether --enable-version-specific-runtime-libs was given.
81713 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81714 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81715 yes) version_specific_libs=yes ;;
81716 no) version_specific_libs=no ;;
81717 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81718 esac
81719 else
81720 version_specific_libs=no
81721 fi
81722
81723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81724 $as_echo "$version_specific_libs" >&6; }
81725
81726 # Default case for install directory for include files.
81727 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81728 gxx_include_dir='include/c++/${gcc_version}'
81729 if test -n "$with_cross_host" &&
81730 test x"$with_cross_host" != x"no"; then
81731 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81732 else
81733 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81734 fi
81735 fi
81736
81737 # Version-specific runtime libs processing.
81738 if test $version_specific_libs = yes; then
81739 # Need the gcc compiler version to know where to install libraries
81740 # and header files if --enable-version-specific-runtime-libs option
81741 # is selected. FIXME: these variables are misnamed, there are
81742 # no executables installed in _toolexecdir or _toolexeclibdir.
81743 if test x"$gxx_include_dir" = x"no"; then
81744 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81745 fi
81746 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81747 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81748 fi
81749
81750 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81751 # Install a library built with a cross compiler in tooldir, not libdir.
81752 if test x"$glibcxx_toolexecdir" = x"no"; then
81753 if test -n "$with_cross_host" &&
81754 test x"$with_cross_host" != x"no"; then
81755 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81756 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81757 else
81758 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81759 glibcxx_toolexeclibdir='${libdir}'
81760 fi
81761 multi_os_directory=`$CXX -print-multi-os-directory`
81762 case $multi_os_directory in
81763 .) ;; # Avoid trailing /.
81764 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81765 esac
81766 fi
81767
81768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81769 $as_echo_n "checking for install location... " >&6; }
81770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81771 $as_echo "$gxx_include_dir" >&6; }
81772
81773
81774
81775
81776
81777
81778
81779 # Export all the include and flag information to Makefiles.
81780
81781 # Used for every C++ compile we perform.
81782 GLIBCXX_INCLUDES="\
81783 -I$glibcxx_builddir/include/$host_alias \
81784 -I$glibcxx_builddir/include \
81785 -I$glibcxx_srcdir/libsupc++"
81786
81787 # For Canadian crosses, pick this up too.
81788 if test $CANADIAN = yes; then
81789 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81790 fi
81791
81792 # Stuff in the actual top level. Currently only used by libsupc++ to
81793 # get unwind* headers from the libgcc dir.
81794 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81795 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81796
81797 # Now, export this to all the little Makefiles....
81798
81799
81800
81801
81802 # Optimization flags that are probably a good idea for thrill-seekers. Just
81803 # uncomment the lines below and make, everything else is ready to go...
81804 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81805 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81806
81807
81808 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
81809
81810
81811
81812 # Determine what GCC version number to use in filesystem paths.
81813
81814 get_gcc_base_ver="cat"
81815
81816 # Check whether --with-gcc-major-version-only was given.
81817 if test "${with_gcc_major_version_only+set}" = set; then :
81818 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81819 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
81820 fi
81821
81822 fi
81823
81824
81825
81826
81827 ac_config_files="$ac_config_files Makefile"
81828
81829 ac_config_files="$ac_config_files scripts/testsuite_flags"
81830
81831 ac_config_files="$ac_config_files scripts/extract_symvers"
81832
81833 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81834
81835
81836 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81837 # that multilib installs will end up installed in the correct place.
81838 # The testsuite needs it for multilib-aware ABI baseline files.
81839 # To work around this not being passed down from config-ml.in ->
81840 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81841 # append it here. Only modify Makefiles that have just been created.
81842 #
81843 # Also, get rid of this simulated-VPATH thing that automake does.
81844 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81845
81846
81847 ac_config_commands="$ac_config_commands generate-headers"
81848
81849
81850 cat >confcache <<\_ACEOF
81851 # This file is a shell script that caches the results of configure
81852 # tests run on this system so they can be shared between configure
81853 # scripts and configure runs, see configure's option --config-cache.
81854 # It is not useful on other systems. If it contains results you don't
81855 # want to keep, you may remove or edit it.
81856 #
81857 # config.status only pays attention to the cache file if you give it
81858 # the --recheck option to rerun configure.
81859 #
81860 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81861 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81862 # following values.
81863
81864 _ACEOF
81865
81866 # The following way of writing the cache mishandles newlines in values,
81867 # but we know of no workaround that is simple, portable, and efficient.
81868 # So, we kill variables containing newlines.
81869 # Ultrix sh set writes to stderr and can't be redirected directly,
81870 # and sets the high bit in the cache file unless we assign to the vars.
81871 (
81872 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81873 eval ac_val=\$$ac_var
81874 case $ac_val in #(
81875 *${as_nl}*)
81876 case $ac_var in #(
81877 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81878 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81879 esac
81880 case $ac_var in #(
81881 _ | IFS | as_nl) ;; #(
81882 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81883 *) { eval $ac_var=; unset $ac_var;} ;;
81884 esac ;;
81885 esac
81886 done
81887
81888 (set) 2>&1 |
81889 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81890 *${as_nl}ac_space=\ *)
81891 # `set' does not quote correctly, so add quotes: double-quote
81892 # substitution turns \\\\ into \\, and sed turns \\ into \.
81893 sed -n \
81894 "s/'/'\\\\''/g;
81895 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81896 ;; #(
81897 *)
81898 # `set' quotes correctly as required by POSIX, so do not add quotes.
81899 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81900 ;;
81901 esac |
81902 sort
81903 ) |
81904 sed '
81905 /^ac_cv_env_/b end
81906 t clear
81907 :clear
81908 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81909 t end
81910 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81911 :end' >>confcache
81912 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81913 if test -w "$cache_file"; then
81914 test "x$cache_file" != "x/dev/null" &&
81915 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81916 $as_echo "$as_me: updating cache $cache_file" >&6;}
81917 cat confcache >$cache_file
81918 else
81919 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81920 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81921 fi
81922 fi
81923 rm -f confcache
81924
81925 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81926 # Let make expand exec_prefix.
81927 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81928
81929 DEFS=-DHAVE_CONFIG_H
81930
81931 ac_libobjs=
81932 ac_ltlibobjs=
81933 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81934 # 1. Remove the extension, and $U if already installed.
81935 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81936 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81937 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81938 # will be set to the directory where LIBOBJS objects are built.
81939 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81940 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81941 done
81942 LIBOBJS=$ac_libobjs
81943
81944 LTLIBOBJS=$ac_ltlibobjs
81945
81946
81947 if test -n "$EXEEXT"; then
81948 am__EXEEXT_TRUE=
81949 am__EXEEXT_FALSE='#'
81950 else
81951 am__EXEEXT_TRUE='#'
81952 am__EXEEXT_FALSE=
81953 fi
81954
81955 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81956 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81958 fi
81959 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81960 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81962 fi
81963 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81964 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81966 fi
81967 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
81968 as_fn_error "conditional \"ENABLE_FLOAT128\" was never defined.
81969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81970 fi
81971 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81972 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81974 fi
81975 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81976 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81978 fi
81979 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81980 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81982 fi
81983 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81984 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81986 fi
81987 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81988 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81990 fi
81991 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81992 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81994 fi
81995 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81996 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81998 fi
81999 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82000 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
82001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82002 fi
82003 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82004 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
82005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82006 fi
82007 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82008 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
82009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82010 fi
82011 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82012 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82014 fi
82015 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82016 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
82017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82018 fi
82019 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82020 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82022 fi
82023 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82024 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82026 fi
82027 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82028 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82030 fi
82031 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82032 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82034 fi
82035 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82036 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
82037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82038 fi
82039 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82040 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
82041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82042 fi
82043 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82044 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
82045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82046 fi
82047 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82048 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82050 fi
82051 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82052 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82054 fi
82055 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82056 as_fn_error "conditional \"BUILD_INFO\" was never defined.
82057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82058 fi
82059 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82060 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
82061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82062 fi
82063 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82064 as_fn_error "conditional \"BUILD_XML\" was never defined.
82065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82066 fi
82067 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82068 as_fn_error "conditional \"BUILD_HTML\" was never defined.
82069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82070 fi
82071 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82072 as_fn_error "conditional \"BUILD_MAN\" was never defined.
82073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82074 fi
82075 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82076 as_fn_error "conditional \"BUILD_PDF\" was never defined.
82077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82078 fi
82079 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82080 as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82082 fi
82083
82084 : ${CONFIG_STATUS=./config.status}
82085 ac_write_fail=0
82086 ac_clean_files_save=$ac_clean_files
82087 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82088 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82089 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82090 as_write_fail=0
82091 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82092 #! $SHELL
82093 # Generated by $as_me.
82094 # Run this file to recreate the current configuration.
82095 # Compiler output produced by configure, useful for debugging
82096 # configure, is in config.log if it exists.
82097
82098 debug=false
82099 ac_cs_recheck=false
82100 ac_cs_silent=false
82101
82102 SHELL=\${CONFIG_SHELL-$SHELL}
82103 export SHELL
82104 _ASEOF
82105 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82106 ## -------------------- ##
82107 ## M4sh Initialization. ##
82108 ## -------------------- ##
82109
82110 # Be more Bourne compatible
82111 DUALCASE=1; export DUALCASE # for MKS sh
82112 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82113 emulate sh
82114 NULLCMD=:
82115 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82116 # is contrary to our usage. Disable this feature.
82117 alias -g '${1+"$@"}'='"$@"'
82118 setopt NO_GLOB_SUBST
82119 else
82120 case `(set -o) 2>/dev/null` in #(
82121 *posix*) :
82122 set -o posix ;; #(
82123 *) :
82124 ;;
82125 esac
82126 fi
82127
82128
82129 as_nl='
82130 '
82131 export as_nl
82132 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82133 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82134 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82135 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82136 # Prefer a ksh shell builtin over an external printf program on Solaris,
82137 # but without wasting forks for bash or zsh.
82138 if test -z "$BASH_VERSION$ZSH_VERSION" \
82139 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82140 as_echo='print -r --'
82141 as_echo_n='print -rn --'
82142 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82143 as_echo='printf %s\n'
82144 as_echo_n='printf %s'
82145 else
82146 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82147 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82148 as_echo_n='/usr/ucb/echo -n'
82149 else
82150 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82151 as_echo_n_body='eval
82152 arg=$1;
82153 case $arg in #(
82154 *"$as_nl"*)
82155 expr "X$arg" : "X\\(.*\\)$as_nl";
82156 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82157 esac;
82158 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82159 '
82160 export as_echo_n_body
82161 as_echo_n='sh -c $as_echo_n_body as_echo'
82162 fi
82163 export as_echo_body
82164 as_echo='sh -c $as_echo_body as_echo'
82165 fi
82166
82167 # The user is always right.
82168 if test "${PATH_SEPARATOR+set}" != set; then
82169 PATH_SEPARATOR=:
82170 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82171 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82172 PATH_SEPARATOR=';'
82173 }
82174 fi
82175
82176
82177 # IFS
82178 # We need space, tab and new line, in precisely that order. Quoting is
82179 # there to prevent editors from complaining about space-tab.
82180 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82181 # splitting by setting IFS to empty value.)
82182 IFS=" "" $as_nl"
82183
82184 # Find who we are. Look in the path if we contain no directory separator.
82185 case $0 in #((
82186 *[\\/]* ) as_myself=$0 ;;
82187 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82188 for as_dir in $PATH
82189 do
82190 IFS=$as_save_IFS
82191 test -z "$as_dir" && as_dir=.
82192 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82193 done
82194 IFS=$as_save_IFS
82195
82196 ;;
82197 esac
82198 # We did not find ourselves, most probably we were run as `sh COMMAND'
82199 # in which case we are not to be found in the path.
82200 if test "x$as_myself" = x; then
82201 as_myself=$0
82202 fi
82203 if test ! -f "$as_myself"; then
82204 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82205 exit 1
82206 fi
82207
82208 # Unset variables that we do not need and which cause bugs (e.g. in
82209 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82210 # suppresses any "Segmentation fault" message there. '((' could
82211 # trigger a bug in pdksh 5.2.14.
82212 for as_var in BASH_ENV ENV MAIL MAILPATH
82213 do eval test x\${$as_var+set} = xset \
82214 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82215 done
82216 PS1='$ '
82217 PS2='> '
82218 PS4='+ '
82219
82220 # NLS nuisances.
82221 LC_ALL=C
82222 export LC_ALL
82223 LANGUAGE=C
82224 export LANGUAGE
82225
82226 # CDPATH.
82227 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82228
82229
82230 # as_fn_error ERROR [LINENO LOG_FD]
82231 # ---------------------------------
82232 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82233 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82234 # script with status $?, using 1 if that was 0.
82235 as_fn_error ()
82236 {
82237 as_status=$?; test $as_status -eq 0 && as_status=1
82238 if test "$3"; then
82239 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82240 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82241 fi
82242 $as_echo "$as_me: error: $1" >&2
82243 as_fn_exit $as_status
82244 } # as_fn_error
82245
82246
82247 # as_fn_set_status STATUS
82248 # -----------------------
82249 # Set $? to STATUS, without forking.
82250 as_fn_set_status ()
82251 {
82252 return $1
82253 } # as_fn_set_status
82254
82255 # as_fn_exit STATUS
82256 # -----------------
82257 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82258 as_fn_exit ()
82259 {
82260 set +e
82261 as_fn_set_status $1
82262 exit $1
82263 } # as_fn_exit
82264
82265 # as_fn_unset VAR
82266 # ---------------
82267 # Portably unset VAR.
82268 as_fn_unset ()
82269 {
82270 { eval $1=; unset $1;}
82271 }
82272 as_unset=as_fn_unset
82273 # as_fn_append VAR VALUE
82274 # ----------------------
82275 # Append the text in VALUE to the end of the definition contained in VAR. Take
82276 # advantage of any shell optimizations that allow amortized linear growth over
82277 # repeated appends, instead of the typical quadratic growth present in naive
82278 # implementations.
82279 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82280 eval 'as_fn_append ()
82281 {
82282 eval $1+=\$2
82283 }'
82284 else
82285 as_fn_append ()
82286 {
82287 eval $1=\$$1\$2
82288 }
82289 fi # as_fn_append
82290
82291 # as_fn_arith ARG...
82292 # ------------------
82293 # Perform arithmetic evaluation on the ARGs, and store the result in the
82294 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82295 # must be portable across $(()) and expr.
82296 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82297 eval 'as_fn_arith ()
82298 {
82299 as_val=$(( $* ))
82300 }'
82301 else
82302 as_fn_arith ()
82303 {
82304 as_val=`expr "$@" || test $? -eq 1`
82305 }
82306 fi # as_fn_arith
82307
82308
82309 if expr a : '\(a\)' >/dev/null 2>&1 &&
82310 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82311 as_expr=expr
82312 else
82313 as_expr=false
82314 fi
82315
82316 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82317 as_basename=basename
82318 else
82319 as_basename=false
82320 fi
82321
82322 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82323 as_dirname=dirname
82324 else
82325 as_dirname=false
82326 fi
82327
82328 as_me=`$as_basename -- "$0" ||
82329 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82330 X"$0" : 'X\(//\)$' \| \
82331 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82332 $as_echo X/"$0" |
82333 sed '/^.*\/\([^/][^/]*\)\/*$/{
82334 s//\1/
82335 q
82336 }
82337 /^X\/\(\/\/\)$/{
82338 s//\1/
82339 q
82340 }
82341 /^X\/\(\/\).*/{
82342 s//\1/
82343 q
82344 }
82345 s/.*/./; q'`
82346
82347 # Avoid depending upon Character Ranges.
82348 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82349 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82350 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82351 as_cr_digits='0123456789'
82352 as_cr_alnum=$as_cr_Letters$as_cr_digits
82353
82354 ECHO_C= ECHO_N= ECHO_T=
82355 case `echo -n x` in #(((((
82356 -n*)
82357 case `echo 'xy\c'` in
82358 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82359 xy) ECHO_C='\c';;
82360 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82361 ECHO_T=' ';;
82362 esac;;
82363 *)
82364 ECHO_N='-n';;
82365 esac
82366
82367 rm -f conf$$ conf$$.exe conf$$.file
82368 if test -d conf$$.dir; then
82369 rm -f conf$$.dir/conf$$.file
82370 else
82371 rm -f conf$$.dir
82372 mkdir conf$$.dir 2>/dev/null
82373 fi
82374 if (echo >conf$$.file) 2>/dev/null; then
82375 if ln -s conf$$.file conf$$ 2>/dev/null; then
82376 as_ln_s='ln -s'
82377 # ... but there are two gotchas:
82378 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82379 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82380 # In both cases, we have to default to `cp -p'.
82381 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82382 as_ln_s='cp -p'
82383 elif ln conf$$.file conf$$ 2>/dev/null; then
82384 as_ln_s=ln
82385 else
82386 as_ln_s='cp -p'
82387 fi
82388 else
82389 as_ln_s='cp -p'
82390 fi
82391 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82392 rmdir conf$$.dir 2>/dev/null
82393
82394
82395 # as_fn_mkdir_p
82396 # -------------
82397 # Create "$as_dir" as a directory, including parents if necessary.
82398 as_fn_mkdir_p ()
82399 {
82400
82401 case $as_dir in #(
82402 -*) as_dir=./$as_dir;;
82403 esac
82404 test -d "$as_dir" || eval $as_mkdir_p || {
82405 as_dirs=
82406 while :; do
82407 case $as_dir in #(
82408 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82409 *) as_qdir=$as_dir;;
82410 esac
82411 as_dirs="'$as_qdir' $as_dirs"
82412 as_dir=`$as_dirname -- "$as_dir" ||
82413 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82414 X"$as_dir" : 'X\(//\)[^/]' \| \
82415 X"$as_dir" : 'X\(//\)$' \| \
82416 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82417 $as_echo X"$as_dir" |
82418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82419 s//\1/
82420 q
82421 }
82422 /^X\(\/\/\)[^/].*/{
82423 s//\1/
82424 q
82425 }
82426 /^X\(\/\/\)$/{
82427 s//\1/
82428 q
82429 }
82430 /^X\(\/\).*/{
82431 s//\1/
82432 q
82433 }
82434 s/.*/./; q'`
82435 test -d "$as_dir" && break
82436 done
82437 test -z "$as_dirs" || eval "mkdir $as_dirs"
82438 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82439
82440
82441 } # as_fn_mkdir_p
82442 if mkdir -p . 2>/dev/null; then
82443 as_mkdir_p='mkdir -p "$as_dir"'
82444 else
82445 test -d ./-p && rmdir ./-p
82446 as_mkdir_p=false
82447 fi
82448
82449 if test -x / >/dev/null 2>&1; then
82450 as_test_x='test -x'
82451 else
82452 if ls -dL / >/dev/null 2>&1; then
82453 as_ls_L_option=L
82454 else
82455 as_ls_L_option=
82456 fi
82457 as_test_x='
82458 eval sh -c '\''
82459 if test -d "$1"; then
82460 test -d "$1/.";
82461 else
82462 case $1 in #(
82463 -*)set "./$1";;
82464 esac;
82465 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82466 ???[sx]*):;;*)false;;esac;fi
82467 '\'' sh
82468 '
82469 fi
82470 as_executable_p=$as_test_x
82471
82472 # Sed expression to map a string onto a valid CPP name.
82473 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82474
82475 # Sed expression to map a string onto a valid variable name.
82476 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82477
82478
82479 exec 6>&1
82480 ## ----------------------------------- ##
82481 ## Main body of $CONFIG_STATUS script. ##
82482 ## ----------------------------------- ##
82483 _ASEOF
82484 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82485
82486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82487 # Save the log message, to keep $0 and so on meaningful, and to
82488 # report actual input values of CONFIG_FILES etc. instead of their
82489 # values after options handling.
82490 ac_log="
82491 This file was extended by package-unused $as_me version-unused, which was
82492 generated by GNU Autoconf 2.64. Invocation command line was
82493
82494 CONFIG_FILES = $CONFIG_FILES
82495 CONFIG_HEADERS = $CONFIG_HEADERS
82496 CONFIG_LINKS = $CONFIG_LINKS
82497 CONFIG_COMMANDS = $CONFIG_COMMANDS
82498 $ $0 $@
82499
82500 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82501 "
82502
82503 _ACEOF
82504
82505 case $ac_config_files in *"
82506 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82507 esac
82508
82509 case $ac_config_headers in *"
82510 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82511 esac
82512
82513
82514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82515 # Files that config.status was made for.
82516 config_files="$ac_config_files"
82517 config_headers="$ac_config_headers"
82518 config_commands="$ac_config_commands"
82519
82520 _ACEOF
82521
82522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82523 ac_cs_usage="\
82524 \`$as_me' instantiates files and other configuration actions
82525 from templates according to the current configuration. Unless the files
82526 and actions are specified as TAGs, all are instantiated by default.
82527
82528 Usage: $0 [OPTION]... [TAG]...
82529
82530 -h, --help print this help, then exit
82531 -V, --version print version number and configuration settings, then exit
82532 -q, --quiet, --silent
82533 do not print progress messages
82534 -d, --debug don't remove temporary files
82535 --recheck update $as_me by reconfiguring in the same conditions
82536 --file=FILE[:TEMPLATE]
82537 instantiate the configuration file FILE
82538 --header=FILE[:TEMPLATE]
82539 instantiate the configuration header FILE
82540
82541 Configuration files:
82542 $config_files
82543
82544 Configuration headers:
82545 $config_headers
82546
82547 Configuration commands:
82548 $config_commands
82549
82550 Report bugs to the package provider."
82551
82552 _ACEOF
82553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82554 ac_cs_version="\\
82555 package-unused config.status version-unused
82556 configured by $0, generated by GNU Autoconf 2.64,
82557 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82558
82559 Copyright (C) 2009 Free Software Foundation, Inc.
82560 This config.status script is free software; the Free Software Foundation
82561 gives unlimited permission to copy, distribute and modify it."
82562
82563 ac_pwd='$ac_pwd'
82564 srcdir='$srcdir'
82565 INSTALL='$INSTALL'
82566 MKDIR_P='$MKDIR_P'
82567 AWK='$AWK'
82568 test -n "\$AWK" || AWK=awk
82569 _ACEOF
82570
82571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82572 # The default lists apply if the user does not specify any file.
82573 ac_need_defaults=:
82574 while test $# != 0
82575 do
82576 case $1 in
82577 --*=*)
82578 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82579 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82580 ac_shift=:
82581 ;;
82582 *)
82583 ac_option=$1
82584 ac_optarg=$2
82585 ac_shift=shift
82586 ;;
82587 esac
82588
82589 case $ac_option in
82590 # Handling of the options.
82591 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82592 ac_cs_recheck=: ;;
82593 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82594 $as_echo "$ac_cs_version"; exit ;;
82595 --debug | --debu | --deb | --de | --d | -d )
82596 debug=: ;;
82597 --file | --fil | --fi | --f )
82598 $ac_shift
82599 case $ac_optarg in
82600 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82601 esac
82602 as_fn_append CONFIG_FILES " '$ac_optarg'"
82603 ac_need_defaults=false;;
82604 --header | --heade | --head | --hea )
82605 $ac_shift
82606 case $ac_optarg in
82607 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82608 esac
82609 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82610 ac_need_defaults=false;;
82611 --he | --h)
82612 # Conflict between --help and --header
82613 as_fn_error "ambiguous option: \`$1'
82614 Try \`$0 --help' for more information.";;
82615 --help | --hel | -h )
82616 $as_echo "$ac_cs_usage"; exit ;;
82617 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82618 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82619 ac_cs_silent=: ;;
82620
82621 # This is an error.
82622 -*) as_fn_error "unrecognized option: \`$1'
82623 Try \`$0 --help' for more information." ;;
82624
82625 *) as_fn_append ac_config_targets " $1"
82626 ac_need_defaults=false ;;
82627
82628 esac
82629 shift
82630 done
82631
82632 ac_configure_extra_args=
82633
82634 if $ac_cs_silent; then
82635 exec 6>/dev/null
82636 ac_configure_extra_args="$ac_configure_extra_args --silent"
82637 fi
82638
82639 _ACEOF
82640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82641 if \$ac_cs_recheck; then
82642 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82643 shift
82644 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82645 CONFIG_SHELL='$SHELL'
82646 export CONFIG_SHELL
82647 exec "\$@"
82648 fi
82649
82650 _ACEOF
82651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82652 exec 5>>config.log
82653 {
82654 echo
82655 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82656 ## Running $as_me. ##
82657 _ASBOX
82658 $as_echo "$ac_log"
82659 } >&5
82660
82661 _ACEOF
82662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82663 #
82664 # INIT-COMMANDS
82665 #
82666
82667 srcdir="$srcdir"
82668 host="$host"
82669 target="$target"
82670 with_multisubdir="$with_multisubdir"
82671 with_multisrctop="$with_multisrctop"
82672 with_target_subdir="$with_target_subdir"
82673 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82674 multi_basedir="$multi_basedir"
82675 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82676 CC="$CC"
82677 CXX="$CXX"
82678 GFORTRAN="$GFORTRAN"
82679
82680
82681 # The HP-UX ksh and POSIX shell print the target directory to stdout
82682 # if CDPATH is set.
82683 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82684
82685 sed_quote_subst='$sed_quote_subst'
82686 double_quote_subst='$double_quote_subst'
82687 delay_variable_subst='$delay_variable_subst'
82688 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82689 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82690 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82691 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82692 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82693 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82694 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82695 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82696 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82697 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82698 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82699 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82700 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82701 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82702 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82703 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82704 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82705 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82706 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82707 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82708 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82709 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82710 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82711 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82712 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82713 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82714 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82715 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82716 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82717 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82718 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82719 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82720 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82721 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82722 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82723 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82724 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82725 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82726 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82727 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82728 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82729 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82730 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82731 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82732 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82733 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82734 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82735 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82736 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"`'
82737 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82738 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82739 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82740 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82741 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82742 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82743 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82744 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82745 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82746 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82747 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82748 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82749 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82750 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82751 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82752 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82753 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82754 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82755 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82756 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82757 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82758 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82759 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82760 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82761 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82762 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82763 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82764 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82765 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82766 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82767 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82768 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82769 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82770 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82771 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82772 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82773 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82774 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82775 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82776 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82777 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82778 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82779 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82780 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82781 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82782 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82783 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82784 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82785 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82786 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82787 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82788 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82789 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82790 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82791 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82792 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82793 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82794 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82795 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82796 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82797 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82798 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82799 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82800 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82801 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82802 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82803 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82804 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82805 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82806 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82807 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82808 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82809 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82810 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82811 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82812 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82813 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82814 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82815 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82816 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82817 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82818 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82819 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82820 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82821 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82822 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82823 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82824 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82825 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82826 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82827 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82828 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82829 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82830 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82831 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82832 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82833 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82834 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82835 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82836 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82837 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82838 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82839 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82840 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82841 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82842 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82843 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82844 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82845 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82846 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82847 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82848 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82849 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82850 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82851 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82852 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82853 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82854 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82855 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82856 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82857 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82858 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82859 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82860 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82861 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82862 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82863
82864 LTCC='$LTCC'
82865 LTCFLAGS='$LTCFLAGS'
82866 compiler='$compiler_DEFAULT'
82867
82868 # A function that is used when there is no print builtin or printf.
82869 func_fallback_echo ()
82870 {
82871 eval 'cat <<_LTECHO_EOF
82872 \$1
82873 _LTECHO_EOF'
82874 }
82875
82876 # Quote evaled strings.
82877 for var in SHELL \
82878 ECHO \
82879 SED \
82880 GREP \
82881 EGREP \
82882 FGREP \
82883 LD \
82884 NM \
82885 LN_S \
82886 lt_SP2NL \
82887 lt_NL2SP \
82888 reload_flag \
82889 OBJDUMP \
82890 deplibs_check_method \
82891 file_magic_cmd \
82892 AR \
82893 AR_FLAGS \
82894 STRIP \
82895 RANLIB \
82896 CC \
82897 CFLAGS \
82898 compiler \
82899 lt_cv_sys_global_symbol_pipe \
82900 lt_cv_sys_global_symbol_to_cdecl \
82901 lt_cv_sys_global_symbol_to_c_name_address \
82902 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82903 lt_prog_compiler_no_builtin_flag \
82904 lt_prog_compiler_wl \
82905 lt_prog_compiler_pic \
82906 lt_prog_compiler_static \
82907 lt_cv_prog_compiler_c_o \
82908 need_locks \
82909 DSYMUTIL \
82910 NMEDIT \
82911 LIPO \
82912 OTOOL \
82913 OTOOL64 \
82914 shrext_cmds \
82915 export_dynamic_flag_spec \
82916 whole_archive_flag_spec \
82917 compiler_needs_object \
82918 with_gnu_ld \
82919 allow_undefined_flag \
82920 no_undefined_flag \
82921 hardcode_libdir_flag_spec \
82922 hardcode_libdir_flag_spec_ld \
82923 hardcode_libdir_separator \
82924 fix_srcfile_path \
82925 exclude_expsyms \
82926 include_expsyms \
82927 file_list_spec \
82928 variables_saved_for_relink \
82929 libname_spec \
82930 library_names_spec \
82931 soname_spec \
82932 install_override_mode \
82933 finish_eval \
82934 old_striplib \
82935 striplib \
82936 compiler_lib_search_dirs \
82937 predep_objects \
82938 postdep_objects \
82939 predeps \
82940 postdeps \
82941 compiler_lib_search_path \
82942 LD_CXX \
82943 reload_flag_CXX \
82944 compiler_CXX \
82945 lt_prog_compiler_no_builtin_flag_CXX \
82946 lt_prog_compiler_wl_CXX \
82947 lt_prog_compiler_pic_CXX \
82948 lt_prog_compiler_static_CXX \
82949 lt_cv_prog_compiler_c_o_CXX \
82950 export_dynamic_flag_spec_CXX \
82951 whole_archive_flag_spec_CXX \
82952 compiler_needs_object_CXX \
82953 with_gnu_ld_CXX \
82954 allow_undefined_flag_CXX \
82955 no_undefined_flag_CXX \
82956 hardcode_libdir_flag_spec_CXX \
82957 hardcode_libdir_flag_spec_ld_CXX \
82958 hardcode_libdir_separator_CXX \
82959 fix_srcfile_path_CXX \
82960 exclude_expsyms_CXX \
82961 include_expsyms_CXX \
82962 file_list_spec_CXX \
82963 compiler_lib_search_dirs_CXX \
82964 predep_objects_CXX \
82965 postdep_objects_CXX \
82966 predeps_CXX \
82967 postdeps_CXX \
82968 compiler_lib_search_path_CXX; do
82969 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82970 *[\\\\\\\`\\"\\\$]*)
82971 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82972 ;;
82973 *)
82974 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82975 ;;
82976 esac
82977 done
82978
82979 # Double-quote double-evaled strings.
82980 for var in reload_cmds \
82981 old_postinstall_cmds \
82982 old_postuninstall_cmds \
82983 old_archive_cmds \
82984 extract_expsyms_cmds \
82985 old_archive_from_new_cmds \
82986 old_archive_from_expsyms_cmds \
82987 archive_cmds \
82988 archive_expsym_cmds \
82989 module_cmds \
82990 module_expsym_cmds \
82991 export_symbols_cmds \
82992 prelink_cmds \
82993 postinstall_cmds \
82994 postuninstall_cmds \
82995 finish_cmds \
82996 sys_lib_search_path_spec \
82997 sys_lib_dlsearch_path_spec \
82998 reload_cmds_CXX \
82999 old_archive_cmds_CXX \
83000 old_archive_from_new_cmds_CXX \
83001 old_archive_from_expsyms_cmds_CXX \
83002 archive_cmds_CXX \
83003 archive_expsym_cmds_CXX \
83004 module_cmds_CXX \
83005 module_expsym_cmds_CXX \
83006 export_symbols_cmds_CXX \
83007 prelink_cmds_CXX; do
83008 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83009 *[\\\\\\\`\\"\\\$]*)
83010 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83011 ;;
83012 *)
83013 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83014 ;;
83015 esac
83016 done
83017
83018 ac_aux_dir='$ac_aux_dir'
83019 xsi_shell='$xsi_shell'
83020 lt_shell_append='$lt_shell_append'
83021
83022 # See if we are running on zsh, and set the options which allow our
83023 # commands through without removal of \ escapes INIT.
83024 if test -n "\${ZSH_VERSION+set}" ; then
83025 setopt NO_GLOB_SUBST
83026 fi
83027
83028
83029 PACKAGE='$PACKAGE'
83030 VERSION='$VERSION'
83031 TIMESTAMP='$TIMESTAMP'
83032 RM='$RM'
83033 ofile='$ofile'
83034
83035
83036
83037
83038
83039
83040 GCC="$GCC"
83041 CC="$CC"
83042 acx_cv_header_stdint="$acx_cv_header_stdint"
83043 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83044 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83045 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83046 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83047 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83048 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83049 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83050 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83051 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83052 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83053 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83054 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83055 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83056
83057
83058 _ACEOF
83059
83060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83061
83062 # Handling of arguments.
83063 for ac_config_target in $ac_config_targets
83064 do
83065 case $ac_config_target in
83066 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83067 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83068 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83069 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83070 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83071 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83072 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83073 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83074 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83075 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83076 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83077 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83078 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83079 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83080 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83081 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83082 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83083 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83084 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83085 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83086
83087 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83088 esac
83089 done
83090
83091
83092 # If the user did not use the arguments to specify the items to instantiate,
83093 # then the envvar interface is used. Set only those that are not.
83094 # We use the long form for the default assignment because of an extremely
83095 # bizarre bug on SunOS 4.1.3.
83096 if $ac_need_defaults; then
83097 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83098 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83099 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83100 fi
83101
83102 # Have a temporary directory for convenience. Make it in the build tree
83103 # simply because there is no reason against having it here, and in addition,
83104 # creating and moving files from /tmp can sometimes cause problems.
83105 # Hook for its removal unless debugging.
83106 # Note that there is a small window in which the directory will not be cleaned:
83107 # after its creation but before its name has been assigned to `$tmp'.
83108 $debug ||
83109 {
83110 tmp=
83111 trap 'exit_status=$?
83112 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
83113 ' 0
83114 trap 'as_fn_exit 1' 1 2 13 15
83115 }
83116 # Create a (secure) tmp directory for tmp files.
83117
83118 {
83119 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83120 test -n "$tmp" && test -d "$tmp"
83121 } ||
83122 {
83123 tmp=./conf$$-$RANDOM
83124 (umask 077 && mkdir "$tmp")
83125 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
83126
83127 # Set up the scripts for CONFIG_FILES section.
83128 # No need to generate them if there are no CONFIG_FILES.
83129 # This happens for instance with `./config.status config.h'.
83130 if test -n "$CONFIG_FILES"; then
83131
83132
83133 ac_cr=`echo X | tr X '\015'`
83134 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83135 # But we know of no other shell where ac_cr would be empty at this
83136 # point, so we can use a bashism as a fallback.
83137 if test "x$ac_cr" = x; then
83138 eval ac_cr=\$\'\\r\'
83139 fi
83140 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83141 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83142 ac_cs_awk_cr='\r'
83143 else
83144 ac_cs_awk_cr=$ac_cr
83145 fi
83146
83147 echo 'BEGIN {' >"$tmp/subs1.awk" &&
83148 _ACEOF
83149
83150
83151 {
83152 echo "cat >conf$$subs.awk <<_ACEOF" &&
83153 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83154 echo "_ACEOF"
83155 } >conf$$subs.sh ||
83156 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83157 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
83158 ac_delim='%!_!# '
83159 for ac_last_try in false false false false false :; do
83160 . ./conf$$subs.sh ||
83161 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83162
83163 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83164 if test $ac_delim_n = $ac_delim_num; then
83165 break
83166 elif $ac_last_try; then
83167 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83168 else
83169 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83170 fi
83171 done
83172 rm -f conf$$subs.sh
83173
83174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83175 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
83176 _ACEOF
83177 sed -n '
83178 h
83179 s/^/S["/; s/!.*/"]=/
83180 p
83181 g
83182 s/^[^!]*!//
83183 :repl
83184 t repl
83185 s/'"$ac_delim"'$//
83186 t delim
83187 :nl
83188 h
83189 s/\(.\{148\}\).*/\1/
83190 t more1
83191 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83192 p
83193 n
83194 b repl
83195 :more1
83196 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83197 p
83198 g
83199 s/.\{148\}//
83200 t nl
83201 :delim
83202 h
83203 s/\(.\{148\}\).*/\1/
83204 t more2
83205 s/["\\]/\\&/g; s/^/"/; s/$/"/
83206 p
83207 b
83208 :more2
83209 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83210 p
83211 g
83212 s/.\{148\}//
83213 t delim
83214 ' <conf$$subs.awk | sed '
83215 /^[^""]/{
83216 N
83217 s/\n//
83218 }
83219 ' >>$CONFIG_STATUS || ac_write_fail=1
83220 rm -f conf$$subs.awk
83221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83222 _ACAWK
83223 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83224 for (key in S) S_is_set[key] = 1
83225 FS = "\a"
83226
83227 }
83228 {
83229 line = $ 0
83230 nfields = split(line, field, "@")
83231 substed = 0
83232 len = length(field[1])
83233 for (i = 2; i < nfields; i++) {
83234 key = field[i]
83235 keylen = length(key)
83236 if (S_is_set[key]) {
83237 value = S[key]
83238 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83239 len += length(value) + length(field[++i])
83240 substed = 1
83241 } else
83242 len += 1 + keylen
83243 }
83244
83245 print line
83246 }
83247
83248 _ACAWK
83249 _ACEOF
83250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83251 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83252 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83253 else
83254 cat
83255 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83256 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83257 _ACEOF
83258
83259 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83260 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83261 # trailing colons and then remove the whole line if VPATH becomes empty
83262 # (actually we leave an empty line to preserve line numbers).
83263 if test "x$srcdir" = x.; then
83264 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83265 s/:*\$(srcdir):*/:/
83266 s/:*\${srcdir}:*/:/
83267 s/:*@srcdir@:*/:/
83268 s/^\([^=]*=[ ]*\):*/\1/
83269 s/:*$//
83270 s/^[^=]*=[ ]*$//
83271 }'
83272 fi
83273
83274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83275 fi # test -n "$CONFIG_FILES"
83276
83277 # Set up the scripts for CONFIG_HEADERS section.
83278 # No need to generate them if there are no CONFIG_HEADERS.
83279 # This happens for instance with `./config.status Makefile'.
83280 if test -n "$CONFIG_HEADERS"; then
83281 cat >"$tmp/defines.awk" <<\_ACAWK ||
83282 BEGIN {
83283 _ACEOF
83284
83285 # Transform confdefs.h into an awk script `defines.awk', embedded as
83286 # here-document in config.status, that substitutes the proper values into
83287 # config.h.in to produce config.h.
83288
83289 # Create a delimiter string that does not exist in confdefs.h, to ease
83290 # handling of long lines.
83291 ac_delim='%!_!# '
83292 for ac_last_try in false false :; do
83293 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83294 if test -z "$ac_t"; then
83295 break
83296 elif $ac_last_try; then
83297 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83298 else
83299 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83300 fi
83301 done
83302
83303 # For the awk script, D is an array of macro values keyed by name,
83304 # likewise P contains macro parameters if any. Preserve backslash
83305 # newline sequences.
83306
83307 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83308 sed -n '
83309 s/.\{148\}/&'"$ac_delim"'/g
83310 t rset
83311 :rset
83312 s/^[ ]*#[ ]*define[ ][ ]*/ /
83313 t def
83314 d
83315 :def
83316 s/\\$//
83317 t bsnl
83318 s/["\\]/\\&/g
83319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83320 D["\1"]=" \3"/p
83321 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83322 d
83323 :bsnl
83324 s/["\\]/\\&/g
83325 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83326 D["\1"]=" \3\\\\\\n"\\/p
83327 t cont
83328 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83329 t cont
83330 d
83331 :cont
83332 n
83333 s/.\{148\}/&'"$ac_delim"'/g
83334 t clear
83335 :clear
83336 s/\\$//
83337 t bsnlc
83338 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83339 d
83340 :bsnlc
83341 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83342 b cont
83343 ' <confdefs.h | sed '
83344 s/'"$ac_delim"'/"\\\
83345 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83346
83347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83348 for (key in D) D_is_set[key] = 1
83349 FS = "\a"
83350 }
83351 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83352 line = \$ 0
83353 split(line, arg, " ")
83354 if (arg[1] == "#") {
83355 defundef = arg[2]
83356 mac1 = arg[3]
83357 } else {
83358 defundef = substr(arg[1], 2)
83359 mac1 = arg[2]
83360 }
83361 split(mac1, mac2, "(") #)
83362 macro = mac2[1]
83363 prefix = substr(line, 1, index(line, defundef) - 1)
83364 if (D_is_set[macro]) {
83365 # Preserve the white space surrounding the "#".
83366 print prefix "define", macro P[macro] D[macro]
83367 next
83368 } else {
83369 # Replace #undef with comments. This is necessary, for example,
83370 # in the case of _POSIX_SOURCE, which is predefined and required
83371 # on some systems where configure will not decide to define it.
83372 if (defundef == "undef") {
83373 print "/*", prefix defundef, macro, "*/"
83374 next
83375 }
83376 }
83377 }
83378 { print }
83379 _ACAWK
83380 _ACEOF
83381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83382 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83383 fi # test -n "$CONFIG_HEADERS"
83384
83385
83386 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83387 shift
83388 for ac_tag
83389 do
83390 case $ac_tag in
83391 :[FHLC]) ac_mode=$ac_tag; continue;;
83392 esac
83393 case $ac_mode$ac_tag in
83394 :[FHL]*:*);;
83395 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83396 :[FH]-) ac_tag=-:-;;
83397 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83398 esac
83399 ac_save_IFS=$IFS
83400 IFS=:
83401 set x $ac_tag
83402 IFS=$ac_save_IFS
83403 shift
83404 ac_file=$1
83405 shift
83406
83407 case $ac_mode in
83408 :L) ac_source=$1;;
83409 :[FH])
83410 ac_file_inputs=
83411 for ac_f
83412 do
83413 case $ac_f in
83414 -) ac_f="$tmp/stdin";;
83415 *) # Look for the file first in the build tree, then in the source tree
83416 # (if the path is not absolute). The absolute path cannot be DOS-style,
83417 # because $ac_f cannot contain `:'.
83418 test -f "$ac_f" ||
83419 case $ac_f in
83420 [\\/$]*) false;;
83421 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83422 esac ||
83423 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83424 esac
83425 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83426 as_fn_append ac_file_inputs " '$ac_f'"
83427 done
83428
83429 # Let's still pretend it is `configure' which instantiates (i.e., don't
83430 # use $as_me), people would be surprised to read:
83431 # /* config.h. Generated by config.status. */
83432 configure_input='Generated from '`
83433 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83434 `' by configure.'
83435 if test x"$ac_file" != x-; then
83436 configure_input="$ac_file. $configure_input"
83437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83438 $as_echo "$as_me: creating $ac_file" >&6;}
83439 fi
83440 # Neutralize special characters interpreted by sed in replacement strings.
83441 case $configure_input in #(
83442 *\&* | *\|* | *\\* )
83443 ac_sed_conf_input=`$as_echo "$configure_input" |
83444 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83445 *) ac_sed_conf_input=$configure_input;;
83446 esac
83447
83448 case $ac_tag in
83449 *:-:* | *:-) cat >"$tmp/stdin" \
83450 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83451 esac
83452 ;;
83453 esac
83454
83455 ac_dir=`$as_dirname -- "$ac_file" ||
83456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83457 X"$ac_file" : 'X\(//\)[^/]' \| \
83458 X"$ac_file" : 'X\(//\)$' \| \
83459 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83460 $as_echo X"$ac_file" |
83461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83462 s//\1/
83463 q
83464 }
83465 /^X\(\/\/\)[^/].*/{
83466 s//\1/
83467 q
83468 }
83469 /^X\(\/\/\)$/{
83470 s//\1/
83471 q
83472 }
83473 /^X\(\/\).*/{
83474 s//\1/
83475 q
83476 }
83477 s/.*/./; q'`
83478 as_dir="$ac_dir"; as_fn_mkdir_p
83479 ac_builddir=.
83480
83481 case "$ac_dir" in
83482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83483 *)
83484 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83485 # A ".." for each directory in $ac_dir_suffix.
83486 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83487 case $ac_top_builddir_sub in
83488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83490 esac ;;
83491 esac
83492 ac_abs_top_builddir=$ac_pwd
83493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83494 # for backward compatibility:
83495 ac_top_builddir=$ac_top_build_prefix
83496
83497 case $srcdir in
83498 .) # We are building in place.
83499 ac_srcdir=.
83500 ac_top_srcdir=$ac_top_builddir_sub
83501 ac_abs_top_srcdir=$ac_pwd ;;
83502 [\\/]* | ?:[\\/]* ) # Absolute name.
83503 ac_srcdir=$srcdir$ac_dir_suffix;
83504 ac_top_srcdir=$srcdir
83505 ac_abs_top_srcdir=$srcdir ;;
83506 *) # Relative name.
83507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83508 ac_top_srcdir=$ac_top_build_prefix$srcdir
83509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83510 esac
83511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83512
83513
83514 case $ac_mode in
83515 :F)
83516 #
83517 # CONFIG_FILE
83518 #
83519
83520 case $INSTALL in
83521 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83522 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83523 esac
83524 ac_MKDIR_P=$MKDIR_P
83525 case $MKDIR_P in
83526 [\\/$]* | ?:[\\/]* ) ;;
83527 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83528 esac
83529 _ACEOF
83530
83531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83532 # If the template does not know about datarootdir, expand it.
83533 # FIXME: This hack should be removed a few years after 2.60.
83534 ac_datarootdir_hack=; ac_datarootdir_seen=
83535 ac_sed_dataroot='
83536 /datarootdir/ {
83537 p
83538 q
83539 }
83540 /@datadir@/p
83541 /@docdir@/p
83542 /@infodir@/p
83543 /@localedir@/p
83544 /@mandir@/p'
83545 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83546 *datarootdir*) ac_datarootdir_seen=yes;;
83547 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83549 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83550 _ACEOF
83551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83552 ac_datarootdir_hack='
83553 s&@datadir@&$datadir&g
83554 s&@docdir@&$docdir&g
83555 s&@infodir@&$infodir&g
83556 s&@localedir@&$localedir&g
83557 s&@mandir@&$mandir&g
83558 s&\\\${datarootdir}&$datarootdir&g' ;;
83559 esac
83560 _ACEOF
83561
83562 # Neutralize VPATH when `$srcdir' = `.'.
83563 # Shell code in configure.ac might set extrasub.
83564 # FIXME: do we really want to maintain this feature?
83565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83566 ac_sed_extra="$ac_vpsub
83567 $extrasub
83568 _ACEOF
83569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83570 :t
83571 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83572 s|@configure_input@|$ac_sed_conf_input|;t t
83573 s&@top_builddir@&$ac_top_builddir_sub&;t t
83574 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83575 s&@srcdir@&$ac_srcdir&;t t
83576 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83577 s&@top_srcdir@&$ac_top_srcdir&;t t
83578 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83579 s&@builddir@&$ac_builddir&;t t
83580 s&@abs_builddir@&$ac_abs_builddir&;t t
83581 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83582 s&@INSTALL@&$ac_INSTALL&;t t
83583 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83584 $ac_datarootdir_hack
83585 "
83586 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83587 || as_fn_error "could not create $ac_file" "$LINENO" 5
83588
83589 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83590 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83591 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83593 which seems to be undefined. Please make sure it is defined." >&5
83594 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83595 which seems to be undefined. Please make sure it is defined." >&2;}
83596
83597 rm -f "$tmp/stdin"
83598 case $ac_file in
83599 -) cat "$tmp/out" && rm -f "$tmp/out";;
83600 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83601 esac \
83602 || as_fn_error "could not create $ac_file" "$LINENO" 5
83603 ;;
83604 :H)
83605 #
83606 # CONFIG_HEADER
83607 #
83608 if test x"$ac_file" != x-; then
83609 {
83610 $as_echo "/* $configure_input */" \
83611 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83612 } >"$tmp/config.h" \
83613 || as_fn_error "could not create $ac_file" "$LINENO" 5
83614 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83615 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83616 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83617 else
83618 rm -f "$ac_file"
83619 mv "$tmp/config.h" "$ac_file" \
83620 || as_fn_error "could not create $ac_file" "$LINENO" 5
83621 fi
83622 else
83623 $as_echo "/* $configure_input */" \
83624 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83625 || as_fn_error "could not create -" "$LINENO" 5
83626 fi
83627 # Compute "$ac_file"'s index in $config_headers.
83628 _am_arg="$ac_file"
83629 _am_stamp_count=1
83630 for _am_header in $config_headers :; do
83631 case $_am_header in
83632 $_am_arg | $_am_arg:* )
83633 break ;;
83634 * )
83635 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83636 esac
83637 done
83638 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83639 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83640 X"$_am_arg" : 'X\(//\)[^/]' \| \
83641 X"$_am_arg" : 'X\(//\)$' \| \
83642 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83643 $as_echo X"$_am_arg" |
83644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83645 s//\1/
83646 q
83647 }
83648 /^X\(\/\/\)[^/].*/{
83649 s//\1/
83650 q
83651 }
83652 /^X\(\/\/\)$/{
83653 s//\1/
83654 q
83655 }
83656 /^X\(\/\).*/{
83657 s//\1/
83658 q
83659 }
83660 s/.*/./; q'`/stamp-h$_am_stamp_count
83661 ;;
83662
83663 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83664 $as_echo "$as_me: executing $ac_file commands" >&6;}
83665 ;;
83666 esac
83667
83668
83669 case $ac_file$ac_mode in
83670 "default-1":C)
83671 # Only add multilib support code if we just rebuilt the top-level
83672 # Makefile.
83673 case " $CONFIG_FILES " in
83674 *" Makefile "*)
83675 ac_file=Makefile . ${multi_basedir}/config-ml.in
83676 ;;
83677 esac ;;
83678 "libtool":C)
83679
83680 # See if we are running on zsh, and set the options which allow our
83681 # commands through without removal of \ escapes.
83682 if test -n "${ZSH_VERSION+set}" ; then
83683 setopt NO_GLOB_SUBST
83684 fi
83685
83686 cfgfile="${ofile}T"
83687 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83688 $RM "$cfgfile"
83689
83690 cat <<_LT_EOF >> "$cfgfile"
83691 #! $SHELL
83692
83693 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83694 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83695 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83696 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83697 #
83698 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83699 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83700 # Written by Gordon Matzigkeit, 1996
83701 #
83702 # This file is part of GNU Libtool.
83703 #
83704 # GNU Libtool is free software; you can redistribute it and/or
83705 # modify it under the terms of the GNU General Public License as
83706 # published by the Free Software Foundation; either version 2 of
83707 # the License, or (at your option) any later version.
83708 #
83709 # As a special exception to the GNU General Public License,
83710 # if you distribute this file as part of a program or library that
83711 # is built using GNU Libtool, you may include this file under the
83712 # same distribution terms that you use for the rest of that program.
83713 #
83714 # GNU Libtool is distributed in the hope that it will be useful,
83715 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83716 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83717 # GNU General Public License for more details.
83718 #
83719 # You should have received a copy of the GNU General Public License
83720 # along with GNU Libtool; see the file COPYING. If not, a copy
83721 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83722 # obtained by writing to the Free Software Foundation, Inc.,
83723 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83724
83725
83726 # The names of the tagged configurations supported by this script.
83727 available_tags="CXX "
83728
83729 # ### BEGIN LIBTOOL CONFIG
83730
83731 # Which release of libtool.m4 was used?
83732 macro_version=$macro_version
83733 macro_revision=$macro_revision
83734
83735 # Whether or not to build shared libraries.
83736 build_libtool_libs=$enable_shared
83737
83738 # Whether or not to build static libraries.
83739 build_old_libs=$enable_static
83740
83741 # What type of objects to build.
83742 pic_mode=$pic_mode
83743
83744 # Whether or not to optimize for fast installation.
83745 fast_install=$enable_fast_install
83746
83747 # Shell to use when invoking shell scripts.
83748 SHELL=$lt_SHELL
83749
83750 # An echo program that protects backslashes.
83751 ECHO=$lt_ECHO
83752
83753 # The host system.
83754 host_alias=$host_alias
83755 host=$host
83756 host_os=$host_os
83757
83758 # The build system.
83759 build_alias=$build_alias
83760 build=$build
83761 build_os=$build_os
83762
83763 # A sed program that does not truncate output.
83764 SED=$lt_SED
83765
83766 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83767 Xsed="\$SED -e 1s/^X//"
83768
83769 # A grep program that handles long lines.
83770 GREP=$lt_GREP
83771
83772 # An ERE matcher.
83773 EGREP=$lt_EGREP
83774
83775 # A literal string matcher.
83776 FGREP=$lt_FGREP
83777
83778 # A BSD- or MS-compatible name lister.
83779 NM=$lt_NM
83780
83781 # Whether we need soft or hard links.
83782 LN_S=$lt_LN_S
83783
83784 # What is the maximum length of a command?
83785 max_cmd_len=$max_cmd_len
83786
83787 # Object file suffix (normally "o").
83788 objext=$ac_objext
83789
83790 # Executable file suffix (normally "").
83791 exeext=$exeext
83792
83793 # whether the shell understands "unset".
83794 lt_unset=$lt_unset
83795
83796 # turn spaces into newlines.
83797 SP2NL=$lt_lt_SP2NL
83798
83799 # turn newlines into spaces.
83800 NL2SP=$lt_lt_NL2SP
83801
83802 # An object symbol dumper.
83803 OBJDUMP=$lt_OBJDUMP
83804
83805 # Method to check whether dependent libraries are shared objects.
83806 deplibs_check_method=$lt_deplibs_check_method
83807
83808 # Command to use when deplibs_check_method == "file_magic".
83809 file_magic_cmd=$lt_file_magic_cmd
83810
83811 # The archiver.
83812 AR=$lt_AR
83813 AR_FLAGS=$lt_AR_FLAGS
83814
83815 # A symbol stripping program.
83816 STRIP=$lt_STRIP
83817
83818 # Commands used to install an old-style archive.
83819 RANLIB=$lt_RANLIB
83820 old_postinstall_cmds=$lt_old_postinstall_cmds
83821 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83822
83823 # Whether to use a lock for old archive extraction.
83824 lock_old_archive_extraction=$lock_old_archive_extraction
83825
83826 # A C compiler.
83827 LTCC=$lt_CC
83828
83829 # LTCC compiler flags.
83830 LTCFLAGS=$lt_CFLAGS
83831
83832 # Take the output of nm and produce a listing of raw symbols and C names.
83833 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83834
83835 # Transform the output of nm in a proper C declaration.
83836 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83837
83838 # Transform the output of nm in a C name address pair.
83839 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83840
83841 # Transform the output of nm in a C name address pair when lib prefix is needed.
83842 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83843
83844 # The name of the directory that contains temporary libtool files.
83845 objdir=$objdir
83846
83847 # Used to examine libraries when file_magic_cmd begins with "file".
83848 MAGIC_CMD=$MAGIC_CMD
83849
83850 # Must we lock files when doing compilation?
83851 need_locks=$lt_need_locks
83852
83853 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83854 DSYMUTIL=$lt_DSYMUTIL
83855
83856 # Tool to change global to local symbols on Mac OS X.
83857 NMEDIT=$lt_NMEDIT
83858
83859 # Tool to manipulate fat objects and archives on Mac OS X.
83860 LIPO=$lt_LIPO
83861
83862 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83863 OTOOL=$lt_OTOOL
83864
83865 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83866 OTOOL64=$lt_OTOOL64
83867
83868 # Old archive suffix (normally "a").
83869 libext=$libext
83870
83871 # Shared library suffix (normally ".so").
83872 shrext_cmds=$lt_shrext_cmds
83873
83874 # The commands to extract the exported symbol list from a shared archive.
83875 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83876
83877 # Variables whose values should be saved in libtool wrapper scripts and
83878 # restored at link time.
83879 variables_saved_for_relink=$lt_variables_saved_for_relink
83880
83881 # Do we need the "lib" prefix for modules?
83882 need_lib_prefix=$need_lib_prefix
83883
83884 # Do we need a version for libraries?
83885 need_version=$need_version
83886
83887 # Library versioning type.
83888 version_type=$version_type
83889
83890 # Shared library runtime path variable.
83891 runpath_var=$runpath_var
83892
83893 # Shared library path variable.
83894 shlibpath_var=$shlibpath_var
83895
83896 # Is shlibpath searched before the hard-coded library search path?
83897 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83898
83899 # Format of library name prefix.
83900 libname_spec=$lt_libname_spec
83901
83902 # List of archive names. First name is the real one, the rest are links.
83903 # The last name is the one that the linker finds with -lNAME
83904 library_names_spec=$lt_library_names_spec
83905
83906 # The coded name of the library, if different from the real name.
83907 soname_spec=$lt_soname_spec
83908
83909 # Permission mode override for installation of shared libraries.
83910 install_override_mode=$lt_install_override_mode
83911
83912 # Command to use after installation of a shared archive.
83913 postinstall_cmds=$lt_postinstall_cmds
83914
83915 # Command to use after uninstallation of a shared archive.
83916 postuninstall_cmds=$lt_postuninstall_cmds
83917
83918 # Commands used to finish a libtool library installation in a directory.
83919 finish_cmds=$lt_finish_cmds
83920
83921 # As "finish_cmds", except a single script fragment to be evaled but
83922 # not shown.
83923 finish_eval=$lt_finish_eval
83924
83925 # Whether we should hardcode library paths into libraries.
83926 hardcode_into_libs=$hardcode_into_libs
83927
83928 # Compile-time system search path for libraries.
83929 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83930
83931 # Run-time system search path for libraries.
83932 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83933
83934 # Whether dlopen is supported.
83935 dlopen_support=$enable_dlopen
83936
83937 # Whether dlopen of programs is supported.
83938 dlopen_self=$enable_dlopen_self
83939
83940 # Whether dlopen of statically linked programs is supported.
83941 dlopen_self_static=$enable_dlopen_self_static
83942
83943 # Commands to strip libraries.
83944 old_striplib=$lt_old_striplib
83945 striplib=$lt_striplib
83946
83947
83948 # The linker used to build libraries.
83949 LD=$lt_LD
83950
83951 # How to create reloadable object files.
83952 reload_flag=$lt_reload_flag
83953 reload_cmds=$lt_reload_cmds
83954
83955 # Commands used to build an old-style archive.
83956 old_archive_cmds=$lt_old_archive_cmds
83957
83958 # A language specific compiler.
83959 CC=$lt_compiler
83960
83961 # Is the compiler the GNU compiler?
83962 with_gcc=$GCC
83963
83964 # Compiler flag to turn off builtin functions.
83965 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83966
83967 # How to pass a linker flag through the compiler.
83968 wl=$lt_lt_prog_compiler_wl
83969
83970 # Additional compiler flags for building library objects.
83971 pic_flag=$lt_lt_prog_compiler_pic
83972
83973 # Compiler flag to prevent dynamic linking.
83974 link_static_flag=$lt_lt_prog_compiler_static
83975
83976 # Does compiler simultaneously support -c and -o options?
83977 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83978
83979 # Whether or not to add -lc for building shared libraries.
83980 build_libtool_need_lc=$archive_cmds_need_lc
83981
83982 # Whether or not to disallow shared libs when runtime libs are static.
83983 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83984
83985 # Compiler flag to allow reflexive dlopens.
83986 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83987
83988 # Compiler flag to generate shared objects directly from archives.
83989 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83990
83991 # Whether the compiler copes with passing no objects directly.
83992 compiler_needs_object=$lt_compiler_needs_object
83993
83994 # Create an old-style archive from a shared archive.
83995 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83996
83997 # Create a temporary old-style archive to link instead of a shared archive.
83998 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83999
84000 # Commands used to build a shared archive.
84001 archive_cmds=$lt_archive_cmds
84002 archive_expsym_cmds=$lt_archive_expsym_cmds
84003
84004 # Commands used to build a loadable module if different from building
84005 # a shared archive.
84006 module_cmds=$lt_module_cmds
84007 module_expsym_cmds=$lt_module_expsym_cmds
84008
84009 # Whether we are building with GNU ld or not.
84010 with_gnu_ld=$lt_with_gnu_ld
84011
84012 # Flag that allows shared libraries with undefined symbols to be built.
84013 allow_undefined_flag=$lt_allow_undefined_flag
84014
84015 # Flag that enforces no undefined symbols.
84016 no_undefined_flag=$lt_no_undefined_flag
84017
84018 # Flag to hardcode \$libdir into a binary during linking.
84019 # This must work even if \$libdir does not exist
84020 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84021
84022 # If ld is used when linking, flag to hardcode \$libdir into a binary
84023 # during linking. This must work even if \$libdir does not exist.
84024 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84025
84026 # Whether we need a single "-rpath" flag with a separated argument.
84027 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84028
84029 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84030 # DIR into the resulting binary.
84031 hardcode_direct=$hardcode_direct
84032
84033 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84034 # DIR into the resulting binary and the resulting library dependency is
84035 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84036 # library is relocated.
84037 hardcode_direct_absolute=$hardcode_direct_absolute
84038
84039 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84040 # into the resulting binary.
84041 hardcode_minus_L=$hardcode_minus_L
84042
84043 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84044 # into the resulting binary.
84045 hardcode_shlibpath_var=$hardcode_shlibpath_var
84046
84047 # Set to "yes" if building a shared library automatically hardcodes DIR
84048 # into the library and all subsequent libraries and executables linked
84049 # against it.
84050 hardcode_automatic=$hardcode_automatic
84051
84052 # Set to yes if linker adds runtime paths of dependent libraries
84053 # to runtime path list.
84054 inherit_rpath=$inherit_rpath
84055
84056 # Whether libtool must link a program against all its dependency libraries.
84057 link_all_deplibs=$link_all_deplibs
84058
84059 # Fix the shell variable \$srcfile for the compiler.
84060 fix_srcfile_path=$lt_fix_srcfile_path
84061
84062 # Set to "yes" if exported symbols are required.
84063 always_export_symbols=$always_export_symbols
84064
84065 # The commands to list exported symbols.
84066 export_symbols_cmds=$lt_export_symbols_cmds
84067
84068 # Symbols that should not be listed in the preloaded symbols.
84069 exclude_expsyms=$lt_exclude_expsyms
84070
84071 # Symbols that must always be exported.
84072 include_expsyms=$lt_include_expsyms
84073
84074 # Commands necessary for linking programs (against libraries) with templates.
84075 prelink_cmds=$lt_prelink_cmds
84076
84077 # Specify filename containing input files.
84078 file_list_spec=$lt_file_list_spec
84079
84080 # How to hardcode a shared library path into an executable.
84081 hardcode_action=$hardcode_action
84082
84083 # The directories searched by this compiler when creating a shared library.
84084 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84085
84086 # Dependencies to place before and after the objects being linked to
84087 # create a shared library.
84088 predep_objects=$lt_predep_objects
84089 postdep_objects=$lt_postdep_objects
84090 predeps=$lt_predeps
84091 postdeps=$lt_postdeps
84092
84093 # The library search path used internally by the compiler when linking
84094 # a shared library.
84095 compiler_lib_search_path=$lt_compiler_lib_search_path
84096
84097 # ### END LIBTOOL CONFIG
84098
84099 _LT_EOF
84100
84101 case $host_os in
84102 aix3*)
84103 cat <<\_LT_EOF >> "$cfgfile"
84104 # AIX sometimes has problems with the GCC collect2 program. For some
84105 # reason, if we set the COLLECT_NAMES environment variable, the problems
84106 # vanish in a puff of smoke.
84107 if test "X${COLLECT_NAMES+set}" != Xset; then
84108 COLLECT_NAMES=
84109 export COLLECT_NAMES
84110 fi
84111 _LT_EOF
84112 ;;
84113 esac
84114
84115
84116 ltmain="$ac_aux_dir/ltmain.sh"
84117
84118
84119 # We use sed instead of cat because bash on DJGPP gets confused if
84120 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84121 # text mode, it properly converts lines to CR/LF. This bash problem
84122 # is reportedly fixed, but why not run on old versions too?
84123 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84124 || (rm -f "$cfgfile"; exit 1)
84125
84126 case $xsi_shell in
84127 yes)
84128 cat << \_LT_EOF >> "$cfgfile"
84129
84130 # func_dirname file append nondir_replacement
84131 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84132 # otherwise set result to NONDIR_REPLACEMENT.
84133 func_dirname ()
84134 {
84135 case ${1} in
84136 */*) func_dirname_result="${1%/*}${2}" ;;
84137 * ) func_dirname_result="${3}" ;;
84138 esac
84139 }
84140
84141 # func_basename file
84142 func_basename ()
84143 {
84144 func_basename_result="${1##*/}"
84145 }
84146
84147 # func_dirname_and_basename file append nondir_replacement
84148 # perform func_basename and func_dirname in a single function
84149 # call:
84150 # dirname: Compute the dirname of FILE. If nonempty,
84151 # add APPEND to the result, otherwise set result
84152 # to NONDIR_REPLACEMENT.
84153 # value returned in "$func_dirname_result"
84154 # basename: Compute filename of FILE.
84155 # value retuned in "$func_basename_result"
84156 # Implementation must be kept synchronized with func_dirname
84157 # and func_basename. For efficiency, we do not delegate to
84158 # those functions but instead duplicate the functionality here.
84159 func_dirname_and_basename ()
84160 {
84161 case ${1} in
84162 */*) func_dirname_result="${1%/*}${2}" ;;
84163 * ) func_dirname_result="${3}" ;;
84164 esac
84165 func_basename_result="${1##*/}"
84166 }
84167
84168 # func_stripname prefix suffix name
84169 # strip PREFIX and SUFFIX off of NAME.
84170 # PREFIX and SUFFIX must not contain globbing or regex special
84171 # characters, hashes, percent signs, but SUFFIX may contain a leading
84172 # dot (in which case that matches only a dot).
84173 func_stripname ()
84174 {
84175 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84176 # positional parameters, so assign one to ordinary parameter first.
84177 func_stripname_result=${3}
84178 func_stripname_result=${func_stripname_result#"${1}"}
84179 func_stripname_result=${func_stripname_result%"${2}"}
84180 }
84181
84182 # func_opt_split
84183 func_opt_split ()
84184 {
84185 func_opt_split_opt=${1%%=*}
84186 func_opt_split_arg=${1#*=}
84187 }
84188
84189 # func_lo2o object
84190 func_lo2o ()
84191 {
84192 case ${1} in
84193 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84194 *) func_lo2o_result=${1} ;;
84195 esac
84196 }
84197
84198 # func_xform libobj-or-source
84199 func_xform ()
84200 {
84201 func_xform_result=${1%.*}.lo
84202 }
84203
84204 # func_arith arithmetic-term...
84205 func_arith ()
84206 {
84207 func_arith_result=$(( $* ))
84208 }
84209
84210 # func_len string
84211 # STRING may not start with a hyphen.
84212 func_len ()
84213 {
84214 func_len_result=${#1}
84215 }
84216
84217 _LT_EOF
84218 ;;
84219 *) # Bourne compatible functions.
84220 cat << \_LT_EOF >> "$cfgfile"
84221
84222 # func_dirname file append nondir_replacement
84223 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84224 # otherwise set result to NONDIR_REPLACEMENT.
84225 func_dirname ()
84226 {
84227 # Extract subdirectory from the argument.
84228 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84229 if test "X$func_dirname_result" = "X${1}"; then
84230 func_dirname_result="${3}"
84231 else
84232 func_dirname_result="$func_dirname_result${2}"
84233 fi
84234 }
84235
84236 # func_basename file
84237 func_basename ()
84238 {
84239 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84240 }
84241
84242
84243 # func_stripname prefix suffix name
84244 # strip PREFIX and SUFFIX off of NAME.
84245 # PREFIX and SUFFIX must not contain globbing or regex special
84246 # characters, hashes, percent signs, but SUFFIX may contain a leading
84247 # dot (in which case that matches only a dot).
84248 # func_strip_suffix prefix name
84249 func_stripname ()
84250 {
84251 case ${2} in
84252 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84253 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84254 esac
84255 }
84256
84257 # sed scripts:
84258 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84259 my_sed_long_arg='1s/^-[^=]*=//'
84260
84261 # func_opt_split
84262 func_opt_split ()
84263 {
84264 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84265 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84266 }
84267
84268 # func_lo2o object
84269 func_lo2o ()
84270 {
84271 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84272 }
84273
84274 # func_xform libobj-or-source
84275 func_xform ()
84276 {
84277 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84278 }
84279
84280 # func_arith arithmetic-term...
84281 func_arith ()
84282 {
84283 func_arith_result=`expr "$@"`
84284 }
84285
84286 # func_len string
84287 # STRING may not start with a hyphen.
84288 func_len ()
84289 {
84290 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84291 }
84292
84293 _LT_EOF
84294 esac
84295
84296 case $lt_shell_append in
84297 yes)
84298 cat << \_LT_EOF >> "$cfgfile"
84299
84300 # func_append var value
84301 # Append VALUE to the end of shell variable VAR.
84302 func_append ()
84303 {
84304 eval "$1+=\$2"
84305 }
84306 _LT_EOF
84307 ;;
84308 *)
84309 cat << \_LT_EOF >> "$cfgfile"
84310
84311 # func_append var value
84312 # Append VALUE to the end of shell variable VAR.
84313 func_append ()
84314 {
84315 eval "$1=\$$1\$2"
84316 }
84317
84318 _LT_EOF
84319 ;;
84320 esac
84321
84322
84323 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84324 || (rm -f "$cfgfile"; exit 1)
84325
84326 mv -f "$cfgfile" "$ofile" ||
84327 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84328 chmod +x "$ofile"
84329
84330
84331 cat <<_LT_EOF >> "$ofile"
84332
84333 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84334
84335 # The linker used to build libraries.
84336 LD=$lt_LD_CXX
84337
84338 # How to create reloadable object files.
84339 reload_flag=$lt_reload_flag_CXX
84340 reload_cmds=$lt_reload_cmds_CXX
84341
84342 # Commands used to build an old-style archive.
84343 old_archive_cmds=$lt_old_archive_cmds_CXX
84344
84345 # A language specific compiler.
84346 CC=$lt_compiler_CXX
84347
84348 # Is the compiler the GNU compiler?
84349 with_gcc=$GCC_CXX
84350
84351 # Compiler flag to turn off builtin functions.
84352 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84353
84354 # How to pass a linker flag through the compiler.
84355 wl=$lt_lt_prog_compiler_wl_CXX
84356
84357 # Additional compiler flags for building library objects.
84358 pic_flag=$lt_lt_prog_compiler_pic_CXX
84359
84360 # Compiler flag to prevent dynamic linking.
84361 link_static_flag=$lt_lt_prog_compiler_static_CXX
84362
84363 # Does compiler simultaneously support -c and -o options?
84364 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84365
84366 # Whether or not to add -lc for building shared libraries.
84367 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84368
84369 # Whether or not to disallow shared libs when runtime libs are static.
84370 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84371
84372 # Compiler flag to allow reflexive dlopens.
84373 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84374
84375 # Compiler flag to generate shared objects directly from archives.
84376 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84377
84378 # Whether the compiler copes with passing no objects directly.
84379 compiler_needs_object=$lt_compiler_needs_object_CXX
84380
84381 # Create an old-style archive from a shared archive.
84382 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84383
84384 # Create a temporary old-style archive to link instead of a shared archive.
84385 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84386
84387 # Commands used to build a shared archive.
84388 archive_cmds=$lt_archive_cmds_CXX
84389 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84390
84391 # Commands used to build a loadable module if different from building
84392 # a shared archive.
84393 module_cmds=$lt_module_cmds_CXX
84394 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84395
84396 # Whether we are building with GNU ld or not.
84397 with_gnu_ld=$lt_with_gnu_ld_CXX
84398
84399 # Flag that allows shared libraries with undefined symbols to be built.
84400 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84401
84402 # Flag that enforces no undefined symbols.
84403 no_undefined_flag=$lt_no_undefined_flag_CXX
84404
84405 # Flag to hardcode \$libdir into a binary during linking.
84406 # This must work even if \$libdir does not exist
84407 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84408
84409 # If ld is used when linking, flag to hardcode \$libdir into a binary
84410 # during linking. This must work even if \$libdir does not exist.
84411 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84412
84413 # Whether we need a single "-rpath" flag with a separated argument.
84414 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84415
84416 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84417 # DIR into the resulting binary.
84418 hardcode_direct=$hardcode_direct_CXX
84419
84420 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84421 # DIR into the resulting binary and the resulting library dependency is
84422 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84423 # library is relocated.
84424 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84425
84426 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84427 # into the resulting binary.
84428 hardcode_minus_L=$hardcode_minus_L_CXX
84429
84430 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84431 # into the resulting binary.
84432 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84433
84434 # Set to "yes" if building a shared library automatically hardcodes DIR
84435 # into the library and all subsequent libraries and executables linked
84436 # against it.
84437 hardcode_automatic=$hardcode_automatic_CXX
84438
84439 # Set to yes if linker adds runtime paths of dependent libraries
84440 # to runtime path list.
84441 inherit_rpath=$inherit_rpath_CXX
84442
84443 # Whether libtool must link a program against all its dependency libraries.
84444 link_all_deplibs=$link_all_deplibs_CXX
84445
84446 # Fix the shell variable \$srcfile for the compiler.
84447 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84448
84449 # Set to "yes" if exported symbols are required.
84450 always_export_symbols=$always_export_symbols_CXX
84451
84452 # The commands to list exported symbols.
84453 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84454
84455 # Symbols that should not be listed in the preloaded symbols.
84456 exclude_expsyms=$lt_exclude_expsyms_CXX
84457
84458 # Symbols that must always be exported.
84459 include_expsyms=$lt_include_expsyms_CXX
84460
84461 # Commands necessary for linking programs (against libraries) with templates.
84462 prelink_cmds=$lt_prelink_cmds_CXX
84463
84464 # Specify filename containing input files.
84465 file_list_spec=$lt_file_list_spec_CXX
84466
84467 # How to hardcode a shared library path into an executable.
84468 hardcode_action=$hardcode_action_CXX
84469
84470 # The directories searched by this compiler when creating a shared library.
84471 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84472
84473 # Dependencies to place before and after the objects being linked to
84474 # create a shared library.
84475 predep_objects=$lt_predep_objects_CXX
84476 postdep_objects=$lt_postdep_objects_CXX
84477 predeps=$lt_predeps_CXX
84478 postdeps=$lt_postdeps_CXX
84479
84480 # The library search path used internally by the compiler when linking
84481 # a shared library.
84482 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84483
84484 # ### END LIBTOOL TAG CONFIG: CXX
84485 _LT_EOF
84486
84487 ;;
84488 "include/gstdint.h":C)
84489 if test "$GCC" = yes; then
84490 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84491 else
84492 echo "/* generated for $CC */" > tmp-stdint.h
84493 fi
84494
84495 sed 's/^ *//' >> tmp-stdint.h <<EOF
84496
84497 #ifndef GCC_GENERATED_STDINT_H
84498 #define GCC_GENERATED_STDINT_H 1
84499
84500 #include <sys/types.h>
84501 EOF
84502
84503 if test "$acx_cv_header_stdint" != stdint.h; then
84504 echo "#include <stddef.h>" >> tmp-stdint.h
84505 fi
84506 if test "$acx_cv_header_stdint" != stddef.h; then
84507 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84508 fi
84509
84510 sed 's/^ *//' >> tmp-stdint.h <<EOF
84511 /* glibc uses these symbols as guards to prevent redefinitions. */
84512 #ifdef __int8_t_defined
84513 #define _INT8_T
84514 #define _INT16_T
84515 #define _INT32_T
84516 #endif
84517 #ifdef __uint32_t_defined
84518 #define _UINT32_T
84519 #endif
84520
84521 EOF
84522
84523 # ----------------- done header, emit basic int types -------------
84524 if test "$acx_cv_header_stdint" = stddef.h; then
84525 sed 's/^ *//' >> tmp-stdint.h <<EOF
84526
84527 #ifndef _UINT8_T
84528 #define _UINT8_T
84529 #ifndef __uint8_t_defined
84530 #define __uint8_t_defined
84531 #ifndef uint8_t
84532 typedef unsigned $acx_cv_type_int8_t uint8_t;
84533 #endif
84534 #endif
84535 #endif
84536
84537 #ifndef _UINT16_T
84538 #define _UINT16_T
84539 #ifndef __uint16_t_defined
84540 #define __uint16_t_defined
84541 #ifndef uint16_t
84542 typedef unsigned $acx_cv_type_int16_t uint16_t;
84543 #endif
84544 #endif
84545 #endif
84546
84547 #ifndef _UINT32_T
84548 #define _UINT32_T
84549 #ifndef __uint32_t_defined
84550 #define __uint32_t_defined
84551 #ifndef uint32_t
84552 typedef unsigned $acx_cv_type_int32_t uint32_t;
84553 #endif
84554 #endif
84555 #endif
84556
84557 #ifndef _INT8_T
84558 #define _INT8_T
84559 #ifndef __int8_t_defined
84560 #define __int8_t_defined
84561 #ifndef int8_t
84562 typedef $acx_cv_type_int8_t int8_t;
84563 #endif
84564 #endif
84565 #endif
84566
84567 #ifndef _INT16_T
84568 #define _INT16_T
84569 #ifndef __int16_t_defined
84570 #define __int16_t_defined
84571 #ifndef int16_t
84572 typedef $acx_cv_type_int16_t int16_t;
84573 #endif
84574 #endif
84575 #endif
84576
84577 #ifndef _INT32_T
84578 #define _INT32_T
84579 #ifndef __int32_t_defined
84580 #define __int32_t_defined
84581 #ifndef int32_t
84582 typedef $acx_cv_type_int32_t int32_t;
84583 #endif
84584 #endif
84585 #endif
84586 EOF
84587 elif test "$ac_cv_type_u_int32_t" = yes; then
84588 sed 's/^ *//' >> tmp-stdint.h <<EOF
84589
84590 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84591 #ifndef _INT8_T
84592 #define _INT8_T
84593 #endif
84594 #ifndef _INT16_T
84595 #define _INT16_T
84596 #endif
84597 #ifndef _INT32_T
84598 #define _INT32_T
84599 #endif
84600
84601 #ifndef _UINT8_T
84602 #define _UINT8_T
84603 #ifndef __uint8_t_defined
84604 #define __uint8_t_defined
84605 #ifndef uint8_t
84606 typedef u_int8_t uint8_t;
84607 #endif
84608 #endif
84609 #endif
84610
84611 #ifndef _UINT16_T
84612 #define _UINT16_T
84613 #ifndef __uint16_t_defined
84614 #define __uint16_t_defined
84615 #ifndef uint16_t
84616 typedef u_int16_t uint16_t;
84617 #endif
84618 #endif
84619 #endif
84620
84621 #ifndef _UINT32_T
84622 #define _UINT32_T
84623 #ifndef __uint32_t_defined
84624 #define __uint32_t_defined
84625 #ifndef uint32_t
84626 typedef u_int32_t uint32_t;
84627 #endif
84628 #endif
84629 #endif
84630 EOF
84631 else
84632 sed 's/^ *//' >> tmp-stdint.h <<EOF
84633
84634 /* Some systems have guard macros to prevent redefinitions, define them. */
84635 #ifndef _INT8_T
84636 #define _INT8_T
84637 #endif
84638 #ifndef _INT16_T
84639 #define _INT16_T
84640 #endif
84641 #ifndef _INT32_T
84642 #define _INT32_T
84643 #endif
84644 #ifndef _UINT8_T
84645 #define _UINT8_T
84646 #endif
84647 #ifndef _UINT16_T
84648 #define _UINT16_T
84649 #endif
84650 #ifndef _UINT32_T
84651 #define _UINT32_T
84652 #endif
84653 EOF
84654 fi
84655
84656 # ------------- done basic int types, emit int64_t types ------------
84657 if test "$ac_cv_type_uint64_t" = yes; then
84658 sed 's/^ *//' >> tmp-stdint.h <<EOF
84659
84660 /* system headers have good uint64_t and int64_t */
84661 #ifndef _INT64_T
84662 #define _INT64_T
84663 #endif
84664 #ifndef _UINT64_T
84665 #define _UINT64_T
84666 #endif
84667 EOF
84668 elif test "$ac_cv_type_u_int64_t" = yes; then
84669 sed 's/^ *//' >> tmp-stdint.h <<EOF
84670
84671 /* system headers have an u_int64_t (and int64_t) */
84672 #ifndef _INT64_T
84673 #define _INT64_T
84674 #endif
84675 #ifndef _UINT64_T
84676 #define _UINT64_T
84677 #ifndef __uint64_t_defined
84678 #define __uint64_t_defined
84679 #ifndef uint64_t
84680 typedef u_int64_t uint64_t;
84681 #endif
84682 #endif
84683 #endif
84684 EOF
84685 elif test -n "$acx_cv_type_int64_t"; then
84686 sed 's/^ *//' >> tmp-stdint.h <<EOF
84687
84688 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84689 #ifndef _INT64_T
84690 #define _INT64_T
84691 #ifndef int64_t
84692 typedef $acx_cv_type_int64_t int64_t;
84693 #endif
84694 #endif
84695 #ifndef _UINT64_T
84696 #define _UINT64_T
84697 #ifndef __uint64_t_defined
84698 #define __uint64_t_defined
84699 #ifndef uint64_t
84700 typedef unsigned $acx_cv_type_int64_t uint64_t;
84701 #endif
84702 #endif
84703 #endif
84704 EOF
84705 else
84706 sed 's/^ *//' >> tmp-stdint.h <<EOF
84707
84708 /* some common heuristics for int64_t, using compiler-specific tests */
84709 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84710 #ifndef _INT64_T
84711 #define _INT64_T
84712 #ifndef __int64_t_defined
84713 #ifndef int64_t
84714 typedef long long int64_t;
84715 #endif
84716 #endif
84717 #endif
84718 #ifndef _UINT64_T
84719 #define _UINT64_T
84720 #ifndef uint64_t
84721 typedef unsigned long long uint64_t;
84722 #endif
84723 #endif
84724
84725 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84726 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84727 does not implement __extension__. But that compiler doesn't define
84728 __GNUC_MINOR__. */
84729 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84730 # define __extension__
84731 # endif
84732
84733 # ifndef _INT64_T
84734 # define _INT64_T
84735 # ifndef int64_t
84736 __extension__ typedef long long int64_t;
84737 # endif
84738 # endif
84739 # ifndef _UINT64_T
84740 # define _UINT64_T
84741 # ifndef uint64_t
84742 __extension__ typedef unsigned long long uint64_t;
84743 # endif
84744 # endif
84745
84746 #elif !defined __STRICT_ANSI__
84747 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84748
84749 # ifndef _INT64_T
84750 # define _INT64_T
84751 # ifndef int64_t
84752 typedef __int64 int64_t;
84753 # endif
84754 # endif
84755 # ifndef _UINT64_T
84756 # define _UINT64_T
84757 # ifndef uint64_t
84758 typedef unsigned __int64 uint64_t;
84759 # endif
84760 # endif
84761 # endif /* compiler */
84762
84763 #endif /* ANSI version */
84764 EOF
84765 fi
84766
84767 # ------------- done int64_t types, emit intptr types ------------
84768 if test "$ac_cv_type_uintptr_t" != yes; then
84769 sed 's/^ *//' >> tmp-stdint.h <<EOF
84770
84771 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84772 #ifndef __uintptr_t_defined
84773 #ifndef uintptr_t
84774 typedef u$acx_cv_type_intptr_t uintptr_t;
84775 #endif
84776 #endif
84777 #ifndef __intptr_t_defined
84778 #ifndef intptr_t
84779 typedef $acx_cv_type_intptr_t intptr_t;
84780 #endif
84781 #endif
84782 EOF
84783 fi
84784
84785 # ------------- done intptr types, emit int_least types ------------
84786 if test "$ac_cv_type_int_least32_t" != yes; then
84787 sed 's/^ *//' >> tmp-stdint.h <<EOF
84788
84789 /* Define int_least types */
84790 typedef int8_t int_least8_t;
84791 typedef int16_t int_least16_t;
84792 typedef int32_t int_least32_t;
84793 #ifdef _INT64_T
84794 typedef int64_t int_least64_t;
84795 #endif
84796
84797 typedef uint8_t uint_least8_t;
84798 typedef uint16_t uint_least16_t;
84799 typedef uint32_t uint_least32_t;
84800 #ifdef _UINT64_T
84801 typedef uint64_t uint_least64_t;
84802 #endif
84803 EOF
84804 fi
84805
84806 # ------------- done intptr types, emit int_fast types ------------
84807 if test "$ac_cv_type_int_fast32_t" != yes; then
84808 sed 's/^ *//' >> tmp-stdint.h <<EOF
84809
84810 /* Define int_fast types. short is often slow */
84811 typedef int8_t int_fast8_t;
84812 typedef int int_fast16_t;
84813 typedef int32_t int_fast32_t;
84814 #ifdef _INT64_T
84815 typedef int64_t int_fast64_t;
84816 #endif
84817
84818 typedef uint8_t uint_fast8_t;
84819 typedef unsigned int uint_fast16_t;
84820 typedef uint32_t uint_fast32_t;
84821 #ifdef _UINT64_T
84822 typedef uint64_t uint_fast64_t;
84823 #endif
84824 EOF
84825 fi
84826
84827 if test "$ac_cv_type_uintmax_t" != yes; then
84828 sed 's/^ *//' >> tmp-stdint.h <<EOF
84829
84830 /* Define intmax based on what we found */
84831 #ifndef intmax_t
84832 #ifdef _INT64_T
84833 typedef int64_t intmax_t;
84834 #else
84835 typedef long intmax_t;
84836 #endif
84837 #endif
84838 #ifndef uintmax_t
84839 #ifdef _UINT64_T
84840 typedef uint64_t uintmax_t;
84841 #else
84842 typedef unsigned long uintmax_t;
84843 #endif
84844 #endif
84845 EOF
84846 fi
84847
84848 sed 's/^ *//' >> tmp-stdint.h <<EOF
84849
84850 #endif /* GCC_GENERATED_STDINT_H */
84851 EOF
84852
84853 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84854 rm -f tmp-stdint.h
84855 else
84856 mv -f tmp-stdint.h include/gstdint.h
84857 fi
84858
84859 ;;
84860 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84861 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84862 "include/Makefile":F) cat > vpsed$$ << \_EOF
84863 s!`test -f '$<' || echo '$(srcdir)/'`!!
84864 _EOF
84865 sed -f vpsed$$ $ac_file > tmp$$
84866 mv tmp$$ $ac_file
84867 rm vpsed$$
84868 echo 'MULTISUBDIR =' >> $ac_file
84869 ml_norecursion=yes
84870 . ${multi_basedir}/config-ml.in
84871 { ml_norecursion=; unset ml_norecursion;}
84872 ;;
84873 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84874 s!`test -f '$<' || echo '$(srcdir)/'`!!
84875 _EOF
84876 sed -f vpsed$$ $ac_file > tmp$$
84877 mv tmp$$ $ac_file
84878 rm vpsed$$
84879 echo 'MULTISUBDIR =' >> $ac_file
84880 ml_norecursion=yes
84881 . ${multi_basedir}/config-ml.in
84882 { ml_norecursion=; unset ml_norecursion;}
84883 ;;
84884 "src/Makefile":F) cat > vpsed$$ << \_EOF
84885 s!`test -f '$<' || echo '$(srcdir)/'`!!
84886 _EOF
84887 sed -f vpsed$$ $ac_file > tmp$$
84888 mv tmp$$ $ac_file
84889 rm vpsed$$
84890 echo 'MULTISUBDIR =' >> $ac_file
84891 ml_norecursion=yes
84892 . ${multi_basedir}/config-ml.in
84893 { ml_norecursion=; unset ml_norecursion;}
84894 ;;
84895 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84896 s!`test -f '$<' || echo '$(srcdir)/'`!!
84897 _EOF
84898 sed -f vpsed$$ $ac_file > tmp$$
84899 mv tmp$$ $ac_file
84900 rm vpsed$$
84901 echo 'MULTISUBDIR =' >> $ac_file
84902 ml_norecursion=yes
84903 . ${multi_basedir}/config-ml.in
84904 { ml_norecursion=; unset ml_norecursion;}
84905 ;;
84906 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84907 s!`test -f '$<' || echo '$(srcdir)/'`!!
84908 _EOF
84909 sed -f vpsed$$ $ac_file > tmp$$
84910 mv tmp$$ $ac_file
84911 rm vpsed$$
84912 echo 'MULTISUBDIR =' >> $ac_file
84913 ml_norecursion=yes
84914 . ${multi_basedir}/config-ml.in
84915 { ml_norecursion=; unset ml_norecursion;}
84916 ;;
84917 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
84918 s!`test -f '$<' || echo '$(srcdir)/'`!!
84919 _EOF
84920 sed -f vpsed$$ $ac_file > tmp$$
84921 mv tmp$$ $ac_file
84922 rm vpsed$$
84923 echo 'MULTISUBDIR =' >> $ac_file
84924 ml_norecursion=yes
84925 . ${multi_basedir}/config-ml.in
84926 { ml_norecursion=; unset ml_norecursion;}
84927 ;;
84928 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84929 s!`test -f '$<' || echo '$(srcdir)/'`!!
84930 _EOF
84931 sed -f vpsed$$ $ac_file > tmp$$
84932 mv tmp$$ $ac_file
84933 rm vpsed$$
84934 echo 'MULTISUBDIR =' >> $ac_file
84935 ml_norecursion=yes
84936 . ${multi_basedir}/config-ml.in
84937 { ml_norecursion=; unset ml_norecursion;}
84938 ;;
84939 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84940 s!`test -f '$<' || echo '$(srcdir)/'`!!
84941 _EOF
84942 sed -f vpsed$$ $ac_file > tmp$$
84943 mv tmp$$ $ac_file
84944 rm vpsed$$
84945 echo 'MULTISUBDIR =' >> $ac_file
84946 ml_norecursion=yes
84947 . ${multi_basedir}/config-ml.in
84948 { ml_norecursion=; unset ml_norecursion;}
84949 ;;
84950 "po/Makefile":F) cat > vpsed$$ << \_EOF
84951 s!`test -f '$<' || echo '$(srcdir)/'`!!
84952 _EOF
84953 sed -f vpsed$$ $ac_file > tmp$$
84954 mv tmp$$ $ac_file
84955 rm vpsed$$
84956 echo 'MULTISUBDIR =' >> $ac_file
84957 ml_norecursion=yes
84958 . ${multi_basedir}/config-ml.in
84959 { ml_norecursion=; unset ml_norecursion;}
84960 ;;
84961 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84962 s!`test -f '$<' || echo '$(srcdir)/'`!!
84963 _EOF
84964 sed -f vpsed$$ $ac_file > tmp$$
84965 mv tmp$$ $ac_file
84966 rm vpsed$$
84967 echo 'MULTISUBDIR =' >> $ac_file
84968 ml_norecursion=yes
84969 . ${multi_basedir}/config-ml.in
84970 { ml_norecursion=; unset ml_norecursion;}
84971 ;;
84972 "python/Makefile":F) cat > vpsed$$ << \_EOF
84973 s!`test -f '$<' || echo '$(srcdir)/'`!!
84974 _EOF
84975 sed -f vpsed$$ $ac_file > tmp$$
84976 mv tmp$$ $ac_file
84977 rm vpsed$$
84978 echo 'MULTISUBDIR =' >> $ac_file
84979 ml_norecursion=yes
84980 . ${multi_basedir}/config-ml.in
84981 { ml_norecursion=; unset ml_norecursion;}
84982 ;;
84983 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84984
84985 esac
84986 done # for ac_tag
84987
84988
84989 as_fn_exit 0
84990 _ACEOF
84991 ac_clean_files=$ac_clean_files_save
84992
84993 test $ac_write_fail = 0 ||
84994 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84995
84996
84997 # configure is writing to config.log, and then calls config.status.
84998 # config.status does its own redirection, appending to config.log.
84999 # Unfortunately, on DOS this fails, as config.log is still kept open
85000 # by configure, so config.status won't be able to write to it; its
85001 # output is simply discarded. So we exec the FD to /dev/null,
85002 # effectively closing config.log, so it can be properly (re)opened and
85003 # appended to by config.status. When coming back to configure, we
85004 # need to make the FD available again.
85005 if test "$no_create" != yes; then
85006 ac_cs_success=:
85007 ac_config_status_args=
85008 test "$silent" = yes &&
85009 ac_config_status_args="$ac_config_status_args --quiet"
85010 exec 5>/dev/null
85011 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85012 exec 5>>config.log
85013 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85014 # would make configure fail if this is the last instruction.
85015 $ac_cs_success || as_fn_exit $?
85016 fi
85017 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85019 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
85020 fi
85021