Update libstdc++ manual in preparation for GCC 8 release
[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 WERROR
732 thread_header
733 glibcxx_PCHFLAGS
734 GLIBCXX_BUILD_PCH_FALSE
735 GLIBCXX_BUILD_PCH_TRUE
736 GLIBCXX_HOSTED_FALSE
737 GLIBCXX_HOSTED_TRUE
738 glibcxx_compiler_shared_flag
739 glibcxx_compiler_pic_flag
740 glibcxx_lt_pic_flag
741 enable_static
742 enable_shared
743 lt_host_flags
744 CXXCPP
745 OTOOL64
746 OTOOL
747 LIPO
748 NMEDIT
749 DSYMUTIL
750 OBJDUMP
751 NM
752 ac_ct_DUMPBIN
753 DUMPBIN
754 LD
755 FGREP
756 SED
757 LIBTOOL
758 EGREP
759 GREP
760 CPP
761 MAINT
762 MAINTAINER_MODE_FALSE
763 MAINTAINER_MODE_TRUE
764 RANLIB
765 AR
766 AS
767 LN_S
768 toplevel_srcdir
769 toplevel_builddir
770 glibcxx_srcdir
771 glibcxx_builddir
772 ac_ct_CXX
773 CXXFLAGS
774 CXX
775 OBJEXT
776 EXEEXT
777 ac_ct_CC
778 CPPFLAGS
779 LDFLAGS
780 CFLAGS
781 CC
782 am__untar
783 am__tar
784 AMTAR
785 am__leading_dot
786 SET_MAKE
787 AWK
788 mkdir_p
789 MKDIR_P
790 INSTALL_STRIP_PROGRAM
791 STRIP
792 install_sh
793 MAKEINFO
794 AUTOHEADER
795 AUTOMAKE
796 AUTOCONF
797 ACLOCAL
798 VERSION
799 PACKAGE
800 CYGPATH_W
801 am__isrc
802 INSTALL_DATA
803 INSTALL_SCRIPT
804 INSTALL_PROGRAM
805 target_os
806 target_vendor
807 target_cpu
808 target
809 host_os
810 host_vendor
811 host_cpu
812 host
813 build_os
814 build_vendor
815 build_cpu
816 build
817 multi_basedir
818 target_alias
819 host_alias
820 build_alias
821 LIBS
822 ECHO_T
823 ECHO_N
824 ECHO_C
825 DEFS
826 mandir
827 localedir
828 libdir
829 psdir
830 pdfdir
831 dvidir
832 htmldir
833 infodir
834 docdir
835 oldincludedir
836 includedir
837 localstatedir
838 sharedstatedir
839 sysconfdir
840 datadir
841 datarootdir
842 libexecdir
843 sbindir
844 bindir
845 program_transform_name
846 prefix
847 exec_prefix
848 PACKAGE_URL
849 PACKAGE_BUGREPORT
850 PACKAGE_STRING
851 PACKAGE_VERSION
852 PACKAGE_TARNAME
853 PACKAGE_NAME
854 PATH_SEPARATOR
855 SHELL'
856 ac_subst_files=''
857 ac_user_opts='
858 enable_option_checking
859 enable_multilib
860 with_target_subdir
861 with_cross_host
862 with_newlib
863 enable_maintainer_mode
864 enable_shared
865 enable_static
866 with_pic
867 enable_fast_install
868 with_gnu_ld
869 enable_libtool_lock
870 enable_hosted_libstdcxx
871 enable_libstdcxx_verbose
872 enable_libstdcxx_pch
873 enable_cstdio
874 enable_clocale
875 enable_nls
876 enable_libstdcxx_allocator
877 enable_cheaders
878 enable_long_long
879 enable_wchar_t
880 enable_c99
881 enable_concept_checks
882 enable_libstdcxx_debug_flags
883 enable_libstdcxx_debug
884 enable_cxx_flags
885 enable_fully_dynamic_string
886 enable_extern_template
887 with_python_dir
888 enable_werror
889 enable_vtable_verify
890 enable_libstdcxx_time
891 enable_tls
892 enable_rpath
893 with_libiconv_prefix
894 with_system_libunwind
895 enable_linux_futex
896 enable_symvers
897 enable_libstdcxx_visibility
898 enable_libstdcxx_dual_abi
899 with_default_libstdcxx_abi
900 enable_libstdcxx_threads
901 enable_libstdcxx_filesystem_ts
902 enable_cet
903 with_gxx_include_dir
904 enable_version_specific_runtime_libs
905 with_gcc_major_version_only
906 '
907 ac_precious_vars='build_alias
908 host_alias
909 target_alias
910 CC
911 CFLAGS
912 LDFLAGS
913 LIBS
914 CPPFLAGS
915 CXX
916 CXXFLAGS
917 CCC
918 CPP
919 CXXCPP
920 CXXFILT'
921
922
923 # Initialize some variables set by options.
924 ac_init_help=
925 ac_init_version=false
926 ac_unrecognized_opts=
927 ac_unrecognized_sep=
928 # The variables have the same names as the options, with
929 # dashes changed to underlines.
930 cache_file=/dev/null
931 exec_prefix=NONE
932 no_create=
933 no_recursion=
934 prefix=NONE
935 program_prefix=NONE
936 program_suffix=NONE
937 program_transform_name=s,x,x,
938 silent=
939 site=
940 srcdir=
941 verbose=
942 x_includes=NONE
943 x_libraries=NONE
944
945 # Installation directory options.
946 # These are left unexpanded so users can "make install exec_prefix=/foo"
947 # and all the variables that are supposed to be based on exec_prefix
948 # by default will actually change.
949 # Use braces instead of parens because sh, perl, etc. also accept them.
950 # (The list follows the same order as the GNU Coding Standards.)
951 bindir='${exec_prefix}/bin'
952 sbindir='${exec_prefix}/sbin'
953 libexecdir='${exec_prefix}/libexec'
954 datarootdir='${prefix}/share'
955 datadir='${datarootdir}'
956 sysconfdir='${prefix}/etc'
957 sharedstatedir='${prefix}/com'
958 localstatedir='${prefix}/var'
959 includedir='${prefix}/include'
960 oldincludedir='/usr/include'
961 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
962 infodir='${datarootdir}/info'
963 htmldir='${docdir}'
964 dvidir='${docdir}'
965 pdfdir='${docdir}'
966 psdir='${docdir}'
967 libdir='${exec_prefix}/lib'
968 localedir='${datarootdir}/locale'
969 mandir='${datarootdir}/man'
970
971 ac_prev=
972 ac_dashdash=
973 for ac_option
974 do
975 # If the previous option needs an argument, assign it.
976 if test -n "$ac_prev"; then
977 eval $ac_prev=\$ac_option
978 ac_prev=
979 continue
980 fi
981
982 case $ac_option in
983 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984 *) ac_optarg=yes ;;
985 esac
986
987 # Accept the important Cygnus configure options, so we can diagnose typos.
988
989 case $ac_dashdash$ac_option in
990 --)
991 ac_dashdash=yes ;;
992
993 -bindir | --bindir | --bindi | --bind | --bin | --bi)
994 ac_prev=bindir ;;
995 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
996 bindir=$ac_optarg ;;
997
998 -build | --build | --buil | --bui | --bu)
999 ac_prev=build_alias ;;
1000 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1001 build_alias=$ac_optarg ;;
1002
1003 -cache-file | --cache-file | --cache-fil | --cache-fi \
1004 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1005 ac_prev=cache_file ;;
1006 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1007 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1008 cache_file=$ac_optarg ;;
1009
1010 --config-cache | -C)
1011 cache_file=config.cache ;;
1012
1013 -datadir | --datadir | --datadi | --datad)
1014 ac_prev=datadir ;;
1015 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1016 datadir=$ac_optarg ;;
1017
1018 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1019 | --dataroo | --dataro | --datar)
1020 ac_prev=datarootdir ;;
1021 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1022 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1023 datarootdir=$ac_optarg ;;
1024
1025 -disable-* | --disable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1033 *"
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=no ;;
1040
1041 -docdir | --docdir | --docdi | --doc | --do)
1042 ac_prev=docdir ;;
1043 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1044 docdir=$ac_optarg ;;
1045
1046 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1047 ac_prev=dvidir ;;
1048 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1049 dvidir=$ac_optarg ;;
1050
1051 -enable-* | --enable-*)
1052 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055 as_fn_error "invalid feature name: $ac_useropt"
1056 ac_useropt_orig=$ac_useropt
1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1059 *"
1060 "enable_$ac_useropt"
1061 "*) ;;
1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1063 ac_unrecognized_sep=', ';;
1064 esac
1065 eval enable_$ac_useropt=\$ac_optarg ;;
1066
1067 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1068 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1069 | --exec | --exe | --ex)
1070 ac_prev=exec_prefix ;;
1071 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1072 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1073 | --exec=* | --exe=* | --ex=*)
1074 exec_prefix=$ac_optarg ;;
1075
1076 -gas | --gas | --ga | --g)
1077 # Obsolete; use --with-gas.
1078 with_gas=yes ;;
1079
1080 -help | --help | --hel | --he | -h)
1081 ac_init_help=long ;;
1082 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1083 ac_init_help=recursive ;;
1084 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1085 ac_init_help=short ;;
1086
1087 -host | --host | --hos | --ho)
1088 ac_prev=host_alias ;;
1089 -host=* | --host=* | --hos=* | --ho=*)
1090 host_alias=$ac_optarg ;;
1091
1092 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1093 ac_prev=htmldir ;;
1094 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1095 | --ht=*)
1096 htmldir=$ac_optarg ;;
1097
1098 -includedir | --includedir | --includedi | --included | --include \
1099 | --includ | --inclu | --incl | --inc)
1100 ac_prev=includedir ;;
1101 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1102 | --includ=* | --inclu=* | --incl=* | --inc=*)
1103 includedir=$ac_optarg ;;
1104
1105 -infodir | --infodir | --infodi | --infod | --info | --inf)
1106 ac_prev=infodir ;;
1107 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1108 infodir=$ac_optarg ;;
1109
1110 -libdir | --libdir | --libdi | --libd)
1111 ac_prev=libdir ;;
1112 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1113 libdir=$ac_optarg ;;
1114
1115 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1116 | --libexe | --libex | --libe)
1117 ac_prev=libexecdir ;;
1118 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1119 | --libexe=* | --libex=* | --libe=*)
1120 libexecdir=$ac_optarg ;;
1121
1122 -localedir | --localedir | --localedi | --localed | --locale)
1123 ac_prev=localedir ;;
1124 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1125 localedir=$ac_optarg ;;
1126
1127 -localstatedir | --localstatedir | --localstatedi | --localstated \
1128 | --localstate | --localstat | --localsta | --localst | --locals)
1129 ac_prev=localstatedir ;;
1130 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1131 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1132 localstatedir=$ac_optarg ;;
1133
1134 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1135 ac_prev=mandir ;;
1136 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1137 mandir=$ac_optarg ;;
1138
1139 -nfp | --nfp | --nf)
1140 # Obsolete; use --without-fp.
1141 with_fp=no ;;
1142
1143 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1144 | --no-cr | --no-c | -n)
1145 no_create=yes ;;
1146
1147 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1148 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1149 no_recursion=yes ;;
1150
1151 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1152 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1153 | --oldin | --oldi | --old | --ol | --o)
1154 ac_prev=oldincludedir ;;
1155 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1156 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1157 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1158 oldincludedir=$ac_optarg ;;
1159
1160 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1161 ac_prev=prefix ;;
1162 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1163 prefix=$ac_optarg ;;
1164
1165 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1166 | --program-pre | --program-pr | --program-p)
1167 ac_prev=program_prefix ;;
1168 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1169 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1170 program_prefix=$ac_optarg ;;
1171
1172 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1173 | --program-suf | --program-su | --program-s)
1174 ac_prev=program_suffix ;;
1175 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1176 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1177 program_suffix=$ac_optarg ;;
1178
1179 -program-transform-name | --program-transform-name \
1180 | --program-transform-nam | --program-transform-na \
1181 | --program-transform-n | --program-transform- \
1182 | --program-transform | --program-transfor \
1183 | --program-transfo | --program-transf \
1184 | --program-trans | --program-tran \
1185 | --progr-tra | --program-tr | --program-t)
1186 ac_prev=program_transform_name ;;
1187 -program-transform-name=* | --program-transform-name=* \
1188 | --program-transform-nam=* | --program-transform-na=* \
1189 | --program-transform-n=* | --program-transform-=* \
1190 | --program-transform=* | --program-transfor=* \
1191 | --program-transfo=* | --program-transf=* \
1192 | --program-trans=* | --program-tran=* \
1193 | --progr-tra=* | --program-tr=* | --program-t=*)
1194 program_transform_name=$ac_optarg ;;
1195
1196 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1197 ac_prev=pdfdir ;;
1198 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1199 pdfdir=$ac_optarg ;;
1200
1201 -psdir | --psdir | --psdi | --psd | --ps)
1202 ac_prev=psdir ;;
1203 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1204 psdir=$ac_optarg ;;
1205
1206 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1207 | -silent | --silent | --silen | --sile | --sil)
1208 silent=yes ;;
1209
1210 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1211 ac_prev=sbindir ;;
1212 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1213 | --sbi=* | --sb=*)
1214 sbindir=$ac_optarg ;;
1215
1216 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1217 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1218 | --sharedst | --shareds | --shared | --share | --shar \
1219 | --sha | --sh)
1220 ac_prev=sharedstatedir ;;
1221 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1222 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1223 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1224 | --sha=* | --sh=*)
1225 sharedstatedir=$ac_optarg ;;
1226
1227 -site | --site | --sit)
1228 ac_prev=site ;;
1229 -site=* | --site=* | --sit=*)
1230 site=$ac_optarg ;;
1231
1232 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1233 ac_prev=srcdir ;;
1234 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1235 srcdir=$ac_optarg ;;
1236
1237 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1238 | --syscon | --sysco | --sysc | --sys | --sy)
1239 ac_prev=sysconfdir ;;
1240 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1241 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1242 sysconfdir=$ac_optarg ;;
1243
1244 -target | --target | --targe | --targ | --tar | --ta | --t)
1245 ac_prev=target_alias ;;
1246 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1247 target_alias=$ac_optarg ;;
1248
1249 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1250 verbose=yes ;;
1251
1252 -version | --version | --versio | --versi | --vers | -V)
1253 ac_init_version=: ;;
1254
1255 -with-* | --with-*)
1256 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1257 # Reject names that are not valid shell variable names.
1258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1259 as_fn_error "invalid package name: $ac_useropt"
1260 ac_useropt_orig=$ac_useropt
1261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262 case $ac_user_opts in
1263 *"
1264 "with_$ac_useropt"
1265 "*) ;;
1266 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1267 ac_unrecognized_sep=', ';;
1268 esac
1269 eval with_$ac_useropt=\$ac_optarg ;;
1270
1271 -without-* | --without-*)
1272 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1275 as_fn_error "invalid package name: $ac_useropt"
1276 ac_useropt_orig=$ac_useropt
1277 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1279 *"
1280 "with_$ac_useropt"
1281 "*) ;;
1282 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1283 ac_unrecognized_sep=', ';;
1284 esac
1285 eval with_$ac_useropt=no ;;
1286
1287 --x)
1288 # Obsolete; use --with-x.
1289 with_x=yes ;;
1290
1291 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1292 | --x-incl | --x-inc | --x-in | --x-i)
1293 ac_prev=x_includes ;;
1294 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1295 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1296 x_includes=$ac_optarg ;;
1297
1298 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1299 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1300 ac_prev=x_libraries ;;
1301 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1302 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1303 x_libraries=$ac_optarg ;;
1304
1305 -*) as_fn_error "unrecognized option: \`$ac_option'
1306 Try \`$0 --help' for more information."
1307 ;;
1308
1309 *=*)
1310 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1311 # Reject names that are not valid shell variable names.
1312 case $ac_envvar in #(
1313 '' | [0-9]* | *[!_$as_cr_alnum]* )
1314 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1315 esac
1316 eval $ac_envvar=\$ac_optarg
1317 export $ac_envvar ;;
1318
1319 *)
1320 # FIXME: should be removed in autoconf 3.0.
1321 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1322 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1323 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1324 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1325 ;;
1326
1327 esac
1328 done
1329
1330 if test -n "$ac_prev"; then
1331 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1332 as_fn_error "missing argument to $ac_option"
1333 fi
1334
1335 if test -n "$ac_unrecognized_opts"; then
1336 case $enable_option_checking in
1337 no) ;;
1338 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1339 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340 esac
1341 fi
1342
1343 # Check all directory arguments for consistency.
1344 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1345 datadir sysconfdir sharedstatedir localstatedir includedir \
1346 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1347 libdir localedir mandir
1348 do
1349 eval ac_val=\$$ac_var
1350 # Remove trailing slashes.
1351 case $ac_val in
1352 */ )
1353 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1354 eval $ac_var=\$ac_val;;
1355 esac
1356 # Be sure to have absolute directory names.
1357 case $ac_val in
1358 [\\/$]* | ?:[\\/]* ) continue;;
1359 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1360 esac
1361 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1362 done
1363
1364 # There might be people who depend on the old broken behavior: `$host'
1365 # used to hold the argument of --host etc.
1366 # FIXME: To remove some day.
1367 build=$build_alias
1368 host=$host_alias
1369 target=$target_alias
1370
1371 # FIXME: To remove some day.
1372 if test "x$host_alias" != x; then
1373 if test "x$build_alias" = x; then
1374 cross_compiling=maybe
1375 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1376 If a cross compiler is detected then cross compile mode will be used." >&2
1377 elif test "x$build_alias" != "x$host_alias"; then
1378 cross_compiling=yes
1379 fi
1380 fi
1381
1382 ac_tool_prefix=
1383 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1384
1385 test "$silent" = yes && exec 6>/dev/null
1386
1387
1388 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1389 ac_ls_di=`ls -di .` &&
1390 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1391 as_fn_error "working directory cannot be determined"
1392 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1393 as_fn_error "pwd does not report name of working directory"
1394
1395
1396 # Find the source files, if location was not specified.
1397 if test -z "$srcdir"; then
1398 ac_srcdir_defaulted=yes
1399 # Try the directory containing this script, then the parent directory.
1400 ac_confdir=`$as_dirname -- "$as_myself" ||
1401 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402 X"$as_myself" : 'X\(//\)[^/]' \| \
1403 X"$as_myself" : 'X\(//\)$' \| \
1404 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1405 $as_echo X"$as_myself" |
1406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1407 s//\1/
1408 q
1409 }
1410 /^X\(\/\/\)[^/].*/{
1411 s//\1/
1412 q
1413 }
1414 /^X\(\/\/\)$/{
1415 s//\1/
1416 q
1417 }
1418 /^X\(\/\).*/{
1419 s//\1/
1420 q
1421 }
1422 s/.*/./; q'`
1423 srcdir=$ac_confdir
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 srcdir=..
1426 fi
1427 else
1428 ac_srcdir_defaulted=no
1429 fi
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1431 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1432 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1433 fi
1434 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1435 ac_abs_confdir=`(
1436 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1437 pwd)`
1438 # When building in place, set srcdir=.
1439 if test "$ac_abs_confdir" = "$ac_pwd"; then
1440 srcdir=.
1441 fi
1442 # Remove unnecessary trailing slashes from srcdir.
1443 # Double slashes in file names in object file debugging info
1444 # mess up M-x gdb in Emacs.
1445 case $srcdir in
1446 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447 esac
1448 for ac_var in $ac_precious_vars; do
1449 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1450 eval ac_env_${ac_var}_value=\$${ac_var}
1451 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1452 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1453 done
1454
1455 #
1456 # Report the --help message.
1457 #
1458 if test "$ac_init_help" = "long"; then
1459 # Omit some internal or obsolete options to make the list less imposing.
1460 # This message is too long to be a string in the A/UX 3.1 sh.
1461 cat <<_ACEOF
1462 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1463
1464 Usage: $0 [OPTION]... [VAR=VALUE]...
1465
1466 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1467 VAR=VALUE. See below for descriptions of some of the useful variables.
1468
1469 Defaults for the options are specified in brackets.
1470
1471 Configuration:
1472 -h, --help display this help and exit
1473 --help=short display options specific to this package
1474 --help=recursive display the short help of all the included packages
1475 -V, --version display version information and exit
1476 -q, --quiet, --silent do not print \`checking...' messages
1477 --cache-file=FILE cache test results in FILE [disabled]
1478 -C, --config-cache alias for \`--cache-file=config.cache'
1479 -n, --no-create do not create output files
1480 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1481
1482 Installation directories:
1483 --prefix=PREFIX install architecture-independent files in PREFIX
1484 [$ac_default_prefix]
1485 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1486 [PREFIX]
1487
1488 By default, \`make install' will install all the files in
1489 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1490 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1491 for instance \`--prefix=\$HOME'.
1492
1493 For better control, use the options below.
1494
1495 Fine tuning of the installation directories:
1496 --bindir=DIR user executables [EPREFIX/bin]
1497 --sbindir=DIR system admin executables [EPREFIX/sbin]
1498 --libexecdir=DIR program executables [EPREFIX/libexec]
1499 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1500 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1501 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1502 --libdir=DIR object code libraries [EPREFIX/lib]
1503 --includedir=DIR C header files [PREFIX/include]
1504 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1505 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1506 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1507 --infodir=DIR info documentation [DATAROOTDIR/info]
1508 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1509 --mandir=DIR man documentation [DATAROOTDIR/man]
1510 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1511 --htmldir=DIR html documentation [DOCDIR]
1512 --dvidir=DIR dvi documentation [DOCDIR]
1513 --pdfdir=DIR pdf documentation [DOCDIR]
1514 --psdir=DIR ps documentation [DOCDIR]
1515 _ACEOF
1516
1517 cat <<\_ACEOF
1518
1519 Program names:
1520 --program-prefix=PREFIX prepend PREFIX to installed program names
1521 --program-suffix=SUFFIX append SUFFIX to installed program names
1522 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1523
1524 System types:
1525 --build=BUILD configure for building on BUILD [guessed]
1526 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1527 --target=TARGET configure for building compilers for TARGET [HOST]
1528 _ACEOF
1529 fi
1530
1531 if test -n "$ac_init_help"; then
1532 case $ac_init_help in
1533 short | recursive ) echo "Configuration of package-unused version-unused:";;
1534 esac
1535 cat <<\_ACEOF
1536
1537 Optional Features:
1538 --disable-option-checking ignore unrecognized --enable/--with options
1539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1541 --enable-multilib build many library versions (default)
1542 --enable-maintainer-mode enable make rules and dependencies not useful
1543 (and sometimes confusing) to the casual installer
1544 --enable-shared[=PKGS] build shared libraries [default=yes]
1545 --enable-static[=PKGS] build static libraries [default=yes]
1546 --enable-fast-install[=PKGS]
1547 optimize for fast installation [default=yes]
1548 --disable-libtool-lock avoid locking (might break parallel builds)
1549 --disable-hosted-libstdcxx
1550 only build freestanding C++ runtime support
1551 --disable-libstdcxx-verbose
1552 disable termination messages to standard error
1553 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1554 [default=$is_hosted]
1555 --enable-cstdio[=PACKAGE]
1556 use target-specific I/O package [default=stdio]
1557 --enable-clocale[=MODEL]
1558 use MODEL for target locale package [default=auto]
1559 --enable-nls use Native Language Support (default)
1560 --enable-libstdcxx-allocator[=KIND]
1561 use KIND for target std::allocator base
1562 [default=auto]
1563 --enable-cheaders[=KIND]
1564 construct "C" headers for g++ [default=$c_model]
1565 --enable-long-long enable template specializations for 'long long'
1566 [default=yes]
1567 --enable-wchar_t enable template specializations for 'wchar_t'
1568 [default=yes]
1569 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1570 --enable-concept-checks use Boost-derived template checks [default=no]
1571 --enable-libstdcxx-debug-flags=FLAGS
1572 pass compiler FLAGS when building debug library
1573 [default="-gdwarf-4 -g3 -O0"]
1574 --enable-libstdcxx-debug
1575 build extra debug library [default=no]
1576 --enable-cxx-flags=FLAGS
1577 pass compiler FLAGS when building library [default=]
1578 --enable-fully-dynamic-string
1579 do not put empty strings in per-process static
1580 memory [default=no]
1581 --enable-extern-template
1582 enable extern template [default=yes]
1583 --enable-werror turns on -Werror [default=yes]
1584 --enable-vtable-verify enable vtable verify [default=no]
1585 --enable-libstdcxx-time[=KIND]
1586 use KIND for check type [default=auto]
1587 --enable-tls Use thread-local storage [default=yes]
1588 --disable-rpath do not hardcode runtime library paths
1589 --enable-linux-futex use the Linux futex system call [default=default]
1590 --enable-symvers[=STYLE]
1591 enables symbol versioning of the shared library
1592 [default=yes]
1593 --enable-libstdcxx-visibility
1594 enables visibility safe usage [default=yes]
1595 --enable-libstdcxx-dual-abi
1596 support two versions of std::string [default=yes]
1597 --enable-libstdcxx-threads
1598 enable C++11 threads support [default=auto]
1599 --enable-libstdcxx-filesystem-ts
1600 turns on ISO/IEC TS 18822 support [default=auto]
1601 --enable-cet enable Intel CET in target libraries
1602 [default=default]
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/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 | $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 | $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 | $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 | $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
15688 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15689
15690 enable_float128=yes
15691 else
15692 enable_float128=no
15693 fi
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15695 $as_echo "$enable_float128" >&6; }
15696 rm -f conftest*
15697
15698 ac_ext=c
15699 ac_cpp='$CPP $CPPFLAGS'
15700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15703
15704
15705 if test "$enable_float128" = yes; then
15706 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15707 fi
15708
15709 # Checks for compiler support that doesn't require linking.
15710
15711 # All these tests are for C++; save the language and the compiler flags.
15712 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15713 # found in GLIBCXX_CONFIGURE.
15714
15715 ac_ext=cpp
15716 ac_cpp='$CXXCPP $CPPFLAGS'
15717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15720
15721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15722 ac_save_CXXFLAGS="$CXXFLAGS"
15723
15724 # Check for maintainer-mode bits.
15725 if test x"$USE_MAINTAINER_MODE" = xno; then
15726 WERROR=''
15727 else
15728 WERROR='-Werror'
15729 fi
15730
15731 # Check for -ffunction-sections -fdata-sections
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15733 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15734 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 int foo; void bar() { };
15738 int
15739 main ()
15740 {
15741
15742 ;
15743 return 0;
15744 }
15745 _ACEOF
15746 if ac_fn_cxx_try_compile "$LINENO"; then :
15747 ac_fdsections=yes
15748 else
15749 ac_fdsections=no
15750 fi
15751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752 if test "$ac_test_CXXFLAGS" = set; then
15753 CXXFLAGS="$ac_save_CXXFLAGS"
15754 else
15755 # this is the suspicious part
15756 CXXFLAGS=''
15757 fi
15758 if test x"$ac_fdsections" = x"yes"; then
15759 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15760 fi
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15762 $as_echo "$ac_fdsections" >&6; }
15763
15764 ac_ext=c
15765 ac_cpp='$CPP $CPPFLAGS'
15766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15769
15770
15771
15772
15773
15774 # Enable all the variable C++ runtime options that don't require linking.
15775
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15777 $as_echo_n "checking for underlying I/O to use... " >&6; }
15778 # Check whether --enable-cstdio was given.
15779 if test "${enable_cstdio+set}" = set; then :
15780 enableval=$enable_cstdio;
15781 case "$enableval" in
15782 stdio) ;;
15783 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15784 esac
15785
15786 else
15787 enable_cstdio=stdio
15788 fi
15789
15790
15791
15792 # Now that libio has been removed, you can have any color you want as long
15793 # as it's black. This is one big no-op until other packages are added, but
15794 # showing the framework never hurts.
15795 case ${enable_cstdio} in
15796 stdio)
15797 CSTDIO_H=config/io/c_io_stdio.h
15798 BASIC_FILE_H=config/io/basic_file_stdio.h
15799 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15801 $as_echo "stdio" >&6; }
15802 ;;
15803 esac
15804
15805
15806
15807
15808
15809
15810 # Check whether --enable-clocale was given.
15811 if test "${enable_clocale+set}" = set; then :
15812 enableval=$enable_clocale;
15813 case "$enableval" in
15814 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15815 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15816 esac
15817
15818 else
15819 enable_clocale=auto
15820 fi
15821
15822
15823
15824 # Deal with gettext issues. Default to not using it (=no) until we detect
15825 # support for it later. Let the user turn it off via --e/d, but let that
15826 # default to on for easier handling.
15827 USE_NLS=no
15828 # Check whether --enable-nls was given.
15829 if test "${enable_nls+set}" = set; then :
15830 enableval=$enable_nls;
15831 else
15832 enable_nls=yes
15833 fi
15834
15835
15836 # Either a known package, or "auto"
15837 if test $enable_clocale = no || test $enable_clocale = yes; then
15838 enable_clocale=auto
15839 fi
15840 enable_clocale_flag=$enable_clocale
15841
15842 # Probe for locale model to use if none specified.
15843 # Default to "generic".
15844 if test $enable_clocale_flag = auto; then
15845 case ${target_os} in
15846 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15847 enable_clocale_flag=gnu
15848 ;;
15849 darwin*)
15850 enable_clocale_flag=darwin
15851 ;;
15852 dragonfly* | freebsd*)
15853 enable_clocale_flag=dragonfly
15854 ;;
15855 openbsd*)
15856 enable_clocale_flag=newlib
15857 ;;
15858 *)
15859 if test x"$with_newlib" = x"yes"; then
15860 enable_clocale_flag=newlib
15861 else
15862 enable_clocale_flag=generic
15863 fi
15864 ;;
15865 esac
15866 fi
15867
15868 # Sanity check model, and test for special functionality.
15869 if test $enable_clocale_flag = gnu; then
15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15872
15873 #include <features.h>
15874 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15875 _GLIBCXX_ok
15876 #endif
15877
15878 _ACEOF
15879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15880 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15881 enable_clocale_flag=gnu
15882 else
15883 enable_clocale_flag=generic
15884 fi
15885 rm -f conftest*
15886
15887
15888 # Set it to scream when it hurts.
15889 ac_save_CFLAGS="$CFLAGS"
15890 CFLAGS="-Wimplicit-function-declaration -Werror"
15891
15892 # Use strxfrm_l if available.
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 #define _GNU_SOURCE 1
15896 #include <string.h>
15897 #include <locale.h>
15898 int
15899 main ()
15900 {
15901 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15902 ;
15903 return 0;
15904 }
15905 _ACEOF
15906 if ac_fn_c_try_compile "$LINENO"; then :
15907
15908 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15909
15910 fi
15911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15912
15913 # Use strerror_l if available.
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15916 #define _GNU_SOURCE 1
15917 #include <string.h>
15918 #include <locale.h>
15919 int
15920 main ()
15921 {
15922 __locale_t loc; strerror_l(5, loc);
15923 ;
15924 return 0;
15925 }
15926 _ACEOF
15927 if ac_fn_c_try_compile "$LINENO"; then :
15928
15929 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15930
15931 fi
15932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15933
15934 CFLAGS="$ac_save_CFLAGS"
15935 fi
15936
15937 # Perhaps use strerror_r if available, and strerror_l isn't.
15938 ac_save_CFLAGS="$CFLAGS"
15939 CFLAGS="-Wimplicit-function-declaration -Werror"
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15942 #define _GNU_SOURCE 1
15943 #include <string.h>
15944 #include <locale.h>
15945 int
15946 main ()
15947 {
15948 char s[128]; strerror_r(5, s, 128);
15949 ;
15950 return 0;
15951 }
15952 _ACEOF
15953 if ac_fn_c_try_compile "$LINENO"; then :
15954
15955 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15956
15957 fi
15958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15959 CFLAGS="$ac_save_CFLAGS"
15960
15961 # Set configure bits for specified locale package
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15963 $as_echo_n "checking for C locale to use... " >&6; }
15964 case ${enable_clocale_flag} in
15965 generic)
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15967 $as_echo "generic" >&6; }
15968
15969 CLOCALE_H=config/locale/generic/c_locale.h
15970 CLOCALE_CC=config/locale/generic/c_locale.cc
15971 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15972 CCOLLATE_CC=config/locale/generic/collate_members.cc
15973 CCTYPE_CC=config/locale/generic/ctype_members.cc
15974 CMESSAGES_H=config/locale/generic/messages_members.h
15975 CMESSAGES_CC=config/locale/generic/messages_members.cc
15976 CMONEY_CC=config/locale/generic/monetary_members.cc
15977 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15978 CTIME_H=config/locale/generic/time_members.h
15979 CTIME_CC=config/locale/generic/time_members.cc
15980 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15981 ;;
15982 darwin)
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15984 $as_echo "darwin" >&6; }
15985
15986 CLOCALE_H=config/locale/generic/c_locale.h
15987 CLOCALE_CC=config/locale/generic/c_locale.cc
15988 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15989 CCOLLATE_CC=config/locale/generic/collate_members.cc
15990 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15991 CMESSAGES_H=config/locale/generic/messages_members.h
15992 CMESSAGES_CC=config/locale/generic/messages_members.cc
15993 CMONEY_CC=config/locale/generic/monetary_members.cc
15994 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15995 CTIME_H=config/locale/generic/time_members.h
15996 CTIME_CC=config/locale/generic/time_members.cc
15997 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15998 ;;
15999
16000 dragonfly)
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16002 $as_echo "dragonfly or freebsd" >&6; }
16003
16004 CLOCALE_H=config/locale/dragonfly/c_locale.h
16005 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16006 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16007 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16008 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16009 CMESSAGES_H=config/locale/generic/messages_members.h
16010 CMESSAGES_CC=config/locale/generic/messages_members.cc
16011 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16012 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16013 CTIME_H=config/locale/dragonfly/time_members.h
16014 CTIME_CC=config/locale/dragonfly/time_members.cc
16015 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16016 ;;
16017
16018 gnu)
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16020 $as_echo "gnu" >&6; }
16021
16022 # Declare intention to use gettext, and add support for specific
16023 # languages.
16024 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16025 ALL_LINGUAS="de fr"
16026
16027 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16028 # Extract the first word of "msgfmt", so it can be a program name with args.
16029 set dummy msgfmt; ac_word=$2
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16031 $as_echo_n "checking for $ac_word... " >&6; }
16032 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16033 $as_echo_n "(cached) " >&6
16034 else
16035 if test -n "$check_msgfmt"; then
16036 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16037 else
16038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16039 for as_dir in $PATH
16040 do
16041 IFS=$as_save_IFS
16042 test -z "$as_dir" && as_dir=.
16043 for ac_exec_ext in '' $ac_executable_extensions; do
16044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16045 ac_cv_prog_check_msgfmt="yes"
16046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16047 break 2
16048 fi
16049 done
16050 done
16051 IFS=$as_save_IFS
16052
16053 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16054 fi
16055 fi
16056 check_msgfmt=$ac_cv_prog_check_msgfmt
16057 if test -n "$check_msgfmt"; then
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16059 $as_echo "$check_msgfmt" >&6; }
16060 else
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16062 $as_echo "no" >&6; }
16063 fi
16064
16065
16066 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16067 USE_NLS=yes
16068 fi
16069 # Export the build objects.
16070 for ling in $ALL_LINGUAS; do \
16071 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16072 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16073 done
16074
16075
16076
16077 CLOCALE_H=config/locale/gnu/c_locale.h
16078 CLOCALE_CC=config/locale/gnu/c_locale.cc
16079 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16080 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16081 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16082 CMESSAGES_H=config/locale/gnu/messages_members.h
16083 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16084 CMONEY_CC=config/locale/gnu/monetary_members.cc
16085 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16086 CTIME_H=config/locale/gnu/time_members.h
16087 CTIME_CC=config/locale/gnu/time_members.cc
16088 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16089 ;;
16090 ieee_1003.1-2001)
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16092 $as_echo "IEEE 1003.1" >&6; }
16093
16094 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16095 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16096 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16097 CCOLLATE_CC=config/locale/generic/collate_members.cc
16098 CCTYPE_CC=config/locale/generic/ctype_members.cc
16099 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16100 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16101 CMONEY_CC=config/locale/generic/monetary_members.cc
16102 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16103 CTIME_H=config/locale/generic/time_members.h
16104 CTIME_CC=config/locale/generic/time_members.cc
16105 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16106 ;;
16107 newlib)
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16109 $as_echo "newlib" >&6; }
16110
16111 CLOCALE_H=config/locale/generic/c_locale.h
16112 CLOCALE_CC=config/locale/generic/c_locale.cc
16113 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16114 CCOLLATE_CC=config/locale/generic/collate_members.cc
16115 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16116 CMESSAGES_H=config/locale/generic/messages_members.h
16117 CMESSAGES_CC=config/locale/generic/messages_members.cc
16118 CMONEY_CC=config/locale/generic/monetary_members.cc
16119 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16120 CTIME_H=config/locale/generic/time_members.h
16121 CTIME_CC=config/locale/generic/time_members.cc
16122 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16123 ;;
16124 esac
16125
16126 # This is where the testsuite looks for locale catalogs, using the
16127 # -DLOCALEDIR define during testsuite compilation.
16128 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16129
16130
16131 # A standalone libintl (e.g., GNU libintl) may be in use.
16132 if test $USE_NLS = yes; then
16133 for ac_header in libintl.h
16134 do :
16135 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16136 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_LIBINTL_H 1
16139 _ACEOF
16140
16141 else
16142 USE_NLS=no
16143 fi
16144
16145 done
16146
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16148 $as_echo_n "checking for library containing gettext... " >&6; }
16149 if test "${ac_cv_search_gettext+set}" = set; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 ac_func_search_save_LIBS=$LIBS
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16155
16156 /* Override any GCC internal prototype to avoid an error.
16157 Use char because int might match the return type of a GCC
16158 builtin and then its argument prototype would still apply. */
16159 #ifdef __cplusplus
16160 extern "C"
16161 #endif
16162 char gettext ();
16163 int
16164 main ()
16165 {
16166 return gettext ();
16167 ;
16168 return 0;
16169 }
16170 _ACEOF
16171 for ac_lib in '' intl; do
16172 if test -z "$ac_lib"; then
16173 ac_res="none required"
16174 else
16175 ac_res=-l$ac_lib
16176 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16177 fi
16178 if test x$gcc_no_link = xyes; then
16179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16180 fi
16181 if ac_fn_c_try_link "$LINENO"; then :
16182 ac_cv_search_gettext=$ac_res
16183 fi
16184 rm -f core conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext
16186 if test "${ac_cv_search_gettext+set}" = set; then :
16187 break
16188 fi
16189 done
16190 if test "${ac_cv_search_gettext+set}" = set; then :
16191
16192 else
16193 ac_cv_search_gettext=no
16194 fi
16195 rm conftest.$ac_ext
16196 LIBS=$ac_func_search_save_LIBS
16197 fi
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16199 $as_echo "$ac_cv_search_gettext" >&6; }
16200 ac_res=$ac_cv_search_gettext
16201 if test "$ac_res" != no; then :
16202 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16203
16204 else
16205 USE_NLS=no
16206 fi
16207
16208 fi
16209 if test $USE_NLS = yes; then
16210
16211 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16212
16213 fi
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16231 $as_echo_n "checking for std::allocator base class... " >&6; }
16232 # Check whether --enable-libstdcxx-allocator was given.
16233 if test "${enable_libstdcxx_allocator+set}" = set; then :
16234 enableval=$enable_libstdcxx_allocator;
16235 case "$enableval" in
16236 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16237 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16238 esac
16239
16240 else
16241 enable_libstdcxx_allocator=auto
16242 fi
16243
16244
16245
16246 # If they didn't use this option switch, or if they specified --enable
16247 # with no specific model, we'll have to look for one. If they
16248 # specified --disable (???), do likewise.
16249 if test $enable_libstdcxx_allocator = no ||
16250 test $enable_libstdcxx_allocator = yes;
16251 then
16252 enable_libstdcxx_allocator=auto
16253 fi
16254
16255 # Either a known package, or "auto". Auto implies the default choice
16256 # for a particular platform.
16257 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16258
16259 # Probe for host-specific support if no specific model is specified.
16260 # Default to "new".
16261 if test $enable_libstdcxx_allocator_flag = auto; then
16262 case ${target_os} in
16263 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16264 enable_libstdcxx_allocator_flag=new
16265 ;;
16266 *)
16267 enable_libstdcxx_allocator_flag=new
16268 ;;
16269 esac
16270 fi
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16272 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16273
16274
16275 # Set configure bits for specified locale package
16276 case ${enable_libstdcxx_allocator_flag} in
16277 bitmap)
16278 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16279 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16280 ;;
16281 malloc)
16282 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16283 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16284 ;;
16285 mt)
16286 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16287 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16288 ;;
16289 new)
16290 ALLOCATOR_H=config/allocator/new_allocator_base.h
16291 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16292 ;;
16293 pool)
16294 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16295 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16296 ;;
16297 esac
16298
16299
16300
16301
16302
16303
16304 # Check whether --enable-cheaders was given.
16305 if test "${enable_cheaders+set}" = set; then :
16306 enableval=$enable_cheaders;
16307 case "$enableval" in
16308 c|c_std|c_global) ;;
16309 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16310 esac
16311
16312 else
16313 enable_cheaders=$c_model
16314 fi
16315
16316
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16318 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16319
16320 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16321
16322 # Allow overrides to configure.host here.
16323 if test $enable_cheaders = c_global; then
16324 c_compatibility=yes
16325 fi
16326
16327
16328
16329
16330
16331
16332
16333 # Check whether --enable-long-long was given.
16334 if test "${enable_long_long+set}" = set; then :
16335 enableval=$enable_long_long;
16336 case "$enableval" in
16337 yes|no) ;;
16338 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16339 esac
16340
16341 else
16342 enable_long_long=yes
16343 fi
16344
16345
16346 if test $enable_long_long = yes; then
16347
16348 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16349
16350 fi
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16352 $as_echo_n "checking for enabled long long specializations... " >&6; }
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16354 $as_echo "$enable_long_long" >&6; }
16355
16356
16357 # Check whether --enable-wchar_t was given.
16358 if test "${enable_wchar_t+set}" = set; then :
16359 enableval=$enable_wchar_t;
16360 case "$enableval" in
16361 yes|no) ;;
16362 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16363 esac
16364
16365 else
16366 enable_wchar_t=yes
16367 fi
16368
16369
16370
16371 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16372 for ac_header in wchar.h
16373 do :
16374 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCHAR_H 1
16378 _ACEOF
16379 ac_has_wchar_h=yes
16380 else
16381 ac_has_wchar_h=no
16382 fi
16383
16384 done
16385
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16387 $as_echo_n "checking for mbstate_t... " >&6; }
16388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h. */
16390 #include <wchar.h>
16391 int
16392 main ()
16393 {
16394 mbstate_t teststate;
16395 ;
16396 return 0;
16397 }
16398 _ACEOF
16399 if ac_fn_c_try_compile "$LINENO"; then :
16400 have_mbstate_t=yes
16401 else
16402 have_mbstate_t=no
16403 fi
16404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16406 $as_echo "$have_mbstate_t" >&6; }
16407 if test x"$have_mbstate_t" = xyes; then
16408
16409 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16410
16411 fi
16412
16413 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16414 # ac_has_wchar_h.
16415 for ac_header in wctype.h
16416 do :
16417 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16418 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16419 cat >>confdefs.h <<_ACEOF
16420 #define HAVE_WCTYPE_H 1
16421 _ACEOF
16422 ac_has_wctype_h=yes
16423 else
16424 ac_has_wctype_h=no
16425 fi
16426
16427 done
16428
16429
16430 if test x"$enable_wchar_t" = x"yes"; then
16431
16432
16433 ac_ext=cpp
16434 ac_cpp='$CXXCPP $CPPFLAGS'
16435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16438
16439
16440 if test x"$ac_has_wchar_h" = xyes &&
16441 test x"$ac_has_wctype_h" = xyes; then
16442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16444 #include <wchar.h>
16445 #include <stddef.h>
16446 wint_t i;
16447 long l = WEOF;
16448 long j = WCHAR_MIN;
16449 long k = WCHAR_MAX;
16450 namespace test
16451 {
16452 using ::btowc;
16453 using ::fgetwc;
16454 using ::fgetws;
16455 using ::fputwc;
16456 using ::fputws;
16457 using ::fwide;
16458 using ::fwprintf;
16459 using ::fwscanf;
16460 using ::getwc;
16461 using ::getwchar;
16462 using ::mbrlen;
16463 using ::mbrtowc;
16464 using ::mbsinit;
16465 using ::mbsrtowcs;
16466 using ::putwc;
16467 using ::putwchar;
16468 using ::swprintf;
16469 using ::swscanf;
16470 using ::ungetwc;
16471 using ::vfwprintf;
16472 using ::vswprintf;
16473 using ::vwprintf;
16474 using ::wcrtomb;
16475 using ::wcscat;
16476 using ::wcschr;
16477 using ::wcscmp;
16478 using ::wcscoll;
16479 using ::wcscpy;
16480 using ::wcscspn;
16481 using ::wcsftime;
16482 using ::wcslen;
16483 using ::wcsncat;
16484 using ::wcsncmp;
16485 using ::wcsncpy;
16486 using ::wcspbrk;
16487 using ::wcsrchr;
16488 using ::wcsrtombs;
16489 using ::wcsspn;
16490 using ::wcsstr;
16491 using ::wcstod;
16492 using ::wcstok;
16493 using ::wcstol;
16494 using ::wcstoul;
16495 using ::wcsxfrm;
16496 using ::wctob;
16497 using ::wmemchr;
16498 using ::wmemcmp;
16499 using ::wmemcpy;
16500 using ::wmemmove;
16501 using ::wmemset;
16502 using ::wprintf;
16503 using ::wscanf;
16504 }
16505
16506 int
16507 main ()
16508 {
16509
16510 ;
16511 return 0;
16512 }
16513 _ACEOF
16514 if ac_fn_cxx_try_compile "$LINENO"; then :
16515
16516 else
16517 enable_wchar_t=no
16518 fi
16519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16520 else
16521 enable_wchar_t=no
16522 fi
16523
16524 ac_ext=c
16525 ac_cpp='$CPP $CPPFLAGS'
16526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16529
16530 fi
16531
16532 if test x"$enable_wchar_t" = x"yes"; then
16533
16534 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16535
16536 fi
16537
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16539 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16541 $as_echo "$enable_wchar_t" >&6; }
16542
16543
16544
16545 # Check whether --enable-c99 was given.
16546 if test "${enable_c99+set}" = set; then :
16547 enableval=$enable_c99;
16548 case "$enableval" in
16549 yes|no) ;;
16550 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16551 esac
16552
16553 else
16554 enable_c99=yes
16555 fi
16556
16557
16558
16559 if test x"$enable_c99" = x"yes"; then
16560
16561 ac_ext=cpp
16562 ac_cpp='$CXXCPP $CPPFLAGS'
16563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16566
16567
16568 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16569 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16570 # to be spuriously enabled.
16571 ac_save_CXXFLAGS="$CXXFLAGS"
16572 CXXFLAGS="$CXXFLAGS -std=c++98"
16573 ac_save_LIBS="$LIBS"
16574 ac_save_gcc_no_link="$gcc_no_link"
16575
16576 if test x$gcc_no_link != xyes; then
16577 # Use -fno-exceptions to that the C driver can link these tests without
16578 # hitting undefined references to personality routines.
16579 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16581 $as_echo_n "checking for sin in -lm... " >&6; }
16582 if test "${ac_cv_lib_m_sin+set}" = set; then :
16583 $as_echo_n "(cached) " >&6
16584 else
16585 ac_check_lib_save_LIBS=$LIBS
16586 LIBS="-lm $LIBS"
16587 if test x$gcc_no_link = xyes; then
16588 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16589 fi
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16592
16593 /* Override any GCC internal prototype to avoid an error.
16594 Use char because int might match the return type of a GCC
16595 builtin and then its argument prototype would still apply. */
16596 #ifdef __cplusplus
16597 extern "C"
16598 #endif
16599 char sin ();
16600 int
16601 main ()
16602 {
16603 return sin ();
16604 ;
16605 return 0;
16606 }
16607 _ACEOF
16608 if ac_fn_cxx_try_link "$LINENO"; then :
16609 ac_cv_lib_m_sin=yes
16610 else
16611 ac_cv_lib_m_sin=no
16612 fi
16613 rm -f core conftest.err conftest.$ac_objext \
16614 conftest$ac_exeext conftest.$ac_ext
16615 LIBS=$ac_check_lib_save_LIBS
16616 fi
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16618 $as_echo "$ac_cv_lib_m_sin" >&6; }
16619 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16620 LIBS="$LIBS -lm"
16621 else
16622
16623 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16624 gcc_no_link=yes
16625
16626 fi
16627
16628 fi
16629
16630 # Check for the existence of <math.h> functions used if C99 is enabled.
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16632 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16633 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16634 $as_echo_n "(cached) " >&6
16635 else
16636
16637 if test x$gcc_no_link = xyes; then
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16640 #include <math.h>
16641 volatile double d1, d2;
16642 volatile int i;
16643 int
16644 main ()
16645 {
16646 i = fpclassify(d1);
16647 i = isfinite(d1);
16648 i = isinf(d1);
16649 i = isnan(d1);
16650 i = isnormal(d1);
16651 i = signbit(d1);
16652 i = isgreater(d1, d2);
16653 i = isgreaterequal(d1, d2);
16654 i = isless(d1, d2);
16655 i = islessequal(d1, d2);
16656 i = islessgreater(d1, d2);
16657 i = islessgreater(d1, d2);
16658 i = isunordered(d1, d2);
16659
16660 ;
16661 return 0;
16662 }
16663 _ACEOF
16664 if ac_fn_cxx_try_compile "$LINENO"; then :
16665 glibcxx_cv_c99_math_cxx98=yes
16666 else
16667 glibcxx_cv_c99_math_cxx98=no
16668 fi
16669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16670 else
16671 if test x$gcc_no_link = xyes; then
16672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16673 fi
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16676 #include <math.h>
16677 volatile double d1, d2;
16678 volatile int i;
16679 int
16680 main ()
16681 {
16682 i = fpclassify(d1);
16683 i = isfinite(d1);
16684 i = isinf(d1);
16685 i = isnan(d1);
16686 i = isnormal(d1);
16687 i = signbit(d1);
16688 i = isgreater(d1, d2);
16689 i = isgreaterequal(d1, d2);
16690 i = isless(d1, d2);
16691 i = islessequal(d1, d2);
16692 i = islessgreater(d1, d2);
16693 i = islessgreater(d1, d2);
16694 i = isunordered(d1, d2);
16695
16696 ;
16697 return 0;
16698 }
16699 _ACEOF
16700 if ac_fn_cxx_try_link "$LINENO"; then :
16701 glibcxx_cv_c99_math_cxx98=yes
16702 else
16703 glibcxx_cv_c99_math_cxx98=no
16704 fi
16705 rm -f core conftest.err conftest.$ac_objext \
16706 conftest$ac_exeext conftest.$ac_ext
16707 fi
16708
16709 fi
16710
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16712 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16713 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16714
16715 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16716
16717 fi
16718
16719 # Check for the existence of <complex.h> complex math functions.
16720 # This is necessary even though libstdc++ uses the builtin versions
16721 # of these functions, because if the builtin cannot be used, a reference
16722 # to the library function is emitted.
16723 for ac_header in tgmath.h
16724 do :
16725 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16726 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16727 cat >>confdefs.h <<_ACEOF
16728 #define HAVE_TGMATH_H 1
16729 _ACEOF
16730 ac_has_tgmath_h=yes
16731 else
16732 ac_has_tgmath_h=no
16733 fi
16734
16735 done
16736
16737 for ac_header in complex.h
16738 do :
16739 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16740 if test "x$ac_cv_header_complex_h" = x""yes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_COMPLEX_H 1
16743 _ACEOF
16744 ac_has_complex_h=yes
16745 else
16746 ac_has_complex_h=no
16747 fi
16748
16749 done
16750
16751 if test x"$ac_has_complex_h" = x"yes"; then
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16753 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16754 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16755 $as_echo_n "(cached) " >&6
16756 else
16757
16758 if test x$gcc_no_link = xyes; then
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16761 #include <complex.h>
16762 typedef __complex__ float float_type;
16763 typedef __complex__ double double_type;
16764 typedef __complex__ long double ld_type;
16765 volatile float_type tmpf;
16766 volatile double_type tmpd;
16767 volatile ld_type tmpld;
16768 volatile float f;
16769 volatile double d;
16770 volatile long double ld;
16771 int
16772 main ()
16773 {
16774 f = cabsf(tmpf);
16775 f = cargf(tmpf);
16776 tmpf = ccosf(tmpf);
16777 tmpf = ccoshf(tmpf);
16778 tmpf = cexpf(tmpf);
16779 tmpf = clogf(tmpf);
16780 tmpf = csinf(tmpf);
16781 tmpf = csinhf(tmpf);
16782 tmpf = csqrtf(tmpf);
16783 tmpf = ctanf(tmpf);
16784 tmpf = ctanhf(tmpf);
16785 tmpf = cpowf(tmpf, tmpf);
16786 tmpf = cprojf(tmpf);
16787 d = cabs(tmpd);
16788 d = carg(tmpd);
16789 tmpd = ccos(tmpd);
16790 tmpd = ccosh(tmpd);
16791 tmpd = cexp(tmpd);
16792 tmpd = clog(tmpd);
16793 tmpd = csin(tmpd);
16794 tmpd = csinh(tmpd);
16795 tmpd = csqrt(tmpd);
16796 tmpd = ctan(tmpd);
16797 tmpd = ctanh(tmpd);
16798 tmpd = cpow(tmpd, tmpd);
16799 tmpd = cproj(tmpd);
16800 ld = cabsl(tmpld);
16801 ld = cargl(tmpld);
16802 tmpld = ccosl(tmpld);
16803 tmpld = ccoshl(tmpld);
16804 tmpld = cexpl(tmpld);
16805 tmpld = clogl(tmpld);
16806 tmpld = csinl(tmpld);
16807 tmpld = csinhl(tmpld);
16808 tmpld = csqrtl(tmpld);
16809 tmpld = ctanl(tmpld);
16810 tmpld = ctanhl(tmpld);
16811 tmpld = cpowl(tmpld, tmpld);
16812 tmpld = cprojl(tmpld);
16813
16814 ;
16815 return 0;
16816 }
16817 _ACEOF
16818 if ac_fn_cxx_try_compile "$LINENO"; then :
16819 glibcxx_cv_c99_complex_cxx98=yes
16820 else
16821 glibcxx_cv_c99_complex_cxx98=no
16822 fi
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16824 else
16825 if test x$gcc_no_link = xyes; then
16826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16827 fi
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16830 #include <complex.h>
16831 typedef __complex__ float float_type;
16832 typedef __complex__ double double_type;
16833 typedef __complex__ long double ld_type;
16834 volatile float_type tmpf;
16835 volatile double_type tmpd;
16836 volatile ld_type tmpld;
16837 volatile float f;
16838 volatile double d;
16839 volatile long double ld;
16840 int
16841 main ()
16842 {
16843 f = cabsf(tmpf);
16844 f = cargf(tmpf);
16845 tmpf = ccosf(tmpf);
16846 tmpf = ccoshf(tmpf);
16847 tmpf = cexpf(tmpf);
16848 tmpf = clogf(tmpf);
16849 tmpf = csinf(tmpf);
16850 tmpf = csinhf(tmpf);
16851 tmpf = csqrtf(tmpf);
16852 tmpf = ctanf(tmpf);
16853 tmpf = ctanhf(tmpf);
16854 tmpf = cpowf(tmpf, tmpf);
16855 tmpf = cprojf(tmpf);
16856 d = cabs(tmpd);
16857 d = carg(tmpd);
16858 tmpd = ccos(tmpd);
16859 tmpd = ccosh(tmpd);
16860 tmpd = cexp(tmpd);
16861 tmpd = clog(tmpd);
16862 tmpd = csin(tmpd);
16863 tmpd = csinh(tmpd);
16864 tmpd = csqrt(tmpd);
16865 tmpd = ctan(tmpd);
16866 tmpd = ctanh(tmpd);
16867 tmpd = cpow(tmpd, tmpd);
16868 tmpd = cproj(tmpd);
16869 ld = cabsl(tmpld);
16870 ld = cargl(tmpld);
16871 tmpld = ccosl(tmpld);
16872 tmpld = ccoshl(tmpld);
16873 tmpld = cexpl(tmpld);
16874 tmpld = clogl(tmpld);
16875 tmpld = csinl(tmpld);
16876 tmpld = csinhl(tmpld);
16877 tmpld = csqrtl(tmpld);
16878 tmpld = ctanl(tmpld);
16879 tmpld = ctanhl(tmpld);
16880 tmpld = cpowl(tmpld, tmpld);
16881 tmpld = cprojl(tmpld);
16882
16883 ;
16884 return 0;
16885 }
16886 _ACEOF
16887 if ac_fn_cxx_try_link "$LINENO"; then :
16888 glibcxx_cv_c99_complex_cxx98=yes
16889 else
16890 glibcxx_cv_c99_complex_cxx98=no
16891 fi
16892 rm -f core conftest.err conftest.$ac_objext \
16893 conftest$ac_exeext conftest.$ac_ext
16894 fi
16895
16896 fi
16897
16898 fi
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16900 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16901 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16902
16903 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16904
16905 fi
16906
16907 # Check for the existence in <stdio.h> of vscanf, et. al.
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16909 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16910 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16911 $as_echo_n "(cached) " >&6
16912 else
16913
16914 if test x$gcc_no_link = xyes; then
16915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16917 #include <stdio.h>
16918 #include <stdarg.h>
16919 void foo(char* fmt, ...)
16920 {
16921 va_list args; va_start(args, fmt);
16922 vfscanf(stderr, "%i", args);
16923 vscanf("%i", args);
16924 vsnprintf(fmt, 0, "%i", args);
16925 vsscanf(fmt, "%i", args);
16926 snprintf(fmt, 0, "%i");
16927 }
16928 int
16929 main ()
16930 {
16931
16932 ;
16933 return 0;
16934 }
16935 _ACEOF
16936 if ac_fn_cxx_try_compile "$LINENO"; then :
16937 glibcxx_cv_c99_stdio_cxx98=yes
16938 else
16939 glibcxx_cv_c99_stdio_cxx98=no
16940 fi
16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942 else
16943 if test x$gcc_no_link = xyes; then
16944 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16945 fi
16946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16948 #include <stdio.h>
16949 #include <stdarg.h>
16950 void foo(char* fmt, ...)
16951 {
16952 va_list args; va_start(args, fmt);
16953 vfscanf(stderr, "%i", args);
16954 vscanf("%i", args);
16955 vsnprintf(fmt, 0, "%i", args);
16956 vsscanf(fmt, "%i", args);
16957 snprintf(fmt, 0, "%i");
16958 }
16959 int
16960 main ()
16961 {
16962
16963 ;
16964 return 0;
16965 }
16966 _ACEOF
16967 if ac_fn_cxx_try_link "$LINENO"; then :
16968 glibcxx_cv_c99_stdio_cxx98=yes
16969 else
16970 glibcxx_cv_c99_stdio_cxx98=no
16971 fi
16972 rm -f core conftest.err conftest.$ac_objext \
16973 conftest$ac_exeext conftest.$ac_ext
16974 fi
16975
16976 fi
16977
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16979 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16980 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16981
16982 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16983
16984 fi
16985
16986 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16988 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16989 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16990 $as_echo_n "(cached) " >&6
16991 else
16992
16993 if test x$gcc_no_link = xyes; then
16994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
16996 #include <stdlib.h>
16997 volatile float f;
16998 volatile long double ld;
16999 volatile unsigned long long ll;
17000 lldiv_t mydivt;
17001 int
17002 main ()
17003 {
17004 char* tmp;
17005 f = strtof("gnu", &tmp);
17006 ld = strtold("gnu", &tmp);
17007 ll = strtoll("gnu", &tmp, 10);
17008 ll = strtoull("gnu", &tmp, 10);
17009 ll = llabs(10);
17010 mydivt = lldiv(10,1);
17011 ll = mydivt.quot;
17012 ll = mydivt.rem;
17013 ll = atoll("10");
17014 _Exit(0);
17015
17016 ;
17017 return 0;
17018 }
17019 _ACEOF
17020 if ac_fn_cxx_try_compile "$LINENO"; then :
17021 glibcxx_cv_c99_stdlib_cxx98=yes
17022 else
17023 glibcxx_cv_c99_stdlib_cxx98=no
17024 fi
17025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17026 else
17027 if test x$gcc_no_link = xyes; then
17028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17029 fi
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #include <stdlib.h>
17033 volatile float f;
17034 volatile long double ld;
17035 volatile unsigned long long ll;
17036 lldiv_t mydivt;
17037 int
17038 main ()
17039 {
17040 char* tmp;
17041 f = strtof("gnu", &tmp);
17042 ld = strtold("gnu", &tmp);
17043 ll = strtoll("gnu", &tmp, 10);
17044 ll = strtoull("gnu", &tmp, 10);
17045 ll = llabs(10);
17046 mydivt = lldiv(10,1);
17047 ll = mydivt.quot;
17048 ll = mydivt.rem;
17049 ll = atoll("10");
17050 _Exit(0);
17051
17052 ;
17053 return 0;
17054 }
17055 _ACEOF
17056 if ac_fn_cxx_try_link "$LINENO"; then :
17057 glibcxx_cv_c99_stdlib_cxx98=yes
17058 else
17059 glibcxx_cv_c99_stdlib_cxx98=no
17060 fi
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17063 fi
17064
17065 fi
17066
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17068 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17069 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17070
17071 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17072
17073 fi
17074
17075 # Check for the existence in <wchar.h> of wcstold, etc.
17076 if test x"$ac_has_wchar_h" = xyes &&
17077 test x"$ac_has_wctype_h" = xyes; then
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17079 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17080 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17083
17084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17085 /* end confdefs.h. */
17086 #include <wchar.h>
17087 namespace test
17088 {
17089 using ::wcstold;
17090 using ::wcstoll;
17091 using ::wcstoull;
17092 }
17093
17094 int
17095 main ()
17096 {
17097
17098 ;
17099 return 0;
17100 }
17101 _ACEOF
17102 if ac_fn_cxx_try_compile "$LINENO"; then :
17103 glibcxx_cv_c99_wchar_cxx98=yes
17104 else
17105 glibcxx_cv_c99_wchar_cxx98=no
17106 fi
17107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17108
17109 fi
17110
17111
17112 # Checks for wide character functions that may not be present.
17113 # Injection of these is wrapped with guard macros.
17114 # NB: only put functions here, instead of immediately above, if
17115 # absolutely necessary.
17116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h. */
17118 #include <wchar.h>
17119 namespace test { using ::vfwscanf; }
17120 int
17121 main ()
17122 {
17123
17124 ;
17125 return 0;
17126 }
17127 _ACEOF
17128 if ac_fn_cxx_try_compile "$LINENO"; then :
17129
17130 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17131
17132 fi
17133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17134
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17137 #include <wchar.h>
17138 namespace test { using ::vswscanf; }
17139 int
17140 main ()
17141 {
17142
17143 ;
17144 return 0;
17145 }
17146 _ACEOF
17147 if ac_fn_cxx_try_compile "$LINENO"; then :
17148
17149 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17150
17151 fi
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17156 #include <wchar.h>
17157 namespace test { using ::vwscanf; }
17158 int
17159 main ()
17160 {
17161
17162 ;
17163 return 0;
17164 }
17165 _ACEOF
17166 if ac_fn_cxx_try_compile "$LINENO"; then :
17167
17168 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17169
17170 fi
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172
17173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h. */
17175 #include <wchar.h>
17176 namespace test { using ::wcstof; }
17177 int
17178 main ()
17179 {
17180
17181 ;
17182 return 0;
17183 }
17184 _ACEOF
17185 if ac_fn_cxx_try_compile "$LINENO"; then :
17186
17187 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17188
17189 fi
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191
17192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h. */
17194 #include <wctype.h>
17195 int
17196 main ()
17197 {
17198 wint_t t; int i = iswblank(t);
17199 ;
17200 return 0;
17201 }
17202 _ACEOF
17203 if ac_fn_cxx_try_compile "$LINENO"; then :
17204
17205 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17206
17207 fi
17208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17209
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17211 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17212 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17213
17214 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17215
17216 fi
17217 fi
17218
17219 # Option parsed, now set things appropriately.
17220 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17221 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17222 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17223 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17224 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17225 enable_c99=no;
17226 else
17227
17228 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17229
17230 fi
17231
17232 gcc_no_link="$ac_save_gcc_no_link"
17233 LIBS="$ac_save_LIBS"
17234 CXXFLAGS="$ac_save_CXXFLAGS"
17235 ac_ext=c
17236 ac_cpp='$CPP $CPPFLAGS'
17237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17240
17241
17242
17243 ac_ext=cpp
17244 ac_cpp='$CXXCPP $CPPFLAGS'
17245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17248
17249
17250 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17251 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17252 ac_save_CXXFLAGS="$CXXFLAGS"
17253 CXXFLAGS="$CXXFLAGS -std=c++11"
17254 ac_save_LIBS="$LIBS"
17255 ac_save_gcc_no_link="$gcc_no_link"
17256
17257 if test x$gcc_no_link != xyes; then
17258 # Use -fno-exceptions to that the C driver can link these tests without
17259 # hitting undefined references to personality routines.
17260 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17262 $as_echo_n "checking for sin in -lm... " >&6; }
17263 if test "${ac_cv_lib_m_sin+set}" = set; then :
17264 $as_echo_n "(cached) " >&6
17265 else
17266 ac_check_lib_save_LIBS=$LIBS
17267 LIBS="-lm $LIBS"
17268 if test x$gcc_no_link = xyes; then
17269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17270 fi
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17273
17274 /* Override any GCC internal prototype to avoid an error.
17275 Use char because int might match the return type of a GCC
17276 builtin and then its argument prototype would still apply. */
17277 #ifdef __cplusplus
17278 extern "C"
17279 #endif
17280 char sin ();
17281 int
17282 main ()
17283 {
17284 return sin ();
17285 ;
17286 return 0;
17287 }
17288 _ACEOF
17289 if ac_fn_cxx_try_link "$LINENO"; then :
17290 ac_cv_lib_m_sin=yes
17291 else
17292 ac_cv_lib_m_sin=no
17293 fi
17294 rm -f core conftest.err conftest.$ac_objext \
17295 conftest$ac_exeext conftest.$ac_ext
17296 LIBS=$ac_check_lib_save_LIBS
17297 fi
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17299 $as_echo "$ac_cv_lib_m_sin" >&6; }
17300 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17301 LIBS="$LIBS -lm"
17302 else
17303
17304 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17305 gcc_no_link=yes
17306
17307 fi
17308
17309 fi
17310
17311 # Check for the existence of <math.h> functions used if C99 is enabled.
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17313 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17314 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17317
17318 if test x$gcc_no_link = xyes; then
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17321 #include <math.h>
17322 volatile double d1, d2;
17323 volatile int i;
17324 int
17325 main ()
17326 {
17327 i = fpclassify(d1);
17328 i = isfinite(d1);
17329 i = isinf(d1);
17330 i = isnan(d1);
17331 i = isnormal(d1);
17332 i = signbit(d1);
17333 i = isgreater(d1, d2);
17334 i = isgreaterequal(d1, d2);
17335 i = isless(d1, d2);
17336 i = islessequal(d1, d2);
17337 i = islessgreater(d1, d2);
17338 i = islessgreater(d1, d2);
17339 i = isunordered(d1, d2);
17340
17341 ;
17342 return 0;
17343 }
17344 _ACEOF
17345 if ac_fn_cxx_try_compile "$LINENO"; then :
17346 glibcxx_cv_c99_math_cxx11=yes
17347 else
17348 glibcxx_cv_c99_math_cxx11=no
17349 fi
17350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17351 else
17352 if test x$gcc_no_link = xyes; then
17353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17354 fi
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 #include <math.h>
17358 volatile double d1, d2;
17359 volatile int i;
17360 int
17361 main ()
17362 {
17363 i = fpclassify(d1);
17364 i = isfinite(d1);
17365 i = isinf(d1);
17366 i = isnan(d1);
17367 i = isnormal(d1);
17368 i = signbit(d1);
17369 i = isgreater(d1, d2);
17370 i = isgreaterequal(d1, d2);
17371 i = isless(d1, d2);
17372 i = islessequal(d1, d2);
17373 i = islessgreater(d1, d2);
17374 i = islessgreater(d1, d2);
17375 i = isunordered(d1, d2);
17376
17377 ;
17378 return 0;
17379 }
17380 _ACEOF
17381 if ac_fn_cxx_try_link "$LINENO"; then :
17382 glibcxx_cv_c99_math_cxx11=yes
17383 else
17384 glibcxx_cv_c99_math_cxx11=no
17385 fi
17386 rm -f core conftest.err conftest.$ac_objext \
17387 conftest$ac_exeext conftest.$ac_ext
17388 fi
17389
17390 fi
17391
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17393 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17394 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17395
17396 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17397
17398 fi
17399
17400 # Check for the existence of <complex.h> complex math functions.
17401 # This is necessary even though libstdc++ uses the builtin versions
17402 # of these functions, because if the builtin cannot be used, a reference
17403 # to the library function is emitted.
17404 for ac_header in tgmath.h
17405 do :
17406 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17407 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17408 cat >>confdefs.h <<_ACEOF
17409 #define HAVE_TGMATH_H 1
17410 _ACEOF
17411 ac_has_tgmath_h=yes
17412 else
17413 ac_has_tgmath_h=no
17414 fi
17415
17416 done
17417
17418 for ac_header in complex.h
17419 do :
17420 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17421 if test "x$ac_cv_header_complex_h" = x""yes; then :
17422 cat >>confdefs.h <<_ACEOF
17423 #define HAVE_COMPLEX_H 1
17424 _ACEOF
17425 ac_has_complex_h=yes
17426 else
17427 ac_has_complex_h=no
17428 fi
17429
17430 done
17431
17432 if test x"$ac_has_complex_h" = x"yes"; then
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17434 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17435 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17438
17439 if test x$gcc_no_link = xyes; then
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 #include <complex.h>
17443 typedef __complex__ float float_type;
17444 typedef __complex__ double double_type;
17445 typedef __complex__ long double ld_type;
17446 volatile float_type tmpf;
17447 volatile double_type tmpd;
17448 volatile ld_type tmpld;
17449 volatile float f;
17450 volatile double d;
17451 volatile long double ld;
17452 int
17453 main ()
17454 {
17455 f = cabsf(tmpf);
17456 f = cargf(tmpf);
17457 tmpf = ccosf(tmpf);
17458 tmpf = ccoshf(tmpf);
17459 tmpf = cexpf(tmpf);
17460 tmpf = clogf(tmpf);
17461 tmpf = csinf(tmpf);
17462 tmpf = csinhf(tmpf);
17463 tmpf = csqrtf(tmpf);
17464 tmpf = ctanf(tmpf);
17465 tmpf = ctanhf(tmpf);
17466 tmpf = cpowf(tmpf, tmpf);
17467 tmpf = cprojf(tmpf);
17468 d = cabs(tmpd);
17469 d = carg(tmpd);
17470 tmpd = ccos(tmpd);
17471 tmpd = ccosh(tmpd);
17472 tmpd = cexp(tmpd);
17473 tmpd = clog(tmpd);
17474 tmpd = csin(tmpd);
17475 tmpd = csinh(tmpd);
17476 tmpd = csqrt(tmpd);
17477 tmpd = ctan(tmpd);
17478 tmpd = ctanh(tmpd);
17479 tmpd = cpow(tmpd, tmpd);
17480 tmpd = cproj(tmpd);
17481 ld = cabsl(tmpld);
17482 ld = cargl(tmpld);
17483 tmpld = ccosl(tmpld);
17484 tmpld = ccoshl(tmpld);
17485 tmpld = cexpl(tmpld);
17486 tmpld = clogl(tmpld);
17487 tmpld = csinl(tmpld);
17488 tmpld = csinhl(tmpld);
17489 tmpld = csqrtl(tmpld);
17490 tmpld = ctanl(tmpld);
17491 tmpld = ctanhl(tmpld);
17492 tmpld = cpowl(tmpld, tmpld);
17493 tmpld = cprojl(tmpld);
17494
17495 ;
17496 return 0;
17497 }
17498 _ACEOF
17499 if ac_fn_cxx_try_compile "$LINENO"; then :
17500 glibcxx_cv_c99_complex_cxx11=yes
17501 else
17502 glibcxx_cv_c99_complex_cxx11=no
17503 fi
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17505 else
17506 if test x$gcc_no_link = xyes; then
17507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17508 fi
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17511 #include <complex.h>
17512 typedef __complex__ float float_type;
17513 typedef __complex__ double double_type;
17514 typedef __complex__ long double ld_type;
17515 volatile float_type tmpf;
17516 volatile double_type tmpd;
17517 volatile ld_type tmpld;
17518 volatile float f;
17519 volatile double d;
17520 volatile long double ld;
17521 int
17522 main ()
17523 {
17524 f = cabsf(tmpf);
17525 f = cargf(tmpf);
17526 tmpf = ccosf(tmpf);
17527 tmpf = ccoshf(tmpf);
17528 tmpf = cexpf(tmpf);
17529 tmpf = clogf(tmpf);
17530 tmpf = csinf(tmpf);
17531 tmpf = csinhf(tmpf);
17532 tmpf = csqrtf(tmpf);
17533 tmpf = ctanf(tmpf);
17534 tmpf = ctanhf(tmpf);
17535 tmpf = cpowf(tmpf, tmpf);
17536 tmpf = cprojf(tmpf);
17537 d = cabs(tmpd);
17538 d = carg(tmpd);
17539 tmpd = ccos(tmpd);
17540 tmpd = ccosh(tmpd);
17541 tmpd = cexp(tmpd);
17542 tmpd = clog(tmpd);
17543 tmpd = csin(tmpd);
17544 tmpd = csinh(tmpd);
17545 tmpd = csqrt(tmpd);
17546 tmpd = ctan(tmpd);
17547 tmpd = ctanh(tmpd);
17548 tmpd = cpow(tmpd, tmpd);
17549 tmpd = cproj(tmpd);
17550 ld = cabsl(tmpld);
17551 ld = cargl(tmpld);
17552 tmpld = ccosl(tmpld);
17553 tmpld = ccoshl(tmpld);
17554 tmpld = cexpl(tmpld);
17555 tmpld = clogl(tmpld);
17556 tmpld = csinl(tmpld);
17557 tmpld = csinhl(tmpld);
17558 tmpld = csqrtl(tmpld);
17559 tmpld = ctanl(tmpld);
17560 tmpld = ctanhl(tmpld);
17561 tmpld = cpowl(tmpld, tmpld);
17562 tmpld = cprojl(tmpld);
17563
17564 ;
17565 return 0;
17566 }
17567 _ACEOF
17568 if ac_fn_cxx_try_link "$LINENO"; then :
17569 glibcxx_cv_c99_complex_cxx11=yes
17570 else
17571 glibcxx_cv_c99_complex_cxx11=no
17572 fi
17573 rm -f core conftest.err conftest.$ac_objext \
17574 conftest$ac_exeext conftest.$ac_ext
17575 fi
17576
17577 fi
17578
17579 fi
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17581 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17582 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17583
17584 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17585
17586 fi
17587
17588 # Check for the existence in <stdio.h> of vscanf, et. al.
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17590 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17591 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17594
17595 if test x$gcc_no_link = xyes; then
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17598 #include <stdio.h>
17599 #include <stdarg.h>
17600 void foo(char* fmt, ...)
17601 {
17602 va_list args; va_start(args, fmt);
17603 vfscanf(stderr, "%i", args);
17604 vscanf("%i", args);
17605 vsnprintf(fmt, 0, "%i", args);
17606 vsscanf(fmt, "%i", args);
17607 snprintf(fmt, 0, "%i");
17608 }
17609 int
17610 main ()
17611 {
17612
17613 ;
17614 return 0;
17615 }
17616 _ACEOF
17617 if ac_fn_cxx_try_compile "$LINENO"; then :
17618 glibcxx_cv_c99_stdio_cxx11=yes
17619 else
17620 glibcxx_cv_c99_stdio_cxx11=no
17621 fi
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623 else
17624 if test x$gcc_no_link = xyes; then
17625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17626 fi
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 #include <stdio.h>
17630 #include <stdarg.h>
17631 void foo(char* fmt, ...)
17632 {
17633 va_list args; va_start(args, fmt);
17634 vfscanf(stderr, "%i", args);
17635 vscanf("%i", args);
17636 vsnprintf(fmt, 0, "%i", args);
17637 vsscanf(fmt, "%i", args);
17638 snprintf(fmt, 0, "%i");
17639 }
17640 int
17641 main ()
17642 {
17643
17644 ;
17645 return 0;
17646 }
17647 _ACEOF
17648 if ac_fn_cxx_try_link "$LINENO"; then :
17649 glibcxx_cv_c99_stdio_cxx11=yes
17650 else
17651 glibcxx_cv_c99_stdio_cxx11=no
17652 fi
17653 rm -f core conftest.err conftest.$ac_objext \
17654 conftest$ac_exeext conftest.$ac_ext
17655 fi
17656
17657 fi
17658
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17660 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17661 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17662
17663 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17664
17665 fi
17666
17667 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17669 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17670 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17671 $as_echo_n "(cached) " >&6
17672 else
17673
17674 if test x$gcc_no_link = xyes; then
17675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17676 /* end confdefs.h. */
17677 #include <stdlib.h>
17678 volatile float f;
17679 volatile long double ld;
17680 volatile unsigned long long ll;
17681 lldiv_t mydivt;
17682 int
17683 main ()
17684 {
17685 char* tmp;
17686 f = strtof("gnu", &tmp);
17687 ld = strtold("gnu", &tmp);
17688 ll = strtoll("gnu", &tmp, 10);
17689 ll = strtoull("gnu", &tmp, 10);
17690 ll = llabs(10);
17691 mydivt = lldiv(10,1);
17692 ll = mydivt.quot;
17693 ll = mydivt.rem;
17694 ll = atoll("10");
17695 _Exit(0);
17696
17697 ;
17698 return 0;
17699 }
17700 _ACEOF
17701 if ac_fn_cxx_try_compile "$LINENO"; then :
17702 glibcxx_cv_c99_stdlib_cxx11=yes
17703 else
17704 glibcxx_cv_c99_stdlib_cxx11=no
17705 fi
17706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 else
17708 if test x$gcc_no_link = xyes; then
17709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17710 fi
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 #include <stdlib.h>
17714 volatile float f;
17715 volatile long double ld;
17716 volatile unsigned long long ll;
17717 lldiv_t mydivt;
17718 int
17719 main ()
17720 {
17721 char* tmp;
17722 f = strtof("gnu", &tmp);
17723 ld = strtold("gnu", &tmp);
17724 ll = strtoll("gnu", &tmp, 10);
17725 ll = strtoull("gnu", &tmp, 10);
17726 ll = llabs(10);
17727 mydivt = lldiv(10,1);
17728 ll = mydivt.quot;
17729 ll = mydivt.rem;
17730 ll = atoll("10");
17731 _Exit(0);
17732
17733 ;
17734 return 0;
17735 }
17736 _ACEOF
17737 if ac_fn_cxx_try_link "$LINENO"; then :
17738 glibcxx_cv_c99_stdlib_cxx11=yes
17739 else
17740 glibcxx_cv_c99_stdlib_cxx11=no
17741 fi
17742 rm -f core conftest.err conftest.$ac_objext \
17743 conftest$ac_exeext conftest.$ac_ext
17744 fi
17745
17746 fi
17747
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17749 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17750 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17751
17752 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17753
17754 fi
17755
17756 # Check for the existence in <wchar.h> of wcstold, etc.
17757 if test x"$ac_has_wchar_h" = xyes &&
17758 test x"$ac_has_wctype_h" = xyes; then
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17760 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17761 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17762 $as_echo_n "(cached) " >&6
17763 else
17764
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h. */
17767 #include <wchar.h>
17768 namespace test
17769 {
17770 using ::wcstold;
17771 using ::wcstoll;
17772 using ::wcstoull;
17773 }
17774
17775 int
17776 main ()
17777 {
17778
17779 ;
17780 return 0;
17781 }
17782 _ACEOF
17783 if ac_fn_cxx_try_compile "$LINENO"; then :
17784 glibcxx_cv_c99_wchar_cxx11=yes
17785 else
17786 glibcxx_cv_c99_wchar_cxx11=no
17787 fi
17788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17789
17790 fi
17791
17792
17793 # Checks for wide character functions that may not be present.
17794 # Injection of these is wrapped with guard macros.
17795 # NB: only put functions here, instead of immediately above, if
17796 # absolutely necessary.
17797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17799 #include <wchar.h>
17800 namespace test { using ::vfwscanf; }
17801 int
17802 main ()
17803 {
17804
17805 ;
17806 return 0;
17807 }
17808 _ACEOF
17809 if ac_fn_cxx_try_compile "$LINENO"; then :
17810
17811 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17812
17813 fi
17814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815
17816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h. */
17818 #include <wchar.h>
17819 namespace test { using ::vswscanf; }
17820 int
17821 main ()
17822 {
17823
17824 ;
17825 return 0;
17826 }
17827 _ACEOF
17828 if ac_fn_cxx_try_compile "$LINENO"; then :
17829
17830 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17831
17832 fi
17833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17837 #include <wchar.h>
17838 namespace test { using ::vwscanf; }
17839 int
17840 main ()
17841 {
17842
17843 ;
17844 return 0;
17845 }
17846 _ACEOF
17847 if ac_fn_cxx_try_compile "$LINENO"; then :
17848
17849 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17850
17851 fi
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 #include <wchar.h>
17857 namespace test { using ::wcstof; }
17858 int
17859 main ()
17860 {
17861
17862 ;
17863 return 0;
17864 }
17865 _ACEOF
17866 if ac_fn_cxx_try_compile "$LINENO"; then :
17867
17868 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17869
17870 fi
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872
17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h. */
17875 #include <wctype.h>
17876 int
17877 main ()
17878 {
17879 wint_t t; int i = iswblank(t);
17880 ;
17881 return 0;
17882 }
17883 _ACEOF
17884 if ac_fn_cxx_try_compile "$LINENO"; then :
17885
17886 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17887
17888 fi
17889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17892 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17893 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17894
17895 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17896
17897 fi
17898 fi
17899
17900 gcc_no_link="$ac_save_gcc_no_link"
17901 LIBS="$ac_save_LIBS"
17902 CXXFLAGS="$ac_save_CXXFLAGS"
17903 ac_ext=c
17904 ac_cpp='$CPP $CPPFLAGS'
17905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17908
17909 fi
17910
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17912 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17914 $as_echo "$enable_c99" >&6; }
17915
17916
17917 # Check whether --enable-concept-checks was given.
17918 if test "${enable_concept_checks+set}" = set; then :
17919 enableval=$enable_concept_checks;
17920 case "$enableval" in
17921 yes|no) ;;
17922 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17923 esac
17924
17925 else
17926 enable_concept_checks=no
17927 fi
17928
17929
17930 if test $enable_concept_checks = yes; then
17931
17932 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17933
17934 fi
17935
17936
17937 # Check whether --enable-libstdcxx-debug-flags was given.
17938 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17939 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17940 xno | x) enable_libstdcxx_debug_flags= ;;
17941 x-*) ;;
17942 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17943 esac
17944 else
17945 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17946 fi
17947
17948
17949
17950 # Option parsed, now set things appropriately
17951 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17952
17953
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17955 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17956
17957
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17959 $as_echo_n "checking for additional debug build... " >&6; }
17960 # Check whether --enable-libstdcxx-debug was given.
17961 if test "${enable_libstdcxx_debug+set}" = set; then :
17962 enableval=$enable_libstdcxx_debug;
17963 case "$enableval" in
17964 yes|no) ;;
17965 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17966 esac
17967
17968 else
17969 enable_libstdcxx_debug=no
17970 fi
17971
17972
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17974 $as_echo "$enable_libstdcxx_debug" >&6; }
17975
17976
17977
17978
17979 enable_parallel=no;
17980
17981 # See if configured libgomp/omp.h exists. (libgomp may be in
17982 # noconfigdirs but not explicitly disabled.)
17983 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17984 enable_parallel=yes;
17985 else
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17987 $as_echo "$as_me: target-libgomp not built" >&6;}
17988 fi
17989
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17991 $as_echo_n "checking for parallel mode support... " >&6; }
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17993 $as_echo "$enable_parallel" >&6; }
17994
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17996 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17997 # Check whether --enable-cxx-flags was given.
17998 if test "${enable_cxx_flags+set}" = set; then :
17999 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18000 xno | x) enable_cxx_flags= ;;
18001 x-*) ;;
18002 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18003 esac
18004 else
18005 enable_cxx_flags=
18006 fi
18007
18008
18009
18010 # Run through flags (either default or command-line) and set anything
18011 # extra (e.g., #defines) that must accompany particular g++ options.
18012 if test -n "$enable_cxx_flags"; then
18013 for f in $enable_cxx_flags; do
18014 case "$f" in
18015 -fhonor-std) ;;
18016 -*) ;;
18017 *) # and we're trying to pass /what/ exactly?
18018 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18019 esac
18020 done
18021 fi
18022
18023 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18025 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18026
18027
18028
18029 # Check whether --enable-fully-dynamic-string was given.
18030 if test "${enable_fully_dynamic_string+set}" = set; then :
18031 enableval=$enable_fully_dynamic_string;
18032 case "$enableval" in
18033 yes|no) ;;
18034 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18035 esac
18036
18037 else
18038 enable_fully_dynamic_string=no
18039 fi
18040
18041
18042 if test $enable_fully_dynamic_string = yes; then
18043 enable_fully_dynamic_string_def=1
18044 else
18045 enable_fully_dynamic_string_def=0
18046 fi
18047
18048 cat >>confdefs.h <<_ACEOF
18049 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18050 _ACEOF
18051
18052
18053
18054
18055 # Check whether --enable-extern-template was given.
18056 if test "${enable_extern_template+set}" = set; then :
18057 enableval=$enable_extern_template;
18058 case "$enableval" in
18059 yes|no) ;;
18060 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18061 esac
18062
18063 else
18064 enable_extern_template=yes
18065 fi
18066
18067
18068
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18070 $as_echo_n "checking for extern template support... " >&6; }
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18072 $as_echo "$enable_extern_template" >&6; }
18073
18074
18075
18076
18077
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18079 $as_echo_n "checking for custom python install directory... " >&6; }
18080
18081 # Check whether --with-python-dir was given.
18082 if test "${with_python_dir+set}" = set; then :
18083 withval=$with_python_dir; with_python_dir=$withval
18084 else
18085 with_python_dir="no"
18086 fi
18087
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18089 $as_echo "${with_python_dir}" >&6; }
18090
18091 # Needed for installing Python modules during make install.
18092 python_mod_dir="${with_python_dir}"
18093
18094
18095
18096
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18098 $as_echo_n "checking for -Werror... " >&6; }
18099 # Check whether --enable-werror was given.
18100 if test "${enable_werror+set}" = set; then :
18101 enableval=$enable_werror;
18102 case "$enableval" in
18103 yes|no) ;;
18104 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18105 esac
18106
18107 else
18108 enable_werror=yes
18109 fi
18110
18111
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18113 $as_echo "$enable_werror" >&6; }
18114
18115
18116
18117
18118 # Check whether --enable-vtable-verify was given.
18119 if test "${enable_vtable_verify+set}" = set; then :
18120 enableval=$enable_vtable_verify;
18121 case "$enableval" in
18122 yes|no) ;;
18123 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18124 esac
18125
18126 else
18127 enable_vtable_verify=no
18128 fi
18129
18130
18131
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18133 $as_echo_n "checking for vtable verify support... " >&6; }
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18135 $as_echo "$enable_vtable_verify" >&6; }
18136
18137 vtv_cygmin=no
18138 if test $enable_vtable_verify = yes; then
18139 case ${target_os} in
18140 cygwin*|mingw32*)
18141 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18142 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18143 vtv_cygmin=yes
18144 ;;
18145 darwin*)
18146 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18147 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18148 ;;
18149 solaris2*)
18150 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18151 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18152 ;;
18153 *)
18154 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18155 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18156 ;;
18157 esac
18158 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18159 else
18160 VTV_CXXFLAGS=
18161 VTV_PCH_CXXFLAGS=
18162 VTV_CXXLINKFLAGS=
18163 fi
18164
18165
18166
18167
18168 if test x$vtv_cygmin = xyes; then
18169 VTV_CYGMIN_TRUE=
18170 VTV_CYGMIN_FALSE='#'
18171 else
18172 VTV_CYGMIN_TRUE='#'
18173 VTV_CYGMIN_FALSE=
18174 fi
18175
18176
18177
18178
18179 # Checks for operating systems support that doesn't require linking.
18180
18181
18182
18183 ac_ext=cpp
18184 ac_cpp='$CXXCPP $CPPFLAGS'
18185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18188
18189 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18190 # and we don't need a declaration for C++14 anyway.
18191 ac_save_CXXFLAGS="$CXXFLAGS"
18192 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18193
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18195 $as_echo_n "checking for gets declaration... " >&6; }
18196 if test "${glibcxx_cv_gets+set}" = set; then :
18197 $as_echo_n "(cached) " >&6
18198 else
18199
18200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h. */
18202 #include <stdio.h>
18203 namespace test
18204 {
18205 using ::gets;
18206 }
18207
18208 _ACEOF
18209 if ac_fn_cxx_try_compile "$LINENO"; then :
18210 glibcxx_cv_gets=yes
18211 else
18212 glibcxx_cv_gets=no
18213
18214 fi
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18216 fi
18217
18218
18219 if test $glibcxx_cv_gets = yes; then
18220
18221 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18222
18223 fi
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18225 $as_echo "$glibcxx_cv_gets" >&6; }
18226
18227 CXXFLAGS="$ac_save_CXXFLAGS"
18228 ac_ext=c
18229 ac_cpp='$CPP $CPPFLAGS'
18230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18233
18234
18235
18236
18237
18238 ac_ext=cpp
18239 ac_cpp='$CXXCPP $CPPFLAGS'
18240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18243
18244 ac_save_CXXFLAGS="$CXXFLAGS"
18245 CXXFLAGS="$CXXFLAGS -std=c++11"
18246
18247 case "$host" in
18248 *-*-solaris2.*)
18249 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18250 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18252 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18253 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18254 $as_echo_n "(cached) " >&6
18255 else
18256
18257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18258 /* end confdefs.h. */
18259 #include <math.h>
18260 #undef isfinite
18261 namespace std {
18262 inline bool isfinite(float __x)
18263 { return __builtin_isfinite(__x); }
18264 }
18265
18266 _ACEOF
18267 if ac_fn_cxx_try_compile "$LINENO"; then :
18268 glibcxx_cv_math11_fp_overload=no
18269 else
18270 glibcxx_cv_math11_fp_overload=yes
18271
18272 fi
18273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18274 fi
18275
18276
18277 # autoheader cannot handle indented templates.
18278
18279
18280 if test $glibcxx_cv_math11_fp_overload = yes; then
18281 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18282
18283 fi
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18285 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18286
18287 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18288 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18290 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18291 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18292 $as_echo_n "(cached) " >&6
18293 else
18294
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #include <math.h>
18298 namespace std {
18299 template<typename _Tp>
18300 struct __is_integer;
18301 template<>
18302 struct __is_integer<int>
18303 {
18304 enum { __value = 1 };
18305 };
18306 }
18307 namespace __gnu_cxx {
18308 template<bool, typename>
18309 struct __enable_if;
18310 template<typename _Tp>
18311 struct __enable_if<true, _Tp>
18312 { typedef _Tp __type; };
18313 }
18314 namespace std {
18315 template<typename _Tp>
18316 constexpr typename __gnu_cxx::__enable_if
18317 <__is_integer<_Tp>::__value, double>::__type
18318 log2(_Tp __x)
18319 { return __builtin_log2(__x); }
18320 }
18321 int
18322 main (void)
18323 {
18324 int i = 1000;
18325 return std::log2(i);
18326 }
18327
18328 _ACEOF
18329 if ac_fn_cxx_try_compile "$LINENO"; then :
18330 glibcxx_cv_math11_int_overload=no
18331 else
18332 glibcxx_cv_math11_int_overload=yes
18333
18334 fi
18335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18336 fi
18337
18338
18339 # autoheader cannot handle indented templates.
18340
18341
18342 if test $glibcxx_cv_math11_int_overload = yes; then
18343 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18344
18345 fi
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18347 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18348 ;;
18349 *)
18350 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18351 # functions (instead of or as well as the C99 generic macros) then we
18352 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18353 # and must use the ones from <math.h> instead.
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18355 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18356 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18357 $as_echo_n "(cached) " >&6
18358 else
18359
18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18362 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18363 #include <math.h>
18364 #undef isinf
18365 namespace std {
18366 using ::isinf;
18367 bool isinf(float);
18368 bool isinf(long double);
18369 }
18370 using std::isinf;
18371 bool b = isinf(0.0);
18372
18373 _ACEOF
18374 if ac_fn_cxx_try_compile "$LINENO"; then :
18375 glibcxx_cv_obsolete_isinf=yes
18376 else
18377 glibcxx_cv_obsolete_isinf=no
18378
18379 fi
18380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18381 fi
18382
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18384 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18385 if test $glibcxx_cv_obsolete_isinf = yes; then
18386
18387 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18388
18389 fi
18390
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18392 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18393 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18394 $as_echo_n "(cached) " >&6
18395 else
18396
18397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18398 /* end confdefs.h. */
18399 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18400 #include <math.h>
18401 #undef isnan
18402 namespace std {
18403 using ::isnan;
18404 bool isnan(float);
18405 bool isnan(long double);
18406 }
18407 using std::isnan;
18408 bool b = isnan(0.0);
18409
18410 _ACEOF
18411 if ac_fn_cxx_try_compile "$LINENO"; then :
18412 glibcxx_cv_obsolete_isnan=yes
18413 else
18414 glibcxx_cv_obsolete_isnan=no
18415
18416 fi
18417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18418 fi
18419
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18421 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18422 if test $glibcxx_cv_obsolete_isnan = yes; then
18423
18424 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18425
18426 fi
18427 ;;
18428 esac
18429
18430 CXXFLAGS="$ac_save_CXXFLAGS"
18431 ac_ext=c
18432 ac_cpp='$CPP $CPPFLAGS'
18433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18436
18437
18438
18439
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18441 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18442 if test "${glibcxx_cv_system_error1+set}" = set; then :
18443 $as_echo_n "(cached) " >&6
18444 else
18445
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18448 #include <errno.h>
18449 int
18450 main ()
18451 {
18452 int i = EOWNERDEAD;
18453 ;
18454 return 0;
18455 }
18456 _ACEOF
18457 if ac_fn_c_try_compile "$LINENO"; then :
18458 glibcxx_cv_system_error1=yes
18459 else
18460 glibcxx_cv_system_error1=no
18461 fi
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463
18464 fi
18465
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18467 $as_echo "$glibcxx_cv_system_error1" >&6; }
18468 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18469
18470 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18471
18472 fi
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18474 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18475 if test "${glibcxx_cv_system_error2+set}" = set; then :
18476 $as_echo_n "(cached) " >&6
18477 else
18478
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 #include <errno.h>
18482 int
18483 main ()
18484 {
18485 int i = ENOTRECOVERABLE;
18486 ;
18487 return 0;
18488 }
18489 _ACEOF
18490 if ac_fn_c_try_compile "$LINENO"; then :
18491 glibcxx_cv_system_error2=yes
18492 else
18493 glibcxx_cv_system_error2=no
18494 fi
18495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18496
18497 fi
18498
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18500 $as_echo "$glibcxx_cv_system_error2" >&6; }
18501 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18502
18503 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18504
18505 fi
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18507 $as_echo_n "checking for ENOLINK... " >&6; }
18508 if test "${glibcxx_cv_system_error3+set}" = set; then :
18509 $as_echo_n "(cached) " >&6
18510 else
18511
18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18514 #include <errno.h>
18515 int
18516 main ()
18517 {
18518 int i = ENOLINK;
18519 ;
18520 return 0;
18521 }
18522 _ACEOF
18523 if ac_fn_c_try_compile "$LINENO"; then :
18524 glibcxx_cv_system_error3=yes
18525 else
18526 glibcxx_cv_system_error3=no
18527 fi
18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18529
18530 fi
18531
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18533 $as_echo "$glibcxx_cv_system_error3" >&6; }
18534 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18535
18536 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18537
18538 fi
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18540 $as_echo_n "checking for EPROTO... " >&6; }
18541 if test "${glibcxx_cv_system_error4+set}" = set; then :
18542 $as_echo_n "(cached) " >&6
18543 else
18544
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h. */
18547 #include <errno.h>
18548 int
18549 main ()
18550 {
18551 int i = EPROTO;
18552 ;
18553 return 0;
18554 }
18555 _ACEOF
18556 if ac_fn_c_try_compile "$LINENO"; then :
18557 glibcxx_cv_system_error4=yes
18558 else
18559 glibcxx_cv_system_error4=no
18560 fi
18561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18562
18563 fi
18564
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18566 $as_echo "$glibcxx_cv_system_error4" >&6; }
18567 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18568
18569 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18570
18571 fi
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18573 $as_echo_n "checking for ENODATA... " >&6; }
18574 if test "${glibcxx_cv_system_error5+set}" = set; then :
18575 $as_echo_n "(cached) " >&6
18576 else
18577
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 #include <errno.h>
18581 int
18582 main ()
18583 {
18584 int i = ENODATA;
18585 ;
18586 return 0;
18587 }
18588 _ACEOF
18589 if ac_fn_c_try_compile "$LINENO"; then :
18590 glibcxx_cv_system_error5=yes
18591 else
18592 glibcxx_cv_system_error5=no
18593 fi
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18595
18596 fi
18597
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18599 $as_echo "$glibcxx_cv_system_error5" >&6; }
18600 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18601
18602 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18603
18604 fi
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18606 $as_echo_n "checking for ENOSR... " >&6; }
18607 if test "${glibcxx_cv_system_error6+set}" = set; then :
18608 $as_echo_n "(cached) " >&6
18609 else
18610
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 #include <errno.h>
18614 int
18615 main ()
18616 {
18617 int i = ENOSR;
18618 ;
18619 return 0;
18620 }
18621 _ACEOF
18622 if ac_fn_c_try_compile "$LINENO"; then :
18623 glibcxx_cv_system_error6=yes
18624 else
18625 glibcxx_cv_system_error6=no
18626 fi
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628
18629 fi
18630
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18632 $as_echo "$glibcxx_cv_system_error6" >&6; }
18633 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18634
18635 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18636
18637 fi
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18639 $as_echo_n "checking for ENOSTR... " >&6; }
18640 if test "${glibcxx_cv_system_error7+set}" = set; then :
18641 $as_echo_n "(cached) " >&6
18642 else
18643
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 #include <errno.h>
18647 int
18648 main ()
18649 {
18650 int i = ENOSTR;
18651 ;
18652 return 0;
18653 }
18654 _ACEOF
18655 if ac_fn_c_try_compile "$LINENO"; then :
18656 glibcxx_cv_system_error7=yes
18657 else
18658 glibcxx_cv_system_error7=no
18659 fi
18660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18661
18662 fi
18663
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18665 $as_echo "$glibcxx_cv_system_error7" >&6; }
18666 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18667
18668 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18669
18670 fi
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18672 $as_echo_n "checking for ETIME... " >&6; }
18673 if test "${glibcxx_cv_system_error8+set}" = set; then :
18674 $as_echo_n "(cached) " >&6
18675 else
18676
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h. */
18679 #include <errno.h>
18680 int
18681 main ()
18682 {
18683 int i = ETIME;
18684 ;
18685 return 0;
18686 }
18687 _ACEOF
18688 if ac_fn_c_try_compile "$LINENO"; then :
18689 glibcxx_cv_system_error8=yes
18690 else
18691 glibcxx_cv_system_error8=no
18692 fi
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694
18695 fi
18696
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18698 $as_echo "$glibcxx_cv_system_error8" >&6; }
18699 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18700
18701 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18702
18703 fi
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18705 $as_echo_n "checking for EBADMSG... " >&6; }
18706 if test "${glibcxx_cv_system_error9+set}" = set; then :
18707 $as_echo_n "(cached) " >&6
18708 else
18709
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h. */
18712 #include <errno.h>
18713 int
18714 main ()
18715 {
18716 int i = EBADMSG;
18717 ;
18718 return 0;
18719 }
18720 _ACEOF
18721 if ac_fn_c_try_compile "$LINENO"; then :
18722 glibcxx_cv_system_error9=yes
18723 else
18724 glibcxx_cv_system_error9=no
18725 fi
18726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18727
18728 fi
18729
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18731 $as_echo "$glibcxx_cv_system_error9" >&6; }
18732 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18733
18734 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18735
18736 fi
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18738 $as_echo_n "checking for ECANCELED... " >&6; }
18739 if test "${glibcxx_cv_system_error10+set}" = set; then :
18740 $as_echo_n "(cached) " >&6
18741 else
18742
18743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h. */
18745 #include <errno.h>
18746 int
18747 main ()
18748 {
18749 int i = ECANCELED;
18750 ;
18751 return 0;
18752 }
18753 _ACEOF
18754 if ac_fn_c_try_compile "$LINENO"; then :
18755 glibcxx_cv_system_error10=yes
18756 else
18757 glibcxx_cv_system_error10=no
18758 fi
18759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18760
18761 fi
18762
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18764 $as_echo "$glibcxx_cv_system_error10" >&6; }
18765 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18766
18767 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18768
18769 fi
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18771 $as_echo_n "checking for EOVERFLOW... " >&6; }
18772 if test "${glibcxx_cv_system_error11+set}" = set; then :
18773 $as_echo_n "(cached) " >&6
18774 else
18775
18776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18778 #include <errno.h>
18779 int
18780 main ()
18781 {
18782 int i = EOVERFLOW;
18783 ;
18784 return 0;
18785 }
18786 _ACEOF
18787 if ac_fn_c_try_compile "$LINENO"; then :
18788 glibcxx_cv_system_error11=yes
18789 else
18790 glibcxx_cv_system_error11=no
18791 fi
18792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18793
18794 fi
18795
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18797 $as_echo "$glibcxx_cv_system_error11" >&6; }
18798 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18799
18800 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18801
18802 fi
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18804 $as_echo_n "checking for ENOTSUP... " >&6; }
18805 if test "${glibcxx_cv_system_error12+set}" = set; then :
18806 $as_echo_n "(cached) " >&6
18807 else
18808
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18811 #include <errno.h>
18812 int
18813 main ()
18814 {
18815 int i = ENOTSUP;
18816 ;
18817 return 0;
18818 }
18819 _ACEOF
18820 if ac_fn_c_try_compile "$LINENO"; then :
18821 glibcxx_cv_system_error12=yes
18822 else
18823 glibcxx_cv_system_error12=no
18824 fi
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826
18827 fi
18828
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18830 $as_echo "$glibcxx_cv_system_error12" >&6; }
18831 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18832
18833 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18834
18835 fi
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18837 $as_echo_n "checking for EIDRM... " >&6; }
18838 if test "${glibcxx_cv_system_error13+set}" = set; then :
18839 $as_echo_n "(cached) " >&6
18840 else
18841
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844 #include <errno.h>
18845 int
18846 main ()
18847 {
18848 int i = EIDRM;
18849 ;
18850 return 0;
18851 }
18852 _ACEOF
18853 if ac_fn_c_try_compile "$LINENO"; then :
18854 glibcxx_cv_system_error13=yes
18855 else
18856 glibcxx_cv_system_error13=no
18857 fi
18858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18859
18860 fi
18861
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18863 $as_echo "$glibcxx_cv_system_error13" >&6; }
18864 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18865
18866 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18867
18868 fi
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18870 $as_echo_n "checking for ETXTBSY... " >&6; }
18871 if test "${glibcxx_cv_system_error14+set}" = set; then :
18872 $as_echo_n "(cached) " >&6
18873 else
18874
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18877 #include <errno.h>
18878 int
18879 main ()
18880 {
18881 int i = ETXTBSY;
18882 ;
18883 return 0;
18884 }
18885 _ACEOF
18886 if ac_fn_c_try_compile "$LINENO"; then :
18887 glibcxx_cv_system_error14=yes
18888 else
18889 glibcxx_cv_system_error14=no
18890 fi
18891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18892
18893 fi
18894
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18896 $as_echo "$glibcxx_cv_system_error14" >&6; }
18897 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18898
18899 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18900
18901 fi
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18903 $as_echo_n "checking for ECHILD... " >&6; }
18904 if test "${glibcxx_cv_system_error15+set}" = set; then :
18905 $as_echo_n "(cached) " >&6
18906 else
18907
18908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18909 /* end confdefs.h. */
18910 #include <errno.h>
18911 int
18912 main ()
18913 {
18914 int i = ECHILD;
18915 ;
18916 return 0;
18917 }
18918 _ACEOF
18919 if ac_fn_c_try_compile "$LINENO"; then :
18920 glibcxx_cv_system_error15=yes
18921 else
18922 glibcxx_cv_system_error15=no
18923 fi
18924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18925
18926 fi
18927
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18929 $as_echo "$glibcxx_cv_system_error15" >&6; }
18930 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18931
18932 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18933
18934 fi
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18936 $as_echo_n "checking for ENOSPC... " >&6; }
18937 if test "${glibcxx_cv_system_error16+set}" = set; then :
18938 $as_echo_n "(cached) " >&6
18939 else
18940
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18943 #include <errno.h>
18944 int
18945 main ()
18946 {
18947 int i = ENOSPC;
18948 ;
18949 return 0;
18950 }
18951 _ACEOF
18952 if ac_fn_c_try_compile "$LINENO"; then :
18953 glibcxx_cv_system_error16=yes
18954 else
18955 glibcxx_cv_system_error16=no
18956 fi
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18958
18959 fi
18960
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18962 $as_echo "$glibcxx_cv_system_error16" >&6; }
18963 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18964
18965 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18966
18967 fi
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18969 $as_echo_n "checking for EPERM... " >&6; }
18970 if test "${glibcxx_cv_system_error17+set}" = set; then :
18971 $as_echo_n "(cached) " >&6
18972 else
18973
18974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18976 #include <errno.h>
18977 int
18978 main ()
18979 {
18980 int i = EPERM;
18981 ;
18982 return 0;
18983 }
18984 _ACEOF
18985 if ac_fn_c_try_compile "$LINENO"; then :
18986 glibcxx_cv_system_error17=yes
18987 else
18988 glibcxx_cv_system_error17=no
18989 fi
18990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18991
18992 fi
18993
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18995 $as_echo "$glibcxx_cv_system_error17" >&6; }
18996 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18997
18998 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18999
19000 fi
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19002 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19003 if test "${glibcxx_cv_system_error18+set}" = set; then :
19004 $as_echo_n "(cached) " >&6
19005 else
19006
19007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19008 /* end confdefs.h. */
19009 #include <errno.h>
19010 int
19011 main ()
19012 {
19013 int i = ETIMEDOUT;
19014 ;
19015 return 0;
19016 }
19017 _ACEOF
19018 if ac_fn_c_try_compile "$LINENO"; then :
19019 glibcxx_cv_system_error18=yes
19020 else
19021 glibcxx_cv_system_error18=no
19022 fi
19023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19024
19025 fi
19026
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19028 $as_echo "$glibcxx_cv_system_error18" >&6; }
19029 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19030
19031 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19032
19033 fi
19034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19035 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19036 if test "${glibcxx_cv_system_error19+set}" = set; then :
19037 $as_echo_n "(cached) " >&6
19038 else
19039
19040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19041 /* end confdefs.h. */
19042 #include <errno.h>
19043 int
19044 main ()
19045 {
19046 int i = EWOULDBLOCK;
19047 ;
19048 return 0;
19049 }
19050 _ACEOF
19051 if ac_fn_c_try_compile "$LINENO"; then :
19052 glibcxx_cv_system_error19=yes
19053 else
19054 glibcxx_cv_system_error19=no
19055 fi
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19057
19058 fi
19059
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19061 $as_echo "$glibcxx_cv_system_error19" >&6; }
19062 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19063
19064 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19065
19066 fi
19067
19068
19069
19070
19071 # Test uchar.h.
19072 for ac_header in uchar.h
19073 do :
19074 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19075 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_UCHAR_H 1
19078 _ACEOF
19079 ac_has_uchar_h=yes
19080 else
19081 ac_has_uchar_h=no
19082 fi
19083
19084 done
19085
19086
19087
19088 ac_ext=cpp
19089 ac_cpp='$CXXCPP $CPPFLAGS'
19090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19093
19094 ac_save_CXXFLAGS="$CXXFLAGS"
19095 CXXFLAGS="$CXXFLAGS -std=c++11"
19096
19097 if test x"$ac_has_uchar_h" = x"yes"; then
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19099 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19101 /* end confdefs.h. */
19102 #include <uchar.h>
19103 #ifdef __STDC_UTF_16__
19104 long i = __STDC_UTF_16__;
19105 #endif
19106 #ifdef __STDC_UTF_32__
19107 long j = __STDC_UTF_32__;
19108 #endif
19109 namespace test
19110 {
19111 using ::c16rtomb;
19112 using ::c32rtomb;
19113 using ::mbrtoc16;
19114 using ::mbrtoc32;
19115 }
19116
19117 int
19118 main ()
19119 {
19120
19121 ;
19122 return 0;
19123 }
19124 _ACEOF
19125 if ac_fn_cxx_try_compile "$LINENO"; then :
19126 ac_c11_uchar_cxx11=yes
19127 else
19128 ac_c11_uchar_cxx11=no
19129 fi
19130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19131 else
19132 ac_c11_uchar_cxx11=no
19133 fi
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19135 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19136 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19137
19138 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19139
19140 fi
19141
19142 CXXFLAGS="$ac_save_CXXFLAGS"
19143 ac_ext=c
19144 ac_cpp='$CPP $CPPFLAGS'
19145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19148
19149
19150
19151 # For the streamoff typedef.
19152
19153
19154
19155 ac_ext=cpp
19156 ac_cpp='$CXXCPP $CPPFLAGS'
19157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19160
19161
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19163 $as_echo_n "checking for int64_t... " >&6; }
19164 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19165 $as_echo_n "(cached) " >&6
19166 else
19167
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19170 #include <stdint.h>
19171 int
19172 main ()
19173 {
19174 int64_t var;
19175 ;
19176 return 0;
19177 }
19178 _ACEOF
19179 if ac_fn_cxx_try_compile "$LINENO"; then :
19180 glibcxx_cv_INT64_T=yes
19181 else
19182 glibcxx_cv_INT64_T=no
19183 fi
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19185
19186 fi
19187
19188
19189 if test $glibcxx_cv_INT64_T = yes; then
19190
19191 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19192
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19194 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19195
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19197 $as_echo_n "checking for int64_t as long... " >&6; }
19198 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19199 $as_echo_n "(cached) " >&6
19200 else
19201
19202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19204 #include <stdint.h>
19205 template<typename, typename> struct same { enum { value = -1 }; };
19206 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19207 int array[same<int64_t, long>::value];
19208 int
19209 main ()
19210 {
19211
19212 ;
19213 return 0;
19214 }
19215 _ACEOF
19216 if ac_fn_cxx_try_compile "$LINENO"; then :
19217 glibcxx_cv_int64_t_long=yes
19218 else
19219 glibcxx_cv_int64_t_long=no
19220 fi
19221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222
19223 fi
19224
19225
19226 if test $glibcxx_cv_int64_t_long = yes; then
19227
19228 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19229
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19231 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19232 fi
19233
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19235 $as_echo_n "checking for int64_t as long long... " >&6; }
19236 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19237 $as_echo_n "(cached) " >&6
19238 else
19239
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h. */
19242 #include <stdint.h>
19243 template<typename, typename> struct same { enum { value = -1 }; };
19244 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19245 int array[same<int64_t, long long>::value];
19246 int
19247 main ()
19248 {
19249
19250 ;
19251 return 0;
19252 }
19253 _ACEOF
19254 if ac_fn_cxx_try_compile "$LINENO"; then :
19255 glibcxx_cv_int64_t_long_long=yes
19256 else
19257 glibcxx_cv_int64_t_long_long=no
19258 fi
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260
19261 fi
19262
19263
19264 if test $glibcxx_cv_int64_t_long_long = yes; then
19265
19266 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19267
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19269 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19270 fi
19271 fi
19272
19273 ac_ext=c
19274 ac_cpp='$CPP $CPPFLAGS'
19275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19278
19279
19280
19281 # For LFS support.
19282
19283
19284 ac_ext=cpp
19285 ac_cpp='$CXXCPP $CPPFLAGS'
19286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19289
19290 ac_save_CXXFLAGS="$CXXFLAGS"
19291 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19293 $as_echo_n "checking for LFS support... " >&6; }
19294 if test "${glibcxx_cv_LFS+set}" = set; then :
19295 $as_echo_n "(cached) " >&6
19296 else
19297
19298 if test x$gcc_no_link = xyes; then
19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h. */
19301 #include <unistd.h>
19302 #include <stdio.h>
19303 #include <sys/stat.h>
19304
19305 int
19306 main ()
19307 {
19308 FILE* fp;
19309 fopen64("t", "w");
19310 fseeko64(fp, 0, SEEK_CUR);
19311 ftello64(fp);
19312 lseek64(1, 0, SEEK_CUR);
19313 struct stat64 buf;
19314 fstat64(1, &buf);
19315 ;
19316 return 0;
19317 }
19318 _ACEOF
19319 if ac_fn_cxx_try_compile "$LINENO"; then :
19320 glibcxx_cv_LFS=yes
19321 else
19322 glibcxx_cv_LFS=no
19323 fi
19324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19325 else
19326 if test x$gcc_no_link = xyes; then
19327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19328 fi
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 #include <unistd.h>
19332 #include <stdio.h>
19333 #include <sys/stat.h>
19334
19335 int
19336 main ()
19337 {
19338 FILE* fp;
19339 fopen64("t", "w");
19340 fseeko64(fp, 0, SEEK_CUR);
19341 ftello64(fp);
19342 lseek64(1, 0, SEEK_CUR);
19343 struct stat64 buf;
19344 fstat64(1, &buf);
19345 ;
19346 return 0;
19347 }
19348 _ACEOF
19349 if ac_fn_cxx_try_link "$LINENO"; then :
19350 glibcxx_cv_LFS=yes
19351 else
19352 glibcxx_cv_LFS=no
19353 fi
19354 rm -f core conftest.err conftest.$ac_objext \
19355 conftest$ac_exeext conftest.$ac_ext
19356 fi
19357
19358 fi
19359
19360 if test $glibcxx_cv_LFS = yes; then
19361
19362 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19363
19364 fi
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19366 $as_echo "$glibcxx_cv_LFS" >&6; }
19367 CXXFLAGS="$ac_save_CXXFLAGS"
19368 ac_ext=c
19369 ac_cpp='$CPP $CPPFLAGS'
19370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19373
19374
19375
19376 # For showmanyc_helper().
19377 for ac_header in sys/ioctl.h sys/filio.h
19378 do :
19379 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19380 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19381 eval as_val=\$$as_ac_Header
19382 if test "x$as_val" = x""yes; then :
19383 cat >>confdefs.h <<_ACEOF
19384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19385 _ACEOF
19386
19387 fi
19388
19389 done
19390
19391
19392
19393
19394 ac_ext=cpp
19395 ac_cpp='$CXXCPP $CPPFLAGS'
19396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19399
19400 ac_save_CXXFLAGS="$CXXFLAGS"
19401 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19402
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19404 $as_echo_n "checking for poll... " >&6; }
19405 if test "${glibcxx_cv_POLL+set}" = set; then :
19406 $as_echo_n "(cached) " >&6
19407 else
19408
19409 if test x$gcc_no_link = xyes; then
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 #include <poll.h>
19413 int
19414 main ()
19415 {
19416 struct pollfd pfd[1];
19417 pfd[0].events = POLLIN;
19418 poll(pfd, 1, 0);
19419 ;
19420 return 0;
19421 }
19422 _ACEOF
19423 if ac_fn_cxx_try_compile "$LINENO"; then :
19424 glibcxx_cv_POLL=yes
19425 else
19426 glibcxx_cv_POLL=no
19427 fi
19428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19429 else
19430 if test x$gcc_no_link = xyes; then
19431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19432 fi
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <poll.h>
19436 int
19437 main ()
19438 {
19439 struct pollfd pfd[1];
19440 pfd[0].events = POLLIN;
19441 poll(pfd, 1, 0);
19442 ;
19443 return 0;
19444 }
19445 _ACEOF
19446 if ac_fn_cxx_try_link "$LINENO"; then :
19447 glibcxx_cv_POLL=yes
19448 else
19449 glibcxx_cv_POLL=no
19450 fi
19451 rm -f core conftest.err conftest.$ac_objext \
19452 conftest$ac_exeext conftest.$ac_ext
19453 fi
19454
19455 fi
19456
19457 if test $glibcxx_cv_POLL = yes; then
19458
19459 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19460
19461 fi
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19463 $as_echo "$glibcxx_cv_POLL" >&6; }
19464
19465 CXXFLAGS="$ac_save_CXXFLAGS"
19466 ac_ext=c
19467 ac_cpp='$CPP $CPPFLAGS'
19468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19471
19472
19473
19474
19475
19476 ac_ext=cpp
19477 ac_cpp='$CXXCPP $CPPFLAGS'
19478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19481
19482 ac_save_CXXFLAGS="$CXXFLAGS"
19483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19484
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19486 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19487 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19488 $as_echo_n "(cached) " >&6
19489 else
19490
19491 if test x$gcc_no_link = xyes; then
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #include <sys/stat.h>
19495 int
19496 main ()
19497 {
19498 struct stat buffer;
19499 fstat(0, &buffer);
19500 S_ISREG(buffer.st_mode);
19501 ;
19502 return 0;
19503 }
19504 _ACEOF
19505 if ac_fn_cxx_try_compile "$LINENO"; then :
19506 glibcxx_cv_S_ISREG=yes
19507 else
19508 glibcxx_cv_S_ISREG=no
19509 fi
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 else
19512 if test x$gcc_no_link = xyes; then
19513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19514 fi
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h. */
19517 #include <sys/stat.h>
19518 int
19519 main ()
19520 {
19521 struct stat buffer;
19522 fstat(0, &buffer);
19523 S_ISREG(buffer.st_mode);
19524 ;
19525 return 0;
19526 }
19527 _ACEOF
19528 if ac_fn_cxx_try_link "$LINENO"; then :
19529 glibcxx_cv_S_ISREG=yes
19530 else
19531 glibcxx_cv_S_ISREG=no
19532 fi
19533 rm -f core conftest.err conftest.$ac_objext \
19534 conftest$ac_exeext conftest.$ac_ext
19535 fi
19536
19537 fi
19538
19539 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19542
19543 if test x$gcc_no_link = xyes; then
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19546 #include <sys/stat.h>
19547 int
19548 main ()
19549 {
19550 struct stat buffer;
19551 fstat(0, &buffer);
19552 S_IFREG & buffer.st_mode;
19553 ;
19554 return 0;
19555 }
19556 _ACEOF
19557 if ac_fn_cxx_try_compile "$LINENO"; then :
19558 glibcxx_cv_S_IFREG=yes
19559 else
19560 glibcxx_cv_S_IFREG=no
19561 fi
19562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 else
19564 if test x$gcc_no_link = xyes; then
19565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19566 fi
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19569 #include <sys/stat.h>
19570 int
19571 main ()
19572 {
19573 struct stat buffer;
19574 fstat(0, &buffer);
19575 S_IFREG & buffer.st_mode;
19576 ;
19577 return 0;
19578 }
19579 _ACEOF
19580 if ac_fn_cxx_try_link "$LINENO"; then :
19581 glibcxx_cv_S_IFREG=yes
19582 else
19583 glibcxx_cv_S_IFREG=no
19584 fi
19585 rm -f core conftest.err conftest.$ac_objext \
19586 conftest$ac_exeext conftest.$ac_ext
19587 fi
19588
19589 fi
19590
19591 res=no
19592 if test $glibcxx_cv_S_ISREG = yes; then
19593
19594 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19595
19596 res=S_ISREG
19597 elif test $glibcxx_cv_S_IFREG = yes; then
19598
19599 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19600
19601 res=S_IFREG
19602 fi
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19604 $as_echo "$res" >&6; }
19605
19606 CXXFLAGS="$ac_save_CXXFLAGS"
19607 ac_ext=c
19608 ac_cpp='$CPP $CPPFLAGS'
19609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19612
19613
19614
19615 # For xsputn_2().
19616 for ac_header in sys/uio.h
19617 do :
19618 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19619 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19620 cat >>confdefs.h <<_ACEOF
19621 #define HAVE_SYS_UIO_H 1
19622 _ACEOF
19623
19624 fi
19625
19626 done
19627
19628
19629
19630
19631 ac_ext=cpp
19632 ac_cpp='$CXXCPP $CPPFLAGS'
19633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19636
19637 ac_save_CXXFLAGS="$CXXFLAGS"
19638 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19639
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19641 $as_echo_n "checking for writev... " >&6; }
19642 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19645
19646 if test x$gcc_no_link = xyes; then
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #include <sys/uio.h>
19650 int
19651 main ()
19652 {
19653 struct iovec iov[2];
19654 writev(0, iov, 0);
19655 ;
19656 return 0;
19657 }
19658 _ACEOF
19659 if ac_fn_cxx_try_compile "$LINENO"; then :
19660 glibcxx_cv_WRITEV=yes
19661 else
19662 glibcxx_cv_WRITEV=no
19663 fi
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19665 else
19666 if test x$gcc_no_link = xyes; then
19667 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19668 fi
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671 #include <sys/uio.h>
19672 int
19673 main ()
19674 {
19675 struct iovec iov[2];
19676 writev(0, iov, 0);
19677 ;
19678 return 0;
19679 }
19680 _ACEOF
19681 if ac_fn_cxx_try_link "$LINENO"; then :
19682 glibcxx_cv_WRITEV=yes
19683 else
19684 glibcxx_cv_WRITEV=no
19685 fi
19686 rm -f core conftest.err conftest.$ac_objext \
19687 conftest$ac_exeext conftest.$ac_ext
19688 fi
19689
19690 fi
19691
19692 if test $glibcxx_cv_WRITEV = yes; then
19693
19694 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19695
19696 fi
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19698 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19699
19700 CXXFLAGS="$ac_save_CXXFLAGS"
19701 ac_ext=c
19702 ac_cpp='$CPP $CPPFLAGS'
19703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19706
19707
19708
19709 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19710 # so that the check is done with the C compiler (not C++).
19711 # Checking with C++ can break a canadian cross build if either
19712 # file does not exist in C but does in C++.
19713 for ac_header in fenv.h complex.h
19714 do :
19715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19716 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19717 eval as_val=\$$as_ac_Header
19718 if test "x$as_val" = x""yes; then :
19719 cat >>confdefs.h <<_ACEOF
19720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19721 _ACEOF
19722
19723 fi
19724
19725 done
19726
19727
19728 # For C99 support to TR1.
19729
19730
19731
19732 ac_ext=cpp
19733 ac_cpp='$CXXCPP $CPPFLAGS'
19734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19737
19738
19739 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19740 # undefined and fake C99 facilities may be spuriously enabled.
19741 ac_save_CXXFLAGS="$CXXFLAGS"
19742 CXXFLAGS="$CXXFLAGS -std=c++98"
19743
19744 # Check for the existence of <complex.h> complex math functions used
19745 # by tr1/complex.
19746 for ac_header in complex.h
19747 do :
19748 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19749 if test "x$ac_cv_header_complex_h" = x""yes; then :
19750 cat >>confdefs.h <<_ACEOF
19751 #define HAVE_COMPLEX_H 1
19752 _ACEOF
19753 ac_has_complex_h=yes
19754 else
19755 ac_has_complex_h=no
19756 fi
19757
19758 done
19759
19760 ac_c99_complex_tr1=no;
19761 if test x"$ac_has_complex_h" = x"yes"; then
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19763 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19765 /* end confdefs.h. */
19766 #include <complex.h>
19767 int
19768 main ()
19769 {
19770 typedef __complex__ float float_type; float_type tmpf;
19771 cacosf(tmpf);
19772 casinf(tmpf);
19773 catanf(tmpf);
19774 cacoshf(tmpf);
19775 casinhf(tmpf);
19776 catanhf(tmpf);
19777 typedef __complex__ double double_type; double_type tmpd;
19778 cacos(tmpd);
19779 casin(tmpd);
19780 catan(tmpd);
19781 cacosh(tmpd);
19782 casinh(tmpd);
19783 catanh(tmpd);
19784 typedef __complex__ long double ld_type; ld_type tmpld;
19785 cacosl(tmpld);
19786 casinl(tmpld);
19787 catanl(tmpld);
19788 cacoshl(tmpld);
19789 casinhl(tmpld);
19790 catanhl(tmpld);
19791
19792 ;
19793 return 0;
19794 }
19795 _ACEOF
19796 if ac_fn_cxx_try_compile "$LINENO"; then :
19797 ac_c99_complex_tr1=yes
19798 else
19799 ac_c99_complex_tr1=no
19800 fi
19801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19802 fi
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19804 $as_echo "$ac_c99_complex_tr1" >&6; }
19805 if test x"$ac_c99_complex_tr1" = x"yes"; then
19806
19807 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19808
19809 fi
19810
19811 # Check for the existence of <ctype.h> functions.
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19813 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19814 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19815 $as_echo_n "(cached) " >&6
19816 else
19817
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19820 #include <ctype.h>
19821 int
19822 main ()
19823 {
19824 int ch;
19825 int ret;
19826 ret = isblank(ch);
19827
19828 ;
19829 return 0;
19830 }
19831 _ACEOF
19832 if ac_fn_cxx_try_compile "$LINENO"; then :
19833 glibcxx_cv_c99_ctype_tr1=yes
19834 else
19835 glibcxx_cv_c99_ctype_tr1=no
19836 fi
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19838
19839 fi
19840
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19842 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19843 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19844
19845 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19846
19847 fi
19848
19849 # Check for the existence of <fenv.h> functions.
19850 for ac_header in fenv.h
19851 do :
19852 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19853 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19854 cat >>confdefs.h <<_ACEOF
19855 #define HAVE_FENV_H 1
19856 _ACEOF
19857 ac_has_fenv_h=yes
19858 else
19859 ac_has_fenv_h=no
19860 fi
19861
19862 done
19863
19864 ac_c99_fenv_tr1=no;
19865 if test x"$ac_has_fenv_h" = x"yes"; then
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19867 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #include <fenv.h>
19871 int
19872 main ()
19873 {
19874 int except, mode;
19875 fexcept_t* pflag;
19876 fenv_t* penv;
19877 int ret;
19878 ret = feclearexcept(except);
19879 ret = fegetexceptflag(pflag, except);
19880 ret = feraiseexcept(except);
19881 ret = fesetexceptflag(pflag, except);
19882 ret = fetestexcept(except);
19883 ret = fegetround();
19884 ret = fesetround(mode);
19885 ret = fegetenv(penv);
19886 ret = feholdexcept(penv);
19887 ret = fesetenv(penv);
19888 ret = feupdateenv(penv);
19889
19890 ;
19891 return 0;
19892 }
19893 _ACEOF
19894 if ac_fn_cxx_try_compile "$LINENO"; then :
19895 ac_c99_fenv_tr1=yes
19896 else
19897 ac_c99_fenv_tr1=no
19898 fi
19899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 fi
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19902 $as_echo "$ac_c99_fenv_tr1" >&6; }
19903 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19904
19905 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19906
19907 fi
19908
19909 # Check for the existence of <stdint.h> types.
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19911 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19912 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19913 $as_echo_n "(cached) " >&6
19914 else
19915
19916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h. */
19918 #define __STDC_LIMIT_MACROS
19919 #define __STDC_CONSTANT_MACROS
19920 #include <stdint.h>
19921 int
19922 main ()
19923 {
19924 typedef int8_t my_int8_t;
19925 my_int8_t i8 = INT8_MIN;
19926 i8 = INT8_MAX;
19927 typedef int16_t my_int16_t;
19928 my_int16_t i16 = INT16_MIN;
19929 i16 = INT16_MAX;
19930 typedef int32_t my_int32_t;
19931 my_int32_t i32 = INT32_MIN;
19932 i32 = INT32_MAX;
19933 typedef int64_t my_int64_t;
19934 my_int64_t i64 = INT64_MIN;
19935 i64 = INT64_MAX;
19936 typedef int_fast8_t my_int_fast8_t;
19937 my_int_fast8_t if8 = INT_FAST8_MIN;
19938 if8 = INT_FAST8_MAX;
19939 typedef int_fast16_t my_int_fast16_t;
19940 my_int_fast16_t if16 = INT_FAST16_MIN;
19941 if16 = INT_FAST16_MAX;
19942 typedef int_fast32_t my_int_fast32_t;
19943 my_int_fast32_t if32 = INT_FAST32_MIN;
19944 if32 = INT_FAST32_MAX;
19945 typedef int_fast64_t my_int_fast64_t;
19946 my_int_fast64_t if64 = INT_FAST64_MIN;
19947 if64 = INT_FAST64_MAX;
19948 typedef int_least8_t my_int_least8_t;
19949 my_int_least8_t il8 = INT_LEAST8_MIN;
19950 il8 = INT_LEAST8_MAX;
19951 typedef int_least16_t my_int_least16_t;
19952 my_int_least16_t il16 = INT_LEAST16_MIN;
19953 il16 = INT_LEAST16_MAX;
19954 typedef int_least32_t my_int_least32_t;
19955 my_int_least32_t il32 = INT_LEAST32_MIN;
19956 il32 = INT_LEAST32_MAX;
19957 typedef int_least64_t my_int_least64_t;
19958 my_int_least64_t il64 = INT_LEAST64_MIN;
19959 il64 = INT_LEAST64_MAX;
19960 typedef intmax_t my_intmax_t;
19961 my_intmax_t im = INTMAX_MAX;
19962 im = INTMAX_MIN;
19963 typedef intptr_t my_intptr_t;
19964 my_intptr_t ip = INTPTR_MAX;
19965 ip = INTPTR_MIN;
19966 typedef uint8_t my_uint8_t;
19967 my_uint8_t ui8 = UINT8_MAX;
19968 ui8 = UINT8_MAX;
19969 typedef uint16_t my_uint16_t;
19970 my_uint16_t ui16 = UINT16_MAX;
19971 ui16 = UINT16_MAX;
19972 typedef uint32_t my_uint32_t;
19973 my_uint32_t ui32 = UINT32_MAX;
19974 ui32 = UINT32_MAX;
19975 typedef uint64_t my_uint64_t;
19976 my_uint64_t ui64 = UINT64_MAX;
19977 ui64 = UINT64_MAX;
19978 typedef uint_fast8_t my_uint_fast8_t;
19979 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19980 uif8 = UINT_FAST8_MAX;
19981 typedef uint_fast16_t my_uint_fast16_t;
19982 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19983 uif16 = UINT_FAST16_MAX;
19984 typedef uint_fast32_t my_uint_fast32_t;
19985 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19986 uif32 = UINT_FAST32_MAX;
19987 typedef uint_fast64_t my_uint_fast64_t;
19988 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19989 uif64 = UINT_FAST64_MAX;
19990 typedef uint_least8_t my_uint_least8_t;
19991 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19992 uil8 = UINT_LEAST8_MAX;
19993 typedef uint_least16_t my_uint_least16_t;
19994 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19995 uil16 = UINT_LEAST16_MAX;
19996 typedef uint_least32_t my_uint_least32_t;
19997 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19998 uil32 = UINT_LEAST32_MAX;
19999 typedef uint_least64_t my_uint_least64_t;
20000 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20001 uil64 = UINT_LEAST64_MAX;
20002 typedef uintmax_t my_uintmax_t;
20003 my_uintmax_t uim = UINTMAX_MAX;
20004 uim = UINTMAX_MAX;
20005 typedef uintptr_t my_uintptr_t;
20006 my_uintptr_t uip = UINTPTR_MAX;
20007 uip = UINTPTR_MAX;
20008
20009 ;
20010 return 0;
20011 }
20012 _ACEOF
20013 if ac_fn_cxx_try_compile "$LINENO"; then :
20014 glibcxx_cv_c99_stdint_tr1=yes
20015 else
20016 glibcxx_cv_c99_stdint_tr1=no
20017 fi
20018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20019
20020 fi
20021
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20023 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20024 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20025
20026 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20027
20028 fi
20029
20030 # Check for the existence of <math.h> functions.
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20032 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20033 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20034 $as_echo_n "(cached) " >&6
20035 else
20036
20037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h. */
20039 #include <math.h>
20040 int
20041 main ()
20042 {
20043 typedef double_t my_double_t;
20044 typedef float_t my_float_t;
20045 acosh(0.0);
20046 acoshf(0.0f);
20047 acoshl(0.0l);
20048 asinh(0.0);
20049 asinhf(0.0f);
20050 asinhl(0.0l);
20051 atanh(0.0);
20052 atanhf(0.0f);
20053 atanhl(0.0l);
20054 cbrt(0.0);
20055 cbrtf(0.0f);
20056 cbrtl(0.0l);
20057 copysign(0.0, 0.0);
20058 copysignf(0.0f, 0.0f);
20059 copysignl(0.0l, 0.0l);
20060 erf(0.0);
20061 erff(0.0f);
20062 erfl(0.0l);
20063 erfc(0.0);
20064 erfcf(0.0f);
20065 erfcl(0.0l);
20066 exp2(0.0);
20067 exp2f(0.0f);
20068 exp2l(0.0l);
20069 expm1(0.0);
20070 expm1f(0.0f);
20071 expm1l(0.0l);
20072 fdim(0.0, 0.0);
20073 fdimf(0.0f, 0.0f);
20074 fdiml(0.0l, 0.0l);
20075 fma(0.0, 0.0, 0.0);
20076 fmaf(0.0f, 0.0f, 0.0f);
20077 fmal(0.0l, 0.0l, 0.0l);
20078 fmax(0.0, 0.0);
20079 fmaxf(0.0f, 0.0f);
20080 fmaxl(0.0l, 0.0l);
20081 fmin(0.0, 0.0);
20082 fminf(0.0f, 0.0f);
20083 fminl(0.0l, 0.0l);
20084 hypot(0.0, 0.0);
20085 hypotf(0.0f, 0.0f);
20086 hypotl(0.0l, 0.0l);
20087 ilogb(0.0);
20088 ilogbf(0.0f);
20089 ilogbl(0.0l);
20090 lgamma(0.0);
20091 lgammaf(0.0f);
20092 lgammal(0.0l);
20093 #ifndef __APPLE__ /* see below */
20094 llrint(0.0);
20095 llrintf(0.0f);
20096 llrintl(0.0l);
20097 llround(0.0);
20098 llroundf(0.0f);
20099 llroundl(0.0l);
20100 #endif
20101 log1p(0.0);
20102 log1pf(0.0f);
20103 log1pl(0.0l);
20104 log2(0.0);
20105 log2f(0.0f);
20106 log2l(0.0l);
20107 logb(0.0);
20108 logbf(0.0f);
20109 logbl(0.0l);
20110 lrint(0.0);
20111 lrintf(0.0f);
20112 lrintl(0.0l);
20113 lround(0.0);
20114 lroundf(0.0f);
20115 lroundl(0.0l);
20116 nan(0);
20117 nanf(0);
20118 nanl(0);
20119 nearbyint(0.0);
20120 nearbyintf(0.0f);
20121 nearbyintl(0.0l);
20122 nextafter(0.0, 0.0);
20123 nextafterf(0.0f, 0.0f);
20124 nextafterl(0.0l, 0.0l);
20125 nexttoward(0.0, 0.0);
20126 nexttowardf(0.0f, 0.0f);
20127 nexttowardl(0.0l, 0.0l);
20128 remainder(0.0, 0.0);
20129 remainderf(0.0f, 0.0f);
20130 remainderl(0.0l, 0.0l);
20131 remquo(0.0, 0.0, 0);
20132 remquof(0.0f, 0.0f, 0);
20133 remquol(0.0l, 0.0l, 0);
20134 rint(0.0);
20135 rintf(0.0f);
20136 rintl(0.0l);
20137 round(0.0);
20138 roundf(0.0f);
20139 roundl(0.0l);
20140 scalbln(0.0, 0l);
20141 scalblnf(0.0f, 0l);
20142 scalblnl(0.0l, 0l);
20143 scalbn(0.0, 0);
20144 scalbnf(0.0f, 0);
20145 scalbnl(0.0l, 0);
20146 tgamma(0.0);
20147 tgammaf(0.0f);
20148 tgammal(0.0l);
20149 trunc(0.0);
20150 truncf(0.0f);
20151 truncl(0.0l);
20152
20153 ;
20154 return 0;
20155 }
20156 _ACEOF
20157 if ac_fn_cxx_try_compile "$LINENO"; then :
20158 glibcxx_cv_c99_math_tr1=yes
20159 else
20160 glibcxx_cv_c99_math_tr1=no
20161 fi
20162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20163
20164 fi
20165
20166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20167 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20168 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20169
20170 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20171
20172
20173 case "${target_os}" in
20174 darwin*)
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20176 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20177 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20178 $as_echo_n "(cached) " >&6
20179 else
20180
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 #include <math.h>
20184 int
20185 main ()
20186 {
20187 llrint(0.0);
20188 llrintf(0.0f);
20189 llrintl(0.0l);
20190 llround(0.0);
20191 llroundf(0.0f);
20192 llroundl(0.0l);
20193
20194 ;
20195 return 0;
20196 }
20197 _ACEOF
20198 if ac_fn_cxx_try_compile "$LINENO"; then :
20199 glibcxx_cv_c99_math_llround=yes
20200 else
20201 glibcxx_cv_c99_math_llround=no
20202 fi
20203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20204
20205 fi
20206
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20208 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20209 ;;
20210 esac
20211 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20212
20213 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20214
20215 fi
20216 fi
20217
20218 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20219 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20220 ac_c99_inttypes_tr1=no;
20221 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20223 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h. */
20226 #include <inttypes.h>
20227 int
20228 main ()
20229 {
20230 intmax_t i, numer, denom, base;
20231 const char* s;
20232 char** endptr;
20233 intmax_t ret = imaxabs(i);
20234 imaxdiv_t dret = imaxdiv(numer, denom);
20235 ret = strtoimax(s, endptr, base);
20236 uintmax_t uret = strtoumax(s, endptr, base);
20237
20238 ;
20239 return 0;
20240 }
20241 _ACEOF
20242 if ac_fn_cxx_try_compile "$LINENO"; then :
20243 ac_c99_inttypes_tr1=yes
20244 else
20245 ac_c99_inttypes_tr1=no
20246 fi
20247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 fi
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20250 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20251 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20252
20253 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20254
20255 fi
20256
20257 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20258 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20259 ac_c99_inttypes_wchar_t_tr1=no;
20260 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20262 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h. */
20265 #include <inttypes.h>
20266 int
20267 main ()
20268 {
20269 intmax_t base;
20270 const wchar_t* s;
20271 wchar_t** endptr;
20272 intmax_t ret = wcstoimax(s, endptr, base);
20273 uintmax_t uret = wcstoumax(s, endptr, base);
20274
20275 ;
20276 return 0;
20277 }
20278 _ACEOF
20279 if ac_fn_cxx_try_compile "$LINENO"; then :
20280 ac_c99_inttypes_wchar_t_tr1=yes
20281 else
20282 ac_c99_inttypes_wchar_t_tr1=no
20283 fi
20284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285 fi
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20287 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20288 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20289
20290 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20291
20292 fi
20293
20294 # Check for the existence of the <stdbool.h> header.
20295 for ac_header in stdbool.h
20296 do :
20297 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20298 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20299 cat >>confdefs.h <<_ACEOF
20300 #define HAVE_STDBOOL_H 1
20301 _ACEOF
20302
20303 fi
20304
20305 done
20306
20307
20308 # Check for the existence of the <stdalign.h> header.
20309 for ac_header in stdalign.h
20310 do :
20311 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20312 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20313 cat >>confdefs.h <<_ACEOF
20314 #define HAVE_STDALIGN_H 1
20315 _ACEOF
20316
20317 fi
20318
20319 done
20320
20321
20322 CXXFLAGS="$ac_save_CXXFLAGS"
20323 ac_ext=c
20324 ac_cpp='$CPP $CPPFLAGS'
20325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20328
20329
20330
20331 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20332
20333
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20335 $as_echo_n "checking for the value of EOF... " >&6; }
20336 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20337 $as_echo_n "(cached) " >&6
20338 else
20339
20340 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20341
20342 else
20343 as_fn_error "computing EOF failed" "$LINENO" 5
20344 fi
20345
20346
20347 fi
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20349 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20350
20351 cat >>confdefs.h <<_ACEOF
20352 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20353 _ACEOF
20354
20355
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20357 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20358 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20359 $as_echo_n "(cached) " >&6
20360 else
20361
20362 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20363
20364 else
20365 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20366 fi
20367
20368
20369 fi
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20371 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20372
20373 cat >>confdefs.h <<_ACEOF
20374 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20375 _ACEOF
20376
20377
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20379 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20380 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20381 $as_echo_n "(cached) " >&6
20382 else
20383
20384 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20385
20386 else
20387 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20388 fi
20389
20390
20391 fi
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20393 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20394
20395 cat >>confdefs.h <<_ACEOF
20396 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20397 _ACEOF
20398
20399
20400
20401 # For gettimeofday support.
20402
20403
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20405 $as_echo_n "checking for gettimeofday... " >&6; }
20406
20407
20408 ac_ext=cpp
20409 ac_cpp='$CXXCPP $CPPFLAGS'
20410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20413
20414 ac_save_CXXFLAGS="$CXXFLAGS"
20415 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20416
20417 ac_has_gettimeofday=no;
20418 for ac_header in sys/time.h
20419 do :
20420 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20421 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20422 cat >>confdefs.h <<_ACEOF
20423 #define HAVE_SYS_TIME_H 1
20424 _ACEOF
20425 ac_has_sys_time_h=yes
20426 else
20427 ac_has_sys_time_h=no
20428 fi
20429
20430 done
20431
20432 if test x"$ac_has_sys_time_h" = x"yes"; then
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20434 $as_echo_n "checking for gettimeofday... " >&6; }
20435 if test x$gcc_no_link = xyes; then
20436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h. */
20438 #include <sys/time.h>
20439 int
20440 main ()
20441 {
20442 timeval tv; gettimeofday(&tv, 0);
20443 ;
20444 return 0;
20445 }
20446 _ACEOF
20447 if ac_fn_cxx_try_compile "$LINENO"; then :
20448 ac_has_gettimeofday=yes
20449 else
20450 ac_has_gettimeofday=no
20451 fi
20452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20453 else
20454 if test x$gcc_no_link = xyes; then
20455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20456 fi
20457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20458 /* end confdefs.h. */
20459 #include <sys/time.h>
20460 int
20461 main ()
20462 {
20463 timeval tv; gettimeofday(&tv, 0);
20464 ;
20465 return 0;
20466 }
20467 _ACEOF
20468 if ac_fn_cxx_try_link "$LINENO"; then :
20469 ac_has_gettimeofday=yes
20470 else
20471 ac_has_gettimeofday=no
20472 fi
20473 rm -f core conftest.err conftest.$ac_objext \
20474 conftest$ac_exeext conftest.$ac_ext
20475 fi
20476
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20478 $as_echo "$ac_has_gettimeofday" >&6; }
20479 fi
20480
20481 if test x"$ac_has_gettimeofday" = x"yes"; then
20482
20483 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20484
20485 fi
20486
20487 CXXFLAGS="$ac_save_CXXFLAGS"
20488 ac_ext=c
20489 ac_cpp='$CPP $CPPFLAGS'
20490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20493
20494
20495
20496 # For clock_gettime, nanosleep and sched_yield support.
20497
20498
20499 # Check whether --enable-libstdcxx-time was given.
20500 if test "${enable_libstdcxx_time+set}" = set; then :
20501 enableval=$enable_libstdcxx_time;
20502 case "$enableval" in
20503 yes|no|rt) ;;
20504 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20505 esac
20506
20507 else
20508 enable_libstdcxx_time=auto
20509 fi
20510
20511
20512
20513
20514 ac_ext=cpp
20515 ac_cpp='$CXXCPP $CPPFLAGS'
20516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20519
20520 ac_save_CXXFLAGS="$CXXFLAGS"
20521 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20522 ac_save_LIBS="$LIBS"
20523
20524 ac_has_clock_monotonic=no
20525 ac_has_clock_realtime=no
20526 ac_has_nanosleep=no
20527 ac_has_sched_yield=no
20528
20529 if test x"$enable_libstdcxx_time" = x"auto"; then
20530
20531 case "${target_os}" in
20532 cygwin*)
20533 ac_has_nanosleep=yes
20534 ;;
20535 darwin*)
20536 ac_has_nanosleep=yes
20537 ac_has_sched_yield=yes
20538 ;;
20539 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20541 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20543 /* end confdefs.h. */
20544 #include <features.h>
20545 int
20546 main ()
20547 {
20548
20549 #if ! __GLIBC_PREREQ(2, 17)
20550 #error
20551 #endif
20552
20553 ;
20554 return 0;
20555 }
20556 _ACEOF
20557 if ac_fn_cxx_try_compile "$LINENO"; then :
20558 glibcxx_glibc217=yes
20559 else
20560 glibcxx_glibc217=no
20561 fi
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20564 $as_echo "$glibcxx_glibc217" >&6; }
20565
20566 if test x"$glibcxx_glibc217" = x"yes"; then
20567 ac_has_clock_monotonic=yes
20568 ac_has_clock_realtime=yes
20569 fi
20570 ac_has_nanosleep=yes
20571 ac_has_sched_yield=yes
20572 ;;
20573 freebsd*|netbsd*|dragonfly*|rtems*)
20574 ac_has_clock_monotonic=yes
20575 ac_has_clock_realtime=yes
20576 ac_has_nanosleep=yes
20577 ac_has_sched_yield=yes
20578 ;;
20579 openbsd*)
20580 ac_has_clock_monotonic=yes
20581 ac_has_clock_realtime=yes
20582 ac_has_nanosleep=yes
20583 ;;
20584 solaris*)
20585 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20586 ac_has_clock_monotonic=yes
20587 ac_has_clock_realtime=yes
20588 ac_has_nanosleep=yes
20589 ac_has_sched_yield=yes
20590 ;;
20591 esac
20592
20593 elif test x"$enable_libstdcxx_time" != x"no"; then
20594
20595 if test x"$enable_libstdcxx_time" = x"rt"; then
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20597 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20598 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20599 $as_echo_n "(cached) " >&6
20600 else
20601 ac_func_search_save_LIBS=$LIBS
20602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20603 /* end confdefs.h. */
20604
20605 /* Override any GCC internal prototype to avoid an error.
20606 Use char because int might match the return type of a GCC
20607 builtin and then its argument prototype would still apply. */
20608 #ifdef __cplusplus
20609 extern "C"
20610 #endif
20611 char clock_gettime ();
20612 int
20613 main ()
20614 {
20615 return clock_gettime ();
20616 ;
20617 return 0;
20618 }
20619 _ACEOF
20620 for ac_lib in '' rt posix4; do
20621 if test -z "$ac_lib"; then
20622 ac_res="none required"
20623 else
20624 ac_res=-l$ac_lib
20625 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20626 fi
20627 if test x$gcc_no_link = xyes; then
20628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20629 fi
20630 if ac_fn_cxx_try_link "$LINENO"; then :
20631 ac_cv_search_clock_gettime=$ac_res
20632 fi
20633 rm -f core conftest.err conftest.$ac_objext \
20634 conftest$ac_exeext
20635 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20636 break
20637 fi
20638 done
20639 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20640
20641 else
20642 ac_cv_search_clock_gettime=no
20643 fi
20644 rm conftest.$ac_ext
20645 LIBS=$ac_func_search_save_LIBS
20646 fi
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20648 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20649 ac_res=$ac_cv_search_clock_gettime
20650 if test "$ac_res" != no; then :
20651 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20652
20653 fi
20654
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20656 $as_echo_n "checking for library containing nanosleep... " >&6; }
20657 if test "${ac_cv_search_nanosleep+set}" = set; then :
20658 $as_echo_n "(cached) " >&6
20659 else
20660 ac_func_search_save_LIBS=$LIBS
20661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h. */
20663
20664 /* Override any GCC internal prototype to avoid an error.
20665 Use char because int might match the return type of a GCC
20666 builtin and then its argument prototype would still apply. */
20667 #ifdef __cplusplus
20668 extern "C"
20669 #endif
20670 char nanosleep ();
20671 int
20672 main ()
20673 {
20674 return nanosleep ();
20675 ;
20676 return 0;
20677 }
20678 _ACEOF
20679 for ac_lib in '' rt posix4; do
20680 if test -z "$ac_lib"; then
20681 ac_res="none required"
20682 else
20683 ac_res=-l$ac_lib
20684 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20685 fi
20686 if test x$gcc_no_link = xyes; then
20687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20688 fi
20689 if ac_fn_cxx_try_link "$LINENO"; then :
20690 ac_cv_search_nanosleep=$ac_res
20691 fi
20692 rm -f core conftest.err conftest.$ac_objext \
20693 conftest$ac_exeext
20694 if test "${ac_cv_search_nanosleep+set}" = set; then :
20695 break
20696 fi
20697 done
20698 if test "${ac_cv_search_nanosleep+set}" = set; then :
20699
20700 else
20701 ac_cv_search_nanosleep=no
20702 fi
20703 rm conftest.$ac_ext
20704 LIBS=$ac_func_search_save_LIBS
20705 fi
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20707 $as_echo "$ac_cv_search_nanosleep" >&6; }
20708 ac_res=$ac_cv_search_nanosleep
20709 if test "$ac_res" != no; then :
20710 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20711
20712 fi
20713
20714 else
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20716 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20717 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20718 $as_echo_n "(cached) " >&6
20719 else
20720 ac_func_search_save_LIBS=$LIBS
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h. */
20723
20724 /* Override any GCC internal prototype to avoid an error.
20725 Use char because int might match the return type of a GCC
20726 builtin and then its argument prototype would still apply. */
20727 #ifdef __cplusplus
20728 extern "C"
20729 #endif
20730 char clock_gettime ();
20731 int
20732 main ()
20733 {
20734 return clock_gettime ();
20735 ;
20736 return 0;
20737 }
20738 _ACEOF
20739 for ac_lib in '' posix4; do
20740 if test -z "$ac_lib"; then
20741 ac_res="none required"
20742 else
20743 ac_res=-l$ac_lib
20744 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20745 fi
20746 if test x$gcc_no_link = xyes; then
20747 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20748 fi
20749 if ac_fn_cxx_try_link "$LINENO"; then :
20750 ac_cv_search_clock_gettime=$ac_res
20751 fi
20752 rm -f core conftest.err conftest.$ac_objext \
20753 conftest$ac_exeext
20754 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20755 break
20756 fi
20757 done
20758 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20759
20760 else
20761 ac_cv_search_clock_gettime=no
20762 fi
20763 rm conftest.$ac_ext
20764 LIBS=$ac_func_search_save_LIBS
20765 fi
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20767 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20768 ac_res=$ac_cv_search_clock_gettime
20769 if test "$ac_res" != no; then :
20770 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20771
20772 fi
20773
20774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20775 $as_echo_n "checking for library containing nanosleep... " >&6; }
20776 if test "${ac_cv_search_nanosleep+set}" = set; then :
20777 $as_echo_n "(cached) " >&6
20778 else
20779 ac_func_search_save_LIBS=$LIBS
20780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20781 /* end confdefs.h. */
20782
20783 /* Override any GCC internal prototype to avoid an error.
20784 Use char because int might match the return type of a GCC
20785 builtin and then its argument prototype would still apply. */
20786 #ifdef __cplusplus
20787 extern "C"
20788 #endif
20789 char nanosleep ();
20790 int
20791 main ()
20792 {
20793 return nanosleep ();
20794 ;
20795 return 0;
20796 }
20797 _ACEOF
20798 for ac_lib in '' posix4; do
20799 if test -z "$ac_lib"; then
20800 ac_res="none required"
20801 else
20802 ac_res=-l$ac_lib
20803 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20804 fi
20805 if test x$gcc_no_link = xyes; then
20806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20807 fi
20808 if ac_fn_cxx_try_link "$LINENO"; then :
20809 ac_cv_search_nanosleep=$ac_res
20810 fi
20811 rm -f core conftest.err conftest.$ac_objext \
20812 conftest$ac_exeext
20813 if test "${ac_cv_search_nanosleep+set}" = set; then :
20814 break
20815 fi
20816 done
20817 if test "${ac_cv_search_nanosleep+set}" = set; then :
20818
20819 else
20820 ac_cv_search_nanosleep=no
20821 fi
20822 rm conftest.$ac_ext
20823 LIBS=$ac_func_search_save_LIBS
20824 fi
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20826 $as_echo "$ac_cv_search_nanosleep" >&6; }
20827 ac_res=$ac_cv_search_nanosleep
20828 if test "$ac_res" != no; then :
20829 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20830
20831 fi
20832
20833 fi
20834
20835 case "$ac_cv_search_clock_gettime" in
20836 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20837 ;;
20838 esac
20839 case "$ac_cv_search_nanosleep" in
20840 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20841 ;;
20842 esac
20843
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20845 $as_echo_n "checking for library containing sched_yield... " >&6; }
20846 if test "${ac_cv_search_sched_yield+set}" = set; then :
20847 $as_echo_n "(cached) " >&6
20848 else
20849 ac_func_search_save_LIBS=$LIBS
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20852
20853 /* Override any GCC internal prototype to avoid an error.
20854 Use char because int might match the return type of a GCC
20855 builtin and then its argument prototype would still apply. */
20856 #ifdef __cplusplus
20857 extern "C"
20858 #endif
20859 char sched_yield ();
20860 int
20861 main ()
20862 {
20863 return sched_yield ();
20864 ;
20865 return 0;
20866 }
20867 _ACEOF
20868 for ac_lib in '' rt posix4; do
20869 if test -z "$ac_lib"; then
20870 ac_res="none required"
20871 else
20872 ac_res=-l$ac_lib
20873 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20874 fi
20875 if test x$gcc_no_link = xyes; then
20876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20877 fi
20878 if ac_fn_cxx_try_link "$LINENO"; then :
20879 ac_cv_search_sched_yield=$ac_res
20880 fi
20881 rm -f core conftest.err conftest.$ac_objext \
20882 conftest$ac_exeext
20883 if test "${ac_cv_search_sched_yield+set}" = set; then :
20884 break
20885 fi
20886 done
20887 if test "${ac_cv_search_sched_yield+set}" = set; then :
20888
20889 else
20890 ac_cv_search_sched_yield=no
20891 fi
20892 rm conftest.$ac_ext
20893 LIBS=$ac_func_search_save_LIBS
20894 fi
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20896 $as_echo "$ac_cv_search_sched_yield" >&6; }
20897 ac_res=$ac_cv_search_sched_yield
20898 if test "$ac_res" != no; then :
20899 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20900
20901 fi
20902
20903
20904 case "$ac_cv_search_sched_yield" in
20905 -lposix4*)
20906 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20907 ac_has_sched_yield=yes
20908 ;;
20909 -lrt*)
20910 if test x"$enable_libstdcxx_time" = x"rt"; then
20911 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20912 ac_has_sched_yield=yes
20913 fi
20914 ;;
20915 *)
20916 ac_has_sched_yield=yes
20917 ;;
20918 esac
20919
20920 for ac_header in unistd.h
20921 do :
20922 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20923 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20924 cat >>confdefs.h <<_ACEOF
20925 #define HAVE_UNISTD_H 1
20926 _ACEOF
20927 ac_has_unistd_h=yes
20928 else
20929 ac_has_unistd_h=no
20930 fi
20931
20932 done
20933
20934
20935 if test x"$ac_has_unistd_h" = x"yes"; then
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20937 $as_echo_n "checking for monotonic clock... " >&6; }
20938 if test x$gcc_no_link = xyes; then
20939 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20940 fi
20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20943 #include <unistd.h>
20944 #include <time.h>
20945
20946 int
20947 main ()
20948 {
20949 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20950 timespec tp;
20951 #endif
20952 clock_gettime(CLOCK_MONOTONIC, &tp);
20953
20954 ;
20955 return 0;
20956 }
20957 _ACEOF
20958 if ac_fn_cxx_try_link "$LINENO"; then :
20959 ac_has_clock_monotonic=yes
20960 else
20961 ac_has_clock_monotonic=no
20962 fi
20963 rm -f core conftest.err conftest.$ac_objext \
20964 conftest$ac_exeext conftest.$ac_ext
20965
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20967 $as_echo "$ac_has_clock_monotonic" >&6; }
20968
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20970 $as_echo_n "checking for realtime clock... " >&6; }
20971 if test x$gcc_no_link = xyes; then
20972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20973 fi
20974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20975 /* end confdefs.h. */
20976 #include <unistd.h>
20977 #include <time.h>
20978
20979 int
20980 main ()
20981 {
20982 #if _POSIX_TIMERS > 0
20983 timespec tp;
20984 #endif
20985 clock_gettime(CLOCK_REALTIME, &tp);
20986
20987 ;
20988 return 0;
20989 }
20990 _ACEOF
20991 if ac_fn_cxx_try_link "$LINENO"; then :
20992 ac_has_clock_realtime=yes
20993 else
20994 ac_has_clock_realtime=no
20995 fi
20996 rm -f core conftest.err conftest.$ac_objext \
20997 conftest$ac_exeext conftest.$ac_ext
20998
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21000 $as_echo "$ac_has_clock_realtime" >&6; }
21001
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21003 $as_echo_n "checking for nanosleep... " >&6; }
21004 if test x$gcc_no_link = xyes; then
21005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21006 fi
21007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h. */
21009 #include <unistd.h>
21010 #include <time.h>
21011
21012 int
21013 main ()
21014 {
21015 #if _POSIX_TIMERS > 0
21016 timespec tp;
21017 #endif
21018 nanosleep(&tp, 0);
21019
21020 ;
21021 return 0;
21022 }
21023 _ACEOF
21024 if ac_fn_cxx_try_link "$LINENO"; then :
21025 ac_has_nanosleep=yes
21026 else
21027 ac_has_nanosleep=no
21028 fi
21029 rm -f core conftest.err conftest.$ac_objext \
21030 conftest$ac_exeext conftest.$ac_ext
21031
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21033 $as_echo "$ac_has_nanosleep" >&6; }
21034 fi
21035 fi
21036
21037 if test x"$ac_has_clock_monotonic" != x"yes"; then
21038 case ${target_os} in
21039 linux*)
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21041 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21043 /* end confdefs.h. */
21044 #include <unistd.h>
21045 #include <time.h>
21046 #include <sys/syscall.h>
21047
21048 int
21049 main ()
21050 {
21051 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21052 timespec tp;
21053 #endif
21054 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21055 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21056
21057 ;
21058 return 0;
21059 }
21060 _ACEOF
21061 if ac_fn_cxx_try_compile "$LINENO"; then :
21062 ac_has_clock_monotonic_syscall=yes
21063 else
21064 ac_has_clock_monotonic_syscall=no
21065 fi
21066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21068 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21069 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21070
21071 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21072
21073 ac_has_clock_monotonic=yes
21074 ac_has_clock_realtime=yes
21075 fi;;
21076 esac
21077 fi
21078
21079 if test x"$ac_has_clock_monotonic" = x"yes"; then
21080
21081 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21082
21083 fi
21084
21085 if test x"$ac_has_clock_realtime" = x"yes"; then
21086
21087 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21088
21089 fi
21090
21091 if test x"$ac_has_sched_yield" = x"yes"; then
21092
21093 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21094
21095 fi
21096
21097 if test x"$ac_has_nanosleep" = x"yes"; then
21098
21099 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21100
21101 else
21102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21103 $as_echo_n "checking for sleep... " >&6; }
21104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h. */
21106 #include <unistd.h>
21107 int
21108 main ()
21109 {
21110 sleep(1)
21111 ;
21112 return 0;
21113 }
21114 _ACEOF
21115 if ac_fn_cxx_try_compile "$LINENO"; then :
21116 ac_has_sleep=yes
21117 else
21118 ac_has_sleep=no
21119 fi
21120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21121 if test x"$ac_has_sleep" = x"yes"; then
21122
21123 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21124
21125 fi
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21127 $as_echo "$ac_has_sleep" >&6; }
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21129 $as_echo_n "checking for usleep... " >&6; }
21130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21131 /* end confdefs.h. */
21132 #include <unistd.h>
21133 int
21134 main ()
21135 {
21136 sleep(1);
21137 usleep(100);
21138 ;
21139 return 0;
21140 }
21141 _ACEOF
21142 if ac_fn_cxx_try_compile "$LINENO"; then :
21143 ac_has_usleep=yes
21144 else
21145 ac_has_usleep=no
21146 fi
21147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21148 if test x"$ac_has_usleep" = x"yes"; then
21149
21150 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21151
21152 fi
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21154 $as_echo "$ac_has_usleep" >&6; }
21155 fi
21156
21157 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21159 $as_echo_n "checking for Sleep... " >&6; }
21160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21161 /* end confdefs.h. */
21162 #include <windows.h>
21163 int
21164 main ()
21165 {
21166 Sleep(1)
21167 ;
21168 return 0;
21169 }
21170 _ACEOF
21171 if ac_fn_cxx_try_compile "$LINENO"; then :
21172 ac_has_win32_sleep=yes
21173 else
21174 ac_has_win32_sleep=no
21175 fi
21176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177 if test x"$ac_has_win32_sleep" = x"yes"; then
21178
21179 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21180
21181 fi
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21183 $as_echo "$ac_has_win32_sleep" >&6; }
21184 fi
21185
21186
21187
21188 CXXFLAGS="$ac_save_CXXFLAGS"
21189 LIBS="$ac_save_LIBS"
21190 ac_ext=c
21191 ac_cpp='$CPP $CPPFLAGS'
21192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21195
21196
21197
21198 # Check for tmpnam which is obsolescent in POSIX.1-2008
21199
21200 ac_ext=cpp
21201 ac_cpp='$CXXCPP $CPPFLAGS'
21202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205
21206 ac_save_CXXFLAGS="$CXXFLAGS"
21207 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21209 $as_echo_n "checking for tmpnam... " >&6; }
21210 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21211 $as_echo_n "(cached) " >&6
21212 else
21213 if test x$gcc_no_link = xyes; then
21214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21215 /* end confdefs.h. */
21216 #include <stdio.h>
21217 int
21218 main ()
21219 {
21220 char *tmp = tmpnam(NULL);
21221 ;
21222 return 0;
21223 }
21224 _ACEOF
21225 if ac_fn_cxx_try_compile "$LINENO"; then :
21226 glibcxx_cv_TMPNAM=yes
21227 else
21228 glibcxx_cv_TMPNAM=no
21229 fi
21230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21231 else
21232 if test x$gcc_no_link = xyes; then
21233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21234 fi
21235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21236 /* end confdefs.h. */
21237 #include <stdio.h>
21238 int
21239 main ()
21240 {
21241 char *tmp = tmpnam(NULL);
21242 ;
21243 return 0;
21244 }
21245 _ACEOF
21246 if ac_fn_cxx_try_link "$LINENO"; then :
21247 glibcxx_cv_TMPNAM=yes
21248 else
21249 glibcxx_cv_TMPNAM=no
21250 fi
21251 rm -f core conftest.err conftest.$ac_objext \
21252 conftest$ac_exeext conftest.$ac_ext
21253 fi
21254
21255 fi
21256
21257 if test $glibcxx_cv_TMPNAM = yes; then
21258
21259 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21260
21261 fi
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21263 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21264 CXXFLAGS="$ac_save_CXXFLAGS"
21265 ac_ext=c
21266 ac_cpp='$CPP $CPPFLAGS'
21267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21270
21271
21272
21273
21274 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21275 if test "x$ac_cv_header_locale_h" = x""yes; then :
21276
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21278 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21279 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21280 $as_echo_n "(cached) " >&6
21281 else
21282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21283 /* end confdefs.h. */
21284 #include <locale.h>
21285 int
21286 main ()
21287 {
21288 return LC_MESSAGES
21289 ;
21290 return 0;
21291 }
21292 _ACEOF
21293 if ac_fn_c_try_compile "$LINENO"; then :
21294 ac_cv_val_LC_MESSAGES=yes
21295 else
21296 ac_cv_val_LC_MESSAGES=no
21297 fi
21298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21299 fi
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21301 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21302 if test $ac_cv_val_LC_MESSAGES = yes; then
21303
21304 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21305
21306 fi
21307
21308 fi
21309
21310
21311
21312
21313 # For hardware_concurrency
21314 for ac_header in sys/sysinfo.h
21315 do :
21316 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21317 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21318 cat >>confdefs.h <<_ACEOF
21319 #define HAVE_SYS_SYSINFO_H 1
21320 _ACEOF
21321
21322 fi
21323
21324 done
21325
21326
21327
21328
21329 ac_ext=cpp
21330 ac_cpp='$CXXCPP $CPPFLAGS'
21331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21334
21335 ac_save_CXXFLAGS="$CXXFLAGS"
21336 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21337
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21339 $as_echo_n "checking for get_nprocs... " >&6; }
21340 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21341 $as_echo_n "(cached) " >&6
21342 else
21343
21344 if test x$gcc_no_link = xyes; then
21345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346 /* end confdefs.h. */
21347 #include <sys/sysinfo.h>
21348 int
21349 main ()
21350 {
21351 int n = get_nprocs();
21352 ;
21353 return 0;
21354 }
21355 _ACEOF
21356 if ac_fn_cxx_try_compile "$LINENO"; then :
21357 glibcxx_cv_GET_NPROCS=yes
21358 else
21359 glibcxx_cv_GET_NPROCS=no
21360 fi
21361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21362 else
21363 if test x$gcc_no_link = xyes; then
21364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21365 fi
21366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21367 /* end confdefs.h. */
21368 #include <sys/sysinfo.h>
21369 int
21370 main ()
21371 {
21372 int n = get_nprocs();
21373 ;
21374 return 0;
21375 }
21376 _ACEOF
21377 if ac_fn_cxx_try_link "$LINENO"; then :
21378 glibcxx_cv_GET_NPROCS=yes
21379 else
21380 glibcxx_cv_GET_NPROCS=no
21381 fi
21382 rm -f core conftest.err conftest.$ac_objext \
21383 conftest$ac_exeext conftest.$ac_ext
21384 fi
21385
21386 fi
21387
21388 if test $glibcxx_cv_GET_NPROCS = yes; then
21389
21390 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21391
21392 fi
21393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21394 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21395
21396 CXXFLAGS="$ac_save_CXXFLAGS"
21397 ac_ext=c
21398 ac_cpp='$CPP $CPPFLAGS'
21399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21402
21403
21404 for ac_header in unistd.h
21405 do :
21406 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21407 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21408 cat >>confdefs.h <<_ACEOF
21409 #define HAVE_UNISTD_H 1
21410 _ACEOF
21411
21412 fi
21413
21414 done
21415
21416
21417
21418
21419 ac_ext=cpp
21420 ac_cpp='$CXXCPP $CPPFLAGS'
21421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21424
21425 ac_save_CXXFLAGS="$CXXFLAGS"
21426 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21427
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21429 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21430 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21431 $as_echo_n "(cached) " >&6
21432 else
21433
21434 if test x$gcc_no_link = xyes; then
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h. */
21437 #include <unistd.h>
21438 int
21439 main ()
21440 {
21441 int n = sysconf(_SC_NPROCESSORS_ONLN);
21442 ;
21443 return 0;
21444 }
21445 _ACEOF
21446 if ac_fn_cxx_try_compile "$LINENO"; then :
21447 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21448 else
21449 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21450 fi
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 else
21453 if test x$gcc_no_link = xyes; then
21454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21455 fi
21456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21457 /* end confdefs.h. */
21458 #include <unistd.h>
21459 int
21460 main ()
21461 {
21462 int n = sysconf(_SC_NPROCESSORS_ONLN);
21463 ;
21464 return 0;
21465 }
21466 _ACEOF
21467 if ac_fn_cxx_try_link "$LINENO"; then :
21468 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21469 else
21470 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21471 fi
21472 rm -f core conftest.err conftest.$ac_objext \
21473 conftest$ac_exeext conftest.$ac_ext
21474 fi
21475
21476 fi
21477
21478 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21479
21480 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21481
21482 fi
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21484 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21485
21486 CXXFLAGS="$ac_save_CXXFLAGS"
21487 ac_ext=c
21488 ac_cpp='$CPP $CPPFLAGS'
21489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21492
21493
21494
21495
21496
21497 ac_ext=cpp
21498 ac_cpp='$CXXCPP $CPPFLAGS'
21499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21502
21503 ac_save_CXXFLAGS="$CXXFLAGS"
21504 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21505
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21507 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21508 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21509 $as_echo_n "(cached) " >&6
21510 else
21511
21512 if test x$gcc_no_link = xyes; then
21513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21514 /* end confdefs.h. */
21515 #include <unistd.h>
21516 int
21517 main ()
21518 {
21519 int n = sysconf(_SC_NPROC_ONLN);
21520 ;
21521 return 0;
21522 }
21523 _ACEOF
21524 if ac_fn_cxx_try_compile "$LINENO"; then :
21525 glibcxx_cv_SC_NPROC_ONLN=yes
21526 else
21527 glibcxx_cv_SC_NPROC_ONLN=no
21528 fi
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 else
21531 if test x$gcc_no_link = xyes; then
21532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21533 fi
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <unistd.h>
21537 int
21538 main ()
21539 {
21540 int n = sysconf(_SC_NPROC_ONLN);
21541 ;
21542 return 0;
21543 }
21544 _ACEOF
21545 if ac_fn_cxx_try_link "$LINENO"; then :
21546 glibcxx_cv_SC_NPROC_ONLN=yes
21547 else
21548 glibcxx_cv_SC_NPROC_ONLN=no
21549 fi
21550 rm -f core conftest.err conftest.$ac_objext \
21551 conftest$ac_exeext conftest.$ac_ext
21552 fi
21553
21554 fi
21555
21556 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21557
21558 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21559
21560 fi
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21562 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21563
21564 CXXFLAGS="$ac_save_CXXFLAGS"
21565 ac_ext=c
21566 ac_cpp='$CPP $CPPFLAGS'
21567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21570
21571
21572
21573
21574
21575 ac_ext=cpp
21576 ac_cpp='$CXXCPP $CPPFLAGS'
21577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21580
21581 ac_save_CXXFLAGS="$CXXFLAGS"
21582 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21583
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21585 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21586 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21589
21590 if test x$gcc_no_link = xyes; then
21591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21592 /* end confdefs.h. */
21593 #include <pthread.h>
21594 int
21595 main ()
21596 {
21597 int n = pthread_num_processors_np();
21598 ;
21599 return 0;
21600 }
21601 _ACEOF
21602 if ac_fn_cxx_try_compile "$LINENO"; then :
21603 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21604 else
21605 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21606 fi
21607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21608 else
21609 if test x$gcc_no_link = xyes; then
21610 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21611 fi
21612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21613 /* end confdefs.h. */
21614 #include <pthread.h>
21615 int
21616 main ()
21617 {
21618 int n = pthread_num_processors_np();
21619 ;
21620 return 0;
21621 }
21622 _ACEOF
21623 if ac_fn_cxx_try_link "$LINENO"; then :
21624 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21625 else
21626 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21627 fi
21628 rm -f core conftest.err conftest.$ac_objext \
21629 conftest$ac_exeext conftest.$ac_ext
21630 fi
21631
21632 fi
21633
21634 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21635
21636 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21637
21638 fi
21639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21640 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21641
21642 CXXFLAGS="$ac_save_CXXFLAGS"
21643 ac_ext=c
21644 ac_cpp='$CPP $CPPFLAGS'
21645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21648
21649
21650
21651
21652
21653 ac_ext=cpp
21654 ac_cpp='$CXXCPP $CPPFLAGS'
21655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21658
21659 ac_save_CXXFLAGS="$CXXFLAGS"
21660 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21661
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21663 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21664 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21665 $as_echo_n "(cached) " >&6
21666 else
21667
21668 if test x$gcc_no_link = xyes; then
21669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21670 /* end confdefs.h. */
21671
21672 #include <stddef.h>
21673 #include <sys/sysctl.h>
21674
21675 int
21676 main ()
21677 {
21678
21679 int count;
21680 size_t size = sizeof(count);
21681 int mib[] = { CTL_HW, HW_NCPU };
21682 sysctl(mib, 2, &count, &size, NULL, 0);
21683
21684 ;
21685 return 0;
21686 }
21687 _ACEOF
21688 if ac_fn_cxx_try_compile "$LINENO"; then :
21689 glibcxx_cv_SYSCTL_HW_NCPU=yes
21690 else
21691 glibcxx_cv_SYSCTL_HW_NCPU=no
21692 fi
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 else
21695 if test x$gcc_no_link = xyes; then
21696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21697 fi
21698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21699 /* end confdefs.h. */
21700
21701 #include <stddef.h>
21702 #include <sys/sysctl.h>
21703
21704 int
21705 main ()
21706 {
21707
21708 int count;
21709 size_t size = sizeof(count);
21710 int mib[] = { CTL_HW, HW_NCPU };
21711 sysctl(mib, 2, &count, &size, NULL, 0);
21712
21713 ;
21714 return 0;
21715 }
21716 _ACEOF
21717 if ac_fn_cxx_try_link "$LINENO"; then :
21718 glibcxx_cv_SYSCTL_HW_NCPU=yes
21719 else
21720 glibcxx_cv_SYSCTL_HW_NCPU=no
21721 fi
21722 rm -f core conftest.err conftest.$ac_objext \
21723 conftest$ac_exeext conftest.$ac_ext
21724 fi
21725
21726 fi
21727
21728 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21729
21730 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21731
21732 fi
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21734 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21735
21736 CXXFLAGS="$ac_save_CXXFLAGS"
21737 ac_ext=c
21738 ac_cpp='$CPP $CPPFLAGS'
21739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21742
21743
21744
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21746 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21747 # Note that this test has to be run with the C language.
21748 # Otherwise, sdt.h will try to include some headers from
21749 # libstdc++ itself.
21750
21751 ac_ext=c
21752 ac_cpp='$CPP $CPPFLAGS'
21753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21756
21757 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21758 $as_echo_n "(cached) " >&6
21759 else
21760
21761 # Because we have to run the test in C, we use grep rather
21762 # than the compiler to check for the bug. The bug is that
21763 # were strings without trailing whitespace, causing g++
21764 # to look for operator"". The pattern searches for the fixed
21765 # output.
21766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21767 /* end confdefs.h. */
21768
21769 #include <sys/sdt.h>
21770 int f() { STAP_PROBE(hi, bob); }
21771
21772 _ACEOF
21773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21774 $EGREP " \",\" " >/dev/null 2>&1; then :
21775 glibcxx_cv_sys_sdt_h=yes
21776 else
21777 glibcxx_cv_sys_sdt_h=no
21778 fi
21779 rm -f conftest*
21780
21781
21782 fi
21783
21784 ac_ext=c
21785 ac_cpp='$CPP $CPPFLAGS'
21786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21789
21790 if test $glibcxx_cv_sys_sdt_h = yes; then
21791
21792 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21793
21794 fi
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21796 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21797
21798
21799 # Check for available headers.
21800 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21801 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21802 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21803 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21804 wchar.h wctype.h linux/types.h
21805 do :
21806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21807 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21808 eval as_val=\$$as_ac_Header
21809 if test "x$as_val" = x""yes; then :
21810 cat >>confdefs.h <<_ACEOF
21811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21812 _ACEOF
21813
21814 fi
21815
21816 done
21817
21818
21819 for ac_header in linux/random.h
21820 do :
21821 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21822 # include <linux/types.h>
21823 #endif
21824
21825 "
21826 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21827 cat >>confdefs.h <<_ACEOF
21828 #define HAVE_LINUX_RANDOM_H 1
21829 _ACEOF
21830
21831 fi
21832
21833 done
21834
21835
21836 # Only do link tests if native. Else, hardcode.
21837 if $GLIBCXX_IS_NATIVE; then
21838
21839 # We can do more elaborate tests that assume a working linker.
21840 CANADIAN=no
21841
21842
21843
21844 # Check whether --with-gnu-ld was given.
21845 if test "${with_gnu_ld+set}" = set; then :
21846 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21847 else
21848 with_gnu_ld=no
21849 fi
21850
21851 ac_prog=ld
21852 if test "$GCC" = yes; then
21853 # Check if gcc -print-prog-name=ld gives a path.
21854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21855 $as_echo_n "checking for ld used by $CC... " >&6; }
21856 case $host in
21857 *-*-mingw*)
21858 # gcc leaves a trailing carriage return which upsets mingw
21859 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21860 *)
21861 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21862 esac
21863 case $ac_prog in
21864 # Accept absolute paths.
21865 [\\/]* | ?:[\\/]*)
21866 re_direlt='/[^/][^/]*/\.\./'
21867 # Canonicalize the pathname of ld
21868 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21869 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21870 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21871 done
21872 test -z "$LD" && LD="$ac_prog"
21873 ;;
21874 "")
21875 # If it fails, then pretend we aren't using GCC.
21876 ac_prog=ld
21877 ;;
21878 *)
21879 # If it is relative, then search for the first ld in PATH.
21880 with_gnu_ld=unknown
21881 ;;
21882 esac
21883 elif test "$with_gnu_ld" = yes; then
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21885 $as_echo_n "checking for GNU ld... " >&6; }
21886 else
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21888 $as_echo_n "checking for non-GNU ld... " >&6; }
21889 fi
21890 if test "${lt_cv_path_LD+set}" = set; then :
21891 $as_echo_n "(cached) " >&6
21892 else
21893 if test -z "$LD"; then
21894 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21895 for ac_dir in $PATH; do
21896 IFS="$lt_save_ifs"
21897 test -z "$ac_dir" && ac_dir=.
21898 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21899 lt_cv_path_LD="$ac_dir/$ac_prog"
21900 # Check to see if the program is GNU ld. I'd rather use --version,
21901 # but apparently some variants of GNU ld only accept -v.
21902 # Break only if it was the GNU/non-GNU ld that we prefer.
21903 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21904 *GNU* | *'with BFD'*)
21905 test "$with_gnu_ld" != no && break
21906 ;;
21907 *)
21908 test "$with_gnu_ld" != yes && break
21909 ;;
21910 esac
21911 fi
21912 done
21913 IFS="$lt_save_ifs"
21914 else
21915 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21916 fi
21917 fi
21918
21919 LD="$lt_cv_path_LD"
21920 if test -n "$LD"; then
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21922 $as_echo "$LD" >&6; }
21923 else
21924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21925 $as_echo "no" >&6; }
21926 fi
21927 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21929 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21930 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21931 $as_echo_n "(cached) " >&6
21932 else
21933 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21934 case `$LD -v 2>&1 </dev/null` in
21935 *GNU* | *'with BFD'*)
21936 lt_cv_prog_gnu_ld=yes
21937 ;;
21938 *)
21939 lt_cv_prog_gnu_ld=no
21940 ;;
21941 esac
21942 fi
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21944 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21945 with_gnu_ld=$lt_cv_prog_gnu_ld
21946
21947
21948
21949
21950
21951
21952
21953 # If we're not using GNU ld, then there's no point in even trying these
21954 # tests. Check for that first. We should have already tested for gld
21955 # by now (in libtool), but require it now just to be safe...
21956 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21957 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21958
21959
21960
21961 # The name set by libtool depends on the version of libtool. Shame on us
21962 # for depending on an impl detail, but c'est la vie. Older versions used
21963 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21964 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21965 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21966 # set (hence we're using an older libtool), then set it.
21967 if test x${with_gnu_ld+set} != xset; then
21968 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21969 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21970 with_gnu_ld=no
21971 else
21972 with_gnu_ld=$ac_cv_prog_gnu_ld
21973 fi
21974 fi
21975
21976 # Start by getting the version number. I think the libtool test already
21977 # does some of this, but throws away the result.
21978 glibcxx_ld_is_gold=no
21979 if test x"$with_gnu_ld" = x"yes"; then
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21981 $as_echo_n "checking for ld version... " >&6; }
21982
21983 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21984 glibcxx_ld_is_gold=yes
21985 fi
21986 ldver=`$LD --version 2>/dev/null |
21987 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'`
21988
21989 glibcxx_gnu_ld_version=`echo $ldver | \
21990 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21992 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21993 fi
21994
21995 # Set --gc-sections.
21996 glibcxx_have_gc_sections=no
21997 if test "$glibcxx_ld_is_gold" = "yes"; then
21998 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21999 glibcxx_have_gc_sections=yes
22000 fi
22001 else
22002 glibcxx_gcsections_min_ld=21602
22003 if test x"$with_gnu_ld" = x"yes" &&
22004 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22005 glibcxx_have_gc_sections=yes
22006 fi
22007 fi
22008 if test "$glibcxx_have_gc_sections" = "yes"; then
22009 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22010 # NB: This flag only works reliably after 2.16.1. Configure tests
22011 # for this are difficult, so hard wire a value that should work.
22012
22013 ac_test_CFLAGS="${CFLAGS+set}"
22014 ac_save_CFLAGS="$CFLAGS"
22015 CFLAGS='-Wl,--gc-sections'
22016
22017 # Check for -Wl,--gc-sections
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22019 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22020 if test x$gcc_no_link = xyes; then
22021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22022 fi
22023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22024 /* end confdefs.h. */
22025 int one(void) { return 1; }
22026 int two(void) { return 2; }
22027
22028 int
22029 main ()
22030 {
22031 two();
22032 ;
22033 return 0;
22034 }
22035 _ACEOF
22036 if ac_fn_c_try_link "$LINENO"; then :
22037 ac_gcsections=yes
22038 else
22039 ac_gcsections=no
22040 fi
22041 rm -f core conftest.err conftest.$ac_objext \
22042 conftest$ac_exeext conftest.$ac_ext
22043 if test "$ac_gcsections" = "yes"; then
22044 rm -f conftest.c
22045 touch conftest.c
22046 if $CC -c conftest.c; then
22047 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22048 grep "Warning: gc-sections option ignored" > /dev/null; then
22049 ac_gcsections=no
22050 fi
22051 fi
22052 rm -f conftest.c conftest.o conftest
22053 fi
22054 if test "$ac_gcsections" = "yes"; then
22055 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22056 fi
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22058 $as_echo "$ac_gcsections" >&6; }
22059
22060 if test "$ac_test_CFLAGS" = set; then
22061 CFLAGS="$ac_save_CFLAGS"
22062 else
22063 # this is the suspicious part
22064 CFLAGS=''
22065 fi
22066 fi
22067
22068 # Set -z,relro.
22069 # Note this is only for shared objects.
22070 ac_ld_relro=no
22071 if test x"$with_gnu_ld" = x"yes"; then
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22073 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22074 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22075 if test -n "$cxx_z_relo"; then
22076 OPT_LDFLAGS="-Wl,-z,relro"
22077 ac_ld_relro=yes
22078 fi
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22080 $as_echo "$ac_ld_relro" >&6; }
22081 fi
22082
22083 # Set linker optimization flags.
22084 if test x"$with_gnu_ld" = x"yes"; then
22085 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22086 fi
22087
22088
22089
22090
22091
22092 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22093 ac_save_CXXFLAGS="$CXXFLAGS"
22094 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22095
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22097 $as_echo_n "checking for sin in -lm... " >&6; }
22098 if test "${ac_cv_lib_m_sin+set}" = set; then :
22099 $as_echo_n "(cached) " >&6
22100 else
22101 ac_check_lib_save_LIBS=$LIBS
22102 LIBS="-lm $LIBS"
22103 if test x$gcc_no_link = xyes; then
22104 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22105 fi
22106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22107 /* end confdefs.h. */
22108
22109 /* Override any GCC internal prototype to avoid an error.
22110 Use char because int might match the return type of a GCC
22111 builtin and then its argument prototype would still apply. */
22112 #ifdef __cplusplus
22113 extern "C"
22114 #endif
22115 char sin ();
22116 int
22117 main ()
22118 {
22119 return sin ();
22120 ;
22121 return 0;
22122 }
22123 _ACEOF
22124 if ac_fn_c_try_link "$LINENO"; then :
22125 ac_cv_lib_m_sin=yes
22126 else
22127 ac_cv_lib_m_sin=no
22128 fi
22129 rm -f core conftest.err conftest.$ac_objext \
22130 conftest$ac_exeext conftest.$ac_ext
22131 LIBS=$ac_check_lib_save_LIBS
22132 fi
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22134 $as_echo "$ac_cv_lib_m_sin" >&6; }
22135 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22136 libm="-lm"
22137 fi
22138
22139 ac_save_LIBS="$LIBS"
22140 LIBS="$LIBS $libm"
22141
22142
22143
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22145 $as_echo_n "checking for isinf declaration... " >&6; }
22146 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22147 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22148 $as_echo_n "(cached) " >&6
22149 else
22150
22151
22152 ac_ext=cpp
22153 ac_cpp='$CXXCPP $CPPFLAGS'
22154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22157
22158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22159 /* end confdefs.h. */
22160 #include <math.h>
22161 #ifdef HAVE_IEEEFP_H
22162 #include <ieeefp.h>
22163 #endif
22164
22165 int
22166 main ()
22167 {
22168 isinf(0);
22169 ;
22170 return 0;
22171 }
22172 _ACEOF
22173 if ac_fn_cxx_try_compile "$LINENO"; then :
22174 glibcxx_cv_func_isinf_use=yes
22175 else
22176 glibcxx_cv_func_isinf_use=no
22177 fi
22178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22179 ac_ext=c
22180 ac_cpp='$CPP $CPPFLAGS'
22181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22184
22185
22186 fi
22187
22188 fi
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22190 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22191
22192 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22193 for ac_func in isinf
22194 do :
22195 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22196 if test "x$ac_cv_func_isinf" = x""yes; then :
22197 cat >>confdefs.h <<_ACEOF
22198 #define HAVE_ISINF 1
22199 _ACEOF
22200
22201 fi
22202 done
22203
22204 else
22205
22206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22207 $as_echo_n "checking for _isinf declaration... " >&6; }
22208 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22209 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22210 $as_echo_n "(cached) " >&6
22211 else
22212
22213
22214 ac_ext=cpp
22215 ac_cpp='$CXXCPP $CPPFLAGS'
22216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22219
22220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22221 /* end confdefs.h. */
22222 #include <math.h>
22223 #ifdef HAVE_IEEEFP_H
22224 #include <ieeefp.h>
22225 #endif
22226
22227 int
22228 main ()
22229 {
22230 _isinf(0);
22231 ;
22232 return 0;
22233 }
22234 _ACEOF
22235 if ac_fn_cxx_try_compile "$LINENO"; then :
22236 glibcxx_cv_func__isinf_use=yes
22237 else
22238 glibcxx_cv_func__isinf_use=no
22239 fi
22240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22241 ac_ext=c
22242 ac_cpp='$CPP $CPPFLAGS'
22243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22246
22247
22248 fi
22249
22250 fi
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22252 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22253
22254 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22255 for ac_func in _isinf
22256 do :
22257 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22258 if test "x$ac_cv_func__isinf" = x""yes; then :
22259 cat >>confdefs.h <<_ACEOF
22260 #define HAVE__ISINF 1
22261 _ACEOF
22262
22263 fi
22264 done
22265
22266 fi
22267 fi
22268
22269
22270
22271
22272
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22274 $as_echo_n "checking for isnan declaration... " >&6; }
22275 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22276 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22277 $as_echo_n "(cached) " >&6
22278 else
22279
22280
22281 ac_ext=cpp
22282 ac_cpp='$CXXCPP $CPPFLAGS'
22283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286
22287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h. */
22289 #include <math.h>
22290 #ifdef HAVE_IEEEFP_H
22291 #include <ieeefp.h>
22292 #endif
22293
22294 int
22295 main ()
22296 {
22297 isnan(0);
22298 ;
22299 return 0;
22300 }
22301 _ACEOF
22302 if ac_fn_cxx_try_compile "$LINENO"; then :
22303 glibcxx_cv_func_isnan_use=yes
22304 else
22305 glibcxx_cv_func_isnan_use=no
22306 fi
22307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22308 ac_ext=c
22309 ac_cpp='$CPP $CPPFLAGS'
22310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22313
22314
22315 fi
22316
22317 fi
22318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22319 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22320
22321 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22322 for ac_func in isnan
22323 do :
22324 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22325 if test "x$ac_cv_func_isnan" = x""yes; then :
22326 cat >>confdefs.h <<_ACEOF
22327 #define HAVE_ISNAN 1
22328 _ACEOF
22329
22330 fi
22331 done
22332
22333 else
22334
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22336 $as_echo_n "checking for _isnan declaration... " >&6; }
22337 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22338 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22339 $as_echo_n "(cached) " >&6
22340 else
22341
22342
22343 ac_ext=cpp
22344 ac_cpp='$CXXCPP $CPPFLAGS'
22345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22348
22349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22350 /* end confdefs.h. */
22351 #include <math.h>
22352 #ifdef HAVE_IEEEFP_H
22353 #include <ieeefp.h>
22354 #endif
22355
22356 int
22357 main ()
22358 {
22359 _isnan(0);
22360 ;
22361 return 0;
22362 }
22363 _ACEOF
22364 if ac_fn_cxx_try_compile "$LINENO"; then :
22365 glibcxx_cv_func__isnan_use=yes
22366 else
22367 glibcxx_cv_func__isnan_use=no
22368 fi
22369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22370 ac_ext=c
22371 ac_cpp='$CPP $CPPFLAGS'
22372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22375
22376
22377 fi
22378
22379 fi
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22381 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22382
22383 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22384 for ac_func in _isnan
22385 do :
22386 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22387 if test "x$ac_cv_func__isnan" = x""yes; then :
22388 cat >>confdefs.h <<_ACEOF
22389 #define HAVE__ISNAN 1
22390 _ACEOF
22391
22392 fi
22393 done
22394
22395 fi
22396 fi
22397
22398
22399
22400
22401
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22403 $as_echo_n "checking for finite declaration... " >&6; }
22404 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22405 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22406 $as_echo_n "(cached) " >&6
22407 else
22408
22409
22410 ac_ext=cpp
22411 ac_cpp='$CXXCPP $CPPFLAGS'
22412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22415
22416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h. */
22418 #include <math.h>
22419 #ifdef HAVE_IEEEFP_H
22420 #include <ieeefp.h>
22421 #endif
22422
22423 int
22424 main ()
22425 {
22426 finite(0);
22427 ;
22428 return 0;
22429 }
22430 _ACEOF
22431 if ac_fn_cxx_try_compile "$LINENO"; then :
22432 glibcxx_cv_func_finite_use=yes
22433 else
22434 glibcxx_cv_func_finite_use=no
22435 fi
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437 ac_ext=c
22438 ac_cpp='$CPP $CPPFLAGS'
22439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22442
22443
22444 fi
22445
22446 fi
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22448 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22449
22450 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22451 for ac_func in finite
22452 do :
22453 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22454 if test "x$ac_cv_func_finite" = x""yes; then :
22455 cat >>confdefs.h <<_ACEOF
22456 #define HAVE_FINITE 1
22457 _ACEOF
22458
22459 fi
22460 done
22461
22462 else
22463
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22465 $as_echo_n "checking for _finite declaration... " >&6; }
22466 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22467 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22468 $as_echo_n "(cached) " >&6
22469 else
22470
22471
22472 ac_ext=cpp
22473 ac_cpp='$CXXCPP $CPPFLAGS'
22474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22477
22478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22479 /* end confdefs.h. */
22480 #include <math.h>
22481 #ifdef HAVE_IEEEFP_H
22482 #include <ieeefp.h>
22483 #endif
22484
22485 int
22486 main ()
22487 {
22488 _finite(0);
22489 ;
22490 return 0;
22491 }
22492 _ACEOF
22493 if ac_fn_cxx_try_compile "$LINENO"; then :
22494 glibcxx_cv_func__finite_use=yes
22495 else
22496 glibcxx_cv_func__finite_use=no
22497 fi
22498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22499 ac_ext=c
22500 ac_cpp='$CPP $CPPFLAGS'
22501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22504
22505
22506 fi
22507
22508 fi
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22510 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22511
22512 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22513 for ac_func in _finite
22514 do :
22515 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22516 if test "x$ac_cv_func__finite" = x""yes; then :
22517 cat >>confdefs.h <<_ACEOF
22518 #define HAVE__FINITE 1
22519 _ACEOF
22520
22521 fi
22522 done
22523
22524 fi
22525 fi
22526
22527
22528
22529
22530
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22532 $as_echo_n "checking for sincos declaration... " >&6; }
22533 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22534 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22535 $as_echo_n "(cached) " >&6
22536 else
22537
22538
22539 ac_ext=cpp
22540 ac_cpp='$CXXCPP $CPPFLAGS'
22541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22544
22545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22546 /* end confdefs.h. */
22547 #include <math.h>
22548 int
22549 main ()
22550 {
22551 sincos(0, 0, 0);
22552 ;
22553 return 0;
22554 }
22555 _ACEOF
22556 if ac_fn_cxx_try_compile "$LINENO"; then :
22557 glibcxx_cv_func_sincos_use=yes
22558 else
22559 glibcxx_cv_func_sincos_use=no
22560 fi
22561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22562 ac_ext=c
22563 ac_cpp='$CPP $CPPFLAGS'
22564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22567
22568
22569 fi
22570
22571 fi
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22573 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22574
22575 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22576 for ac_func in sincos
22577 do :
22578 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22579 if test "x$ac_cv_func_sincos" = x""yes; then :
22580 cat >>confdefs.h <<_ACEOF
22581 #define HAVE_SINCOS 1
22582 _ACEOF
22583
22584 fi
22585 done
22586
22587 else
22588
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22590 $as_echo_n "checking for _sincos declaration... " >&6; }
22591 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22592 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22593 $as_echo_n "(cached) " >&6
22594 else
22595
22596
22597 ac_ext=cpp
22598 ac_cpp='$CXXCPP $CPPFLAGS'
22599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22602
22603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22604 /* end confdefs.h. */
22605 #include <math.h>
22606 int
22607 main ()
22608 {
22609 _sincos(0, 0, 0);
22610 ;
22611 return 0;
22612 }
22613 _ACEOF
22614 if ac_fn_cxx_try_compile "$LINENO"; then :
22615 glibcxx_cv_func__sincos_use=yes
22616 else
22617 glibcxx_cv_func__sincos_use=no
22618 fi
22619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22620 ac_ext=c
22621 ac_cpp='$CPP $CPPFLAGS'
22622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22625
22626
22627 fi
22628
22629 fi
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22631 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22632
22633 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22634 for ac_func in _sincos
22635 do :
22636 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22637 if test "x$ac_cv_func__sincos" = x""yes; then :
22638 cat >>confdefs.h <<_ACEOF
22639 #define HAVE__SINCOS 1
22640 _ACEOF
22641
22642 fi
22643 done
22644
22645 fi
22646 fi
22647
22648
22649
22650
22651
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22653 $as_echo_n "checking for fpclass declaration... " >&6; }
22654 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22655 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22656 $as_echo_n "(cached) " >&6
22657 else
22658
22659
22660 ac_ext=cpp
22661 ac_cpp='$CXXCPP $CPPFLAGS'
22662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22665
22666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22667 /* end confdefs.h. */
22668 #include <math.h>
22669 #ifdef HAVE_IEEEFP_H
22670 #include <ieeefp.h>
22671 #endif
22672
22673 int
22674 main ()
22675 {
22676 fpclass(0);
22677 ;
22678 return 0;
22679 }
22680 _ACEOF
22681 if ac_fn_cxx_try_compile "$LINENO"; then :
22682 glibcxx_cv_func_fpclass_use=yes
22683 else
22684 glibcxx_cv_func_fpclass_use=no
22685 fi
22686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22687 ac_ext=c
22688 ac_cpp='$CPP $CPPFLAGS'
22689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22692
22693
22694 fi
22695
22696 fi
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22698 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22699
22700 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22701 for ac_func in fpclass
22702 do :
22703 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22704 if test "x$ac_cv_func_fpclass" = x""yes; then :
22705 cat >>confdefs.h <<_ACEOF
22706 #define HAVE_FPCLASS 1
22707 _ACEOF
22708
22709 fi
22710 done
22711
22712 else
22713
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22715 $as_echo_n "checking for _fpclass declaration... " >&6; }
22716 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22717 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22718 $as_echo_n "(cached) " >&6
22719 else
22720
22721
22722 ac_ext=cpp
22723 ac_cpp='$CXXCPP $CPPFLAGS'
22724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22727
22728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22729 /* end confdefs.h. */
22730 #include <math.h>
22731 #ifdef HAVE_IEEEFP_H
22732 #include <ieeefp.h>
22733 #endif
22734
22735 int
22736 main ()
22737 {
22738 _fpclass(0);
22739 ;
22740 return 0;
22741 }
22742 _ACEOF
22743 if ac_fn_cxx_try_compile "$LINENO"; then :
22744 glibcxx_cv_func__fpclass_use=yes
22745 else
22746 glibcxx_cv_func__fpclass_use=no
22747 fi
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749 ac_ext=c
22750 ac_cpp='$CPP $CPPFLAGS'
22751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22754
22755
22756 fi
22757
22758 fi
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22760 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22761
22762 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22763 for ac_func in _fpclass
22764 do :
22765 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22766 if test "x$ac_cv_func__fpclass" = x""yes; then :
22767 cat >>confdefs.h <<_ACEOF
22768 #define HAVE__FPCLASS 1
22769 _ACEOF
22770
22771 fi
22772 done
22773
22774 fi
22775 fi
22776
22777
22778
22779
22780
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22782 $as_echo_n "checking for qfpclass declaration... " >&6; }
22783 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22784 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22785 $as_echo_n "(cached) " >&6
22786 else
22787
22788
22789 ac_ext=cpp
22790 ac_cpp='$CXXCPP $CPPFLAGS'
22791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22794
22795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22796 /* end confdefs.h. */
22797 #include <math.h>
22798 #ifdef HAVE_IEEEFP_H
22799 #include <ieeefp.h>
22800 #endif
22801
22802 int
22803 main ()
22804 {
22805 qfpclass(0);
22806 ;
22807 return 0;
22808 }
22809 _ACEOF
22810 if ac_fn_cxx_try_compile "$LINENO"; then :
22811 glibcxx_cv_func_qfpclass_use=yes
22812 else
22813 glibcxx_cv_func_qfpclass_use=no
22814 fi
22815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22816 ac_ext=c
22817 ac_cpp='$CPP $CPPFLAGS'
22818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22821
22822
22823 fi
22824
22825 fi
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22827 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22828
22829 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22830 for ac_func in qfpclass
22831 do :
22832 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22833 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22834 cat >>confdefs.h <<_ACEOF
22835 #define HAVE_QFPCLASS 1
22836 _ACEOF
22837
22838 fi
22839 done
22840
22841 else
22842
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22844 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22845 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22846 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22847 $as_echo_n "(cached) " >&6
22848 else
22849
22850
22851 ac_ext=cpp
22852 ac_cpp='$CXXCPP $CPPFLAGS'
22853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22856
22857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22858 /* end confdefs.h. */
22859 #include <math.h>
22860 #ifdef HAVE_IEEEFP_H
22861 #include <ieeefp.h>
22862 #endif
22863
22864 int
22865 main ()
22866 {
22867 _qfpclass(0);
22868 ;
22869 return 0;
22870 }
22871 _ACEOF
22872 if ac_fn_cxx_try_compile "$LINENO"; then :
22873 glibcxx_cv_func__qfpclass_use=yes
22874 else
22875 glibcxx_cv_func__qfpclass_use=no
22876 fi
22877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22878 ac_ext=c
22879 ac_cpp='$CPP $CPPFLAGS'
22880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22883
22884
22885 fi
22886
22887 fi
22888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22889 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22890
22891 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22892 for ac_func in _qfpclass
22893 do :
22894 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22895 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22896 cat >>confdefs.h <<_ACEOF
22897 #define HAVE__QFPCLASS 1
22898 _ACEOF
22899
22900 fi
22901 done
22902
22903 fi
22904 fi
22905
22906
22907
22908
22909
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22911 $as_echo_n "checking for hypot declaration... " >&6; }
22912 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22913 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22914 $as_echo_n "(cached) " >&6
22915 else
22916
22917
22918 ac_ext=cpp
22919 ac_cpp='$CXXCPP $CPPFLAGS'
22920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22923
22924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22925 /* end confdefs.h. */
22926 #include <math.h>
22927 int
22928 main ()
22929 {
22930 hypot(0, 0);
22931 ;
22932 return 0;
22933 }
22934 _ACEOF
22935 if ac_fn_cxx_try_compile "$LINENO"; then :
22936 glibcxx_cv_func_hypot_use=yes
22937 else
22938 glibcxx_cv_func_hypot_use=no
22939 fi
22940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22941 ac_ext=c
22942 ac_cpp='$CPP $CPPFLAGS'
22943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22946
22947
22948 fi
22949
22950 fi
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22952 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22953
22954 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22955 for ac_func in hypot
22956 do :
22957 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22958 if test "x$ac_cv_func_hypot" = x""yes; then :
22959 cat >>confdefs.h <<_ACEOF
22960 #define HAVE_HYPOT 1
22961 _ACEOF
22962
22963 fi
22964 done
22965
22966 else
22967
22968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22969 $as_echo_n "checking for _hypot declaration... " >&6; }
22970 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22971 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22972 $as_echo_n "(cached) " >&6
22973 else
22974
22975
22976 ac_ext=cpp
22977 ac_cpp='$CXXCPP $CPPFLAGS'
22978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22981
22982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22983 /* end confdefs.h. */
22984 #include <math.h>
22985 int
22986 main ()
22987 {
22988 _hypot(0, 0);
22989 ;
22990 return 0;
22991 }
22992 _ACEOF
22993 if ac_fn_cxx_try_compile "$LINENO"; then :
22994 glibcxx_cv_func__hypot_use=yes
22995 else
22996 glibcxx_cv_func__hypot_use=no
22997 fi
22998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22999 ac_ext=c
23000 ac_cpp='$CPP $CPPFLAGS'
23001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23004
23005
23006 fi
23007
23008 fi
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23010 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23011
23012 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23013 for ac_func in _hypot
23014 do :
23015 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23016 if test "x$ac_cv_func__hypot" = x""yes; then :
23017 cat >>confdefs.h <<_ACEOF
23018 #define HAVE__HYPOT 1
23019 _ACEOF
23020
23021 fi
23022 done
23023
23024 fi
23025 fi
23026
23027
23028
23029
23030
23031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23032 $as_echo_n "checking for float trig functions... " >&6; }
23033 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23034 $as_echo_n "(cached) " >&6
23035 else
23036
23037
23038 ac_ext=cpp
23039 ac_cpp='$CXXCPP $CPPFLAGS'
23040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23043
23044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23045 /* end confdefs.h. */
23046 #include <math.h>
23047 int
23048 main ()
23049 {
23050 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23051 ;
23052 return 0;
23053 }
23054 _ACEOF
23055 if ac_fn_cxx_try_compile "$LINENO"; then :
23056 glibcxx_cv_func_float_trig_use=yes
23057 else
23058 glibcxx_cv_func_float_trig_use=no
23059 fi
23060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23061 ac_ext=c
23062 ac_cpp='$CPP $CPPFLAGS'
23063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23066
23067 fi
23068
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23070 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23071 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23072 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23073 do :
23074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23076 eval as_val=\$$as_ac_var
23077 if test "x$as_val" = x""yes; then :
23078 cat >>confdefs.h <<_ACEOF
23079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23080 _ACEOF
23081
23082 fi
23083 done
23084
23085 else
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23087 $as_echo_n "checking for _float trig functions... " >&6; }
23088 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23089 $as_echo_n "(cached) " >&6
23090 else
23091
23092
23093 ac_ext=cpp
23094 ac_cpp='$CXXCPP $CPPFLAGS'
23095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23098
23099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23100 /* end confdefs.h. */
23101 #include <math.h>
23102 int
23103 main ()
23104 {
23105 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23106 ;
23107 return 0;
23108 }
23109 _ACEOF
23110 if ac_fn_cxx_try_compile "$LINENO"; then :
23111 glibcxx_cv_func__float_trig_use=yes
23112 else
23113 glibcxx_cv_func__float_trig_use=no
23114 fi
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116 ac_ext=c
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23121
23122 fi
23123
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23125 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23126 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23127 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23128 do :
23129 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23130 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23131 eval as_val=\$$as_ac_var
23132 if test "x$as_val" = x""yes; then :
23133 cat >>confdefs.h <<_ACEOF
23134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23135 _ACEOF
23136
23137 fi
23138 done
23139
23140 fi
23141 fi
23142
23143
23144
23145
23146
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23148 $as_echo_n "checking for float round functions... " >&6; }
23149 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23150 $as_echo_n "(cached) " >&6
23151 else
23152
23153
23154 ac_ext=cpp
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23159
23160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161 /* end confdefs.h. */
23162 #include <math.h>
23163 int
23164 main ()
23165 {
23166 ceilf (0); floorf (0);
23167 ;
23168 return 0;
23169 }
23170 _ACEOF
23171 if ac_fn_cxx_try_compile "$LINENO"; then :
23172 glibcxx_cv_func_float_round_use=yes
23173 else
23174 glibcxx_cv_func_float_round_use=no
23175 fi
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177 ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23182
23183 fi
23184
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23186 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23187 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23188 for ac_func in ceilf floorf
23189 do :
23190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23192 eval as_val=\$$as_ac_var
23193 if test "x$as_val" = x""yes; then :
23194 cat >>confdefs.h <<_ACEOF
23195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23196 _ACEOF
23197
23198 fi
23199 done
23200
23201 else
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23203 $as_echo_n "checking for _float round functions... " >&6; }
23204 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23205 $as_echo_n "(cached) " >&6
23206 else
23207
23208
23209 ac_ext=cpp
23210 ac_cpp='$CXXCPP $CPPFLAGS'
23211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23214
23215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23216 /* end confdefs.h. */
23217 #include <math.h>
23218 int
23219 main ()
23220 {
23221 _ceilf (0); _floorf (0);
23222 ;
23223 return 0;
23224 }
23225 _ACEOF
23226 if ac_fn_cxx_try_compile "$LINENO"; then :
23227 glibcxx_cv_func__float_round_use=yes
23228 else
23229 glibcxx_cv_func__float_round_use=no
23230 fi
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23232 ac_ext=c
23233 ac_cpp='$CPP $CPPFLAGS'
23234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23237
23238 fi
23239
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23241 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23242 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23243 for ac_func in _ceilf _floorf
23244 do :
23245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23247 eval as_val=\$$as_ac_var
23248 if test "x$as_val" = x""yes; then :
23249 cat >>confdefs.h <<_ACEOF
23250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23251 _ACEOF
23252
23253 fi
23254 done
23255
23256 fi
23257 fi
23258
23259
23260
23261
23262
23263
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23265 $as_echo_n "checking for expf declaration... " >&6; }
23266 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23267 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23268 $as_echo_n "(cached) " >&6
23269 else
23270
23271
23272 ac_ext=cpp
23273 ac_cpp='$CXXCPP $CPPFLAGS'
23274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23277
23278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23279 /* end confdefs.h. */
23280 #include <math.h>
23281 #ifdef HAVE_IEEEFP_H
23282 #include <ieeefp.h>
23283 #endif
23284
23285 int
23286 main ()
23287 {
23288 expf(0);
23289 ;
23290 return 0;
23291 }
23292 _ACEOF
23293 if ac_fn_cxx_try_compile "$LINENO"; then :
23294 glibcxx_cv_func_expf_use=yes
23295 else
23296 glibcxx_cv_func_expf_use=no
23297 fi
23298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23299 ac_ext=c
23300 ac_cpp='$CPP $CPPFLAGS'
23301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23304
23305
23306 fi
23307
23308 fi
23309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23310 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23311
23312 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23313 for ac_func in expf
23314 do :
23315 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23316 if test "x$ac_cv_func_expf" = x""yes; then :
23317 cat >>confdefs.h <<_ACEOF
23318 #define HAVE_EXPF 1
23319 _ACEOF
23320
23321 fi
23322 done
23323
23324 else
23325
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23327 $as_echo_n "checking for _expf declaration... " >&6; }
23328 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23329 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23330 $as_echo_n "(cached) " >&6
23331 else
23332
23333
23334 ac_ext=cpp
23335 ac_cpp='$CXXCPP $CPPFLAGS'
23336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23339
23340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23341 /* end confdefs.h. */
23342 #include <math.h>
23343 #ifdef HAVE_IEEEFP_H
23344 #include <ieeefp.h>
23345 #endif
23346
23347 int
23348 main ()
23349 {
23350 _expf(0);
23351 ;
23352 return 0;
23353 }
23354 _ACEOF
23355 if ac_fn_cxx_try_compile "$LINENO"; then :
23356 glibcxx_cv_func__expf_use=yes
23357 else
23358 glibcxx_cv_func__expf_use=no
23359 fi
23360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23361 ac_ext=c
23362 ac_cpp='$CPP $CPPFLAGS'
23363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23366
23367
23368 fi
23369
23370 fi
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23372 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23373
23374 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23375 for ac_func in _expf
23376 do :
23377 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23378 if test "x$ac_cv_func__expf" = x""yes; then :
23379 cat >>confdefs.h <<_ACEOF
23380 #define HAVE__EXPF 1
23381 _ACEOF
23382
23383 fi
23384 done
23385
23386 fi
23387 fi
23388
23389
23390
23391
23392
23393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23394 $as_echo_n "checking for isnanf declaration... " >&6; }
23395 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23396 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23397 $as_echo_n "(cached) " >&6
23398 else
23399
23400
23401 ac_ext=cpp
23402 ac_cpp='$CXXCPP $CPPFLAGS'
23403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23406
23407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23408 /* end confdefs.h. */
23409 #include <math.h>
23410 #ifdef HAVE_IEEEFP_H
23411 #include <ieeefp.h>
23412 #endif
23413
23414 int
23415 main ()
23416 {
23417 isnanf(0);
23418 ;
23419 return 0;
23420 }
23421 _ACEOF
23422 if ac_fn_cxx_try_compile "$LINENO"; then :
23423 glibcxx_cv_func_isnanf_use=yes
23424 else
23425 glibcxx_cv_func_isnanf_use=no
23426 fi
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428 ac_ext=c
23429 ac_cpp='$CPP $CPPFLAGS'
23430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23433
23434
23435 fi
23436
23437 fi
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23439 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23440
23441 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23442 for ac_func in isnanf
23443 do :
23444 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23445 if test "x$ac_cv_func_isnanf" = x""yes; then :
23446 cat >>confdefs.h <<_ACEOF
23447 #define HAVE_ISNANF 1
23448 _ACEOF
23449
23450 fi
23451 done
23452
23453 else
23454
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23456 $as_echo_n "checking for _isnanf declaration... " >&6; }
23457 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23458 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23460 else
23461
23462
23463 ac_ext=cpp
23464 ac_cpp='$CXXCPP $CPPFLAGS'
23465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23468
23469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23470 /* end confdefs.h. */
23471 #include <math.h>
23472 #ifdef HAVE_IEEEFP_H
23473 #include <ieeefp.h>
23474 #endif
23475
23476 int
23477 main ()
23478 {
23479 _isnanf(0);
23480 ;
23481 return 0;
23482 }
23483 _ACEOF
23484 if ac_fn_cxx_try_compile "$LINENO"; then :
23485 glibcxx_cv_func__isnanf_use=yes
23486 else
23487 glibcxx_cv_func__isnanf_use=no
23488 fi
23489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23490 ac_ext=c
23491 ac_cpp='$CPP $CPPFLAGS'
23492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23495
23496
23497 fi
23498
23499 fi
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23501 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23502
23503 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23504 for ac_func in _isnanf
23505 do :
23506 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23507 if test "x$ac_cv_func__isnanf" = x""yes; then :
23508 cat >>confdefs.h <<_ACEOF
23509 #define HAVE__ISNANF 1
23510 _ACEOF
23511
23512 fi
23513 done
23514
23515 fi
23516 fi
23517
23518
23519
23520
23521
23522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23523 $as_echo_n "checking for isinff declaration... " >&6; }
23524 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23525 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23526 $as_echo_n "(cached) " >&6
23527 else
23528
23529
23530 ac_ext=cpp
23531 ac_cpp='$CXXCPP $CPPFLAGS'
23532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535
23536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23537 /* end confdefs.h. */
23538 #include <math.h>
23539 #ifdef HAVE_IEEEFP_H
23540 #include <ieeefp.h>
23541 #endif
23542
23543 int
23544 main ()
23545 {
23546 isinff(0);
23547 ;
23548 return 0;
23549 }
23550 _ACEOF
23551 if ac_fn_cxx_try_compile "$LINENO"; then :
23552 glibcxx_cv_func_isinff_use=yes
23553 else
23554 glibcxx_cv_func_isinff_use=no
23555 fi
23556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23557 ac_ext=c
23558 ac_cpp='$CPP $CPPFLAGS'
23559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23562
23563
23564 fi
23565
23566 fi
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23568 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23569
23570 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23571 for ac_func in isinff
23572 do :
23573 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23574 if test "x$ac_cv_func_isinff" = x""yes; then :
23575 cat >>confdefs.h <<_ACEOF
23576 #define HAVE_ISINFF 1
23577 _ACEOF
23578
23579 fi
23580 done
23581
23582 else
23583
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23585 $as_echo_n "checking for _isinff declaration... " >&6; }
23586 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23587 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23588 $as_echo_n "(cached) " >&6
23589 else
23590
23591
23592 ac_ext=cpp
23593 ac_cpp='$CXXCPP $CPPFLAGS'
23594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23597
23598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23599 /* end confdefs.h. */
23600 #include <math.h>
23601 #ifdef HAVE_IEEEFP_H
23602 #include <ieeefp.h>
23603 #endif
23604
23605 int
23606 main ()
23607 {
23608 _isinff(0);
23609 ;
23610 return 0;
23611 }
23612 _ACEOF
23613 if ac_fn_cxx_try_compile "$LINENO"; then :
23614 glibcxx_cv_func__isinff_use=yes
23615 else
23616 glibcxx_cv_func__isinff_use=no
23617 fi
23618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23619 ac_ext=c
23620 ac_cpp='$CPP $CPPFLAGS'
23621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23624
23625
23626 fi
23627
23628 fi
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23630 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23631
23632 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23633 for ac_func in _isinff
23634 do :
23635 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23636 if test "x$ac_cv_func__isinff" = x""yes; then :
23637 cat >>confdefs.h <<_ACEOF
23638 #define HAVE__ISINFF 1
23639 _ACEOF
23640
23641 fi
23642 done
23643
23644 fi
23645 fi
23646
23647
23648
23649
23650
23651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23652 $as_echo_n "checking for atan2f declaration... " >&6; }
23653 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23654 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23655 $as_echo_n "(cached) " >&6
23656 else
23657
23658
23659 ac_ext=cpp
23660 ac_cpp='$CXXCPP $CPPFLAGS'
23661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23664
23665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23666 /* end confdefs.h. */
23667 #include <math.h>
23668 int
23669 main ()
23670 {
23671 atan2f(0, 0);
23672 ;
23673 return 0;
23674 }
23675 _ACEOF
23676 if ac_fn_cxx_try_compile "$LINENO"; then :
23677 glibcxx_cv_func_atan2f_use=yes
23678 else
23679 glibcxx_cv_func_atan2f_use=no
23680 fi
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682 ac_ext=c
23683 ac_cpp='$CPP $CPPFLAGS'
23684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23687
23688
23689 fi
23690
23691 fi
23692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23693 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23694
23695 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23696 for ac_func in atan2f
23697 do :
23698 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23699 if test "x$ac_cv_func_atan2f" = x""yes; then :
23700 cat >>confdefs.h <<_ACEOF
23701 #define HAVE_ATAN2F 1
23702 _ACEOF
23703
23704 fi
23705 done
23706
23707 else
23708
23709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23710 $as_echo_n "checking for _atan2f declaration... " >&6; }
23711 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23712 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23713 $as_echo_n "(cached) " >&6
23714 else
23715
23716
23717 ac_ext=cpp
23718 ac_cpp='$CXXCPP $CPPFLAGS'
23719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23722
23723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23724 /* end confdefs.h. */
23725 #include <math.h>
23726 int
23727 main ()
23728 {
23729 _atan2f(0, 0);
23730 ;
23731 return 0;
23732 }
23733 _ACEOF
23734 if ac_fn_cxx_try_compile "$LINENO"; then :
23735 glibcxx_cv_func__atan2f_use=yes
23736 else
23737 glibcxx_cv_func__atan2f_use=no
23738 fi
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740 ac_ext=c
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23745
23746
23747 fi
23748
23749 fi
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23751 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23752
23753 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23754 for ac_func in _atan2f
23755 do :
23756 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23757 if test "x$ac_cv_func__atan2f" = x""yes; then :
23758 cat >>confdefs.h <<_ACEOF
23759 #define HAVE__ATAN2F 1
23760 _ACEOF
23761
23762 fi
23763 done
23764
23765 fi
23766 fi
23767
23768
23769
23770
23771
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23773 $as_echo_n "checking for fabsf declaration... " >&6; }
23774 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23775 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23776 $as_echo_n "(cached) " >&6
23777 else
23778
23779
23780 ac_ext=cpp
23781 ac_cpp='$CXXCPP $CPPFLAGS'
23782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23785
23786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23787 /* end confdefs.h. */
23788 #include <math.h>
23789 #ifdef HAVE_IEEEFP_H
23790 #include <ieeefp.h>
23791 #endif
23792
23793 int
23794 main ()
23795 {
23796 fabsf(0);
23797 ;
23798 return 0;
23799 }
23800 _ACEOF
23801 if ac_fn_cxx_try_compile "$LINENO"; then :
23802 glibcxx_cv_func_fabsf_use=yes
23803 else
23804 glibcxx_cv_func_fabsf_use=no
23805 fi
23806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23807 ac_ext=c
23808 ac_cpp='$CPP $CPPFLAGS'
23809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23812
23813
23814 fi
23815
23816 fi
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23818 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23819
23820 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23821 for ac_func in fabsf
23822 do :
23823 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23824 if test "x$ac_cv_func_fabsf" = x""yes; then :
23825 cat >>confdefs.h <<_ACEOF
23826 #define HAVE_FABSF 1
23827 _ACEOF
23828
23829 fi
23830 done
23831
23832 else
23833
23834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23835 $as_echo_n "checking for _fabsf declaration... " >&6; }
23836 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23837 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23838 $as_echo_n "(cached) " >&6
23839 else
23840
23841
23842 ac_ext=cpp
23843 ac_cpp='$CXXCPP $CPPFLAGS'
23844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23847
23848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23849 /* end confdefs.h. */
23850 #include <math.h>
23851 #ifdef HAVE_IEEEFP_H
23852 #include <ieeefp.h>
23853 #endif
23854
23855 int
23856 main ()
23857 {
23858 _fabsf(0);
23859 ;
23860 return 0;
23861 }
23862 _ACEOF
23863 if ac_fn_cxx_try_compile "$LINENO"; then :
23864 glibcxx_cv_func__fabsf_use=yes
23865 else
23866 glibcxx_cv_func__fabsf_use=no
23867 fi
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23869 ac_ext=c
23870 ac_cpp='$CPP $CPPFLAGS'
23871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23874
23875
23876 fi
23877
23878 fi
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23880 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23881
23882 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23883 for ac_func in _fabsf
23884 do :
23885 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23886 if test "x$ac_cv_func__fabsf" = x""yes; then :
23887 cat >>confdefs.h <<_ACEOF
23888 #define HAVE__FABSF 1
23889 _ACEOF
23890
23891 fi
23892 done
23893
23894 fi
23895 fi
23896
23897
23898
23899
23900
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23902 $as_echo_n "checking for fmodf declaration... " >&6; }
23903 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23904 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23905 $as_echo_n "(cached) " >&6
23906 else
23907
23908
23909 ac_ext=cpp
23910 ac_cpp='$CXXCPP $CPPFLAGS'
23911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23914
23915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23917 #include <math.h>
23918 int
23919 main ()
23920 {
23921 fmodf(0, 0);
23922 ;
23923 return 0;
23924 }
23925 _ACEOF
23926 if ac_fn_cxx_try_compile "$LINENO"; then :
23927 glibcxx_cv_func_fmodf_use=yes
23928 else
23929 glibcxx_cv_func_fmodf_use=no
23930 fi
23931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23932 ac_ext=c
23933 ac_cpp='$CPP $CPPFLAGS'
23934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23937
23938
23939 fi
23940
23941 fi
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23943 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23944
23945 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23946 for ac_func in fmodf
23947 do :
23948 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23949 if test "x$ac_cv_func_fmodf" = x""yes; then :
23950 cat >>confdefs.h <<_ACEOF
23951 #define HAVE_FMODF 1
23952 _ACEOF
23953
23954 fi
23955 done
23956
23957 else
23958
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23960 $as_echo_n "checking for _fmodf declaration... " >&6; }
23961 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23962 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23963 $as_echo_n "(cached) " >&6
23964 else
23965
23966
23967 ac_ext=cpp
23968 ac_cpp='$CXXCPP $CPPFLAGS'
23969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23972
23973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23974 /* end confdefs.h. */
23975 #include <math.h>
23976 int
23977 main ()
23978 {
23979 _fmodf(0, 0);
23980 ;
23981 return 0;
23982 }
23983 _ACEOF
23984 if ac_fn_cxx_try_compile "$LINENO"; then :
23985 glibcxx_cv_func__fmodf_use=yes
23986 else
23987 glibcxx_cv_func__fmodf_use=no
23988 fi
23989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23990 ac_ext=c
23991 ac_cpp='$CPP $CPPFLAGS'
23992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23995
23996
23997 fi
23998
23999 fi
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24001 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24002
24003 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24004 for ac_func in _fmodf
24005 do :
24006 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24007 if test "x$ac_cv_func__fmodf" = x""yes; then :
24008 cat >>confdefs.h <<_ACEOF
24009 #define HAVE__FMODF 1
24010 _ACEOF
24011
24012 fi
24013 done
24014
24015 fi
24016 fi
24017
24018
24019
24020
24021
24022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24023 $as_echo_n "checking for frexpf declaration... " >&6; }
24024 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24025 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24026 $as_echo_n "(cached) " >&6
24027 else
24028
24029
24030 ac_ext=cpp
24031 ac_cpp='$CXXCPP $CPPFLAGS'
24032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24035
24036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24037 /* end confdefs.h. */
24038 #include <math.h>
24039 int
24040 main ()
24041 {
24042 frexpf(0, 0);
24043 ;
24044 return 0;
24045 }
24046 _ACEOF
24047 if ac_fn_cxx_try_compile "$LINENO"; then :
24048 glibcxx_cv_func_frexpf_use=yes
24049 else
24050 glibcxx_cv_func_frexpf_use=no
24051 fi
24052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24053 ac_ext=c
24054 ac_cpp='$CPP $CPPFLAGS'
24055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24058
24059
24060 fi
24061
24062 fi
24063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24064 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24065
24066 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24067 for ac_func in frexpf
24068 do :
24069 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24070 if test "x$ac_cv_func_frexpf" = x""yes; then :
24071 cat >>confdefs.h <<_ACEOF
24072 #define HAVE_FREXPF 1
24073 _ACEOF
24074
24075 fi
24076 done
24077
24078 else
24079
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24081 $as_echo_n "checking for _frexpf declaration... " >&6; }
24082 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24083 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24084 $as_echo_n "(cached) " >&6
24085 else
24086
24087
24088 ac_ext=cpp
24089 ac_cpp='$CXXCPP $CPPFLAGS'
24090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24093
24094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24095 /* end confdefs.h. */
24096 #include <math.h>
24097 int
24098 main ()
24099 {
24100 _frexpf(0, 0);
24101 ;
24102 return 0;
24103 }
24104 _ACEOF
24105 if ac_fn_cxx_try_compile "$LINENO"; then :
24106 glibcxx_cv_func__frexpf_use=yes
24107 else
24108 glibcxx_cv_func__frexpf_use=no
24109 fi
24110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111 ac_ext=c
24112 ac_cpp='$CPP $CPPFLAGS'
24113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24116
24117
24118 fi
24119
24120 fi
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24122 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24123
24124 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24125 for ac_func in _frexpf
24126 do :
24127 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24128 if test "x$ac_cv_func__frexpf" = x""yes; then :
24129 cat >>confdefs.h <<_ACEOF
24130 #define HAVE__FREXPF 1
24131 _ACEOF
24132
24133 fi
24134 done
24135
24136 fi
24137 fi
24138
24139
24140
24141
24142
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24144 $as_echo_n "checking for hypotf declaration... " >&6; }
24145 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24146 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24147 $as_echo_n "(cached) " >&6
24148 else
24149
24150
24151 ac_ext=cpp
24152 ac_cpp='$CXXCPP $CPPFLAGS'
24153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24156
24157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24158 /* end confdefs.h. */
24159 #include <math.h>
24160 int
24161 main ()
24162 {
24163 hypotf(0, 0);
24164 ;
24165 return 0;
24166 }
24167 _ACEOF
24168 if ac_fn_cxx_try_compile "$LINENO"; then :
24169 glibcxx_cv_func_hypotf_use=yes
24170 else
24171 glibcxx_cv_func_hypotf_use=no
24172 fi
24173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24174 ac_ext=c
24175 ac_cpp='$CPP $CPPFLAGS'
24176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24179
24180
24181 fi
24182
24183 fi
24184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24185 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24186
24187 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24188 for ac_func in hypotf
24189 do :
24190 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24191 if test "x$ac_cv_func_hypotf" = x""yes; then :
24192 cat >>confdefs.h <<_ACEOF
24193 #define HAVE_HYPOTF 1
24194 _ACEOF
24195
24196 fi
24197 done
24198
24199 else
24200
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24202 $as_echo_n "checking for _hypotf declaration... " >&6; }
24203 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24204 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24205 $as_echo_n "(cached) " >&6
24206 else
24207
24208
24209 ac_ext=cpp
24210 ac_cpp='$CXXCPP $CPPFLAGS'
24211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24214
24215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24216 /* end confdefs.h. */
24217 #include <math.h>
24218 int
24219 main ()
24220 {
24221 _hypotf(0, 0);
24222 ;
24223 return 0;
24224 }
24225 _ACEOF
24226 if ac_fn_cxx_try_compile "$LINENO"; then :
24227 glibcxx_cv_func__hypotf_use=yes
24228 else
24229 glibcxx_cv_func__hypotf_use=no
24230 fi
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232 ac_ext=c
24233 ac_cpp='$CPP $CPPFLAGS'
24234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24237
24238
24239 fi
24240
24241 fi
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24243 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24244
24245 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24246 for ac_func in _hypotf
24247 do :
24248 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24249 if test "x$ac_cv_func__hypotf" = x""yes; then :
24250 cat >>confdefs.h <<_ACEOF
24251 #define HAVE__HYPOTF 1
24252 _ACEOF
24253
24254 fi
24255 done
24256
24257 fi
24258 fi
24259
24260
24261
24262
24263
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24265 $as_echo_n "checking for ldexpf declaration... " >&6; }
24266 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24267 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24270
24271
24272 ac_ext=cpp
24273 ac_cpp='$CXXCPP $CPPFLAGS'
24274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277
24278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h. */
24280 #include <math.h>
24281 int
24282 main ()
24283 {
24284 ldexpf(0, 0);
24285 ;
24286 return 0;
24287 }
24288 _ACEOF
24289 if ac_fn_cxx_try_compile "$LINENO"; then :
24290 glibcxx_cv_func_ldexpf_use=yes
24291 else
24292 glibcxx_cv_func_ldexpf_use=no
24293 fi
24294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24295 ac_ext=c
24296 ac_cpp='$CPP $CPPFLAGS'
24297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24300
24301
24302 fi
24303
24304 fi
24305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24306 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24307
24308 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24309 for ac_func in ldexpf
24310 do :
24311 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24312 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24313 cat >>confdefs.h <<_ACEOF
24314 #define HAVE_LDEXPF 1
24315 _ACEOF
24316
24317 fi
24318 done
24319
24320 else
24321
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24323 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24324 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24325 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24326 $as_echo_n "(cached) " >&6
24327 else
24328
24329
24330 ac_ext=cpp
24331 ac_cpp='$CXXCPP $CPPFLAGS'
24332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24335
24336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h. */
24338 #include <math.h>
24339 int
24340 main ()
24341 {
24342 _ldexpf(0, 0);
24343 ;
24344 return 0;
24345 }
24346 _ACEOF
24347 if ac_fn_cxx_try_compile "$LINENO"; then :
24348 glibcxx_cv_func__ldexpf_use=yes
24349 else
24350 glibcxx_cv_func__ldexpf_use=no
24351 fi
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353 ac_ext=c
24354 ac_cpp='$CPP $CPPFLAGS'
24355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24358
24359
24360 fi
24361
24362 fi
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24364 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24365
24366 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24367 for ac_func in _ldexpf
24368 do :
24369 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24370 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24371 cat >>confdefs.h <<_ACEOF
24372 #define HAVE__LDEXPF 1
24373 _ACEOF
24374
24375 fi
24376 done
24377
24378 fi
24379 fi
24380
24381
24382
24383
24384
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24386 $as_echo_n "checking for logf declaration... " >&6; }
24387 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24388 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24389 $as_echo_n "(cached) " >&6
24390 else
24391
24392
24393 ac_ext=cpp
24394 ac_cpp='$CXXCPP $CPPFLAGS'
24395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24398
24399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h. */
24401 #include <math.h>
24402 #ifdef HAVE_IEEEFP_H
24403 #include <ieeefp.h>
24404 #endif
24405
24406 int
24407 main ()
24408 {
24409 logf(0);
24410 ;
24411 return 0;
24412 }
24413 _ACEOF
24414 if ac_fn_cxx_try_compile "$LINENO"; then :
24415 glibcxx_cv_func_logf_use=yes
24416 else
24417 glibcxx_cv_func_logf_use=no
24418 fi
24419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24420 ac_ext=c
24421 ac_cpp='$CPP $CPPFLAGS'
24422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24425
24426
24427 fi
24428
24429 fi
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24431 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24432
24433 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24434 for ac_func in logf
24435 do :
24436 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24437 if test "x$ac_cv_func_logf" = x""yes; then :
24438 cat >>confdefs.h <<_ACEOF
24439 #define HAVE_LOGF 1
24440 _ACEOF
24441
24442 fi
24443 done
24444
24445 else
24446
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24448 $as_echo_n "checking for _logf declaration... " >&6; }
24449 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24450 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24451 $as_echo_n "(cached) " >&6
24452 else
24453
24454
24455 ac_ext=cpp
24456 ac_cpp='$CXXCPP $CPPFLAGS'
24457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24460
24461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h. */
24463 #include <math.h>
24464 #ifdef HAVE_IEEEFP_H
24465 #include <ieeefp.h>
24466 #endif
24467
24468 int
24469 main ()
24470 {
24471 _logf(0);
24472 ;
24473 return 0;
24474 }
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477 glibcxx_cv_func__logf_use=yes
24478 else
24479 glibcxx_cv_func__logf_use=no
24480 fi
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482 ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24487
24488
24489 fi
24490
24491 fi
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24493 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24494
24495 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24496 for ac_func in _logf
24497 do :
24498 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24499 if test "x$ac_cv_func__logf" = x""yes; then :
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE__LOGF 1
24502 _ACEOF
24503
24504 fi
24505 done
24506
24507 fi
24508 fi
24509
24510
24511
24512
24513
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24515 $as_echo_n "checking for log10f declaration... " >&6; }
24516 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24517 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24518 $as_echo_n "(cached) " >&6
24519 else
24520
24521
24522 ac_ext=cpp
24523 ac_cpp='$CXXCPP $CPPFLAGS'
24524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24527
24528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24530 #include <math.h>
24531 #ifdef HAVE_IEEEFP_H
24532 #include <ieeefp.h>
24533 #endif
24534
24535 int
24536 main ()
24537 {
24538 log10f(0);
24539 ;
24540 return 0;
24541 }
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544 glibcxx_cv_func_log10f_use=yes
24545 else
24546 glibcxx_cv_func_log10f_use=no
24547 fi
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549 ac_ext=c
24550 ac_cpp='$CPP $CPPFLAGS'
24551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24554
24555
24556 fi
24557
24558 fi
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24560 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24561
24562 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24563 for ac_func in log10f
24564 do :
24565 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24566 if test "x$ac_cv_func_log10f" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define HAVE_LOG10F 1
24569 _ACEOF
24570
24571 fi
24572 done
24573
24574 else
24575
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24577 $as_echo_n "checking for _log10f declaration... " >&6; }
24578 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24579 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24580 $as_echo_n "(cached) " >&6
24581 else
24582
24583
24584 ac_ext=cpp
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24589
24590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24592 #include <math.h>
24593 #ifdef HAVE_IEEEFP_H
24594 #include <ieeefp.h>
24595 #endif
24596
24597 int
24598 main ()
24599 {
24600 _log10f(0);
24601 ;
24602 return 0;
24603 }
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606 glibcxx_cv_func__log10f_use=yes
24607 else
24608 glibcxx_cv_func__log10f_use=no
24609 fi
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611 ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24616
24617
24618 fi
24619
24620 fi
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24622 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24623
24624 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24625 for ac_func in _log10f
24626 do :
24627 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24628 if test "x$ac_cv_func__log10f" = x""yes; then :
24629 cat >>confdefs.h <<_ACEOF
24630 #define HAVE__LOG10F 1
24631 _ACEOF
24632
24633 fi
24634 done
24635
24636 fi
24637 fi
24638
24639
24640
24641
24642
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24644 $as_echo_n "checking for modff declaration... " >&6; }
24645 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24646 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24647 $as_echo_n "(cached) " >&6
24648 else
24649
24650
24651 ac_ext=cpp
24652 ac_cpp='$CXXCPP $CPPFLAGS'
24653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24656
24657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h. */
24659 #include <math.h>
24660 int
24661 main ()
24662 {
24663 modff(0, 0);
24664 ;
24665 return 0;
24666 }
24667 _ACEOF
24668 if ac_fn_cxx_try_compile "$LINENO"; then :
24669 glibcxx_cv_func_modff_use=yes
24670 else
24671 glibcxx_cv_func_modff_use=no
24672 fi
24673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24674 ac_ext=c
24675 ac_cpp='$CPP $CPPFLAGS'
24676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24679
24680
24681 fi
24682
24683 fi
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24685 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24686
24687 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24688 for ac_func in modff
24689 do :
24690 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24691 if test "x$ac_cv_func_modff" = x""yes; then :
24692 cat >>confdefs.h <<_ACEOF
24693 #define HAVE_MODFF 1
24694 _ACEOF
24695
24696 fi
24697 done
24698
24699 else
24700
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24702 $as_echo_n "checking for _modff declaration... " >&6; }
24703 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24704 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24705 $as_echo_n "(cached) " >&6
24706 else
24707
24708
24709 ac_ext=cpp
24710 ac_cpp='$CXXCPP $CPPFLAGS'
24711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24714
24715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24716 /* end confdefs.h. */
24717 #include <math.h>
24718 int
24719 main ()
24720 {
24721 _modff(0, 0);
24722 ;
24723 return 0;
24724 }
24725 _ACEOF
24726 if ac_fn_cxx_try_compile "$LINENO"; then :
24727 glibcxx_cv_func__modff_use=yes
24728 else
24729 glibcxx_cv_func__modff_use=no
24730 fi
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24732 ac_ext=c
24733 ac_cpp='$CPP $CPPFLAGS'
24734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24737
24738
24739 fi
24740
24741 fi
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24743 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24744
24745 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24746 for ac_func in _modff
24747 do :
24748 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24749 if test "x$ac_cv_func__modff" = x""yes; then :
24750 cat >>confdefs.h <<_ACEOF
24751 #define HAVE__MODFF 1
24752 _ACEOF
24753
24754 fi
24755 done
24756
24757 fi
24758 fi
24759
24760
24761
24762
24763
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24765 $as_echo_n "checking for modf declaration... " >&6; }
24766 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24767 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24768 $as_echo_n "(cached) " >&6
24769 else
24770
24771
24772 ac_ext=cpp
24773 ac_cpp='$CXXCPP $CPPFLAGS'
24774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777
24778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24779 /* end confdefs.h. */
24780 #include <math.h>
24781 int
24782 main ()
24783 {
24784 modf(0, 0);
24785 ;
24786 return 0;
24787 }
24788 _ACEOF
24789 if ac_fn_cxx_try_compile "$LINENO"; then :
24790 glibcxx_cv_func_modf_use=yes
24791 else
24792 glibcxx_cv_func_modf_use=no
24793 fi
24794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795 ac_ext=c
24796 ac_cpp='$CPP $CPPFLAGS'
24797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24800
24801
24802 fi
24803
24804 fi
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24806 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24807
24808 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24809 for ac_func in modf
24810 do :
24811 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24812 if test "x$ac_cv_func_modf" = x""yes; then :
24813 cat >>confdefs.h <<_ACEOF
24814 #define HAVE_MODF 1
24815 _ACEOF
24816
24817 fi
24818 done
24819
24820 else
24821
24822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24823 $as_echo_n "checking for _modf declaration... " >&6; }
24824 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24825 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24826 $as_echo_n "(cached) " >&6
24827 else
24828
24829
24830 ac_ext=cpp
24831 ac_cpp='$CXXCPP $CPPFLAGS'
24832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24835
24836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24837 /* end confdefs.h. */
24838 #include <math.h>
24839 int
24840 main ()
24841 {
24842 _modf(0, 0);
24843 ;
24844 return 0;
24845 }
24846 _ACEOF
24847 if ac_fn_cxx_try_compile "$LINENO"; then :
24848 glibcxx_cv_func__modf_use=yes
24849 else
24850 glibcxx_cv_func__modf_use=no
24851 fi
24852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24853 ac_ext=c
24854 ac_cpp='$CPP $CPPFLAGS'
24855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24858
24859
24860 fi
24861
24862 fi
24863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24864 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24865
24866 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24867 for ac_func in _modf
24868 do :
24869 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24870 if test "x$ac_cv_func__modf" = x""yes; then :
24871 cat >>confdefs.h <<_ACEOF
24872 #define HAVE__MODF 1
24873 _ACEOF
24874
24875 fi
24876 done
24877
24878 fi
24879 fi
24880
24881
24882
24883
24884
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24886 $as_echo_n "checking for powf declaration... " >&6; }
24887 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24888 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24889 $as_echo_n "(cached) " >&6
24890 else
24891
24892
24893 ac_ext=cpp
24894 ac_cpp='$CXXCPP $CPPFLAGS'
24895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24898
24899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24900 /* end confdefs.h. */
24901 #include <math.h>
24902 int
24903 main ()
24904 {
24905 powf(0, 0);
24906 ;
24907 return 0;
24908 }
24909 _ACEOF
24910 if ac_fn_cxx_try_compile "$LINENO"; then :
24911 glibcxx_cv_func_powf_use=yes
24912 else
24913 glibcxx_cv_func_powf_use=no
24914 fi
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 ac_ext=c
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24921
24922
24923 fi
24924
24925 fi
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24927 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24928
24929 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24930 for ac_func in powf
24931 do :
24932 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24933 if test "x$ac_cv_func_powf" = x""yes; then :
24934 cat >>confdefs.h <<_ACEOF
24935 #define HAVE_POWF 1
24936 _ACEOF
24937
24938 fi
24939 done
24940
24941 else
24942
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24944 $as_echo_n "checking for _powf declaration... " >&6; }
24945 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24946 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24947 $as_echo_n "(cached) " >&6
24948 else
24949
24950
24951 ac_ext=cpp
24952 ac_cpp='$CXXCPP $CPPFLAGS'
24953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24956
24957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24958 /* end confdefs.h. */
24959 #include <math.h>
24960 int
24961 main ()
24962 {
24963 _powf(0, 0);
24964 ;
24965 return 0;
24966 }
24967 _ACEOF
24968 if ac_fn_cxx_try_compile "$LINENO"; then :
24969 glibcxx_cv_func__powf_use=yes
24970 else
24971 glibcxx_cv_func__powf_use=no
24972 fi
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974 ac_ext=c
24975 ac_cpp='$CPP $CPPFLAGS'
24976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24979
24980
24981 fi
24982
24983 fi
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24985 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24986
24987 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24988 for ac_func in _powf
24989 do :
24990 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24991 if test "x$ac_cv_func__powf" = x""yes; then :
24992 cat >>confdefs.h <<_ACEOF
24993 #define HAVE__POWF 1
24994 _ACEOF
24995
24996 fi
24997 done
24998
24999 fi
25000 fi
25001
25002
25003
25004
25005
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25007 $as_echo_n "checking for sqrtf declaration... " >&6; }
25008 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25009 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25010 $as_echo_n "(cached) " >&6
25011 else
25012
25013
25014 ac_ext=cpp
25015 ac_cpp='$CXXCPP $CPPFLAGS'
25016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25019
25020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25021 /* end confdefs.h. */
25022 #include <math.h>
25023 #ifdef HAVE_IEEEFP_H
25024 #include <ieeefp.h>
25025 #endif
25026
25027 int
25028 main ()
25029 {
25030 sqrtf(0);
25031 ;
25032 return 0;
25033 }
25034 _ACEOF
25035 if ac_fn_cxx_try_compile "$LINENO"; then :
25036 glibcxx_cv_func_sqrtf_use=yes
25037 else
25038 glibcxx_cv_func_sqrtf_use=no
25039 fi
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041 ac_ext=c
25042 ac_cpp='$CPP $CPPFLAGS'
25043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25046
25047
25048 fi
25049
25050 fi
25051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25052 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25053
25054 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25055 for ac_func in sqrtf
25056 do :
25057 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25058 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25059 cat >>confdefs.h <<_ACEOF
25060 #define HAVE_SQRTF 1
25061 _ACEOF
25062
25063 fi
25064 done
25065
25066 else
25067
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25069 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25070 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25071 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25072 $as_echo_n "(cached) " >&6
25073 else
25074
25075
25076 ac_ext=cpp
25077 ac_cpp='$CXXCPP $CPPFLAGS'
25078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25081
25082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25083 /* end confdefs.h. */
25084 #include <math.h>
25085 #ifdef HAVE_IEEEFP_H
25086 #include <ieeefp.h>
25087 #endif
25088
25089 int
25090 main ()
25091 {
25092 _sqrtf(0);
25093 ;
25094 return 0;
25095 }
25096 _ACEOF
25097 if ac_fn_cxx_try_compile "$LINENO"; then :
25098 glibcxx_cv_func__sqrtf_use=yes
25099 else
25100 glibcxx_cv_func__sqrtf_use=no
25101 fi
25102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25103 ac_ext=c
25104 ac_cpp='$CPP $CPPFLAGS'
25105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25108
25109
25110 fi
25111
25112 fi
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25114 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25115
25116 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25117 for ac_func in _sqrtf
25118 do :
25119 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25120 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25121 cat >>confdefs.h <<_ACEOF
25122 #define HAVE__SQRTF 1
25123 _ACEOF
25124
25125 fi
25126 done
25127
25128 fi
25129 fi
25130
25131
25132
25133
25134
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25136 $as_echo_n "checking for sincosf declaration... " >&6; }
25137 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25138 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25139 $as_echo_n "(cached) " >&6
25140 else
25141
25142
25143 ac_ext=cpp
25144 ac_cpp='$CXXCPP $CPPFLAGS'
25145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25148
25149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25150 /* end confdefs.h. */
25151 #include <math.h>
25152 int
25153 main ()
25154 {
25155 sincosf(0, 0, 0);
25156 ;
25157 return 0;
25158 }
25159 _ACEOF
25160 if ac_fn_cxx_try_compile "$LINENO"; then :
25161 glibcxx_cv_func_sincosf_use=yes
25162 else
25163 glibcxx_cv_func_sincosf_use=no
25164 fi
25165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25166 ac_ext=c
25167 ac_cpp='$CPP $CPPFLAGS'
25168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25171
25172
25173 fi
25174
25175 fi
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25177 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25178
25179 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25180 for ac_func in sincosf
25181 do :
25182 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25183 if test "x$ac_cv_func_sincosf" = x""yes; then :
25184 cat >>confdefs.h <<_ACEOF
25185 #define HAVE_SINCOSF 1
25186 _ACEOF
25187
25188 fi
25189 done
25190
25191 else
25192
25193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25194 $as_echo_n "checking for _sincosf declaration... " >&6; }
25195 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25196 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25197 $as_echo_n "(cached) " >&6
25198 else
25199
25200
25201 ac_ext=cpp
25202 ac_cpp='$CXXCPP $CPPFLAGS'
25203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25206
25207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25209 #include <math.h>
25210 int
25211 main ()
25212 {
25213 _sincosf(0, 0, 0);
25214 ;
25215 return 0;
25216 }
25217 _ACEOF
25218 if ac_fn_cxx_try_compile "$LINENO"; then :
25219 glibcxx_cv_func__sincosf_use=yes
25220 else
25221 glibcxx_cv_func__sincosf_use=no
25222 fi
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25229
25230
25231 fi
25232
25233 fi
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25235 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25236
25237 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25238 for ac_func in _sincosf
25239 do :
25240 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25241 if test "x$ac_cv_func__sincosf" = x""yes; then :
25242 cat >>confdefs.h <<_ACEOF
25243 #define HAVE__SINCOSF 1
25244 _ACEOF
25245
25246 fi
25247 done
25248
25249 fi
25250 fi
25251
25252
25253
25254
25255
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25257 $as_echo_n "checking for finitef declaration... " >&6; }
25258 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25259 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25260 $as_echo_n "(cached) " >&6
25261 else
25262
25263
25264 ac_ext=cpp
25265 ac_cpp='$CXXCPP $CPPFLAGS'
25266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25269
25270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h. */
25272 #include <math.h>
25273 #ifdef HAVE_IEEEFP_H
25274 #include <ieeefp.h>
25275 #endif
25276
25277 int
25278 main ()
25279 {
25280 finitef(0);
25281 ;
25282 return 0;
25283 }
25284 _ACEOF
25285 if ac_fn_cxx_try_compile "$LINENO"; then :
25286 glibcxx_cv_func_finitef_use=yes
25287 else
25288 glibcxx_cv_func_finitef_use=no
25289 fi
25290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25291 ac_ext=c
25292 ac_cpp='$CPP $CPPFLAGS'
25293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25296
25297
25298 fi
25299
25300 fi
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25302 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25303
25304 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25305 for ac_func in finitef
25306 do :
25307 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25308 if test "x$ac_cv_func_finitef" = x""yes; then :
25309 cat >>confdefs.h <<_ACEOF
25310 #define HAVE_FINITEF 1
25311 _ACEOF
25312
25313 fi
25314 done
25315
25316 else
25317
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25319 $as_echo_n "checking for _finitef declaration... " >&6; }
25320 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25321 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25322 $as_echo_n "(cached) " >&6
25323 else
25324
25325
25326 ac_ext=cpp
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25331
25332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25333 /* end confdefs.h. */
25334 #include <math.h>
25335 #ifdef HAVE_IEEEFP_H
25336 #include <ieeefp.h>
25337 #endif
25338
25339 int
25340 main ()
25341 {
25342 _finitef(0);
25343 ;
25344 return 0;
25345 }
25346 _ACEOF
25347 if ac_fn_cxx_try_compile "$LINENO"; then :
25348 glibcxx_cv_func__finitef_use=yes
25349 else
25350 glibcxx_cv_func__finitef_use=no
25351 fi
25352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25353 ac_ext=c
25354 ac_cpp='$CPP $CPPFLAGS'
25355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25358
25359
25360 fi
25361
25362 fi
25363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25364 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25365
25366 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25367 for ac_func in _finitef
25368 do :
25369 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25370 if test "x$ac_cv_func__finitef" = x""yes; then :
25371 cat >>confdefs.h <<_ACEOF
25372 #define HAVE__FINITEF 1
25373 _ACEOF
25374
25375 fi
25376 done
25377
25378 fi
25379 fi
25380
25381
25382
25383
25384
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25386 $as_echo_n "checking for long double trig functions... " >&6; }
25387 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25388 $as_echo_n "(cached) " >&6
25389 else
25390
25391
25392 ac_ext=cpp
25393 ac_cpp='$CXXCPP $CPPFLAGS'
25394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25397
25398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25399 /* end confdefs.h. */
25400 #include <math.h>
25401 int
25402 main ()
25403 {
25404 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25405 ;
25406 return 0;
25407 }
25408 _ACEOF
25409 if ac_fn_cxx_try_compile "$LINENO"; then :
25410 glibcxx_cv_func_long_double_trig_use=yes
25411 else
25412 glibcxx_cv_func_long_double_trig_use=no
25413 fi
25414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25415 ac_ext=c
25416 ac_cpp='$CPP $CPPFLAGS'
25417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25420
25421 fi
25422
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25424 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25425 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25426 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25427 do :
25428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25430 eval as_val=\$$as_ac_var
25431 if test "x$as_val" = x""yes; then :
25432 cat >>confdefs.h <<_ACEOF
25433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25434 _ACEOF
25435
25436 fi
25437 done
25438
25439 else
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25441 $as_echo_n "checking for _long double trig functions... " >&6; }
25442 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25443 $as_echo_n "(cached) " >&6
25444 else
25445
25446
25447 ac_ext=cpp
25448 ac_cpp='$CXXCPP $CPPFLAGS'
25449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25452
25453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25454 /* end confdefs.h. */
25455 #include <math.h>
25456 int
25457 main ()
25458 {
25459 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25460 ;
25461 return 0;
25462 }
25463 _ACEOF
25464 if ac_fn_cxx_try_compile "$LINENO"; then :
25465 glibcxx_cv_func__long_double_trig_use=yes
25466 else
25467 glibcxx_cv_func__long_double_trig_use=no
25468 fi
25469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25470 ac_ext=c
25471 ac_cpp='$CPP $CPPFLAGS'
25472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25475
25476 fi
25477
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25479 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25480 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25481 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25482 do :
25483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25485 eval as_val=\$$as_ac_var
25486 if test "x$as_val" = x""yes; then :
25487 cat >>confdefs.h <<_ACEOF
25488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25489 _ACEOF
25490
25491 fi
25492 done
25493
25494 fi
25495 fi
25496
25497
25498
25499
25500
25501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25502 $as_echo_n "checking for long double round functions... " >&6; }
25503 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25504 $as_echo_n "(cached) " >&6
25505 else
25506
25507
25508 ac_ext=cpp
25509 ac_cpp='$CXXCPP $CPPFLAGS'
25510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25513
25514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25515 /* end confdefs.h. */
25516 #include <math.h>
25517 int
25518 main ()
25519 {
25520 ceill (0); floorl (0);
25521 ;
25522 return 0;
25523 }
25524 _ACEOF
25525 if ac_fn_cxx_try_compile "$LINENO"; then :
25526 glibcxx_cv_func_long_double_round_use=yes
25527 else
25528 glibcxx_cv_func_long_double_round_use=no
25529 fi
25530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25531 ac_ext=c
25532 ac_cpp='$CPP $CPPFLAGS'
25533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25536
25537 fi
25538
25539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25540 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25541 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25542 for ac_func in ceill floorl
25543 do :
25544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25546 eval as_val=\$$as_ac_var
25547 if test "x$as_val" = x""yes; then :
25548 cat >>confdefs.h <<_ACEOF
25549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25550 _ACEOF
25551
25552 fi
25553 done
25554
25555 else
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25557 $as_echo_n "checking for _long double round functions... " >&6; }
25558 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25559 $as_echo_n "(cached) " >&6
25560 else
25561
25562
25563 ac_ext=cpp
25564 ac_cpp='$CXXCPP $CPPFLAGS'
25565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25568
25569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25570 /* end confdefs.h. */
25571 #include <math.h>
25572 int
25573 main ()
25574 {
25575 _ceill (0); _floorl (0);
25576 ;
25577 return 0;
25578 }
25579 _ACEOF
25580 if ac_fn_cxx_try_compile "$LINENO"; then :
25581 glibcxx_cv_func__long_double_round_use=yes
25582 else
25583 glibcxx_cv_func__long_double_round_use=no
25584 fi
25585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25586 ac_ext=c
25587 ac_cpp='$CPP $CPPFLAGS'
25588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25591
25592 fi
25593
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25595 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25596 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25597 for ac_func in _ceill _floorl
25598 do :
25599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25601 eval as_val=\$$as_ac_var
25602 if test "x$as_val" = x""yes; then :
25603 cat >>confdefs.h <<_ACEOF
25604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25605 _ACEOF
25606
25607 fi
25608 done
25609
25610 fi
25611 fi
25612
25613
25614
25615
25616
25617
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25619 $as_echo_n "checking for isnanl declaration... " >&6; }
25620 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25621 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25622 $as_echo_n "(cached) " >&6
25623 else
25624
25625
25626 ac_ext=cpp
25627 ac_cpp='$CXXCPP $CPPFLAGS'
25628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25631
25632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25633 /* end confdefs.h. */
25634 #include <math.h>
25635 #ifdef HAVE_IEEEFP_H
25636 #include <ieeefp.h>
25637 #endif
25638
25639 int
25640 main ()
25641 {
25642 isnanl(0);
25643 ;
25644 return 0;
25645 }
25646 _ACEOF
25647 if ac_fn_cxx_try_compile "$LINENO"; then :
25648 glibcxx_cv_func_isnanl_use=yes
25649 else
25650 glibcxx_cv_func_isnanl_use=no
25651 fi
25652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25653 ac_ext=c
25654 ac_cpp='$CPP $CPPFLAGS'
25655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25658
25659
25660 fi
25661
25662 fi
25663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25664 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25665
25666 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25667 for ac_func in isnanl
25668 do :
25669 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25670 if test "x$ac_cv_func_isnanl" = x""yes; then :
25671 cat >>confdefs.h <<_ACEOF
25672 #define HAVE_ISNANL 1
25673 _ACEOF
25674
25675 fi
25676 done
25677
25678 else
25679
25680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25681 $as_echo_n "checking for _isnanl declaration... " >&6; }
25682 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25683 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25684 $as_echo_n "(cached) " >&6
25685 else
25686
25687
25688 ac_ext=cpp
25689 ac_cpp='$CXXCPP $CPPFLAGS'
25690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25693
25694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25695 /* end confdefs.h. */
25696 #include <math.h>
25697 #ifdef HAVE_IEEEFP_H
25698 #include <ieeefp.h>
25699 #endif
25700
25701 int
25702 main ()
25703 {
25704 _isnanl(0);
25705 ;
25706 return 0;
25707 }
25708 _ACEOF
25709 if ac_fn_cxx_try_compile "$LINENO"; then :
25710 glibcxx_cv_func__isnanl_use=yes
25711 else
25712 glibcxx_cv_func__isnanl_use=no
25713 fi
25714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25715 ac_ext=c
25716 ac_cpp='$CPP $CPPFLAGS'
25717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25720
25721
25722 fi
25723
25724 fi
25725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25726 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25727
25728 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25729 for ac_func in _isnanl
25730 do :
25731 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25732 if test "x$ac_cv_func__isnanl" = x""yes; then :
25733 cat >>confdefs.h <<_ACEOF
25734 #define HAVE__ISNANL 1
25735 _ACEOF
25736
25737 fi
25738 done
25739
25740 fi
25741 fi
25742
25743
25744
25745
25746
25747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25748 $as_echo_n "checking for isinfl declaration... " >&6; }
25749 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25750 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25751 $as_echo_n "(cached) " >&6
25752 else
25753
25754
25755 ac_ext=cpp
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25760
25761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25762 /* end confdefs.h. */
25763 #include <math.h>
25764 #ifdef HAVE_IEEEFP_H
25765 #include <ieeefp.h>
25766 #endif
25767
25768 int
25769 main ()
25770 {
25771 isinfl(0);
25772 ;
25773 return 0;
25774 }
25775 _ACEOF
25776 if ac_fn_cxx_try_compile "$LINENO"; then :
25777 glibcxx_cv_func_isinfl_use=yes
25778 else
25779 glibcxx_cv_func_isinfl_use=no
25780 fi
25781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25782 ac_ext=c
25783 ac_cpp='$CPP $CPPFLAGS'
25784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25787
25788
25789 fi
25790
25791 fi
25792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25793 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25794
25795 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25796 for ac_func in isinfl
25797 do :
25798 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25799 if test "x$ac_cv_func_isinfl" = x""yes; then :
25800 cat >>confdefs.h <<_ACEOF
25801 #define HAVE_ISINFL 1
25802 _ACEOF
25803
25804 fi
25805 done
25806
25807 else
25808
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25810 $as_echo_n "checking for _isinfl declaration... " >&6; }
25811 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25812 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25813 $as_echo_n "(cached) " >&6
25814 else
25815
25816
25817 ac_ext=cpp
25818 ac_cpp='$CXXCPP $CPPFLAGS'
25819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25822
25823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h. */
25825 #include <math.h>
25826 #ifdef HAVE_IEEEFP_H
25827 #include <ieeefp.h>
25828 #endif
25829
25830 int
25831 main ()
25832 {
25833 _isinfl(0);
25834 ;
25835 return 0;
25836 }
25837 _ACEOF
25838 if ac_fn_cxx_try_compile "$LINENO"; then :
25839 glibcxx_cv_func__isinfl_use=yes
25840 else
25841 glibcxx_cv_func__isinfl_use=no
25842 fi
25843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25844 ac_ext=c
25845 ac_cpp='$CPP $CPPFLAGS'
25846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25849
25850
25851 fi
25852
25853 fi
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25855 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25856
25857 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25858 for ac_func in _isinfl
25859 do :
25860 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25861 if test "x$ac_cv_func__isinfl" = x""yes; then :
25862 cat >>confdefs.h <<_ACEOF
25863 #define HAVE__ISINFL 1
25864 _ACEOF
25865
25866 fi
25867 done
25868
25869 fi
25870 fi
25871
25872
25873
25874
25875
25876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25877 $as_echo_n "checking for atan2l declaration... " >&6; }
25878 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25879 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25880 $as_echo_n "(cached) " >&6
25881 else
25882
25883
25884 ac_ext=cpp
25885 ac_cpp='$CXXCPP $CPPFLAGS'
25886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25889
25890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25891 /* end confdefs.h. */
25892 #include <math.h>
25893 int
25894 main ()
25895 {
25896 atan2l(0, 0);
25897 ;
25898 return 0;
25899 }
25900 _ACEOF
25901 if ac_fn_cxx_try_compile "$LINENO"; then :
25902 glibcxx_cv_func_atan2l_use=yes
25903 else
25904 glibcxx_cv_func_atan2l_use=no
25905 fi
25906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25907 ac_ext=c
25908 ac_cpp='$CPP $CPPFLAGS'
25909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25912
25913
25914 fi
25915
25916 fi
25917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25918 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25919
25920 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25921 for ac_func in atan2l
25922 do :
25923 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25924 if test "x$ac_cv_func_atan2l" = x""yes; then :
25925 cat >>confdefs.h <<_ACEOF
25926 #define HAVE_ATAN2L 1
25927 _ACEOF
25928
25929 fi
25930 done
25931
25932 else
25933
25934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25935 $as_echo_n "checking for _atan2l declaration... " >&6; }
25936 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25937 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25938 $as_echo_n "(cached) " >&6
25939 else
25940
25941
25942 ac_ext=cpp
25943 ac_cpp='$CXXCPP $CPPFLAGS'
25944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25947
25948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25949 /* end confdefs.h. */
25950 #include <math.h>
25951 int
25952 main ()
25953 {
25954 _atan2l(0, 0);
25955 ;
25956 return 0;
25957 }
25958 _ACEOF
25959 if ac_fn_cxx_try_compile "$LINENO"; then :
25960 glibcxx_cv_func__atan2l_use=yes
25961 else
25962 glibcxx_cv_func__atan2l_use=no
25963 fi
25964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25965 ac_ext=c
25966 ac_cpp='$CPP $CPPFLAGS'
25967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25970
25971
25972 fi
25973
25974 fi
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25976 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25977
25978 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25979 for ac_func in _atan2l
25980 do :
25981 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25982 if test "x$ac_cv_func__atan2l" = x""yes; then :
25983 cat >>confdefs.h <<_ACEOF
25984 #define HAVE__ATAN2L 1
25985 _ACEOF
25986
25987 fi
25988 done
25989
25990 fi
25991 fi
25992
25993
25994
25995
25996
25997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25998 $as_echo_n "checking for expl declaration... " >&6; }
25999 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26000 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
26001 $as_echo_n "(cached) " >&6
26002 else
26003
26004
26005 ac_ext=cpp
26006 ac_cpp='$CXXCPP $CPPFLAGS'
26007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26010
26011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26012 /* end confdefs.h. */
26013 #include <math.h>
26014 #ifdef HAVE_IEEEFP_H
26015 #include <ieeefp.h>
26016 #endif
26017
26018 int
26019 main ()
26020 {
26021 expl(0);
26022 ;
26023 return 0;
26024 }
26025 _ACEOF
26026 if ac_fn_cxx_try_compile "$LINENO"; then :
26027 glibcxx_cv_func_expl_use=yes
26028 else
26029 glibcxx_cv_func_expl_use=no
26030 fi
26031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26032 ac_ext=c
26033 ac_cpp='$CPP $CPPFLAGS'
26034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26037
26038
26039 fi
26040
26041 fi
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26043 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26044
26045 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26046 for ac_func in expl
26047 do :
26048 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26049 if test "x$ac_cv_func_expl" = x""yes; then :
26050 cat >>confdefs.h <<_ACEOF
26051 #define HAVE_EXPL 1
26052 _ACEOF
26053
26054 fi
26055 done
26056
26057 else
26058
26059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26060 $as_echo_n "checking for _expl declaration... " >&6; }
26061 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26062 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26063 $as_echo_n "(cached) " >&6
26064 else
26065
26066
26067 ac_ext=cpp
26068 ac_cpp='$CXXCPP $CPPFLAGS'
26069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26072
26073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26074 /* end confdefs.h. */
26075 #include <math.h>
26076 #ifdef HAVE_IEEEFP_H
26077 #include <ieeefp.h>
26078 #endif
26079
26080 int
26081 main ()
26082 {
26083 _expl(0);
26084 ;
26085 return 0;
26086 }
26087 _ACEOF
26088 if ac_fn_cxx_try_compile "$LINENO"; then :
26089 glibcxx_cv_func__expl_use=yes
26090 else
26091 glibcxx_cv_func__expl_use=no
26092 fi
26093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26094 ac_ext=c
26095 ac_cpp='$CPP $CPPFLAGS'
26096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26099
26100
26101 fi
26102
26103 fi
26104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26105 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26106
26107 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26108 for ac_func in _expl
26109 do :
26110 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26111 if test "x$ac_cv_func__expl" = x""yes; then :
26112 cat >>confdefs.h <<_ACEOF
26113 #define HAVE__EXPL 1
26114 _ACEOF
26115
26116 fi
26117 done
26118
26119 fi
26120 fi
26121
26122
26123
26124
26125
26126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26127 $as_echo_n "checking for fabsl declaration... " >&6; }
26128 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26129 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26130 $as_echo_n "(cached) " >&6
26131 else
26132
26133
26134 ac_ext=cpp
26135 ac_cpp='$CXXCPP $CPPFLAGS'
26136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26139
26140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h. */
26142 #include <math.h>
26143 #ifdef HAVE_IEEEFP_H
26144 #include <ieeefp.h>
26145 #endif
26146
26147 int
26148 main ()
26149 {
26150 fabsl(0);
26151 ;
26152 return 0;
26153 }
26154 _ACEOF
26155 if ac_fn_cxx_try_compile "$LINENO"; then :
26156 glibcxx_cv_func_fabsl_use=yes
26157 else
26158 glibcxx_cv_func_fabsl_use=no
26159 fi
26160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26161 ac_ext=c
26162 ac_cpp='$CPP $CPPFLAGS'
26163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26166
26167
26168 fi
26169
26170 fi
26171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26172 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26173
26174 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26175 for ac_func in fabsl
26176 do :
26177 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26178 if test "x$ac_cv_func_fabsl" = x""yes; then :
26179 cat >>confdefs.h <<_ACEOF
26180 #define HAVE_FABSL 1
26181 _ACEOF
26182
26183 fi
26184 done
26185
26186 else
26187
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26189 $as_echo_n "checking for _fabsl declaration... " >&6; }
26190 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26191 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26192 $as_echo_n "(cached) " >&6
26193 else
26194
26195
26196 ac_ext=cpp
26197 ac_cpp='$CXXCPP $CPPFLAGS'
26198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26201
26202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26203 /* end confdefs.h. */
26204 #include <math.h>
26205 #ifdef HAVE_IEEEFP_H
26206 #include <ieeefp.h>
26207 #endif
26208
26209 int
26210 main ()
26211 {
26212 _fabsl(0);
26213 ;
26214 return 0;
26215 }
26216 _ACEOF
26217 if ac_fn_cxx_try_compile "$LINENO"; then :
26218 glibcxx_cv_func__fabsl_use=yes
26219 else
26220 glibcxx_cv_func__fabsl_use=no
26221 fi
26222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26223 ac_ext=c
26224 ac_cpp='$CPP $CPPFLAGS'
26225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26228
26229
26230 fi
26231
26232 fi
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26234 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26235
26236 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26237 for ac_func in _fabsl
26238 do :
26239 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26240 if test "x$ac_cv_func__fabsl" = x""yes; then :
26241 cat >>confdefs.h <<_ACEOF
26242 #define HAVE__FABSL 1
26243 _ACEOF
26244
26245 fi
26246 done
26247
26248 fi
26249 fi
26250
26251
26252
26253
26254
26255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26256 $as_echo_n "checking for fmodl declaration... " >&6; }
26257 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26258 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26259 $as_echo_n "(cached) " >&6
26260 else
26261
26262
26263 ac_ext=cpp
26264 ac_cpp='$CXXCPP $CPPFLAGS'
26265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26268
26269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26270 /* end confdefs.h. */
26271 #include <math.h>
26272 int
26273 main ()
26274 {
26275 fmodl(0, 0);
26276 ;
26277 return 0;
26278 }
26279 _ACEOF
26280 if ac_fn_cxx_try_compile "$LINENO"; then :
26281 glibcxx_cv_func_fmodl_use=yes
26282 else
26283 glibcxx_cv_func_fmodl_use=no
26284 fi
26285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26286 ac_ext=c
26287 ac_cpp='$CPP $CPPFLAGS'
26288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26291
26292
26293 fi
26294
26295 fi
26296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26297 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26298
26299 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26300 for ac_func in fmodl
26301 do :
26302 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26303 if test "x$ac_cv_func_fmodl" = x""yes; then :
26304 cat >>confdefs.h <<_ACEOF
26305 #define HAVE_FMODL 1
26306 _ACEOF
26307
26308 fi
26309 done
26310
26311 else
26312
26313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26314 $as_echo_n "checking for _fmodl declaration... " >&6; }
26315 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26316 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26317 $as_echo_n "(cached) " >&6
26318 else
26319
26320
26321 ac_ext=cpp
26322 ac_cpp='$CXXCPP $CPPFLAGS'
26323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26326
26327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26328 /* end confdefs.h. */
26329 #include <math.h>
26330 int
26331 main ()
26332 {
26333 _fmodl(0, 0);
26334 ;
26335 return 0;
26336 }
26337 _ACEOF
26338 if ac_fn_cxx_try_compile "$LINENO"; then :
26339 glibcxx_cv_func__fmodl_use=yes
26340 else
26341 glibcxx_cv_func__fmodl_use=no
26342 fi
26343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26344 ac_ext=c
26345 ac_cpp='$CPP $CPPFLAGS'
26346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26349
26350
26351 fi
26352
26353 fi
26354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26355 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26356
26357 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26358 for ac_func in _fmodl
26359 do :
26360 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26361 if test "x$ac_cv_func__fmodl" = x""yes; then :
26362 cat >>confdefs.h <<_ACEOF
26363 #define HAVE__FMODL 1
26364 _ACEOF
26365
26366 fi
26367 done
26368
26369 fi
26370 fi
26371
26372
26373
26374
26375
26376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26377 $as_echo_n "checking for frexpl declaration... " >&6; }
26378 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26379 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26380 $as_echo_n "(cached) " >&6
26381 else
26382
26383
26384 ac_ext=cpp
26385 ac_cpp='$CXXCPP $CPPFLAGS'
26386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26389
26390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26391 /* end confdefs.h. */
26392 #include <math.h>
26393 int
26394 main ()
26395 {
26396 frexpl(0, 0);
26397 ;
26398 return 0;
26399 }
26400 _ACEOF
26401 if ac_fn_cxx_try_compile "$LINENO"; then :
26402 glibcxx_cv_func_frexpl_use=yes
26403 else
26404 glibcxx_cv_func_frexpl_use=no
26405 fi
26406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26407 ac_ext=c
26408 ac_cpp='$CPP $CPPFLAGS'
26409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26412
26413
26414 fi
26415
26416 fi
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26418 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26419
26420 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26421 for ac_func in frexpl
26422 do :
26423 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26424 if test "x$ac_cv_func_frexpl" = x""yes; then :
26425 cat >>confdefs.h <<_ACEOF
26426 #define HAVE_FREXPL 1
26427 _ACEOF
26428
26429 fi
26430 done
26431
26432 else
26433
26434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26435 $as_echo_n "checking for _frexpl declaration... " >&6; }
26436 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26437 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26438 $as_echo_n "(cached) " >&6
26439 else
26440
26441
26442 ac_ext=cpp
26443 ac_cpp='$CXXCPP $CPPFLAGS'
26444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26447
26448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26449 /* end confdefs.h. */
26450 #include <math.h>
26451 int
26452 main ()
26453 {
26454 _frexpl(0, 0);
26455 ;
26456 return 0;
26457 }
26458 _ACEOF
26459 if ac_fn_cxx_try_compile "$LINENO"; then :
26460 glibcxx_cv_func__frexpl_use=yes
26461 else
26462 glibcxx_cv_func__frexpl_use=no
26463 fi
26464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26465 ac_ext=c
26466 ac_cpp='$CPP $CPPFLAGS'
26467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26470
26471
26472 fi
26473
26474 fi
26475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26476 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26477
26478 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26479 for ac_func in _frexpl
26480 do :
26481 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26482 if test "x$ac_cv_func__frexpl" = x""yes; then :
26483 cat >>confdefs.h <<_ACEOF
26484 #define HAVE__FREXPL 1
26485 _ACEOF
26486
26487 fi
26488 done
26489
26490 fi
26491 fi
26492
26493
26494
26495
26496
26497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26498 $as_echo_n "checking for hypotl declaration... " >&6; }
26499 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26500 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26501 $as_echo_n "(cached) " >&6
26502 else
26503
26504
26505 ac_ext=cpp
26506 ac_cpp='$CXXCPP $CPPFLAGS'
26507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26510
26511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26512 /* end confdefs.h. */
26513 #include <math.h>
26514 int
26515 main ()
26516 {
26517 hypotl(0, 0);
26518 ;
26519 return 0;
26520 }
26521 _ACEOF
26522 if ac_fn_cxx_try_compile "$LINENO"; then :
26523 glibcxx_cv_func_hypotl_use=yes
26524 else
26525 glibcxx_cv_func_hypotl_use=no
26526 fi
26527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26528 ac_ext=c
26529 ac_cpp='$CPP $CPPFLAGS'
26530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26533
26534
26535 fi
26536
26537 fi
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26539 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26540
26541 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26542 for ac_func in hypotl
26543 do :
26544 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26545 if test "x$ac_cv_func_hypotl" = x""yes; then :
26546 cat >>confdefs.h <<_ACEOF
26547 #define HAVE_HYPOTL 1
26548 _ACEOF
26549
26550 fi
26551 done
26552
26553 else
26554
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26556 $as_echo_n "checking for _hypotl declaration... " >&6; }
26557 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26558 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26559 $as_echo_n "(cached) " >&6
26560 else
26561
26562
26563 ac_ext=cpp
26564 ac_cpp='$CXXCPP $CPPFLAGS'
26565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26568
26569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26570 /* end confdefs.h. */
26571 #include <math.h>
26572 int
26573 main ()
26574 {
26575 _hypotl(0, 0);
26576 ;
26577 return 0;
26578 }
26579 _ACEOF
26580 if ac_fn_cxx_try_compile "$LINENO"; then :
26581 glibcxx_cv_func__hypotl_use=yes
26582 else
26583 glibcxx_cv_func__hypotl_use=no
26584 fi
26585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26586 ac_ext=c
26587 ac_cpp='$CPP $CPPFLAGS'
26588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26591
26592
26593 fi
26594
26595 fi
26596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26597 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26598
26599 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26600 for ac_func in _hypotl
26601 do :
26602 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26603 if test "x$ac_cv_func__hypotl" = x""yes; then :
26604 cat >>confdefs.h <<_ACEOF
26605 #define HAVE__HYPOTL 1
26606 _ACEOF
26607
26608 fi
26609 done
26610
26611 fi
26612 fi
26613
26614
26615
26616
26617
26618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26619 $as_echo_n "checking for ldexpl declaration... " >&6; }
26620 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26621 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26622 $as_echo_n "(cached) " >&6
26623 else
26624
26625
26626 ac_ext=cpp
26627 ac_cpp='$CXXCPP $CPPFLAGS'
26628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26631
26632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26633 /* end confdefs.h. */
26634 #include <math.h>
26635 int
26636 main ()
26637 {
26638 ldexpl(0, 0);
26639 ;
26640 return 0;
26641 }
26642 _ACEOF
26643 if ac_fn_cxx_try_compile "$LINENO"; then :
26644 glibcxx_cv_func_ldexpl_use=yes
26645 else
26646 glibcxx_cv_func_ldexpl_use=no
26647 fi
26648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26649 ac_ext=c
26650 ac_cpp='$CPP $CPPFLAGS'
26651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26654
26655
26656 fi
26657
26658 fi
26659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26660 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26661
26662 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26663 for ac_func in ldexpl
26664 do :
26665 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26666 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26667 cat >>confdefs.h <<_ACEOF
26668 #define HAVE_LDEXPL 1
26669 _ACEOF
26670
26671 fi
26672 done
26673
26674 else
26675
26676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26677 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26678 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26679 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26680 $as_echo_n "(cached) " >&6
26681 else
26682
26683
26684 ac_ext=cpp
26685 ac_cpp='$CXXCPP $CPPFLAGS'
26686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26689
26690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26691 /* end confdefs.h. */
26692 #include <math.h>
26693 int
26694 main ()
26695 {
26696 _ldexpl(0, 0);
26697 ;
26698 return 0;
26699 }
26700 _ACEOF
26701 if ac_fn_cxx_try_compile "$LINENO"; then :
26702 glibcxx_cv_func__ldexpl_use=yes
26703 else
26704 glibcxx_cv_func__ldexpl_use=no
26705 fi
26706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26707 ac_ext=c
26708 ac_cpp='$CPP $CPPFLAGS'
26709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26712
26713
26714 fi
26715
26716 fi
26717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26718 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26719
26720 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26721 for ac_func in _ldexpl
26722 do :
26723 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26724 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26725 cat >>confdefs.h <<_ACEOF
26726 #define HAVE__LDEXPL 1
26727 _ACEOF
26728
26729 fi
26730 done
26731
26732 fi
26733 fi
26734
26735
26736
26737
26738
26739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26740 $as_echo_n "checking for logl declaration... " >&6; }
26741 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26742 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26743 $as_echo_n "(cached) " >&6
26744 else
26745
26746
26747 ac_ext=cpp
26748 ac_cpp='$CXXCPP $CPPFLAGS'
26749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26752
26753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26754 /* end confdefs.h. */
26755 #include <math.h>
26756 #ifdef HAVE_IEEEFP_H
26757 #include <ieeefp.h>
26758 #endif
26759
26760 int
26761 main ()
26762 {
26763 logl(0);
26764 ;
26765 return 0;
26766 }
26767 _ACEOF
26768 if ac_fn_cxx_try_compile "$LINENO"; then :
26769 glibcxx_cv_func_logl_use=yes
26770 else
26771 glibcxx_cv_func_logl_use=no
26772 fi
26773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26774 ac_ext=c
26775 ac_cpp='$CPP $CPPFLAGS'
26776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26779
26780
26781 fi
26782
26783 fi
26784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26785 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26786
26787 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26788 for ac_func in logl
26789 do :
26790 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26791 if test "x$ac_cv_func_logl" = x""yes; then :
26792 cat >>confdefs.h <<_ACEOF
26793 #define HAVE_LOGL 1
26794 _ACEOF
26795
26796 fi
26797 done
26798
26799 else
26800
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26802 $as_echo_n "checking for _logl declaration... " >&6; }
26803 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26804 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26805 $as_echo_n "(cached) " >&6
26806 else
26807
26808
26809 ac_ext=cpp
26810 ac_cpp='$CXXCPP $CPPFLAGS'
26811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26814
26815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26816 /* end confdefs.h. */
26817 #include <math.h>
26818 #ifdef HAVE_IEEEFP_H
26819 #include <ieeefp.h>
26820 #endif
26821
26822 int
26823 main ()
26824 {
26825 _logl(0);
26826 ;
26827 return 0;
26828 }
26829 _ACEOF
26830 if ac_fn_cxx_try_compile "$LINENO"; then :
26831 glibcxx_cv_func__logl_use=yes
26832 else
26833 glibcxx_cv_func__logl_use=no
26834 fi
26835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26836 ac_ext=c
26837 ac_cpp='$CPP $CPPFLAGS'
26838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26841
26842
26843 fi
26844
26845 fi
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26847 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26848
26849 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26850 for ac_func in _logl
26851 do :
26852 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26853 if test "x$ac_cv_func__logl" = x""yes; then :
26854 cat >>confdefs.h <<_ACEOF
26855 #define HAVE__LOGL 1
26856 _ACEOF
26857
26858 fi
26859 done
26860
26861 fi
26862 fi
26863
26864
26865
26866
26867
26868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26869 $as_echo_n "checking for log10l declaration... " >&6; }
26870 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26871 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26872 $as_echo_n "(cached) " >&6
26873 else
26874
26875
26876 ac_ext=cpp
26877 ac_cpp='$CXXCPP $CPPFLAGS'
26878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881
26882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26883 /* end confdefs.h. */
26884 #include <math.h>
26885 #ifdef HAVE_IEEEFP_H
26886 #include <ieeefp.h>
26887 #endif
26888
26889 int
26890 main ()
26891 {
26892 log10l(0);
26893 ;
26894 return 0;
26895 }
26896 _ACEOF
26897 if ac_fn_cxx_try_compile "$LINENO"; then :
26898 glibcxx_cv_func_log10l_use=yes
26899 else
26900 glibcxx_cv_func_log10l_use=no
26901 fi
26902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26903 ac_ext=c
26904 ac_cpp='$CPP $CPPFLAGS'
26905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26908
26909
26910 fi
26911
26912 fi
26913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26914 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26915
26916 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26917 for ac_func in log10l
26918 do :
26919 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26920 if test "x$ac_cv_func_log10l" = x""yes; then :
26921 cat >>confdefs.h <<_ACEOF
26922 #define HAVE_LOG10L 1
26923 _ACEOF
26924
26925 fi
26926 done
26927
26928 else
26929
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26931 $as_echo_n "checking for _log10l declaration... " >&6; }
26932 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26933 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26934 $as_echo_n "(cached) " >&6
26935 else
26936
26937
26938 ac_ext=cpp
26939 ac_cpp='$CXXCPP $CPPFLAGS'
26940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26943
26944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26945 /* end confdefs.h. */
26946 #include <math.h>
26947 #ifdef HAVE_IEEEFP_H
26948 #include <ieeefp.h>
26949 #endif
26950
26951 int
26952 main ()
26953 {
26954 _log10l(0);
26955 ;
26956 return 0;
26957 }
26958 _ACEOF
26959 if ac_fn_cxx_try_compile "$LINENO"; then :
26960 glibcxx_cv_func__log10l_use=yes
26961 else
26962 glibcxx_cv_func__log10l_use=no
26963 fi
26964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26965 ac_ext=c
26966 ac_cpp='$CPP $CPPFLAGS'
26967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26970
26971
26972 fi
26973
26974 fi
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26976 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26977
26978 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26979 for ac_func in _log10l
26980 do :
26981 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26982 if test "x$ac_cv_func__log10l" = x""yes; then :
26983 cat >>confdefs.h <<_ACEOF
26984 #define HAVE__LOG10L 1
26985 _ACEOF
26986
26987 fi
26988 done
26989
26990 fi
26991 fi
26992
26993
26994
26995
26996
26997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26998 $as_echo_n "checking for modfl declaration... " >&6; }
26999 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27000 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
27001 $as_echo_n "(cached) " >&6
27002 else
27003
27004
27005 ac_ext=cpp
27006 ac_cpp='$CXXCPP $CPPFLAGS'
27007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27010
27011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27012 /* end confdefs.h. */
27013 #include <math.h>
27014 int
27015 main ()
27016 {
27017 modfl(0, 0);
27018 ;
27019 return 0;
27020 }
27021 _ACEOF
27022 if ac_fn_cxx_try_compile "$LINENO"; then :
27023 glibcxx_cv_func_modfl_use=yes
27024 else
27025 glibcxx_cv_func_modfl_use=no
27026 fi
27027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27028 ac_ext=c
27029 ac_cpp='$CPP $CPPFLAGS'
27030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27033
27034
27035 fi
27036
27037 fi
27038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27039 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27040
27041 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27042 for ac_func in modfl
27043 do :
27044 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27045 if test "x$ac_cv_func_modfl" = x""yes; then :
27046 cat >>confdefs.h <<_ACEOF
27047 #define HAVE_MODFL 1
27048 _ACEOF
27049
27050 fi
27051 done
27052
27053 else
27054
27055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27056 $as_echo_n "checking for _modfl declaration... " >&6; }
27057 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27058 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27059 $as_echo_n "(cached) " >&6
27060 else
27061
27062
27063 ac_ext=cpp
27064 ac_cpp='$CXXCPP $CPPFLAGS'
27065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27068
27069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27070 /* end confdefs.h. */
27071 #include <math.h>
27072 int
27073 main ()
27074 {
27075 _modfl(0, 0);
27076 ;
27077 return 0;
27078 }
27079 _ACEOF
27080 if ac_fn_cxx_try_compile "$LINENO"; then :
27081 glibcxx_cv_func__modfl_use=yes
27082 else
27083 glibcxx_cv_func__modfl_use=no
27084 fi
27085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27086 ac_ext=c
27087 ac_cpp='$CPP $CPPFLAGS'
27088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27091
27092
27093 fi
27094
27095 fi
27096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27097 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27098
27099 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27100 for ac_func in _modfl
27101 do :
27102 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27103 if test "x$ac_cv_func__modfl" = x""yes; then :
27104 cat >>confdefs.h <<_ACEOF
27105 #define HAVE__MODFL 1
27106 _ACEOF
27107
27108 fi
27109 done
27110
27111 fi
27112 fi
27113
27114
27115
27116
27117
27118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27119 $as_echo_n "checking for powl declaration... " >&6; }
27120 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27121 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27122 $as_echo_n "(cached) " >&6
27123 else
27124
27125
27126 ac_ext=cpp
27127 ac_cpp='$CXXCPP $CPPFLAGS'
27128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27131
27132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27133 /* end confdefs.h. */
27134 #include <math.h>
27135 int
27136 main ()
27137 {
27138 powl(0, 0);
27139 ;
27140 return 0;
27141 }
27142 _ACEOF
27143 if ac_fn_cxx_try_compile "$LINENO"; then :
27144 glibcxx_cv_func_powl_use=yes
27145 else
27146 glibcxx_cv_func_powl_use=no
27147 fi
27148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27149 ac_ext=c
27150 ac_cpp='$CPP $CPPFLAGS'
27151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27154
27155
27156 fi
27157
27158 fi
27159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27160 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27161
27162 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27163 for ac_func in powl
27164 do :
27165 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27166 if test "x$ac_cv_func_powl" = x""yes; then :
27167 cat >>confdefs.h <<_ACEOF
27168 #define HAVE_POWL 1
27169 _ACEOF
27170
27171 fi
27172 done
27173
27174 else
27175
27176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27177 $as_echo_n "checking for _powl declaration... " >&6; }
27178 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27179 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27180 $as_echo_n "(cached) " >&6
27181 else
27182
27183
27184 ac_ext=cpp
27185 ac_cpp='$CXXCPP $CPPFLAGS'
27186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27189
27190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27191 /* end confdefs.h. */
27192 #include <math.h>
27193 int
27194 main ()
27195 {
27196 _powl(0, 0);
27197 ;
27198 return 0;
27199 }
27200 _ACEOF
27201 if ac_fn_cxx_try_compile "$LINENO"; then :
27202 glibcxx_cv_func__powl_use=yes
27203 else
27204 glibcxx_cv_func__powl_use=no
27205 fi
27206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27207 ac_ext=c
27208 ac_cpp='$CPP $CPPFLAGS'
27209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27212
27213
27214 fi
27215
27216 fi
27217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27218 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27219
27220 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27221 for ac_func in _powl
27222 do :
27223 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27224 if test "x$ac_cv_func__powl" = x""yes; then :
27225 cat >>confdefs.h <<_ACEOF
27226 #define HAVE__POWL 1
27227 _ACEOF
27228
27229 fi
27230 done
27231
27232 fi
27233 fi
27234
27235
27236
27237
27238
27239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27240 $as_echo_n "checking for sqrtl declaration... " >&6; }
27241 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27242 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27243 $as_echo_n "(cached) " >&6
27244 else
27245
27246
27247 ac_ext=cpp
27248 ac_cpp='$CXXCPP $CPPFLAGS'
27249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27252
27253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27254 /* end confdefs.h. */
27255 #include <math.h>
27256 #ifdef HAVE_IEEEFP_H
27257 #include <ieeefp.h>
27258 #endif
27259
27260 int
27261 main ()
27262 {
27263 sqrtl(0);
27264 ;
27265 return 0;
27266 }
27267 _ACEOF
27268 if ac_fn_cxx_try_compile "$LINENO"; then :
27269 glibcxx_cv_func_sqrtl_use=yes
27270 else
27271 glibcxx_cv_func_sqrtl_use=no
27272 fi
27273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27274 ac_ext=c
27275 ac_cpp='$CPP $CPPFLAGS'
27276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27279
27280
27281 fi
27282
27283 fi
27284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27285 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27286
27287 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27288 for ac_func in sqrtl
27289 do :
27290 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27291 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27292 cat >>confdefs.h <<_ACEOF
27293 #define HAVE_SQRTL 1
27294 _ACEOF
27295
27296 fi
27297 done
27298
27299 else
27300
27301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27302 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27303 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27304 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27305 $as_echo_n "(cached) " >&6
27306 else
27307
27308
27309 ac_ext=cpp
27310 ac_cpp='$CXXCPP $CPPFLAGS'
27311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27314
27315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27316 /* end confdefs.h. */
27317 #include <math.h>
27318 #ifdef HAVE_IEEEFP_H
27319 #include <ieeefp.h>
27320 #endif
27321
27322 int
27323 main ()
27324 {
27325 _sqrtl(0);
27326 ;
27327 return 0;
27328 }
27329 _ACEOF
27330 if ac_fn_cxx_try_compile "$LINENO"; then :
27331 glibcxx_cv_func__sqrtl_use=yes
27332 else
27333 glibcxx_cv_func__sqrtl_use=no
27334 fi
27335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27336 ac_ext=c
27337 ac_cpp='$CPP $CPPFLAGS'
27338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27341
27342
27343 fi
27344
27345 fi
27346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27347 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27348
27349 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27350 for ac_func in _sqrtl
27351 do :
27352 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27353 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27354 cat >>confdefs.h <<_ACEOF
27355 #define HAVE__SQRTL 1
27356 _ACEOF
27357
27358 fi
27359 done
27360
27361 fi
27362 fi
27363
27364
27365
27366
27367
27368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27369 $as_echo_n "checking for sincosl declaration... " >&6; }
27370 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27371 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27372 $as_echo_n "(cached) " >&6
27373 else
27374
27375
27376 ac_ext=cpp
27377 ac_cpp='$CXXCPP $CPPFLAGS'
27378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27381
27382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27383 /* end confdefs.h. */
27384 #include <math.h>
27385 int
27386 main ()
27387 {
27388 sincosl(0, 0, 0);
27389 ;
27390 return 0;
27391 }
27392 _ACEOF
27393 if ac_fn_cxx_try_compile "$LINENO"; then :
27394 glibcxx_cv_func_sincosl_use=yes
27395 else
27396 glibcxx_cv_func_sincosl_use=no
27397 fi
27398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27399 ac_ext=c
27400 ac_cpp='$CPP $CPPFLAGS'
27401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27404
27405
27406 fi
27407
27408 fi
27409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27410 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27411
27412 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27413 for ac_func in sincosl
27414 do :
27415 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27416 if test "x$ac_cv_func_sincosl" = x""yes; then :
27417 cat >>confdefs.h <<_ACEOF
27418 #define HAVE_SINCOSL 1
27419 _ACEOF
27420
27421 fi
27422 done
27423
27424 else
27425
27426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27427 $as_echo_n "checking for _sincosl declaration... " >&6; }
27428 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27429 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27430 $as_echo_n "(cached) " >&6
27431 else
27432
27433
27434 ac_ext=cpp
27435 ac_cpp='$CXXCPP $CPPFLAGS'
27436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27439
27440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27441 /* end confdefs.h. */
27442 #include <math.h>
27443 int
27444 main ()
27445 {
27446 _sincosl(0, 0, 0);
27447 ;
27448 return 0;
27449 }
27450 _ACEOF
27451 if ac_fn_cxx_try_compile "$LINENO"; then :
27452 glibcxx_cv_func__sincosl_use=yes
27453 else
27454 glibcxx_cv_func__sincosl_use=no
27455 fi
27456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27457 ac_ext=c
27458 ac_cpp='$CPP $CPPFLAGS'
27459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27462
27463
27464 fi
27465
27466 fi
27467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27468 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27469
27470 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27471 for ac_func in _sincosl
27472 do :
27473 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27474 if test "x$ac_cv_func__sincosl" = x""yes; then :
27475 cat >>confdefs.h <<_ACEOF
27476 #define HAVE__SINCOSL 1
27477 _ACEOF
27478
27479 fi
27480 done
27481
27482 fi
27483 fi
27484
27485
27486
27487
27488
27489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27490 $as_echo_n "checking for finitel declaration... " >&6; }
27491 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27492 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27493 $as_echo_n "(cached) " >&6
27494 else
27495
27496
27497 ac_ext=cpp
27498 ac_cpp='$CXXCPP $CPPFLAGS'
27499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27502
27503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27504 /* end confdefs.h. */
27505 #include <math.h>
27506 #ifdef HAVE_IEEEFP_H
27507 #include <ieeefp.h>
27508 #endif
27509
27510 int
27511 main ()
27512 {
27513 finitel(0);
27514 ;
27515 return 0;
27516 }
27517 _ACEOF
27518 if ac_fn_cxx_try_compile "$LINENO"; then :
27519 glibcxx_cv_func_finitel_use=yes
27520 else
27521 glibcxx_cv_func_finitel_use=no
27522 fi
27523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27524 ac_ext=c
27525 ac_cpp='$CPP $CPPFLAGS'
27526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27529
27530
27531 fi
27532
27533 fi
27534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27535 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27536
27537 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27538 for ac_func in finitel
27539 do :
27540 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27541 if test "x$ac_cv_func_finitel" = x""yes; then :
27542 cat >>confdefs.h <<_ACEOF
27543 #define HAVE_FINITEL 1
27544 _ACEOF
27545
27546 fi
27547 done
27548
27549 else
27550
27551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27552 $as_echo_n "checking for _finitel declaration... " >&6; }
27553 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27554 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27555 $as_echo_n "(cached) " >&6
27556 else
27557
27558
27559 ac_ext=cpp
27560 ac_cpp='$CXXCPP $CPPFLAGS'
27561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27564
27565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27566 /* end confdefs.h. */
27567 #include <math.h>
27568 #ifdef HAVE_IEEEFP_H
27569 #include <ieeefp.h>
27570 #endif
27571
27572 int
27573 main ()
27574 {
27575 _finitel(0);
27576 ;
27577 return 0;
27578 }
27579 _ACEOF
27580 if ac_fn_cxx_try_compile "$LINENO"; then :
27581 glibcxx_cv_func__finitel_use=yes
27582 else
27583 glibcxx_cv_func__finitel_use=no
27584 fi
27585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27586 ac_ext=c
27587 ac_cpp='$CPP $CPPFLAGS'
27588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27591
27592
27593 fi
27594
27595 fi
27596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27597 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27598
27599 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27600 for ac_func in _finitel
27601 do :
27602 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27603 if test "x$ac_cv_func__finitel" = x""yes; then :
27604 cat >>confdefs.h <<_ACEOF
27605 #define HAVE__FINITEL 1
27606 _ACEOF
27607
27608 fi
27609 done
27610
27611 fi
27612 fi
27613
27614
27615
27616
27617 LIBS="$ac_save_LIBS"
27618 CXXFLAGS="$ac_save_CXXFLAGS"
27619
27620
27621 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27622 ac_save_CXXFLAGS="$CXXFLAGS"
27623 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27624
27625
27626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27627 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27628 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27629 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27630 $as_echo_n "(cached) " >&6
27631 else
27632
27633
27634 ac_ext=cpp
27635 ac_cpp='$CXXCPP $CPPFLAGS'
27636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27639
27640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27641 /* end confdefs.h. */
27642 #include <stdlib.h>
27643 int
27644 main ()
27645 {
27646 at_quick_exit(0);
27647 ;
27648 return 0;
27649 }
27650 _ACEOF
27651 if ac_fn_cxx_try_compile "$LINENO"; then :
27652 glibcxx_cv_func_at_quick_exit_use=yes
27653 else
27654 glibcxx_cv_func_at_quick_exit_use=no
27655 fi
27656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27657 ac_ext=c
27658 ac_cpp='$CPP $CPPFLAGS'
27659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27662
27663
27664 fi
27665
27666 fi
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27668 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27669 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27670 for ac_func in at_quick_exit
27671 do :
27672 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27673 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27674 cat >>confdefs.h <<_ACEOF
27675 #define HAVE_AT_QUICK_EXIT 1
27676 _ACEOF
27677
27678 fi
27679 done
27680
27681 fi
27682
27683
27684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27685 $as_echo_n "checking for quick_exit declaration... " >&6; }
27686 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27687 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27688 $as_echo_n "(cached) " >&6
27689 else
27690
27691
27692 ac_ext=cpp
27693 ac_cpp='$CXXCPP $CPPFLAGS'
27694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27697
27698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27699 /* end confdefs.h. */
27700 #include <stdlib.h>
27701 int
27702 main ()
27703 {
27704 quick_exit(0);
27705 ;
27706 return 0;
27707 }
27708 _ACEOF
27709 if ac_fn_cxx_try_compile "$LINENO"; then :
27710 glibcxx_cv_func_quick_exit_use=yes
27711 else
27712 glibcxx_cv_func_quick_exit_use=no
27713 fi
27714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27715 ac_ext=c
27716 ac_cpp='$CPP $CPPFLAGS'
27717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27720
27721
27722 fi
27723
27724 fi
27725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27726 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27727 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27728 for ac_func in quick_exit
27729 do :
27730 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27731 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27732 cat >>confdefs.h <<_ACEOF
27733 #define HAVE_QUICK_EXIT 1
27734 _ACEOF
27735
27736 fi
27737 done
27738
27739 fi
27740
27741
27742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27743 $as_echo_n "checking for strtold declaration... " >&6; }
27744 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27745 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27746 $as_echo_n "(cached) " >&6
27747 else
27748
27749
27750 ac_ext=cpp
27751 ac_cpp='$CXXCPP $CPPFLAGS'
27752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27755
27756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27757 /* end confdefs.h. */
27758 #include <stdlib.h>
27759 int
27760 main ()
27761 {
27762 strtold(0, 0);
27763 ;
27764 return 0;
27765 }
27766 _ACEOF
27767 if ac_fn_cxx_try_compile "$LINENO"; then :
27768 glibcxx_cv_func_strtold_use=yes
27769 else
27770 glibcxx_cv_func_strtold_use=no
27771 fi
27772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27773 ac_ext=c
27774 ac_cpp='$CPP $CPPFLAGS'
27775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27778
27779
27780 fi
27781
27782 fi
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27784 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27785 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27786 for ac_func in strtold
27787 do :
27788 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27789 if test "x$ac_cv_func_strtold" = x""yes; then :
27790 cat >>confdefs.h <<_ACEOF
27791 #define HAVE_STRTOLD 1
27792 _ACEOF
27793
27794 fi
27795 done
27796
27797 fi
27798
27799
27800
27801
27802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27803 $as_echo_n "checking for strtof declaration... " >&6; }
27804 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27805 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27806 $as_echo_n "(cached) " >&6
27807 else
27808
27809
27810 ac_ext=cpp
27811 ac_cpp='$CXXCPP $CPPFLAGS'
27812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27815
27816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27817 /* end confdefs.h. */
27818 #include <stdlib.h>
27819 int
27820 main ()
27821 {
27822 strtof(0, 0);
27823 ;
27824 return 0;
27825 }
27826 _ACEOF
27827 if ac_fn_cxx_try_compile "$LINENO"; then :
27828 glibcxx_cv_func_strtof_use=yes
27829 else
27830 glibcxx_cv_func_strtof_use=no
27831 fi
27832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27833 ac_ext=c
27834 ac_cpp='$CPP $CPPFLAGS'
27835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27838
27839
27840 fi
27841
27842 fi
27843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27844 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27845 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27846 for ac_func in strtof
27847 do :
27848 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27849 if test "x$ac_cv_func_strtof" = x""yes; then :
27850 cat >>confdefs.h <<_ACEOF
27851 #define HAVE_STRTOF 1
27852 _ACEOF
27853
27854 fi
27855 done
27856
27857 fi
27858
27859
27860
27861
27862 CXXFLAGS="$ac_save_CXXFLAGS"
27863
27864
27865 # For /dev/random and /dev/urandom for TR1.
27866
27867
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27869 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27870 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27871 $as_echo_n "(cached) " >&6
27872 else
27873
27874 if test -r /dev/random && test -r /dev/urandom; then
27875 ## For MSys environment the test above is detect as false-positive
27876 ## on mingw-targets. So disable it explicit for them.
27877 case ${target_os} in
27878 *mingw*) glibcxx_cv_random_tr1=no ;;
27879 *) glibcxx_cv_random_tr1=yes ;;
27880 esac
27881 else
27882 glibcxx_cv_random_tr1=no;
27883 fi
27884
27885 fi
27886
27887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27888 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27889
27890 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27891
27892 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27893
27894 fi
27895
27896
27897
27898 # For TLS support.
27899
27900
27901 # Check whether --enable-tls was given.
27902 if test "${enable_tls+set}" = set; then :
27903 enableval=$enable_tls;
27904 case "$enableval" in
27905 yes|no) ;;
27906 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27907 esac
27908
27909 else
27910 enable_tls=yes
27911 fi
27912
27913
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27915 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27916 if test "${gcc_cv_have_tls+set}" = set; then :
27917 $as_echo_n "(cached) " >&6
27918 else
27919
27920 if test "$cross_compiling" = yes; then :
27921 if test x$gcc_no_link = xyes; then
27922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27923 fi
27924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27925 /* end confdefs.h. */
27926 __thread int a; int b; int main() { return a = b; }
27927 _ACEOF
27928 if ac_fn_c_try_link "$LINENO"; then :
27929 chktls_save_LDFLAGS="$LDFLAGS"
27930 case $host in
27931 *-*-linux*)
27932 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27933 ;;
27934 esac
27935 chktls_save_CFLAGS="$CFLAGS"
27936 CFLAGS="-fPIC $CFLAGS"
27937 if test x$gcc_no_link = xyes; then
27938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27939 fi
27940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27941 /* end confdefs.h. */
27942 int f() { return 0; }
27943 _ACEOF
27944 if ac_fn_c_try_link "$LINENO"; then :
27945 if test x$gcc_no_link = xyes; then
27946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27947 fi
27948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27949 /* end confdefs.h. */
27950 __thread int a; int b; int f() { return a = b; }
27951 _ACEOF
27952 if ac_fn_c_try_link "$LINENO"; then :
27953 gcc_cv_have_tls=yes
27954 else
27955 gcc_cv_have_tls=no
27956 fi
27957 rm -f core conftest.err conftest.$ac_objext \
27958 conftest$ac_exeext conftest.$ac_ext
27959 else
27960 gcc_cv_have_tls=yes
27961 fi
27962 rm -f core conftest.err conftest.$ac_objext \
27963 conftest$ac_exeext conftest.$ac_ext
27964 CFLAGS="$chktls_save_CFLAGS"
27965 LDFLAGS="$chktls_save_LDFLAGS"
27966 else
27967 gcc_cv_have_tls=no
27968 fi
27969 rm -f core conftest.err conftest.$ac_objext \
27970 conftest$ac_exeext conftest.$ac_ext
27971
27972
27973 else
27974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27975 /* end confdefs.h. */
27976 __thread int a; int b; int main() { return a = b; }
27977 _ACEOF
27978 if ac_fn_c_try_run "$LINENO"; then :
27979 chktls_save_LDFLAGS="$LDFLAGS"
27980 LDFLAGS="-static $LDFLAGS"
27981 if test x$gcc_no_link = xyes; then
27982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27983 fi
27984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27985 /* end confdefs.h. */
27986 int main() { return 0; }
27987 _ACEOF
27988 if ac_fn_c_try_link "$LINENO"; then :
27989 if test "$cross_compiling" = yes; then :
27990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27992 as_fn_error "cannot run test program while cross compiling
27993 See \`config.log' for more details." "$LINENO" 5; }
27994 else
27995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27996 /* end confdefs.h. */
27997 __thread int a; int b; int main() { return a = b; }
27998 _ACEOF
27999 if ac_fn_c_try_run "$LINENO"; then :
28000 gcc_cv_have_tls=yes
28001 else
28002 gcc_cv_have_tls=no
28003 fi
28004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28005 conftest.$ac_objext conftest.beam conftest.$ac_ext
28006 fi
28007
28008 else
28009 gcc_cv_have_tls=yes
28010 fi
28011 rm -f core conftest.err conftest.$ac_objext \
28012 conftest$ac_exeext conftest.$ac_ext
28013 LDFLAGS="$chktls_save_LDFLAGS"
28014 if test $gcc_cv_have_tls = yes; then
28015 chktls_save_CFLAGS="$CFLAGS"
28016 thread_CFLAGS=failed
28017 for flag in '' '-pthread' '-lpthread'; do
28018 CFLAGS="$flag $chktls_save_CFLAGS"
28019 if test x$gcc_no_link = xyes; then
28020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28021 fi
28022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28023 /* end confdefs.h. */
28024 #include <pthread.h>
28025 void *g(void *d) { return NULL; }
28026 int
28027 main ()
28028 {
28029 pthread_t t; pthread_create(&t,NULL,g,NULL);
28030 ;
28031 return 0;
28032 }
28033 _ACEOF
28034 if ac_fn_c_try_link "$LINENO"; then :
28035 thread_CFLAGS="$flag"
28036 fi
28037 rm -f core conftest.err conftest.$ac_objext \
28038 conftest$ac_exeext conftest.$ac_ext
28039 if test "X$thread_CFLAGS" != Xfailed; then
28040 break
28041 fi
28042 done
28043 CFLAGS="$chktls_save_CFLAGS"
28044 if test "X$thread_CFLAGS" != Xfailed; then
28045 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28046 if test "$cross_compiling" = yes; then :
28047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28049 as_fn_error "cannot run test program while cross compiling
28050 See \`config.log' for more details." "$LINENO" 5; }
28051 else
28052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28053 /* end confdefs.h. */
28054 #include <pthread.h>
28055 __thread int a;
28056 static int *volatile a_in_other_thread;
28057 static void *
28058 thread_func (void *arg)
28059 {
28060 a_in_other_thread = &a;
28061 return (void *)0;
28062 }
28063 int
28064 main ()
28065 {
28066 pthread_t thread;
28067 void *thread_retval;
28068 int *volatile a_in_main_thread;
28069 a_in_main_thread = &a;
28070 if (pthread_create (&thread, (pthread_attr_t *)0,
28071 thread_func, (void *)0))
28072 return 0;
28073 if (pthread_join (thread, &thread_retval))
28074 return 0;
28075 return (a_in_other_thread == a_in_main_thread);
28076 ;
28077 return 0;
28078 }
28079 _ACEOF
28080 if ac_fn_c_try_run "$LINENO"; then :
28081 gcc_cv_have_tls=yes
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 CFLAGS="$chktls_save_CFLAGS"
28090 fi
28091 fi
28092 else
28093 gcc_cv_have_tls=no
28094 fi
28095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28096 conftest.$ac_objext conftest.beam conftest.$ac_ext
28097 fi
28098
28099 fi
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28101 $as_echo "$gcc_cv_have_tls" >&6; }
28102 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28103
28104 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28105
28106 fi
28107
28108 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28109 do :
28110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28112 eval as_val=\$$as_ac_var
28113 if test "x$as_val" = x""yes; then :
28114 cat >>confdefs.h <<_ACEOF
28115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28116 _ACEOF
28117
28118 fi
28119 done
28120
28121 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28122 do :
28123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28125 eval as_val=\$$as_ac_var
28126 if test "x$as_val" = x""yes; then :
28127 cat >>confdefs.h <<_ACEOF
28128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28129 _ACEOF
28130
28131 fi
28132 done
28133
28134
28135 # For iconv support.
28136
28137 if test "X$prefix" = "XNONE"; then
28138 acl_final_prefix="$ac_default_prefix"
28139 else
28140 acl_final_prefix="$prefix"
28141 fi
28142 if test "X$exec_prefix" = "XNONE"; then
28143 acl_final_exec_prefix='${prefix}'
28144 else
28145 acl_final_exec_prefix="$exec_prefix"
28146 fi
28147 acl_save_prefix="$prefix"
28148 prefix="$acl_final_prefix"
28149 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28150 prefix="$acl_save_prefix"
28151
28152
28153 # Check whether --with-gnu-ld was given.
28154 if test "${with_gnu_ld+set}" = set; then :
28155 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28156 else
28157 with_gnu_ld=no
28158 fi
28159
28160 # Prepare PATH_SEPARATOR.
28161 # The user is always right.
28162 if test "${PATH_SEPARATOR+set}" != set; then
28163 echo "#! /bin/sh" >conf$$.sh
28164 echo "exit 0" >>conf$$.sh
28165 chmod +x conf$$.sh
28166 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28167 PATH_SEPARATOR=';'
28168 else
28169 PATH_SEPARATOR=:
28170 fi
28171 rm -f conf$$.sh
28172 fi
28173 ac_prog=ld
28174 if test "$GCC" = yes; then
28175 # Check if gcc -print-prog-name=ld gives a path.
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28177 $as_echo_n "checking for ld used by GCC... " >&6; }
28178 case $host in
28179 *-*-mingw*)
28180 # gcc leaves a trailing carriage return which upsets mingw
28181 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28182 *)
28183 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28184 esac
28185 case $ac_prog in
28186 # Accept absolute paths.
28187 [\\/]* | [A-Za-z]:[\\/]*)
28188 re_direlt='/[^/][^/]*/\.\./'
28189 # Canonicalize the path of ld
28190 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28191 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28192 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28193 done
28194 test -z "$LD" && LD="$ac_prog"
28195 ;;
28196 "")
28197 # If it fails, then pretend we aren't using GCC.
28198 ac_prog=ld
28199 ;;
28200 *)
28201 # If it is relative, then search for the first ld in PATH.
28202 with_gnu_ld=unknown
28203 ;;
28204 esac
28205 elif test "$with_gnu_ld" = yes; then
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28207 $as_echo_n "checking for GNU ld... " >&6; }
28208 else
28209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28210 $as_echo_n "checking for non-GNU ld... " >&6; }
28211 fi
28212 if test "${acl_cv_path_LD+set}" = set; then :
28213 $as_echo_n "(cached) " >&6
28214 else
28215 if test -z "$LD"; then
28216 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28217 for ac_dir in $PATH; do
28218 test -z "$ac_dir" && ac_dir=.
28219 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28220 acl_cv_path_LD="$ac_dir/$ac_prog"
28221 # Check to see if the program is GNU ld. I'd rather use --version,
28222 # but apparently some GNU ld's only accept -v.
28223 # Break only if it was the GNU/non-GNU ld that we prefer.
28224 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28225 test "$with_gnu_ld" != no && break
28226 else
28227 test "$with_gnu_ld" != yes && break
28228 fi
28229 fi
28230 done
28231 IFS="$ac_save_ifs"
28232 else
28233 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28234 fi
28235 fi
28236
28237 LD="$acl_cv_path_LD"
28238 if test -n "$LD"; then
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28240 $as_echo "$LD" >&6; }
28241 else
28242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28243 $as_echo "no" >&6; }
28244 fi
28245 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28247 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28248 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28249 $as_echo_n "(cached) " >&6
28250 else
28251 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28252 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28253 acl_cv_prog_gnu_ld=yes
28254 else
28255 acl_cv_prog_gnu_ld=no
28256 fi
28257 fi
28258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28259 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28260 with_gnu_ld=$acl_cv_prog_gnu_ld
28261
28262
28263
28264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28265 $as_echo_n "checking for shared library run path origin... " >&6; }
28266 if test "${acl_cv_rpath+set}" = set; then :
28267 $as_echo_n "(cached) " >&6
28268 else
28269
28270 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28271 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28272 . ./conftest.sh
28273 rm -f ./conftest.sh
28274 acl_cv_rpath=done
28275
28276 fi
28277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28278 $as_echo "$acl_cv_rpath" >&6; }
28279 wl="$acl_cv_wl"
28280 libext="$acl_cv_libext"
28281 shlibext="$acl_cv_shlibext"
28282 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28283 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28284 hardcode_direct="$acl_cv_hardcode_direct"
28285 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28286 # Check whether --enable-rpath was given.
28287 if test "${enable_rpath+set}" = set; then :
28288 enableval=$enable_rpath; :
28289 else
28290 enable_rpath=yes
28291 fi
28292
28293
28294
28295
28296
28297
28298
28299
28300 use_additional=yes
28301
28302 acl_save_prefix="$prefix"
28303 prefix="$acl_final_prefix"
28304 acl_save_exec_prefix="$exec_prefix"
28305 exec_prefix="$acl_final_exec_prefix"
28306
28307 eval additional_includedir=\"$includedir\"
28308 eval additional_libdir=\"$libdir\"
28309
28310 exec_prefix="$acl_save_exec_prefix"
28311 prefix="$acl_save_prefix"
28312
28313
28314 # Check whether --with-libiconv-prefix was given.
28315 if test "${with_libiconv_prefix+set}" = set; then :
28316 withval=$with_libiconv_prefix;
28317 if test "X$withval" = "Xno"; then
28318 use_additional=no
28319 else
28320 if test "X$withval" = "X"; then
28321
28322 acl_save_prefix="$prefix"
28323 prefix="$acl_final_prefix"
28324 acl_save_exec_prefix="$exec_prefix"
28325 exec_prefix="$acl_final_exec_prefix"
28326
28327 eval additional_includedir=\"$includedir\"
28328 eval additional_libdir=\"$libdir\"
28329
28330 exec_prefix="$acl_save_exec_prefix"
28331 prefix="$acl_save_prefix"
28332
28333 else
28334 additional_includedir="$withval/include"
28335 additional_libdir="$withval/lib"
28336 fi
28337 fi
28338
28339 fi
28340
28341 LIBICONV=
28342 LTLIBICONV=
28343 INCICONV=
28344 rpathdirs=
28345 ltrpathdirs=
28346 names_already_handled=
28347 names_next_round='iconv '
28348 while test -n "$names_next_round"; do
28349 names_this_round="$names_next_round"
28350 names_next_round=
28351 for name in $names_this_round; do
28352 already_handled=
28353 for n in $names_already_handled; do
28354 if test "$n" = "$name"; then
28355 already_handled=yes
28356 break
28357 fi
28358 done
28359 if test -z "$already_handled"; then
28360 names_already_handled="$names_already_handled $name"
28361 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28362 eval value=\"\$HAVE_LIB$uppername\"
28363 if test -n "$value"; then
28364 if test "$value" = yes; then
28365 eval value=\"\$LIB$uppername\"
28366 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28367 eval value=\"\$LTLIB$uppername\"
28368 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28369 else
28370 :
28371 fi
28372 else
28373 found_dir=
28374 found_la=
28375 found_so=
28376 found_a=
28377 if test $use_additional = yes; then
28378 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28379 found_dir="$additional_libdir"
28380 found_so="$additional_libdir/lib$name.$shlibext"
28381 if test -f "$additional_libdir/lib$name.la"; then
28382 found_la="$additional_libdir/lib$name.la"
28383 fi
28384 else
28385 if test -f "$additional_libdir/lib$name.$libext"; then
28386 found_dir="$additional_libdir"
28387 found_a="$additional_libdir/lib$name.$libext"
28388 if test -f "$additional_libdir/lib$name.la"; then
28389 found_la="$additional_libdir/lib$name.la"
28390 fi
28391 fi
28392 fi
28393 fi
28394 if test "X$found_dir" = "X"; then
28395 for x in $LDFLAGS $LTLIBICONV; do
28396
28397 acl_save_prefix="$prefix"
28398 prefix="$acl_final_prefix"
28399 acl_save_exec_prefix="$exec_prefix"
28400 exec_prefix="$acl_final_exec_prefix"
28401 eval x=\"$x\"
28402 exec_prefix="$acl_save_exec_prefix"
28403 prefix="$acl_save_prefix"
28404
28405 case "$x" in
28406 -L*)
28407 dir=`echo "X$x" | sed -e 's/^X-L//'`
28408 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28409 found_dir="$dir"
28410 found_so="$dir/lib$name.$shlibext"
28411 if test -f "$dir/lib$name.la"; then
28412 found_la="$dir/lib$name.la"
28413 fi
28414 else
28415 if test -f "$dir/lib$name.$libext"; then
28416 found_dir="$dir"
28417 found_a="$dir/lib$name.$libext"
28418 if test -f "$dir/lib$name.la"; then
28419 found_la="$dir/lib$name.la"
28420 fi
28421 fi
28422 fi
28423 ;;
28424 esac
28425 if test "X$found_dir" != "X"; then
28426 break
28427 fi
28428 done
28429 fi
28430 if test "X$found_dir" != "X"; then
28431 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28432 if test "X$found_so" != "X"; then
28433 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28434 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28435 else
28436 haveit=
28437 for x in $ltrpathdirs; do
28438 if test "X$x" = "X$found_dir"; then
28439 haveit=yes
28440 break
28441 fi
28442 done
28443 if test -z "$haveit"; then
28444 ltrpathdirs="$ltrpathdirs $found_dir"
28445 fi
28446 if test "$hardcode_direct" = yes; then
28447 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28448 else
28449 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28450 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28451 haveit=
28452 for x in $rpathdirs; do
28453 if test "X$x" = "X$found_dir"; then
28454 haveit=yes
28455 break
28456 fi
28457 done
28458 if test -z "$haveit"; then
28459 rpathdirs="$rpathdirs $found_dir"
28460 fi
28461 else
28462 haveit=
28463 for x in $LDFLAGS $LIBICONV; do
28464
28465 acl_save_prefix="$prefix"
28466 prefix="$acl_final_prefix"
28467 acl_save_exec_prefix="$exec_prefix"
28468 exec_prefix="$acl_final_exec_prefix"
28469 eval x=\"$x\"
28470 exec_prefix="$acl_save_exec_prefix"
28471 prefix="$acl_save_prefix"
28472
28473 if test "X$x" = "X-L$found_dir"; then
28474 haveit=yes
28475 break
28476 fi
28477 done
28478 if test -z "$haveit"; then
28479 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28480 fi
28481 if test "$hardcode_minus_L" != no; then
28482 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28483 else
28484 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28485 fi
28486 fi
28487 fi
28488 fi
28489 else
28490 if test "X$found_a" != "X"; then
28491 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28492 else
28493 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28494 fi
28495 fi
28496 additional_includedir=
28497 case "$found_dir" in
28498 */lib | */lib/)
28499 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28500 additional_includedir="$basedir/include"
28501 ;;
28502 esac
28503 if test "X$additional_includedir" != "X"; then
28504 if test "X$additional_includedir" != "X/usr/include"; then
28505 haveit=
28506 if test "X$additional_includedir" = "X/usr/local/include"; then
28507 if test -n "$GCC"; then
28508 case $host_os in
28509 linux*) haveit=yes;;
28510 esac
28511 fi
28512 fi
28513 if test -z "$haveit"; then
28514 for x in $CPPFLAGS $INCICONV; do
28515
28516 acl_save_prefix="$prefix"
28517 prefix="$acl_final_prefix"
28518 acl_save_exec_prefix="$exec_prefix"
28519 exec_prefix="$acl_final_exec_prefix"
28520 eval x=\"$x\"
28521 exec_prefix="$acl_save_exec_prefix"
28522 prefix="$acl_save_prefix"
28523
28524 if test "X$x" = "X-I$additional_includedir"; then
28525 haveit=yes
28526 break
28527 fi
28528 done
28529 if test -z "$haveit"; then
28530 if test -d "$additional_includedir"; then
28531 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28532 fi
28533 fi
28534 fi
28535 fi
28536 fi
28537 if test -n "$found_la"; then
28538 save_libdir="$libdir"
28539 case "$found_la" in
28540 */* | *\\*) . "$found_la" ;;
28541 *) . "./$found_la" ;;
28542 esac
28543 libdir="$save_libdir"
28544 for dep in $dependency_libs; do
28545 case "$dep" in
28546 -L*)
28547 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28548 if test "X$additional_libdir" != "X/usr/lib"; then
28549 haveit=
28550 if test "X$additional_libdir" = "X/usr/local/lib"; then
28551 if test -n "$GCC"; then
28552 case $host_os in
28553 linux*) haveit=yes;;
28554 esac
28555 fi
28556 fi
28557 if test -z "$haveit"; then
28558 haveit=
28559 for x in $LDFLAGS $LIBICONV; do
28560
28561 acl_save_prefix="$prefix"
28562 prefix="$acl_final_prefix"
28563 acl_save_exec_prefix="$exec_prefix"
28564 exec_prefix="$acl_final_exec_prefix"
28565 eval x=\"$x\"
28566 exec_prefix="$acl_save_exec_prefix"
28567 prefix="$acl_save_prefix"
28568
28569 if test "X$x" = "X-L$additional_libdir"; then
28570 haveit=yes
28571 break
28572 fi
28573 done
28574 if test -z "$haveit"; then
28575 if test -d "$additional_libdir"; then
28576 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28577 fi
28578 fi
28579 haveit=
28580 for x in $LDFLAGS $LTLIBICONV; do
28581
28582 acl_save_prefix="$prefix"
28583 prefix="$acl_final_prefix"
28584 acl_save_exec_prefix="$exec_prefix"
28585 exec_prefix="$acl_final_exec_prefix"
28586 eval x=\"$x\"
28587 exec_prefix="$acl_save_exec_prefix"
28588 prefix="$acl_save_prefix"
28589
28590 if test "X$x" = "X-L$additional_libdir"; then
28591 haveit=yes
28592 break
28593 fi
28594 done
28595 if test -z "$haveit"; then
28596 if test -d "$additional_libdir"; then
28597 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28598 fi
28599 fi
28600 fi
28601 fi
28602 ;;
28603 -R*)
28604 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28605 if test "$enable_rpath" != no; then
28606 haveit=
28607 for x in $rpathdirs; do
28608 if test "X$x" = "X$dir"; then
28609 haveit=yes
28610 break
28611 fi
28612 done
28613 if test -z "$haveit"; then
28614 rpathdirs="$rpathdirs $dir"
28615 fi
28616 haveit=
28617 for x in $ltrpathdirs; do
28618 if test "X$x" = "X$dir"; then
28619 haveit=yes
28620 break
28621 fi
28622 done
28623 if test -z "$haveit"; then
28624 ltrpathdirs="$ltrpathdirs $dir"
28625 fi
28626 fi
28627 ;;
28628 -l*)
28629 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28630 ;;
28631 *.la)
28632 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28633 ;;
28634 *)
28635 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28636 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28637 ;;
28638 esac
28639 done
28640 fi
28641 else
28642 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28643 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28644 fi
28645 fi
28646 fi
28647 done
28648 done
28649 if test "X$rpathdirs" != "X"; then
28650 if test -n "$hardcode_libdir_separator"; then
28651 alldirs=
28652 for found_dir in $rpathdirs; do
28653 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28654 done
28655 acl_save_libdir="$libdir"
28656 libdir="$alldirs"
28657 eval flag=\"$hardcode_libdir_flag_spec\"
28658 libdir="$acl_save_libdir"
28659 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28660 else
28661 for found_dir in $rpathdirs; do
28662 acl_save_libdir="$libdir"
28663 libdir="$found_dir"
28664 eval flag=\"$hardcode_libdir_flag_spec\"
28665 libdir="$acl_save_libdir"
28666 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28667 done
28668 fi
28669 fi
28670 if test "X$ltrpathdirs" != "X"; then
28671 for found_dir in $ltrpathdirs; do
28672 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28673 done
28674 fi
28675
28676
28677
28678
28679
28680
28681
28682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28683 $as_echo_n "checking for iconv... " >&6; }
28684 if test "${am_cv_func_iconv+set}" = set; then :
28685 $as_echo_n "(cached) " >&6
28686 else
28687
28688 am_cv_func_iconv="no, consider installing GNU libiconv"
28689 am_cv_lib_iconv=no
28690 am_save_CPPFLAGS="$CPPFLAGS"
28691 CPPFLAGS="$CPPFLAGS $INCICONV"
28692 if test x$gcc_no_link = xyes; then
28693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28694 fi
28695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28696 /* end confdefs.h. */
28697 #include <stdlib.h>
28698 #include <iconv.h>
28699 int
28700 main ()
28701 {
28702 iconv_t cd = iconv_open("","");
28703 iconv(cd,NULL,NULL,NULL,NULL);
28704 iconv_close(cd);
28705 ;
28706 return 0;
28707 }
28708 _ACEOF
28709 if ac_fn_c_try_link "$LINENO"; then :
28710 am_cv_func_iconv=yes
28711 fi
28712 rm -f core conftest.err conftest.$ac_objext \
28713 conftest$ac_exeext conftest.$ac_ext
28714 CPPFLAGS="$am_save_CPPFLAGS"
28715
28716 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28717 for _libs in .libs _libs; do
28718 am_save_CPPFLAGS="$CPPFLAGS"
28719 am_save_LIBS="$LIBS"
28720 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28721 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28722 if test x$gcc_no_link = xyes; then
28723 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28724 fi
28725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28726 /* end confdefs.h. */
28727 #include <stdlib.h>
28728 #include <iconv.h>
28729 int
28730 main ()
28731 {
28732 iconv_t cd = iconv_open("","");
28733 iconv(cd,NULL,NULL,NULL,NULL);
28734 iconv_close(cd);
28735 ;
28736 return 0;
28737 }
28738 _ACEOF
28739 if ac_fn_c_try_link "$LINENO"; then :
28740 INCICONV="-I../libiconv/include"
28741 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28742 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28743 am_cv_lib_iconv=yes
28744 am_cv_func_iconv=yes
28745 fi
28746 rm -f core conftest.err conftest.$ac_objext \
28747 conftest$ac_exeext conftest.$ac_ext
28748 CPPFLAGS="$am_save_CPPFLAGS"
28749 LIBS="$am_save_LIBS"
28750 if test "$am_cv_func_iconv" = "yes"; then
28751 break
28752 fi
28753 done
28754 fi
28755
28756 if test "$am_cv_func_iconv" != yes; then
28757 am_save_CPPFLAGS="$CPPFLAGS"
28758 am_save_LIBS="$LIBS"
28759 CPPFLAGS="$LIBS $INCICONV"
28760 LIBS="$LIBS $LIBICONV"
28761 if test x$gcc_no_link = xyes; then
28762 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28763 fi
28764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28765 /* end confdefs.h. */
28766 #include <stdlib.h>
28767 #include <iconv.h>
28768 int
28769 main ()
28770 {
28771 iconv_t cd = iconv_open("","");
28772 iconv(cd,NULL,NULL,NULL,NULL);
28773 iconv_close(cd);
28774 ;
28775 return 0;
28776 }
28777 _ACEOF
28778 if ac_fn_c_try_link "$LINENO"; then :
28779 am_cv_lib_iconv=yes
28780 am_cv_func_iconv=yes
28781 fi
28782 rm -f core conftest.err conftest.$ac_objext \
28783 conftest$ac_exeext conftest.$ac_ext
28784 CPPFLAGS="$am_save_CPPFLAGS"
28785 LIBS="$am_save_LIBS"
28786 fi
28787
28788 fi
28789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28790 $as_echo "$am_cv_func_iconv" >&6; }
28791 if test "$am_cv_func_iconv" = yes; then
28792
28793 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28794
28795 fi
28796 if test "$am_cv_lib_iconv" = yes; then
28797
28798 for element in $INCICONV; do
28799 haveit=
28800 for x in $CPPFLAGS; do
28801
28802 acl_save_prefix="$prefix"
28803 prefix="$acl_final_prefix"
28804 acl_save_exec_prefix="$exec_prefix"
28805 exec_prefix="$acl_final_exec_prefix"
28806 eval x=\"$x\"
28807 exec_prefix="$acl_save_exec_prefix"
28808 prefix="$acl_save_prefix"
28809
28810 if test "X$x" = "X$element"; then
28811 haveit=yes
28812 break
28813 fi
28814 done
28815 if test -z "$haveit"; then
28816 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28817 fi
28818 done
28819
28820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28821 $as_echo_n "checking how to link with libiconv... " >&6; }
28822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28823 $as_echo "$LIBICONV" >&6; }
28824 else
28825 LIBICONV=
28826 LTLIBICONV=
28827 fi
28828
28829
28830
28831 if test "$am_cv_func_iconv" = yes; then
28832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28833 $as_echo_n "checking for iconv declaration... " >&6; }
28834 if test "${am_cv_proto_iconv+set}" = set; then :
28835 $as_echo_n "(cached) " >&6
28836 else
28837
28838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28839 /* end confdefs.h. */
28840
28841 #include <stdlib.h>
28842 #include <iconv.h>
28843 extern
28844 #ifdef __cplusplus
28845 "C"
28846 #endif
28847 #if defined(__STDC__) || defined(__cplusplus)
28848 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28849 #else
28850 size_t iconv();
28851 #endif
28852
28853 int
28854 main ()
28855 {
28856
28857 ;
28858 return 0;
28859 }
28860 _ACEOF
28861 if ac_fn_c_try_compile "$LINENO"; then :
28862 am_cv_proto_iconv_arg1=""
28863 else
28864 am_cv_proto_iconv_arg1="const"
28865 fi
28866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28867 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);"
28868 fi
28869
28870 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28872 }$am_cv_proto_iconv" >&5
28873 $as_echo "${ac_t:-
28874 }$am_cv_proto_iconv" >&6; }
28875
28876 cat >>confdefs.h <<_ACEOF
28877 #define ICONV_CONST $am_cv_proto_iconv_arg1
28878 _ACEOF
28879
28880 fi
28881
28882
28883 else
28884
28885 # This lets us hard-code the functionality we know we'll have in the cross
28886 # target environment. "Let" is a sugar-coated word placed on an especially
28887 # dull and tedious hack, actually.
28888 #
28889 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28890 # that involve linking, can't be used:
28891 # "cannot open sim-crt0.o"
28892 # "cannot open crt0.o"
28893 # etc. All this is because there currently exists no unified, consistent
28894 # way for top level CC information to be passed down to target directories:
28895 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28896 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28897 # crosses can be removed.
28898
28899 # If Canadian cross, then don't pick up tools from the build directory.
28900 # Used only in GLIBCXX_EXPORT_INCLUDES.
28901 if test -n "$with_cross_host" &&
28902 test x"$build_alias" != x"$with_cross_host" &&
28903 test x"$build" != x"$target";
28904 then
28905 CANADIAN=yes
28906 else
28907 CANADIAN=no
28908 fi
28909
28910 # Construct crosses by hand, eliminating bits that need ld...
28911 # GLIBCXX_CHECK_MATH_SUPPORT
28912
28913 # First, test for "known" system libraries. We may be using newlib even
28914 # on a hosted environment.
28915 if test "x${with_newlib}" = "xyes"; then
28916 os_include_dir="os/newlib"
28917 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28918
28919
28920 # GLIBCXX_CHECK_STDLIB_SUPPORT
28921 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28922
28923
28924 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28925
28926 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28927
28928 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28929
28930 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28931
28932 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28933
28934 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28935
28936 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28937
28938 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28939
28940 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28941
28942 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28943
28944 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28945
28946 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28947
28948 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28949
28950 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28951
28952 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28953
28954 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28955
28956 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28957
28958 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28959
28960 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28961
28962 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28963
28964 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28965
28966 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28967
28968
28969 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28970
28971 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28972
28973 else
28974
28975 # Base decisions on target environment.
28976 case "${host}" in
28977 arm*-*-symbianelf*)
28978 # This is a freestanding configuration; there is nothing to do here.
28979 ;;
28980
28981 avr*-*-*)
28982 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28983
28984 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28985
28986 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28987
28988 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28989
28990 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28991
28992 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28993
28994 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28995
28996 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28997
28998 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28999
29000 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29001
29002 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29003
29004 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29005
29006 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29007
29008 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29009
29010 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29011
29012 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29013
29014 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29015
29016 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29017
29018 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29019
29020 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29021
29022 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29023
29024 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29025
29026 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29027
29028 ;;
29029
29030 mips*-sde-elf*)
29031 # These definitions are for the SDE C library rather than newlib.
29032 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29033
29034
29035 # All these tests are for C++; save the language and the compiler flags.
29036 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29037 # found in GLIBCXX_CONFIGURE.
29038
29039 ac_ext=cpp
29040 ac_cpp='$CXXCPP $CPPFLAGS'
29041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29044
29045 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29046 ac_save_CXXFLAGS="$CXXFLAGS"
29047
29048 # Check for maintainer-mode bits.
29049 if test x"$USE_MAINTAINER_MODE" = xno; then
29050 WERROR=''
29051 else
29052 WERROR='-Werror'
29053 fi
29054
29055 # Check for -ffunction-sections -fdata-sections
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29057 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29058 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29060 /* end confdefs.h. */
29061 int foo; void bar() { };
29062 int
29063 main ()
29064 {
29065
29066 ;
29067 return 0;
29068 }
29069 _ACEOF
29070 if ac_fn_cxx_try_compile "$LINENO"; then :
29071 ac_fdsections=yes
29072 else
29073 ac_fdsections=no
29074 fi
29075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29076 if test "$ac_test_CXXFLAGS" = set; then
29077 CXXFLAGS="$ac_save_CXXFLAGS"
29078 else
29079 # this is the suspicious part
29080 CXXFLAGS=''
29081 fi
29082 if test x"$ac_fdsections" = x"yes"; then
29083 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29084 fi
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29086 $as_echo "$ac_fdsections" >&6; }
29087
29088 ac_ext=c
29089 ac_cpp='$CPP $CPPFLAGS'
29090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29093
29094
29095
29096
29097
29098 # If we're not using GNU ld, then there's no point in even trying these
29099 # tests. Check for that first. We should have already tested for gld
29100 # by now (in libtool), but require it now just to be safe...
29101 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29102 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29103
29104
29105
29106 # The name set by libtool depends on the version of libtool. Shame on us
29107 # for depending on an impl detail, but c'est la vie. Older versions used
29108 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29109 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29110 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29111 # set (hence we're using an older libtool), then set it.
29112 if test x${with_gnu_ld+set} != xset; then
29113 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29114 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29115 with_gnu_ld=no
29116 else
29117 with_gnu_ld=$ac_cv_prog_gnu_ld
29118 fi
29119 fi
29120
29121 # Start by getting the version number. I think the libtool test already
29122 # does some of this, but throws away the result.
29123 glibcxx_ld_is_gold=no
29124 if test x"$with_gnu_ld" = x"yes"; then
29125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29126 $as_echo_n "checking for ld version... " >&6; }
29127
29128 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29129 glibcxx_ld_is_gold=yes
29130 fi
29131 ldver=`$LD --version 2>/dev/null |
29132 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'`
29133
29134 glibcxx_gnu_ld_version=`echo $ldver | \
29135 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29137 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29138 fi
29139
29140 # Set --gc-sections.
29141 glibcxx_have_gc_sections=no
29142 if test "$glibcxx_ld_is_gold" = "yes"; then
29143 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29144 glibcxx_have_gc_sections=yes
29145 fi
29146 else
29147 glibcxx_gcsections_min_ld=21602
29148 if test x"$with_gnu_ld" = x"yes" &&
29149 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29150 glibcxx_have_gc_sections=yes
29151 fi
29152 fi
29153 if test "$glibcxx_have_gc_sections" = "yes"; then
29154 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29155 # NB: This flag only works reliably after 2.16.1. Configure tests
29156 # for this are difficult, so hard wire a value that should work.
29157
29158 ac_test_CFLAGS="${CFLAGS+set}"
29159 ac_save_CFLAGS="$CFLAGS"
29160 CFLAGS='-Wl,--gc-sections'
29161
29162 # Check for -Wl,--gc-sections
29163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29164 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29165 if test x$gcc_no_link = xyes; then
29166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29167 fi
29168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29169 /* end confdefs.h. */
29170 int one(void) { return 1; }
29171 int two(void) { return 2; }
29172
29173 int
29174 main ()
29175 {
29176 two();
29177 ;
29178 return 0;
29179 }
29180 _ACEOF
29181 if ac_fn_c_try_link "$LINENO"; then :
29182 ac_gcsections=yes
29183 else
29184 ac_gcsections=no
29185 fi
29186 rm -f core conftest.err conftest.$ac_objext \
29187 conftest$ac_exeext conftest.$ac_ext
29188 if test "$ac_gcsections" = "yes"; then
29189 rm -f conftest.c
29190 touch conftest.c
29191 if $CC -c conftest.c; then
29192 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29193 grep "Warning: gc-sections option ignored" > /dev/null; then
29194 ac_gcsections=no
29195 fi
29196 fi
29197 rm -f conftest.c conftest.o conftest
29198 fi
29199 if test "$ac_gcsections" = "yes"; then
29200 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29201 fi
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29203 $as_echo "$ac_gcsections" >&6; }
29204
29205 if test "$ac_test_CFLAGS" = set; then
29206 CFLAGS="$ac_save_CFLAGS"
29207 else
29208 # this is the suspicious part
29209 CFLAGS=''
29210 fi
29211 fi
29212
29213 # Set -z,relro.
29214 # Note this is only for shared objects.
29215 ac_ld_relro=no
29216 if test x"$with_gnu_ld" = x"yes"; then
29217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29218 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29219 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29220 if test -n "$cxx_z_relo"; then
29221 OPT_LDFLAGS="-Wl,-z,relro"
29222 ac_ld_relro=yes
29223 fi
29224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29225 $as_echo "$ac_ld_relro" >&6; }
29226 fi
29227
29228 # Set linker optimization flags.
29229 if test x"$with_gnu_ld" = x"yes"; then
29230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29231 fi
29232
29233
29234
29235
29236
29237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29238 ac_save_CXXFLAGS="$CXXFLAGS"
29239 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29240
29241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29242 $as_echo_n "checking for sin in -lm... " >&6; }
29243 if test "${ac_cv_lib_m_sin+set}" = set; then :
29244 $as_echo_n "(cached) " >&6
29245 else
29246 ac_check_lib_save_LIBS=$LIBS
29247 LIBS="-lm $LIBS"
29248 if test x$gcc_no_link = xyes; then
29249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29250 fi
29251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29252 /* end confdefs.h. */
29253
29254 /* Override any GCC internal prototype to avoid an error.
29255 Use char because int might match the return type of a GCC
29256 builtin and then its argument prototype would still apply. */
29257 #ifdef __cplusplus
29258 extern "C"
29259 #endif
29260 char sin ();
29261 int
29262 main ()
29263 {
29264 return sin ();
29265 ;
29266 return 0;
29267 }
29268 _ACEOF
29269 if ac_fn_c_try_link "$LINENO"; then :
29270 ac_cv_lib_m_sin=yes
29271 else
29272 ac_cv_lib_m_sin=no
29273 fi
29274 rm -f core conftest.err conftest.$ac_objext \
29275 conftest$ac_exeext conftest.$ac_ext
29276 LIBS=$ac_check_lib_save_LIBS
29277 fi
29278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29279 $as_echo "$ac_cv_lib_m_sin" >&6; }
29280 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29281 libm="-lm"
29282 fi
29283
29284 ac_save_LIBS="$LIBS"
29285 LIBS="$LIBS $libm"
29286
29287
29288
29289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29290 $as_echo_n "checking for isinf declaration... " >&6; }
29291 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29292 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29293 $as_echo_n "(cached) " >&6
29294 else
29295
29296
29297 ac_ext=cpp
29298 ac_cpp='$CXXCPP $CPPFLAGS'
29299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29302
29303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29304 /* end confdefs.h. */
29305 #include <math.h>
29306 #ifdef HAVE_IEEEFP_H
29307 #include <ieeefp.h>
29308 #endif
29309
29310 int
29311 main ()
29312 {
29313 isinf(0);
29314 ;
29315 return 0;
29316 }
29317 _ACEOF
29318 if ac_fn_cxx_try_compile "$LINENO"; then :
29319 glibcxx_cv_func_isinf_use=yes
29320 else
29321 glibcxx_cv_func_isinf_use=no
29322 fi
29323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29324 ac_ext=c
29325 ac_cpp='$CPP $CPPFLAGS'
29326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29329
29330
29331 fi
29332
29333 fi
29334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29335 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29336
29337 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29338 for ac_func in isinf
29339 do :
29340 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29341 if test "x$ac_cv_func_isinf" = x""yes; then :
29342 cat >>confdefs.h <<_ACEOF
29343 #define HAVE_ISINF 1
29344 _ACEOF
29345
29346 fi
29347 done
29348
29349 else
29350
29351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29352 $as_echo_n "checking for _isinf declaration... " >&6; }
29353 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29354 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29355 $as_echo_n "(cached) " >&6
29356 else
29357
29358
29359 ac_ext=cpp
29360 ac_cpp='$CXXCPP $CPPFLAGS'
29361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29364
29365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29366 /* end confdefs.h. */
29367 #include <math.h>
29368 #ifdef HAVE_IEEEFP_H
29369 #include <ieeefp.h>
29370 #endif
29371
29372 int
29373 main ()
29374 {
29375 _isinf(0);
29376 ;
29377 return 0;
29378 }
29379 _ACEOF
29380 if ac_fn_cxx_try_compile "$LINENO"; then :
29381 glibcxx_cv_func__isinf_use=yes
29382 else
29383 glibcxx_cv_func__isinf_use=no
29384 fi
29385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29386 ac_ext=c
29387 ac_cpp='$CPP $CPPFLAGS'
29388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29391
29392
29393 fi
29394
29395 fi
29396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29397 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29398
29399 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29400 for ac_func in _isinf
29401 do :
29402 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29403 if test "x$ac_cv_func__isinf" = x""yes; then :
29404 cat >>confdefs.h <<_ACEOF
29405 #define HAVE__ISINF 1
29406 _ACEOF
29407
29408 fi
29409 done
29410
29411 fi
29412 fi
29413
29414
29415
29416
29417
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29419 $as_echo_n "checking for isnan declaration... " >&6; }
29420 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29421 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29422 $as_echo_n "(cached) " >&6
29423 else
29424
29425
29426 ac_ext=cpp
29427 ac_cpp='$CXXCPP $CPPFLAGS'
29428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29431
29432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29433 /* end confdefs.h. */
29434 #include <math.h>
29435 #ifdef HAVE_IEEEFP_H
29436 #include <ieeefp.h>
29437 #endif
29438
29439 int
29440 main ()
29441 {
29442 isnan(0);
29443 ;
29444 return 0;
29445 }
29446 _ACEOF
29447 if ac_fn_cxx_try_compile "$LINENO"; then :
29448 glibcxx_cv_func_isnan_use=yes
29449 else
29450 glibcxx_cv_func_isnan_use=no
29451 fi
29452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453 ac_ext=c
29454 ac_cpp='$CPP $CPPFLAGS'
29455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29458
29459
29460 fi
29461
29462 fi
29463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29464 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29465
29466 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29467 for ac_func in isnan
29468 do :
29469 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29470 if test "x$ac_cv_func_isnan" = x""yes; then :
29471 cat >>confdefs.h <<_ACEOF
29472 #define HAVE_ISNAN 1
29473 _ACEOF
29474
29475 fi
29476 done
29477
29478 else
29479
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29481 $as_echo_n "checking for _isnan declaration... " >&6; }
29482 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29483 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29484 $as_echo_n "(cached) " >&6
29485 else
29486
29487
29488 ac_ext=cpp
29489 ac_cpp='$CXXCPP $CPPFLAGS'
29490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29493
29494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29495 /* end confdefs.h. */
29496 #include <math.h>
29497 #ifdef HAVE_IEEEFP_H
29498 #include <ieeefp.h>
29499 #endif
29500
29501 int
29502 main ()
29503 {
29504 _isnan(0);
29505 ;
29506 return 0;
29507 }
29508 _ACEOF
29509 if ac_fn_cxx_try_compile "$LINENO"; then :
29510 glibcxx_cv_func__isnan_use=yes
29511 else
29512 glibcxx_cv_func__isnan_use=no
29513 fi
29514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29515 ac_ext=c
29516 ac_cpp='$CPP $CPPFLAGS'
29517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29520
29521
29522 fi
29523
29524 fi
29525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29526 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29527
29528 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29529 for ac_func in _isnan
29530 do :
29531 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29532 if test "x$ac_cv_func__isnan" = x""yes; then :
29533 cat >>confdefs.h <<_ACEOF
29534 #define HAVE__ISNAN 1
29535 _ACEOF
29536
29537 fi
29538 done
29539
29540 fi
29541 fi
29542
29543
29544
29545
29546
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29548 $as_echo_n "checking for finite declaration... " >&6; }
29549 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29550 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29551 $as_echo_n "(cached) " >&6
29552 else
29553
29554
29555 ac_ext=cpp
29556 ac_cpp='$CXXCPP $CPPFLAGS'
29557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29560
29561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29562 /* end confdefs.h. */
29563 #include <math.h>
29564 #ifdef HAVE_IEEEFP_H
29565 #include <ieeefp.h>
29566 #endif
29567
29568 int
29569 main ()
29570 {
29571 finite(0);
29572 ;
29573 return 0;
29574 }
29575 _ACEOF
29576 if ac_fn_cxx_try_compile "$LINENO"; then :
29577 glibcxx_cv_func_finite_use=yes
29578 else
29579 glibcxx_cv_func_finite_use=no
29580 fi
29581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29582 ac_ext=c
29583 ac_cpp='$CPP $CPPFLAGS'
29584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29587
29588
29589 fi
29590
29591 fi
29592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29593 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29594
29595 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29596 for ac_func in finite
29597 do :
29598 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29599 if test "x$ac_cv_func_finite" = x""yes; then :
29600 cat >>confdefs.h <<_ACEOF
29601 #define HAVE_FINITE 1
29602 _ACEOF
29603
29604 fi
29605 done
29606
29607 else
29608
29609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29610 $as_echo_n "checking for _finite declaration... " >&6; }
29611 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29612 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29613 $as_echo_n "(cached) " >&6
29614 else
29615
29616
29617 ac_ext=cpp
29618 ac_cpp='$CXXCPP $CPPFLAGS'
29619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29622
29623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29624 /* end confdefs.h. */
29625 #include <math.h>
29626 #ifdef HAVE_IEEEFP_H
29627 #include <ieeefp.h>
29628 #endif
29629
29630 int
29631 main ()
29632 {
29633 _finite(0);
29634 ;
29635 return 0;
29636 }
29637 _ACEOF
29638 if ac_fn_cxx_try_compile "$LINENO"; then :
29639 glibcxx_cv_func__finite_use=yes
29640 else
29641 glibcxx_cv_func__finite_use=no
29642 fi
29643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29644 ac_ext=c
29645 ac_cpp='$CPP $CPPFLAGS'
29646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29649
29650
29651 fi
29652
29653 fi
29654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29655 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29656
29657 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29658 for ac_func in _finite
29659 do :
29660 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29661 if test "x$ac_cv_func__finite" = x""yes; then :
29662 cat >>confdefs.h <<_ACEOF
29663 #define HAVE__FINITE 1
29664 _ACEOF
29665
29666 fi
29667 done
29668
29669 fi
29670 fi
29671
29672
29673
29674
29675
29676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29677 $as_echo_n "checking for sincos declaration... " >&6; }
29678 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29679 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29680 $as_echo_n "(cached) " >&6
29681 else
29682
29683
29684 ac_ext=cpp
29685 ac_cpp='$CXXCPP $CPPFLAGS'
29686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29689
29690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29691 /* end confdefs.h. */
29692 #include <math.h>
29693 int
29694 main ()
29695 {
29696 sincos(0, 0, 0);
29697 ;
29698 return 0;
29699 }
29700 _ACEOF
29701 if ac_fn_cxx_try_compile "$LINENO"; then :
29702 glibcxx_cv_func_sincos_use=yes
29703 else
29704 glibcxx_cv_func_sincos_use=no
29705 fi
29706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29707 ac_ext=c
29708 ac_cpp='$CPP $CPPFLAGS'
29709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29712
29713
29714 fi
29715
29716 fi
29717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29718 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29719
29720 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29721 for ac_func in sincos
29722 do :
29723 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29724 if test "x$ac_cv_func_sincos" = x""yes; then :
29725 cat >>confdefs.h <<_ACEOF
29726 #define HAVE_SINCOS 1
29727 _ACEOF
29728
29729 fi
29730 done
29731
29732 else
29733
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29735 $as_echo_n "checking for _sincos declaration... " >&6; }
29736 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29737 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29738 $as_echo_n "(cached) " >&6
29739 else
29740
29741
29742 ac_ext=cpp
29743 ac_cpp='$CXXCPP $CPPFLAGS'
29744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29747
29748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29749 /* end confdefs.h. */
29750 #include <math.h>
29751 int
29752 main ()
29753 {
29754 _sincos(0, 0, 0);
29755 ;
29756 return 0;
29757 }
29758 _ACEOF
29759 if ac_fn_cxx_try_compile "$LINENO"; then :
29760 glibcxx_cv_func__sincos_use=yes
29761 else
29762 glibcxx_cv_func__sincos_use=no
29763 fi
29764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29765 ac_ext=c
29766 ac_cpp='$CPP $CPPFLAGS'
29767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29770
29771
29772 fi
29773
29774 fi
29775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29776 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29777
29778 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29779 for ac_func in _sincos
29780 do :
29781 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29782 if test "x$ac_cv_func__sincos" = x""yes; then :
29783 cat >>confdefs.h <<_ACEOF
29784 #define HAVE__SINCOS 1
29785 _ACEOF
29786
29787 fi
29788 done
29789
29790 fi
29791 fi
29792
29793
29794
29795
29796
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29798 $as_echo_n "checking for fpclass declaration... " >&6; }
29799 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29800 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29801 $as_echo_n "(cached) " >&6
29802 else
29803
29804
29805 ac_ext=cpp
29806 ac_cpp='$CXXCPP $CPPFLAGS'
29807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29810
29811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29812 /* end confdefs.h. */
29813 #include <math.h>
29814 #ifdef HAVE_IEEEFP_H
29815 #include <ieeefp.h>
29816 #endif
29817
29818 int
29819 main ()
29820 {
29821 fpclass(0);
29822 ;
29823 return 0;
29824 }
29825 _ACEOF
29826 if ac_fn_cxx_try_compile "$LINENO"; then :
29827 glibcxx_cv_func_fpclass_use=yes
29828 else
29829 glibcxx_cv_func_fpclass_use=no
29830 fi
29831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29832 ac_ext=c
29833 ac_cpp='$CPP $CPPFLAGS'
29834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29837
29838
29839 fi
29840
29841 fi
29842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29843 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29844
29845 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29846 for ac_func in fpclass
29847 do :
29848 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29849 if test "x$ac_cv_func_fpclass" = x""yes; then :
29850 cat >>confdefs.h <<_ACEOF
29851 #define HAVE_FPCLASS 1
29852 _ACEOF
29853
29854 fi
29855 done
29856
29857 else
29858
29859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29860 $as_echo_n "checking for _fpclass declaration... " >&6; }
29861 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29862 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29863 $as_echo_n "(cached) " >&6
29864 else
29865
29866
29867 ac_ext=cpp
29868 ac_cpp='$CXXCPP $CPPFLAGS'
29869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29872
29873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29874 /* end confdefs.h. */
29875 #include <math.h>
29876 #ifdef HAVE_IEEEFP_H
29877 #include <ieeefp.h>
29878 #endif
29879
29880 int
29881 main ()
29882 {
29883 _fpclass(0);
29884 ;
29885 return 0;
29886 }
29887 _ACEOF
29888 if ac_fn_cxx_try_compile "$LINENO"; then :
29889 glibcxx_cv_func__fpclass_use=yes
29890 else
29891 glibcxx_cv_func__fpclass_use=no
29892 fi
29893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29894 ac_ext=c
29895 ac_cpp='$CPP $CPPFLAGS'
29896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29899
29900
29901 fi
29902
29903 fi
29904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29905 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29906
29907 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29908 for ac_func in _fpclass
29909 do :
29910 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29911 if test "x$ac_cv_func__fpclass" = x""yes; then :
29912 cat >>confdefs.h <<_ACEOF
29913 #define HAVE__FPCLASS 1
29914 _ACEOF
29915
29916 fi
29917 done
29918
29919 fi
29920 fi
29921
29922
29923
29924
29925
29926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29927 $as_echo_n "checking for qfpclass declaration... " >&6; }
29928 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29929 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29930 $as_echo_n "(cached) " >&6
29931 else
29932
29933
29934 ac_ext=cpp
29935 ac_cpp='$CXXCPP $CPPFLAGS'
29936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29939
29940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29941 /* end confdefs.h. */
29942 #include <math.h>
29943 #ifdef HAVE_IEEEFP_H
29944 #include <ieeefp.h>
29945 #endif
29946
29947 int
29948 main ()
29949 {
29950 qfpclass(0);
29951 ;
29952 return 0;
29953 }
29954 _ACEOF
29955 if ac_fn_cxx_try_compile "$LINENO"; then :
29956 glibcxx_cv_func_qfpclass_use=yes
29957 else
29958 glibcxx_cv_func_qfpclass_use=no
29959 fi
29960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29961 ac_ext=c
29962 ac_cpp='$CPP $CPPFLAGS'
29963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29966
29967
29968 fi
29969
29970 fi
29971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29972 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29973
29974 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29975 for ac_func in qfpclass
29976 do :
29977 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29978 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29979 cat >>confdefs.h <<_ACEOF
29980 #define HAVE_QFPCLASS 1
29981 _ACEOF
29982
29983 fi
29984 done
29985
29986 else
29987
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29989 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29990 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29991 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29992 $as_echo_n "(cached) " >&6
29993 else
29994
29995
29996 ac_ext=cpp
29997 ac_cpp='$CXXCPP $CPPFLAGS'
29998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30001
30002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30003 /* end confdefs.h. */
30004 #include <math.h>
30005 #ifdef HAVE_IEEEFP_H
30006 #include <ieeefp.h>
30007 #endif
30008
30009 int
30010 main ()
30011 {
30012 _qfpclass(0);
30013 ;
30014 return 0;
30015 }
30016 _ACEOF
30017 if ac_fn_cxx_try_compile "$LINENO"; then :
30018 glibcxx_cv_func__qfpclass_use=yes
30019 else
30020 glibcxx_cv_func__qfpclass_use=no
30021 fi
30022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30023 ac_ext=c
30024 ac_cpp='$CPP $CPPFLAGS'
30025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30028
30029
30030 fi
30031
30032 fi
30033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30034 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30035
30036 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30037 for ac_func in _qfpclass
30038 do :
30039 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30040 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30041 cat >>confdefs.h <<_ACEOF
30042 #define HAVE__QFPCLASS 1
30043 _ACEOF
30044
30045 fi
30046 done
30047
30048 fi
30049 fi
30050
30051
30052
30053
30054
30055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30056 $as_echo_n "checking for hypot declaration... " >&6; }
30057 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30058 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30059 $as_echo_n "(cached) " >&6
30060 else
30061
30062
30063 ac_ext=cpp
30064 ac_cpp='$CXXCPP $CPPFLAGS'
30065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30068
30069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30070 /* end confdefs.h. */
30071 #include <math.h>
30072 int
30073 main ()
30074 {
30075 hypot(0, 0);
30076 ;
30077 return 0;
30078 }
30079 _ACEOF
30080 if ac_fn_cxx_try_compile "$LINENO"; then :
30081 glibcxx_cv_func_hypot_use=yes
30082 else
30083 glibcxx_cv_func_hypot_use=no
30084 fi
30085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30086 ac_ext=c
30087 ac_cpp='$CPP $CPPFLAGS'
30088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30091
30092
30093 fi
30094
30095 fi
30096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30097 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30098
30099 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30100 for ac_func in hypot
30101 do :
30102 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30103 if test "x$ac_cv_func_hypot" = x""yes; then :
30104 cat >>confdefs.h <<_ACEOF
30105 #define HAVE_HYPOT 1
30106 _ACEOF
30107
30108 fi
30109 done
30110
30111 else
30112
30113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30114 $as_echo_n "checking for _hypot declaration... " >&6; }
30115 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30116 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30117 $as_echo_n "(cached) " >&6
30118 else
30119
30120
30121 ac_ext=cpp
30122 ac_cpp='$CXXCPP $CPPFLAGS'
30123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30126
30127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30128 /* end confdefs.h. */
30129 #include <math.h>
30130 int
30131 main ()
30132 {
30133 _hypot(0, 0);
30134 ;
30135 return 0;
30136 }
30137 _ACEOF
30138 if ac_fn_cxx_try_compile "$LINENO"; then :
30139 glibcxx_cv_func__hypot_use=yes
30140 else
30141 glibcxx_cv_func__hypot_use=no
30142 fi
30143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30144 ac_ext=c
30145 ac_cpp='$CPP $CPPFLAGS'
30146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30149
30150
30151 fi
30152
30153 fi
30154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30155 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30156
30157 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30158 for ac_func in _hypot
30159 do :
30160 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30161 if test "x$ac_cv_func__hypot" = x""yes; then :
30162 cat >>confdefs.h <<_ACEOF
30163 #define HAVE__HYPOT 1
30164 _ACEOF
30165
30166 fi
30167 done
30168
30169 fi
30170 fi
30171
30172
30173
30174
30175
30176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30177 $as_echo_n "checking for float trig functions... " >&6; }
30178 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30179 $as_echo_n "(cached) " >&6
30180 else
30181
30182
30183 ac_ext=cpp
30184 ac_cpp='$CXXCPP $CPPFLAGS'
30185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30188
30189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30190 /* end confdefs.h. */
30191 #include <math.h>
30192 int
30193 main ()
30194 {
30195 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30196 ;
30197 return 0;
30198 }
30199 _ACEOF
30200 if ac_fn_cxx_try_compile "$LINENO"; then :
30201 glibcxx_cv_func_float_trig_use=yes
30202 else
30203 glibcxx_cv_func_float_trig_use=no
30204 fi
30205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30206 ac_ext=c
30207 ac_cpp='$CPP $CPPFLAGS'
30208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30211
30212 fi
30213
30214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30215 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30216 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30217 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30218 do :
30219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30221 eval as_val=\$$as_ac_var
30222 if test "x$as_val" = x""yes; then :
30223 cat >>confdefs.h <<_ACEOF
30224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30225 _ACEOF
30226
30227 fi
30228 done
30229
30230 else
30231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30232 $as_echo_n "checking for _float trig functions... " >&6; }
30233 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30234 $as_echo_n "(cached) " >&6
30235 else
30236
30237
30238 ac_ext=cpp
30239 ac_cpp='$CXXCPP $CPPFLAGS'
30240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30243
30244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30245 /* end confdefs.h. */
30246 #include <math.h>
30247 int
30248 main ()
30249 {
30250 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30251 ;
30252 return 0;
30253 }
30254 _ACEOF
30255 if ac_fn_cxx_try_compile "$LINENO"; then :
30256 glibcxx_cv_func__float_trig_use=yes
30257 else
30258 glibcxx_cv_func__float_trig_use=no
30259 fi
30260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30261 ac_ext=c
30262 ac_cpp='$CPP $CPPFLAGS'
30263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30266
30267 fi
30268
30269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30270 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30271 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30272 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30273 do :
30274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30276 eval as_val=\$$as_ac_var
30277 if test "x$as_val" = x""yes; then :
30278 cat >>confdefs.h <<_ACEOF
30279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30280 _ACEOF
30281
30282 fi
30283 done
30284
30285 fi
30286 fi
30287
30288
30289
30290
30291
30292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30293 $as_echo_n "checking for float round functions... " >&6; }
30294 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30295 $as_echo_n "(cached) " >&6
30296 else
30297
30298
30299 ac_ext=cpp
30300 ac_cpp='$CXXCPP $CPPFLAGS'
30301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30304
30305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30306 /* end confdefs.h. */
30307 #include <math.h>
30308 int
30309 main ()
30310 {
30311 ceilf (0); floorf (0);
30312 ;
30313 return 0;
30314 }
30315 _ACEOF
30316 if ac_fn_cxx_try_compile "$LINENO"; then :
30317 glibcxx_cv_func_float_round_use=yes
30318 else
30319 glibcxx_cv_func_float_round_use=no
30320 fi
30321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30322 ac_ext=c
30323 ac_cpp='$CPP $CPPFLAGS'
30324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30327
30328 fi
30329
30330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30331 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30332 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30333 for ac_func in ceilf floorf
30334 do :
30335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30337 eval as_val=\$$as_ac_var
30338 if test "x$as_val" = x""yes; then :
30339 cat >>confdefs.h <<_ACEOF
30340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30341 _ACEOF
30342
30343 fi
30344 done
30345
30346 else
30347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30348 $as_echo_n "checking for _float round functions... " >&6; }
30349 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30350 $as_echo_n "(cached) " >&6
30351 else
30352
30353
30354 ac_ext=cpp
30355 ac_cpp='$CXXCPP $CPPFLAGS'
30356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30359
30360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30361 /* end confdefs.h. */
30362 #include <math.h>
30363 int
30364 main ()
30365 {
30366 _ceilf (0); _floorf (0);
30367 ;
30368 return 0;
30369 }
30370 _ACEOF
30371 if ac_fn_cxx_try_compile "$LINENO"; then :
30372 glibcxx_cv_func__float_round_use=yes
30373 else
30374 glibcxx_cv_func__float_round_use=no
30375 fi
30376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30377 ac_ext=c
30378 ac_cpp='$CPP $CPPFLAGS'
30379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30382
30383 fi
30384
30385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30386 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30387 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30388 for ac_func in _ceilf _floorf
30389 do :
30390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30392 eval as_val=\$$as_ac_var
30393 if test "x$as_val" = x""yes; then :
30394 cat >>confdefs.h <<_ACEOF
30395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30396 _ACEOF
30397
30398 fi
30399 done
30400
30401 fi
30402 fi
30403
30404
30405
30406
30407
30408
30409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30410 $as_echo_n "checking for expf declaration... " >&6; }
30411 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30412 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30413 $as_echo_n "(cached) " >&6
30414 else
30415
30416
30417 ac_ext=cpp
30418 ac_cpp='$CXXCPP $CPPFLAGS'
30419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30422
30423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30424 /* end confdefs.h. */
30425 #include <math.h>
30426 #ifdef HAVE_IEEEFP_H
30427 #include <ieeefp.h>
30428 #endif
30429
30430 int
30431 main ()
30432 {
30433 expf(0);
30434 ;
30435 return 0;
30436 }
30437 _ACEOF
30438 if ac_fn_cxx_try_compile "$LINENO"; then :
30439 glibcxx_cv_func_expf_use=yes
30440 else
30441 glibcxx_cv_func_expf_use=no
30442 fi
30443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30444 ac_ext=c
30445 ac_cpp='$CPP $CPPFLAGS'
30446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30449
30450
30451 fi
30452
30453 fi
30454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30455 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30456
30457 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30458 for ac_func in expf
30459 do :
30460 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30461 if test "x$ac_cv_func_expf" = x""yes; then :
30462 cat >>confdefs.h <<_ACEOF
30463 #define HAVE_EXPF 1
30464 _ACEOF
30465
30466 fi
30467 done
30468
30469 else
30470
30471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30472 $as_echo_n "checking for _expf declaration... " >&6; }
30473 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30474 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30475 $as_echo_n "(cached) " >&6
30476 else
30477
30478
30479 ac_ext=cpp
30480 ac_cpp='$CXXCPP $CPPFLAGS'
30481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30484
30485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30486 /* end confdefs.h. */
30487 #include <math.h>
30488 #ifdef HAVE_IEEEFP_H
30489 #include <ieeefp.h>
30490 #endif
30491
30492 int
30493 main ()
30494 {
30495 _expf(0);
30496 ;
30497 return 0;
30498 }
30499 _ACEOF
30500 if ac_fn_cxx_try_compile "$LINENO"; then :
30501 glibcxx_cv_func__expf_use=yes
30502 else
30503 glibcxx_cv_func__expf_use=no
30504 fi
30505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30506 ac_ext=c
30507 ac_cpp='$CPP $CPPFLAGS'
30508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30511
30512
30513 fi
30514
30515 fi
30516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30517 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30518
30519 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30520 for ac_func in _expf
30521 do :
30522 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30523 if test "x$ac_cv_func__expf" = x""yes; then :
30524 cat >>confdefs.h <<_ACEOF
30525 #define HAVE__EXPF 1
30526 _ACEOF
30527
30528 fi
30529 done
30530
30531 fi
30532 fi
30533
30534
30535
30536
30537
30538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30539 $as_echo_n "checking for isnanf declaration... " >&6; }
30540 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30541 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30542 $as_echo_n "(cached) " >&6
30543 else
30544
30545
30546 ac_ext=cpp
30547 ac_cpp='$CXXCPP $CPPFLAGS'
30548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30551
30552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30553 /* end confdefs.h. */
30554 #include <math.h>
30555 #ifdef HAVE_IEEEFP_H
30556 #include <ieeefp.h>
30557 #endif
30558
30559 int
30560 main ()
30561 {
30562 isnanf(0);
30563 ;
30564 return 0;
30565 }
30566 _ACEOF
30567 if ac_fn_cxx_try_compile "$LINENO"; then :
30568 glibcxx_cv_func_isnanf_use=yes
30569 else
30570 glibcxx_cv_func_isnanf_use=no
30571 fi
30572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30573 ac_ext=c
30574 ac_cpp='$CPP $CPPFLAGS'
30575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30578
30579
30580 fi
30581
30582 fi
30583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30584 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30585
30586 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30587 for ac_func in isnanf
30588 do :
30589 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30590 if test "x$ac_cv_func_isnanf" = x""yes; then :
30591 cat >>confdefs.h <<_ACEOF
30592 #define HAVE_ISNANF 1
30593 _ACEOF
30594
30595 fi
30596 done
30597
30598 else
30599
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30601 $as_echo_n "checking for _isnanf declaration... " >&6; }
30602 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30603 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30604 $as_echo_n "(cached) " >&6
30605 else
30606
30607
30608 ac_ext=cpp
30609 ac_cpp='$CXXCPP $CPPFLAGS'
30610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30613
30614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30615 /* end confdefs.h. */
30616 #include <math.h>
30617 #ifdef HAVE_IEEEFP_H
30618 #include <ieeefp.h>
30619 #endif
30620
30621 int
30622 main ()
30623 {
30624 _isnanf(0);
30625 ;
30626 return 0;
30627 }
30628 _ACEOF
30629 if ac_fn_cxx_try_compile "$LINENO"; then :
30630 glibcxx_cv_func__isnanf_use=yes
30631 else
30632 glibcxx_cv_func__isnanf_use=no
30633 fi
30634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30635 ac_ext=c
30636 ac_cpp='$CPP $CPPFLAGS'
30637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30640
30641
30642 fi
30643
30644 fi
30645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30646 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30647
30648 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30649 for ac_func in _isnanf
30650 do :
30651 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30652 if test "x$ac_cv_func__isnanf" = x""yes; then :
30653 cat >>confdefs.h <<_ACEOF
30654 #define HAVE__ISNANF 1
30655 _ACEOF
30656
30657 fi
30658 done
30659
30660 fi
30661 fi
30662
30663
30664
30665
30666
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30668 $as_echo_n "checking for isinff declaration... " >&6; }
30669 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30670 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30671 $as_echo_n "(cached) " >&6
30672 else
30673
30674
30675 ac_ext=cpp
30676 ac_cpp='$CXXCPP $CPPFLAGS'
30677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30680
30681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30682 /* end confdefs.h. */
30683 #include <math.h>
30684 #ifdef HAVE_IEEEFP_H
30685 #include <ieeefp.h>
30686 #endif
30687
30688 int
30689 main ()
30690 {
30691 isinff(0);
30692 ;
30693 return 0;
30694 }
30695 _ACEOF
30696 if ac_fn_cxx_try_compile "$LINENO"; then :
30697 glibcxx_cv_func_isinff_use=yes
30698 else
30699 glibcxx_cv_func_isinff_use=no
30700 fi
30701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30702 ac_ext=c
30703 ac_cpp='$CPP $CPPFLAGS'
30704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30707
30708
30709 fi
30710
30711 fi
30712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30713 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30714
30715 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30716 for ac_func in isinff
30717 do :
30718 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30719 if test "x$ac_cv_func_isinff" = x""yes; then :
30720 cat >>confdefs.h <<_ACEOF
30721 #define HAVE_ISINFF 1
30722 _ACEOF
30723
30724 fi
30725 done
30726
30727 else
30728
30729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30730 $as_echo_n "checking for _isinff declaration... " >&6; }
30731 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30732 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30733 $as_echo_n "(cached) " >&6
30734 else
30735
30736
30737 ac_ext=cpp
30738 ac_cpp='$CXXCPP $CPPFLAGS'
30739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30742
30743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30744 /* end confdefs.h. */
30745 #include <math.h>
30746 #ifdef HAVE_IEEEFP_H
30747 #include <ieeefp.h>
30748 #endif
30749
30750 int
30751 main ()
30752 {
30753 _isinff(0);
30754 ;
30755 return 0;
30756 }
30757 _ACEOF
30758 if ac_fn_cxx_try_compile "$LINENO"; then :
30759 glibcxx_cv_func__isinff_use=yes
30760 else
30761 glibcxx_cv_func__isinff_use=no
30762 fi
30763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30764 ac_ext=c
30765 ac_cpp='$CPP $CPPFLAGS'
30766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30769
30770
30771 fi
30772
30773 fi
30774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30775 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30776
30777 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30778 for ac_func in _isinff
30779 do :
30780 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30781 if test "x$ac_cv_func__isinff" = x""yes; then :
30782 cat >>confdefs.h <<_ACEOF
30783 #define HAVE__ISINFF 1
30784 _ACEOF
30785
30786 fi
30787 done
30788
30789 fi
30790 fi
30791
30792
30793
30794
30795
30796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30797 $as_echo_n "checking for atan2f declaration... " >&6; }
30798 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30799 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30800 $as_echo_n "(cached) " >&6
30801 else
30802
30803
30804 ac_ext=cpp
30805 ac_cpp='$CXXCPP $CPPFLAGS'
30806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30809
30810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30811 /* end confdefs.h. */
30812 #include <math.h>
30813 int
30814 main ()
30815 {
30816 atan2f(0, 0);
30817 ;
30818 return 0;
30819 }
30820 _ACEOF
30821 if ac_fn_cxx_try_compile "$LINENO"; then :
30822 glibcxx_cv_func_atan2f_use=yes
30823 else
30824 glibcxx_cv_func_atan2f_use=no
30825 fi
30826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30827 ac_ext=c
30828 ac_cpp='$CPP $CPPFLAGS'
30829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30832
30833
30834 fi
30835
30836 fi
30837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30838 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30839
30840 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30841 for ac_func in atan2f
30842 do :
30843 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30844 if test "x$ac_cv_func_atan2f" = x""yes; then :
30845 cat >>confdefs.h <<_ACEOF
30846 #define HAVE_ATAN2F 1
30847 _ACEOF
30848
30849 fi
30850 done
30851
30852 else
30853
30854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30855 $as_echo_n "checking for _atan2f declaration... " >&6; }
30856 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30857 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30858 $as_echo_n "(cached) " >&6
30859 else
30860
30861
30862 ac_ext=cpp
30863 ac_cpp='$CXXCPP $CPPFLAGS'
30864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30867
30868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30869 /* end confdefs.h. */
30870 #include <math.h>
30871 int
30872 main ()
30873 {
30874 _atan2f(0, 0);
30875 ;
30876 return 0;
30877 }
30878 _ACEOF
30879 if ac_fn_cxx_try_compile "$LINENO"; then :
30880 glibcxx_cv_func__atan2f_use=yes
30881 else
30882 glibcxx_cv_func__atan2f_use=no
30883 fi
30884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30885 ac_ext=c
30886 ac_cpp='$CPP $CPPFLAGS'
30887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30890
30891
30892 fi
30893
30894 fi
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30896 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30897
30898 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30899 for ac_func in _atan2f
30900 do :
30901 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30902 if test "x$ac_cv_func__atan2f" = x""yes; then :
30903 cat >>confdefs.h <<_ACEOF
30904 #define HAVE__ATAN2F 1
30905 _ACEOF
30906
30907 fi
30908 done
30909
30910 fi
30911 fi
30912
30913
30914
30915
30916
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30918 $as_echo_n "checking for fabsf declaration... " >&6; }
30919 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30920 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30921 $as_echo_n "(cached) " >&6
30922 else
30923
30924
30925 ac_ext=cpp
30926 ac_cpp='$CXXCPP $CPPFLAGS'
30927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30930
30931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30932 /* end confdefs.h. */
30933 #include <math.h>
30934 #ifdef HAVE_IEEEFP_H
30935 #include <ieeefp.h>
30936 #endif
30937
30938 int
30939 main ()
30940 {
30941 fabsf(0);
30942 ;
30943 return 0;
30944 }
30945 _ACEOF
30946 if ac_fn_cxx_try_compile "$LINENO"; then :
30947 glibcxx_cv_func_fabsf_use=yes
30948 else
30949 glibcxx_cv_func_fabsf_use=no
30950 fi
30951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30952 ac_ext=c
30953 ac_cpp='$CPP $CPPFLAGS'
30954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30957
30958
30959 fi
30960
30961 fi
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30963 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30964
30965 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30966 for ac_func in fabsf
30967 do :
30968 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30969 if test "x$ac_cv_func_fabsf" = x""yes; then :
30970 cat >>confdefs.h <<_ACEOF
30971 #define HAVE_FABSF 1
30972 _ACEOF
30973
30974 fi
30975 done
30976
30977 else
30978
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30980 $as_echo_n "checking for _fabsf declaration... " >&6; }
30981 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30982 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30983 $as_echo_n "(cached) " >&6
30984 else
30985
30986
30987 ac_ext=cpp
30988 ac_cpp='$CXXCPP $CPPFLAGS'
30989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30992
30993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30994 /* end confdefs.h. */
30995 #include <math.h>
30996 #ifdef HAVE_IEEEFP_H
30997 #include <ieeefp.h>
30998 #endif
30999
31000 int
31001 main ()
31002 {
31003 _fabsf(0);
31004 ;
31005 return 0;
31006 }
31007 _ACEOF
31008 if ac_fn_cxx_try_compile "$LINENO"; then :
31009 glibcxx_cv_func__fabsf_use=yes
31010 else
31011 glibcxx_cv_func__fabsf_use=no
31012 fi
31013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31014 ac_ext=c
31015 ac_cpp='$CPP $CPPFLAGS'
31016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31019
31020
31021 fi
31022
31023 fi
31024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31025 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31026
31027 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31028 for ac_func in _fabsf
31029 do :
31030 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31031 if test "x$ac_cv_func__fabsf" = x""yes; then :
31032 cat >>confdefs.h <<_ACEOF
31033 #define HAVE__FABSF 1
31034 _ACEOF
31035
31036 fi
31037 done
31038
31039 fi
31040 fi
31041
31042
31043
31044
31045
31046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31047 $as_echo_n "checking for fmodf declaration... " >&6; }
31048 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31049 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31050 $as_echo_n "(cached) " >&6
31051 else
31052
31053
31054 ac_ext=cpp
31055 ac_cpp='$CXXCPP $CPPFLAGS'
31056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31059
31060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31061 /* end confdefs.h. */
31062 #include <math.h>
31063 int
31064 main ()
31065 {
31066 fmodf(0, 0);
31067 ;
31068 return 0;
31069 }
31070 _ACEOF
31071 if ac_fn_cxx_try_compile "$LINENO"; then :
31072 glibcxx_cv_func_fmodf_use=yes
31073 else
31074 glibcxx_cv_func_fmodf_use=no
31075 fi
31076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31077 ac_ext=c
31078 ac_cpp='$CPP $CPPFLAGS'
31079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31082
31083
31084 fi
31085
31086 fi
31087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31088 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31089
31090 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31091 for ac_func in fmodf
31092 do :
31093 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31094 if test "x$ac_cv_func_fmodf" = x""yes; then :
31095 cat >>confdefs.h <<_ACEOF
31096 #define HAVE_FMODF 1
31097 _ACEOF
31098
31099 fi
31100 done
31101
31102 else
31103
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31105 $as_echo_n "checking for _fmodf declaration... " >&6; }
31106 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31107 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31108 $as_echo_n "(cached) " >&6
31109 else
31110
31111
31112 ac_ext=cpp
31113 ac_cpp='$CXXCPP $CPPFLAGS'
31114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31117
31118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31119 /* end confdefs.h. */
31120 #include <math.h>
31121 int
31122 main ()
31123 {
31124 _fmodf(0, 0);
31125 ;
31126 return 0;
31127 }
31128 _ACEOF
31129 if ac_fn_cxx_try_compile "$LINENO"; then :
31130 glibcxx_cv_func__fmodf_use=yes
31131 else
31132 glibcxx_cv_func__fmodf_use=no
31133 fi
31134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31135 ac_ext=c
31136 ac_cpp='$CPP $CPPFLAGS'
31137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31140
31141
31142 fi
31143
31144 fi
31145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31146 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31147
31148 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31149 for ac_func in _fmodf
31150 do :
31151 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31152 if test "x$ac_cv_func__fmodf" = x""yes; then :
31153 cat >>confdefs.h <<_ACEOF
31154 #define HAVE__FMODF 1
31155 _ACEOF
31156
31157 fi
31158 done
31159
31160 fi
31161 fi
31162
31163
31164
31165
31166
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31168 $as_echo_n "checking for frexpf declaration... " >&6; }
31169 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31170 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31171 $as_echo_n "(cached) " >&6
31172 else
31173
31174
31175 ac_ext=cpp
31176 ac_cpp='$CXXCPP $CPPFLAGS'
31177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31180
31181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31182 /* end confdefs.h. */
31183 #include <math.h>
31184 int
31185 main ()
31186 {
31187 frexpf(0, 0);
31188 ;
31189 return 0;
31190 }
31191 _ACEOF
31192 if ac_fn_cxx_try_compile "$LINENO"; then :
31193 glibcxx_cv_func_frexpf_use=yes
31194 else
31195 glibcxx_cv_func_frexpf_use=no
31196 fi
31197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31198 ac_ext=c
31199 ac_cpp='$CPP $CPPFLAGS'
31200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31203
31204
31205 fi
31206
31207 fi
31208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31209 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31210
31211 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31212 for ac_func in frexpf
31213 do :
31214 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31215 if test "x$ac_cv_func_frexpf" = x""yes; then :
31216 cat >>confdefs.h <<_ACEOF
31217 #define HAVE_FREXPF 1
31218 _ACEOF
31219
31220 fi
31221 done
31222
31223 else
31224
31225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31226 $as_echo_n "checking for _frexpf declaration... " >&6; }
31227 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31228 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31229 $as_echo_n "(cached) " >&6
31230 else
31231
31232
31233 ac_ext=cpp
31234 ac_cpp='$CXXCPP $CPPFLAGS'
31235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31238
31239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h. */
31241 #include <math.h>
31242 int
31243 main ()
31244 {
31245 _frexpf(0, 0);
31246 ;
31247 return 0;
31248 }
31249 _ACEOF
31250 if ac_fn_cxx_try_compile "$LINENO"; then :
31251 glibcxx_cv_func__frexpf_use=yes
31252 else
31253 glibcxx_cv_func__frexpf_use=no
31254 fi
31255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31256 ac_ext=c
31257 ac_cpp='$CPP $CPPFLAGS'
31258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31261
31262
31263 fi
31264
31265 fi
31266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31267 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31268
31269 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31270 for ac_func in _frexpf
31271 do :
31272 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31273 if test "x$ac_cv_func__frexpf" = x""yes; then :
31274 cat >>confdefs.h <<_ACEOF
31275 #define HAVE__FREXPF 1
31276 _ACEOF
31277
31278 fi
31279 done
31280
31281 fi
31282 fi
31283
31284
31285
31286
31287
31288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31289 $as_echo_n "checking for hypotf declaration... " >&6; }
31290 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31291 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31292 $as_echo_n "(cached) " >&6
31293 else
31294
31295
31296 ac_ext=cpp
31297 ac_cpp='$CXXCPP $CPPFLAGS'
31298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31301
31302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31303 /* end confdefs.h. */
31304 #include <math.h>
31305 int
31306 main ()
31307 {
31308 hypotf(0, 0);
31309 ;
31310 return 0;
31311 }
31312 _ACEOF
31313 if ac_fn_cxx_try_compile "$LINENO"; then :
31314 glibcxx_cv_func_hypotf_use=yes
31315 else
31316 glibcxx_cv_func_hypotf_use=no
31317 fi
31318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31319 ac_ext=c
31320 ac_cpp='$CPP $CPPFLAGS'
31321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31324
31325
31326 fi
31327
31328 fi
31329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31330 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31331
31332 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31333 for ac_func in hypotf
31334 do :
31335 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31336 if test "x$ac_cv_func_hypotf" = x""yes; then :
31337 cat >>confdefs.h <<_ACEOF
31338 #define HAVE_HYPOTF 1
31339 _ACEOF
31340
31341 fi
31342 done
31343
31344 else
31345
31346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31347 $as_echo_n "checking for _hypotf declaration... " >&6; }
31348 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31349 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31350 $as_echo_n "(cached) " >&6
31351 else
31352
31353
31354 ac_ext=cpp
31355 ac_cpp='$CXXCPP $CPPFLAGS'
31356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31359
31360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31361 /* end confdefs.h. */
31362 #include <math.h>
31363 int
31364 main ()
31365 {
31366 _hypotf(0, 0);
31367 ;
31368 return 0;
31369 }
31370 _ACEOF
31371 if ac_fn_cxx_try_compile "$LINENO"; then :
31372 glibcxx_cv_func__hypotf_use=yes
31373 else
31374 glibcxx_cv_func__hypotf_use=no
31375 fi
31376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31377 ac_ext=c
31378 ac_cpp='$CPP $CPPFLAGS'
31379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31382
31383
31384 fi
31385
31386 fi
31387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31388 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31389
31390 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31391 for ac_func in _hypotf
31392 do :
31393 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31394 if test "x$ac_cv_func__hypotf" = x""yes; then :
31395 cat >>confdefs.h <<_ACEOF
31396 #define HAVE__HYPOTF 1
31397 _ACEOF
31398
31399 fi
31400 done
31401
31402 fi
31403 fi
31404
31405
31406
31407
31408
31409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31410 $as_echo_n "checking for ldexpf declaration... " >&6; }
31411 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31412 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31413 $as_echo_n "(cached) " >&6
31414 else
31415
31416
31417 ac_ext=cpp
31418 ac_cpp='$CXXCPP $CPPFLAGS'
31419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31422
31423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31424 /* end confdefs.h. */
31425 #include <math.h>
31426 int
31427 main ()
31428 {
31429 ldexpf(0, 0);
31430 ;
31431 return 0;
31432 }
31433 _ACEOF
31434 if ac_fn_cxx_try_compile "$LINENO"; then :
31435 glibcxx_cv_func_ldexpf_use=yes
31436 else
31437 glibcxx_cv_func_ldexpf_use=no
31438 fi
31439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31440 ac_ext=c
31441 ac_cpp='$CPP $CPPFLAGS'
31442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31445
31446
31447 fi
31448
31449 fi
31450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31451 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31452
31453 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31454 for ac_func in ldexpf
31455 do :
31456 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31457 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31458 cat >>confdefs.h <<_ACEOF
31459 #define HAVE_LDEXPF 1
31460 _ACEOF
31461
31462 fi
31463 done
31464
31465 else
31466
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31468 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31469 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31470 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31471 $as_echo_n "(cached) " >&6
31472 else
31473
31474
31475 ac_ext=cpp
31476 ac_cpp='$CXXCPP $CPPFLAGS'
31477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31480
31481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31482 /* end confdefs.h. */
31483 #include <math.h>
31484 int
31485 main ()
31486 {
31487 _ldexpf(0, 0);
31488 ;
31489 return 0;
31490 }
31491 _ACEOF
31492 if ac_fn_cxx_try_compile "$LINENO"; then :
31493 glibcxx_cv_func__ldexpf_use=yes
31494 else
31495 glibcxx_cv_func__ldexpf_use=no
31496 fi
31497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31498 ac_ext=c
31499 ac_cpp='$CPP $CPPFLAGS'
31500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31503
31504
31505 fi
31506
31507 fi
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31509 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31510
31511 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31512 for ac_func in _ldexpf
31513 do :
31514 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31515 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31516 cat >>confdefs.h <<_ACEOF
31517 #define HAVE__LDEXPF 1
31518 _ACEOF
31519
31520 fi
31521 done
31522
31523 fi
31524 fi
31525
31526
31527
31528
31529
31530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31531 $as_echo_n "checking for logf declaration... " >&6; }
31532 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31533 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31534 $as_echo_n "(cached) " >&6
31535 else
31536
31537
31538 ac_ext=cpp
31539 ac_cpp='$CXXCPP $CPPFLAGS'
31540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31543
31544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31545 /* end confdefs.h. */
31546 #include <math.h>
31547 #ifdef HAVE_IEEEFP_H
31548 #include <ieeefp.h>
31549 #endif
31550
31551 int
31552 main ()
31553 {
31554 logf(0);
31555 ;
31556 return 0;
31557 }
31558 _ACEOF
31559 if ac_fn_cxx_try_compile "$LINENO"; then :
31560 glibcxx_cv_func_logf_use=yes
31561 else
31562 glibcxx_cv_func_logf_use=no
31563 fi
31564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31565 ac_ext=c
31566 ac_cpp='$CPP $CPPFLAGS'
31567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31570
31571
31572 fi
31573
31574 fi
31575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31576 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31577
31578 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31579 for ac_func in logf
31580 do :
31581 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31582 if test "x$ac_cv_func_logf" = x""yes; then :
31583 cat >>confdefs.h <<_ACEOF
31584 #define HAVE_LOGF 1
31585 _ACEOF
31586
31587 fi
31588 done
31589
31590 else
31591
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31593 $as_echo_n "checking for _logf declaration... " >&6; }
31594 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31595 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31596 $as_echo_n "(cached) " >&6
31597 else
31598
31599
31600 ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31605
31606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h. */
31608 #include <math.h>
31609 #ifdef HAVE_IEEEFP_H
31610 #include <ieeefp.h>
31611 #endif
31612
31613 int
31614 main ()
31615 {
31616 _logf(0);
31617 ;
31618 return 0;
31619 }
31620 _ACEOF
31621 if ac_fn_cxx_try_compile "$LINENO"; then :
31622 glibcxx_cv_func__logf_use=yes
31623 else
31624 glibcxx_cv_func__logf_use=no
31625 fi
31626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31627 ac_ext=c
31628 ac_cpp='$CPP $CPPFLAGS'
31629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31632
31633
31634 fi
31635
31636 fi
31637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31638 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31639
31640 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31641 for ac_func in _logf
31642 do :
31643 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31644 if test "x$ac_cv_func__logf" = x""yes; then :
31645 cat >>confdefs.h <<_ACEOF
31646 #define HAVE__LOGF 1
31647 _ACEOF
31648
31649 fi
31650 done
31651
31652 fi
31653 fi
31654
31655
31656
31657
31658
31659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31660 $as_echo_n "checking for log10f declaration... " >&6; }
31661 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31662 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31663 $as_echo_n "(cached) " >&6
31664 else
31665
31666
31667 ac_ext=cpp
31668 ac_cpp='$CXXCPP $CPPFLAGS'
31669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31672
31673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31674 /* end confdefs.h. */
31675 #include <math.h>
31676 #ifdef HAVE_IEEEFP_H
31677 #include <ieeefp.h>
31678 #endif
31679
31680 int
31681 main ()
31682 {
31683 log10f(0);
31684 ;
31685 return 0;
31686 }
31687 _ACEOF
31688 if ac_fn_cxx_try_compile "$LINENO"; then :
31689 glibcxx_cv_func_log10f_use=yes
31690 else
31691 glibcxx_cv_func_log10f_use=no
31692 fi
31693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31694 ac_ext=c
31695 ac_cpp='$CPP $CPPFLAGS'
31696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31699
31700
31701 fi
31702
31703 fi
31704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31705 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31706
31707 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31708 for ac_func in log10f
31709 do :
31710 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31711 if test "x$ac_cv_func_log10f" = x""yes; then :
31712 cat >>confdefs.h <<_ACEOF
31713 #define HAVE_LOG10F 1
31714 _ACEOF
31715
31716 fi
31717 done
31718
31719 else
31720
31721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31722 $as_echo_n "checking for _log10f declaration... " >&6; }
31723 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31724 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31725 $as_echo_n "(cached) " >&6
31726 else
31727
31728
31729 ac_ext=cpp
31730 ac_cpp='$CXXCPP $CPPFLAGS'
31731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31734
31735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31736 /* end confdefs.h. */
31737 #include <math.h>
31738 #ifdef HAVE_IEEEFP_H
31739 #include <ieeefp.h>
31740 #endif
31741
31742 int
31743 main ()
31744 {
31745 _log10f(0);
31746 ;
31747 return 0;
31748 }
31749 _ACEOF
31750 if ac_fn_cxx_try_compile "$LINENO"; then :
31751 glibcxx_cv_func__log10f_use=yes
31752 else
31753 glibcxx_cv_func__log10f_use=no
31754 fi
31755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31756 ac_ext=c
31757 ac_cpp='$CPP $CPPFLAGS'
31758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31761
31762
31763 fi
31764
31765 fi
31766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31767 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31768
31769 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31770 for ac_func in _log10f
31771 do :
31772 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31773 if test "x$ac_cv_func__log10f" = x""yes; then :
31774 cat >>confdefs.h <<_ACEOF
31775 #define HAVE__LOG10F 1
31776 _ACEOF
31777
31778 fi
31779 done
31780
31781 fi
31782 fi
31783
31784
31785
31786
31787
31788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31789 $as_echo_n "checking for modff declaration... " >&6; }
31790 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31791 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31792 $as_echo_n "(cached) " >&6
31793 else
31794
31795
31796 ac_ext=cpp
31797 ac_cpp='$CXXCPP $CPPFLAGS'
31798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31801
31802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31803 /* end confdefs.h. */
31804 #include <math.h>
31805 int
31806 main ()
31807 {
31808 modff(0, 0);
31809 ;
31810 return 0;
31811 }
31812 _ACEOF
31813 if ac_fn_cxx_try_compile "$LINENO"; then :
31814 glibcxx_cv_func_modff_use=yes
31815 else
31816 glibcxx_cv_func_modff_use=no
31817 fi
31818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31819 ac_ext=c
31820 ac_cpp='$CPP $CPPFLAGS'
31821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31824
31825
31826 fi
31827
31828 fi
31829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31830 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31831
31832 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31833 for ac_func in modff
31834 do :
31835 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31836 if test "x$ac_cv_func_modff" = x""yes; then :
31837 cat >>confdefs.h <<_ACEOF
31838 #define HAVE_MODFF 1
31839 _ACEOF
31840
31841 fi
31842 done
31843
31844 else
31845
31846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31847 $as_echo_n "checking for _modff declaration... " >&6; }
31848 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31849 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31850 $as_echo_n "(cached) " >&6
31851 else
31852
31853
31854 ac_ext=cpp
31855 ac_cpp='$CXXCPP $CPPFLAGS'
31856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31859
31860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31861 /* end confdefs.h. */
31862 #include <math.h>
31863 int
31864 main ()
31865 {
31866 _modff(0, 0);
31867 ;
31868 return 0;
31869 }
31870 _ACEOF
31871 if ac_fn_cxx_try_compile "$LINENO"; then :
31872 glibcxx_cv_func__modff_use=yes
31873 else
31874 glibcxx_cv_func__modff_use=no
31875 fi
31876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31877 ac_ext=c
31878 ac_cpp='$CPP $CPPFLAGS'
31879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31882
31883
31884 fi
31885
31886 fi
31887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31888 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31889
31890 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31891 for ac_func in _modff
31892 do :
31893 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31894 if test "x$ac_cv_func__modff" = x""yes; then :
31895 cat >>confdefs.h <<_ACEOF
31896 #define HAVE__MODFF 1
31897 _ACEOF
31898
31899 fi
31900 done
31901
31902 fi
31903 fi
31904
31905
31906
31907
31908
31909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31910 $as_echo_n "checking for modf declaration... " >&6; }
31911 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31912 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31913 $as_echo_n "(cached) " >&6
31914 else
31915
31916
31917 ac_ext=cpp
31918 ac_cpp='$CXXCPP $CPPFLAGS'
31919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31922
31923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31924 /* end confdefs.h. */
31925 #include <math.h>
31926 int
31927 main ()
31928 {
31929 modf(0, 0);
31930 ;
31931 return 0;
31932 }
31933 _ACEOF
31934 if ac_fn_cxx_try_compile "$LINENO"; then :
31935 glibcxx_cv_func_modf_use=yes
31936 else
31937 glibcxx_cv_func_modf_use=no
31938 fi
31939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31940 ac_ext=c
31941 ac_cpp='$CPP $CPPFLAGS'
31942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31945
31946
31947 fi
31948
31949 fi
31950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31951 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31952
31953 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31954 for ac_func in modf
31955 do :
31956 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31957 if test "x$ac_cv_func_modf" = x""yes; then :
31958 cat >>confdefs.h <<_ACEOF
31959 #define HAVE_MODF 1
31960 _ACEOF
31961
31962 fi
31963 done
31964
31965 else
31966
31967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31968 $as_echo_n "checking for _modf declaration... " >&6; }
31969 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31970 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31971 $as_echo_n "(cached) " >&6
31972 else
31973
31974
31975 ac_ext=cpp
31976 ac_cpp='$CXXCPP $CPPFLAGS'
31977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31980
31981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31982 /* end confdefs.h. */
31983 #include <math.h>
31984 int
31985 main ()
31986 {
31987 _modf(0, 0);
31988 ;
31989 return 0;
31990 }
31991 _ACEOF
31992 if ac_fn_cxx_try_compile "$LINENO"; then :
31993 glibcxx_cv_func__modf_use=yes
31994 else
31995 glibcxx_cv_func__modf_use=no
31996 fi
31997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31998 ac_ext=c
31999 ac_cpp='$CPP $CPPFLAGS'
32000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32003
32004
32005 fi
32006
32007 fi
32008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32009 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32010
32011 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32012 for ac_func in _modf
32013 do :
32014 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32015 if test "x$ac_cv_func__modf" = x""yes; then :
32016 cat >>confdefs.h <<_ACEOF
32017 #define HAVE__MODF 1
32018 _ACEOF
32019
32020 fi
32021 done
32022
32023 fi
32024 fi
32025
32026
32027
32028
32029
32030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32031 $as_echo_n "checking for powf declaration... " >&6; }
32032 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32033 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32034 $as_echo_n "(cached) " >&6
32035 else
32036
32037
32038 ac_ext=cpp
32039 ac_cpp='$CXXCPP $CPPFLAGS'
32040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32043
32044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32045 /* end confdefs.h. */
32046 #include <math.h>
32047 int
32048 main ()
32049 {
32050 powf(0, 0);
32051 ;
32052 return 0;
32053 }
32054 _ACEOF
32055 if ac_fn_cxx_try_compile "$LINENO"; then :
32056 glibcxx_cv_func_powf_use=yes
32057 else
32058 glibcxx_cv_func_powf_use=no
32059 fi
32060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32061 ac_ext=c
32062 ac_cpp='$CPP $CPPFLAGS'
32063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32066
32067
32068 fi
32069
32070 fi
32071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32072 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32073
32074 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32075 for ac_func in powf
32076 do :
32077 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32078 if test "x$ac_cv_func_powf" = x""yes; then :
32079 cat >>confdefs.h <<_ACEOF
32080 #define HAVE_POWF 1
32081 _ACEOF
32082
32083 fi
32084 done
32085
32086 else
32087
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32089 $as_echo_n "checking for _powf declaration... " >&6; }
32090 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32091 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32092 $as_echo_n "(cached) " >&6
32093 else
32094
32095
32096 ac_ext=cpp
32097 ac_cpp='$CXXCPP $CPPFLAGS'
32098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32101
32102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32103 /* end confdefs.h. */
32104 #include <math.h>
32105 int
32106 main ()
32107 {
32108 _powf(0, 0);
32109 ;
32110 return 0;
32111 }
32112 _ACEOF
32113 if ac_fn_cxx_try_compile "$LINENO"; then :
32114 glibcxx_cv_func__powf_use=yes
32115 else
32116 glibcxx_cv_func__powf_use=no
32117 fi
32118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32119 ac_ext=c
32120 ac_cpp='$CPP $CPPFLAGS'
32121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32124
32125
32126 fi
32127
32128 fi
32129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32130 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32131
32132 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32133 for ac_func in _powf
32134 do :
32135 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32136 if test "x$ac_cv_func__powf" = x""yes; then :
32137 cat >>confdefs.h <<_ACEOF
32138 #define HAVE__POWF 1
32139 _ACEOF
32140
32141 fi
32142 done
32143
32144 fi
32145 fi
32146
32147
32148
32149
32150
32151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32152 $as_echo_n "checking for sqrtf declaration... " >&6; }
32153 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32154 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32155 $as_echo_n "(cached) " >&6
32156 else
32157
32158
32159 ac_ext=cpp
32160 ac_cpp='$CXXCPP $CPPFLAGS'
32161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32164
32165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32166 /* end confdefs.h. */
32167 #include <math.h>
32168 #ifdef HAVE_IEEEFP_H
32169 #include <ieeefp.h>
32170 #endif
32171
32172 int
32173 main ()
32174 {
32175 sqrtf(0);
32176 ;
32177 return 0;
32178 }
32179 _ACEOF
32180 if ac_fn_cxx_try_compile "$LINENO"; then :
32181 glibcxx_cv_func_sqrtf_use=yes
32182 else
32183 glibcxx_cv_func_sqrtf_use=no
32184 fi
32185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32186 ac_ext=c
32187 ac_cpp='$CPP $CPPFLAGS'
32188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32191
32192
32193 fi
32194
32195 fi
32196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32197 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32198
32199 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32200 for ac_func in sqrtf
32201 do :
32202 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32203 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32204 cat >>confdefs.h <<_ACEOF
32205 #define HAVE_SQRTF 1
32206 _ACEOF
32207
32208 fi
32209 done
32210
32211 else
32212
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32214 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32215 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32216 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32217 $as_echo_n "(cached) " >&6
32218 else
32219
32220
32221 ac_ext=cpp
32222 ac_cpp='$CXXCPP $CPPFLAGS'
32223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32226
32227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32228 /* end confdefs.h. */
32229 #include <math.h>
32230 #ifdef HAVE_IEEEFP_H
32231 #include <ieeefp.h>
32232 #endif
32233
32234 int
32235 main ()
32236 {
32237 _sqrtf(0);
32238 ;
32239 return 0;
32240 }
32241 _ACEOF
32242 if ac_fn_cxx_try_compile "$LINENO"; then :
32243 glibcxx_cv_func__sqrtf_use=yes
32244 else
32245 glibcxx_cv_func__sqrtf_use=no
32246 fi
32247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32248 ac_ext=c
32249 ac_cpp='$CPP $CPPFLAGS'
32250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32253
32254
32255 fi
32256
32257 fi
32258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32259 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32260
32261 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32262 for ac_func in _sqrtf
32263 do :
32264 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32265 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32266 cat >>confdefs.h <<_ACEOF
32267 #define HAVE__SQRTF 1
32268 _ACEOF
32269
32270 fi
32271 done
32272
32273 fi
32274 fi
32275
32276
32277
32278
32279
32280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32281 $as_echo_n "checking for sincosf declaration... " >&6; }
32282 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32283 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32284 $as_echo_n "(cached) " >&6
32285 else
32286
32287
32288 ac_ext=cpp
32289 ac_cpp='$CXXCPP $CPPFLAGS'
32290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32293
32294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32295 /* end confdefs.h. */
32296 #include <math.h>
32297 int
32298 main ()
32299 {
32300 sincosf(0, 0, 0);
32301 ;
32302 return 0;
32303 }
32304 _ACEOF
32305 if ac_fn_cxx_try_compile "$LINENO"; then :
32306 glibcxx_cv_func_sincosf_use=yes
32307 else
32308 glibcxx_cv_func_sincosf_use=no
32309 fi
32310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32311 ac_ext=c
32312 ac_cpp='$CPP $CPPFLAGS'
32313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32316
32317
32318 fi
32319
32320 fi
32321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32322 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32323
32324 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32325 for ac_func in sincosf
32326 do :
32327 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32328 if test "x$ac_cv_func_sincosf" = x""yes; then :
32329 cat >>confdefs.h <<_ACEOF
32330 #define HAVE_SINCOSF 1
32331 _ACEOF
32332
32333 fi
32334 done
32335
32336 else
32337
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32339 $as_echo_n "checking for _sincosf declaration... " >&6; }
32340 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32341 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32342 $as_echo_n "(cached) " >&6
32343 else
32344
32345
32346 ac_ext=cpp
32347 ac_cpp='$CXXCPP $CPPFLAGS'
32348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32351
32352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32353 /* end confdefs.h. */
32354 #include <math.h>
32355 int
32356 main ()
32357 {
32358 _sincosf(0, 0, 0);
32359 ;
32360 return 0;
32361 }
32362 _ACEOF
32363 if ac_fn_cxx_try_compile "$LINENO"; then :
32364 glibcxx_cv_func__sincosf_use=yes
32365 else
32366 glibcxx_cv_func__sincosf_use=no
32367 fi
32368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32369 ac_ext=c
32370 ac_cpp='$CPP $CPPFLAGS'
32371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32374
32375
32376 fi
32377
32378 fi
32379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32380 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32381
32382 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32383 for ac_func in _sincosf
32384 do :
32385 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32386 if test "x$ac_cv_func__sincosf" = x""yes; then :
32387 cat >>confdefs.h <<_ACEOF
32388 #define HAVE__SINCOSF 1
32389 _ACEOF
32390
32391 fi
32392 done
32393
32394 fi
32395 fi
32396
32397
32398
32399
32400
32401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32402 $as_echo_n "checking for finitef declaration... " >&6; }
32403 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32404 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32405 $as_echo_n "(cached) " >&6
32406 else
32407
32408
32409 ac_ext=cpp
32410 ac_cpp='$CXXCPP $CPPFLAGS'
32411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32414
32415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32416 /* end confdefs.h. */
32417 #include <math.h>
32418 #ifdef HAVE_IEEEFP_H
32419 #include <ieeefp.h>
32420 #endif
32421
32422 int
32423 main ()
32424 {
32425 finitef(0);
32426 ;
32427 return 0;
32428 }
32429 _ACEOF
32430 if ac_fn_cxx_try_compile "$LINENO"; then :
32431 glibcxx_cv_func_finitef_use=yes
32432 else
32433 glibcxx_cv_func_finitef_use=no
32434 fi
32435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32436 ac_ext=c
32437 ac_cpp='$CPP $CPPFLAGS'
32438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32441
32442
32443 fi
32444
32445 fi
32446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32447 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32448
32449 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32450 for ac_func in finitef
32451 do :
32452 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32453 if test "x$ac_cv_func_finitef" = x""yes; then :
32454 cat >>confdefs.h <<_ACEOF
32455 #define HAVE_FINITEF 1
32456 _ACEOF
32457
32458 fi
32459 done
32460
32461 else
32462
32463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32464 $as_echo_n "checking for _finitef declaration... " >&6; }
32465 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32466 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32467 $as_echo_n "(cached) " >&6
32468 else
32469
32470
32471 ac_ext=cpp
32472 ac_cpp='$CXXCPP $CPPFLAGS'
32473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32476
32477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32478 /* end confdefs.h. */
32479 #include <math.h>
32480 #ifdef HAVE_IEEEFP_H
32481 #include <ieeefp.h>
32482 #endif
32483
32484 int
32485 main ()
32486 {
32487 _finitef(0);
32488 ;
32489 return 0;
32490 }
32491 _ACEOF
32492 if ac_fn_cxx_try_compile "$LINENO"; then :
32493 glibcxx_cv_func__finitef_use=yes
32494 else
32495 glibcxx_cv_func__finitef_use=no
32496 fi
32497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32498 ac_ext=c
32499 ac_cpp='$CPP $CPPFLAGS'
32500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32503
32504
32505 fi
32506
32507 fi
32508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32509 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32510
32511 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32512 for ac_func in _finitef
32513 do :
32514 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32515 if test "x$ac_cv_func__finitef" = x""yes; then :
32516 cat >>confdefs.h <<_ACEOF
32517 #define HAVE__FINITEF 1
32518 _ACEOF
32519
32520 fi
32521 done
32522
32523 fi
32524 fi
32525
32526
32527
32528
32529
32530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32531 $as_echo_n "checking for long double trig functions... " >&6; }
32532 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32533 $as_echo_n "(cached) " >&6
32534 else
32535
32536
32537 ac_ext=cpp
32538 ac_cpp='$CXXCPP $CPPFLAGS'
32539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32542
32543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32544 /* end confdefs.h. */
32545 #include <math.h>
32546 int
32547 main ()
32548 {
32549 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32550 ;
32551 return 0;
32552 }
32553 _ACEOF
32554 if ac_fn_cxx_try_compile "$LINENO"; then :
32555 glibcxx_cv_func_long_double_trig_use=yes
32556 else
32557 glibcxx_cv_func_long_double_trig_use=no
32558 fi
32559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32560 ac_ext=c
32561 ac_cpp='$CPP $CPPFLAGS'
32562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32565
32566 fi
32567
32568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32569 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32570 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32571 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32572 do :
32573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32575 eval as_val=\$$as_ac_var
32576 if test "x$as_val" = x""yes; then :
32577 cat >>confdefs.h <<_ACEOF
32578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32579 _ACEOF
32580
32581 fi
32582 done
32583
32584 else
32585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32586 $as_echo_n "checking for _long double trig functions... " >&6; }
32587 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32588 $as_echo_n "(cached) " >&6
32589 else
32590
32591
32592 ac_ext=cpp
32593 ac_cpp='$CXXCPP $CPPFLAGS'
32594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32597
32598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32599 /* end confdefs.h. */
32600 #include <math.h>
32601 int
32602 main ()
32603 {
32604 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32605 ;
32606 return 0;
32607 }
32608 _ACEOF
32609 if ac_fn_cxx_try_compile "$LINENO"; then :
32610 glibcxx_cv_func__long_double_trig_use=yes
32611 else
32612 glibcxx_cv_func__long_double_trig_use=no
32613 fi
32614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32615 ac_ext=c
32616 ac_cpp='$CPP $CPPFLAGS'
32617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32620
32621 fi
32622
32623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32624 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32625 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32626 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32627 do :
32628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32630 eval as_val=\$$as_ac_var
32631 if test "x$as_val" = x""yes; then :
32632 cat >>confdefs.h <<_ACEOF
32633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32634 _ACEOF
32635
32636 fi
32637 done
32638
32639 fi
32640 fi
32641
32642
32643
32644
32645
32646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32647 $as_echo_n "checking for long double round functions... " >&6; }
32648 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32649 $as_echo_n "(cached) " >&6
32650 else
32651
32652
32653 ac_ext=cpp
32654 ac_cpp='$CXXCPP $CPPFLAGS'
32655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32658
32659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32660 /* end confdefs.h. */
32661 #include <math.h>
32662 int
32663 main ()
32664 {
32665 ceill (0); floorl (0);
32666 ;
32667 return 0;
32668 }
32669 _ACEOF
32670 if ac_fn_cxx_try_compile "$LINENO"; then :
32671 glibcxx_cv_func_long_double_round_use=yes
32672 else
32673 glibcxx_cv_func_long_double_round_use=no
32674 fi
32675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32676 ac_ext=c
32677 ac_cpp='$CPP $CPPFLAGS'
32678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32681
32682 fi
32683
32684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32685 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32686 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32687 for ac_func in ceill floorl
32688 do :
32689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32691 eval as_val=\$$as_ac_var
32692 if test "x$as_val" = x""yes; then :
32693 cat >>confdefs.h <<_ACEOF
32694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32695 _ACEOF
32696
32697 fi
32698 done
32699
32700 else
32701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32702 $as_echo_n "checking for _long double round functions... " >&6; }
32703 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32704 $as_echo_n "(cached) " >&6
32705 else
32706
32707
32708 ac_ext=cpp
32709 ac_cpp='$CXXCPP $CPPFLAGS'
32710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32713
32714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32715 /* end confdefs.h. */
32716 #include <math.h>
32717 int
32718 main ()
32719 {
32720 _ceill (0); _floorl (0);
32721 ;
32722 return 0;
32723 }
32724 _ACEOF
32725 if ac_fn_cxx_try_compile "$LINENO"; then :
32726 glibcxx_cv_func__long_double_round_use=yes
32727 else
32728 glibcxx_cv_func__long_double_round_use=no
32729 fi
32730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32731 ac_ext=c
32732 ac_cpp='$CPP $CPPFLAGS'
32733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32736
32737 fi
32738
32739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32740 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32741 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32742 for ac_func in _ceill _floorl
32743 do :
32744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32746 eval as_val=\$$as_ac_var
32747 if test "x$as_val" = x""yes; then :
32748 cat >>confdefs.h <<_ACEOF
32749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32750 _ACEOF
32751
32752 fi
32753 done
32754
32755 fi
32756 fi
32757
32758
32759
32760
32761
32762
32763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32764 $as_echo_n "checking for isnanl declaration... " >&6; }
32765 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32766 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32767 $as_echo_n "(cached) " >&6
32768 else
32769
32770
32771 ac_ext=cpp
32772 ac_cpp='$CXXCPP $CPPFLAGS'
32773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32776
32777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32778 /* end confdefs.h. */
32779 #include <math.h>
32780 #ifdef HAVE_IEEEFP_H
32781 #include <ieeefp.h>
32782 #endif
32783
32784 int
32785 main ()
32786 {
32787 isnanl(0);
32788 ;
32789 return 0;
32790 }
32791 _ACEOF
32792 if ac_fn_cxx_try_compile "$LINENO"; then :
32793 glibcxx_cv_func_isnanl_use=yes
32794 else
32795 glibcxx_cv_func_isnanl_use=no
32796 fi
32797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32798 ac_ext=c
32799 ac_cpp='$CPP $CPPFLAGS'
32800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32803
32804
32805 fi
32806
32807 fi
32808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32809 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32810
32811 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32812 for ac_func in isnanl
32813 do :
32814 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32815 if test "x$ac_cv_func_isnanl" = x""yes; then :
32816 cat >>confdefs.h <<_ACEOF
32817 #define HAVE_ISNANL 1
32818 _ACEOF
32819
32820 fi
32821 done
32822
32823 else
32824
32825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32826 $as_echo_n "checking for _isnanl declaration... " >&6; }
32827 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32828 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32829 $as_echo_n "(cached) " >&6
32830 else
32831
32832
32833 ac_ext=cpp
32834 ac_cpp='$CXXCPP $CPPFLAGS'
32835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32838
32839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32840 /* end confdefs.h. */
32841 #include <math.h>
32842 #ifdef HAVE_IEEEFP_H
32843 #include <ieeefp.h>
32844 #endif
32845
32846 int
32847 main ()
32848 {
32849 _isnanl(0);
32850 ;
32851 return 0;
32852 }
32853 _ACEOF
32854 if ac_fn_cxx_try_compile "$LINENO"; then :
32855 glibcxx_cv_func__isnanl_use=yes
32856 else
32857 glibcxx_cv_func__isnanl_use=no
32858 fi
32859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32860 ac_ext=c
32861 ac_cpp='$CPP $CPPFLAGS'
32862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32865
32866
32867 fi
32868
32869 fi
32870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32871 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32872
32873 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32874 for ac_func in _isnanl
32875 do :
32876 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32877 if test "x$ac_cv_func__isnanl" = x""yes; then :
32878 cat >>confdefs.h <<_ACEOF
32879 #define HAVE__ISNANL 1
32880 _ACEOF
32881
32882 fi
32883 done
32884
32885 fi
32886 fi
32887
32888
32889
32890
32891
32892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32893 $as_echo_n "checking for isinfl declaration... " >&6; }
32894 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32895 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32896 $as_echo_n "(cached) " >&6
32897 else
32898
32899
32900 ac_ext=cpp
32901 ac_cpp='$CXXCPP $CPPFLAGS'
32902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32905
32906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32907 /* end confdefs.h. */
32908 #include <math.h>
32909 #ifdef HAVE_IEEEFP_H
32910 #include <ieeefp.h>
32911 #endif
32912
32913 int
32914 main ()
32915 {
32916 isinfl(0);
32917 ;
32918 return 0;
32919 }
32920 _ACEOF
32921 if ac_fn_cxx_try_compile "$LINENO"; then :
32922 glibcxx_cv_func_isinfl_use=yes
32923 else
32924 glibcxx_cv_func_isinfl_use=no
32925 fi
32926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32927 ac_ext=c
32928 ac_cpp='$CPP $CPPFLAGS'
32929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32932
32933
32934 fi
32935
32936 fi
32937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32938 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32939
32940 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32941 for ac_func in isinfl
32942 do :
32943 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32944 if test "x$ac_cv_func_isinfl" = x""yes; then :
32945 cat >>confdefs.h <<_ACEOF
32946 #define HAVE_ISINFL 1
32947 _ACEOF
32948
32949 fi
32950 done
32951
32952 else
32953
32954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32955 $as_echo_n "checking for _isinfl declaration... " >&6; }
32956 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32957 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32958 $as_echo_n "(cached) " >&6
32959 else
32960
32961
32962 ac_ext=cpp
32963 ac_cpp='$CXXCPP $CPPFLAGS'
32964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32967
32968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32969 /* end confdefs.h. */
32970 #include <math.h>
32971 #ifdef HAVE_IEEEFP_H
32972 #include <ieeefp.h>
32973 #endif
32974
32975 int
32976 main ()
32977 {
32978 _isinfl(0);
32979 ;
32980 return 0;
32981 }
32982 _ACEOF
32983 if ac_fn_cxx_try_compile "$LINENO"; then :
32984 glibcxx_cv_func__isinfl_use=yes
32985 else
32986 glibcxx_cv_func__isinfl_use=no
32987 fi
32988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32989 ac_ext=c
32990 ac_cpp='$CPP $CPPFLAGS'
32991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32994
32995
32996 fi
32997
32998 fi
32999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33000 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33001
33002 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33003 for ac_func in _isinfl
33004 do :
33005 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33006 if test "x$ac_cv_func__isinfl" = x""yes; then :
33007 cat >>confdefs.h <<_ACEOF
33008 #define HAVE__ISINFL 1
33009 _ACEOF
33010
33011 fi
33012 done
33013
33014 fi
33015 fi
33016
33017
33018
33019
33020
33021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33022 $as_echo_n "checking for atan2l declaration... " >&6; }
33023 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33024 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33025 $as_echo_n "(cached) " >&6
33026 else
33027
33028
33029 ac_ext=cpp
33030 ac_cpp='$CXXCPP $CPPFLAGS'
33031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33034
33035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33036 /* end confdefs.h. */
33037 #include <math.h>
33038 int
33039 main ()
33040 {
33041 atan2l(0, 0);
33042 ;
33043 return 0;
33044 }
33045 _ACEOF
33046 if ac_fn_cxx_try_compile "$LINENO"; then :
33047 glibcxx_cv_func_atan2l_use=yes
33048 else
33049 glibcxx_cv_func_atan2l_use=no
33050 fi
33051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33052 ac_ext=c
33053 ac_cpp='$CPP $CPPFLAGS'
33054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33057
33058
33059 fi
33060
33061 fi
33062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33063 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33064
33065 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33066 for ac_func in atan2l
33067 do :
33068 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33069 if test "x$ac_cv_func_atan2l" = x""yes; then :
33070 cat >>confdefs.h <<_ACEOF
33071 #define HAVE_ATAN2L 1
33072 _ACEOF
33073
33074 fi
33075 done
33076
33077 else
33078
33079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33080 $as_echo_n "checking for _atan2l declaration... " >&6; }
33081 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33082 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33083 $as_echo_n "(cached) " >&6
33084 else
33085
33086
33087 ac_ext=cpp
33088 ac_cpp='$CXXCPP $CPPFLAGS'
33089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33092
33093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33094 /* end confdefs.h. */
33095 #include <math.h>
33096 int
33097 main ()
33098 {
33099 _atan2l(0, 0);
33100 ;
33101 return 0;
33102 }
33103 _ACEOF
33104 if ac_fn_cxx_try_compile "$LINENO"; then :
33105 glibcxx_cv_func__atan2l_use=yes
33106 else
33107 glibcxx_cv_func__atan2l_use=no
33108 fi
33109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33110 ac_ext=c
33111 ac_cpp='$CPP $CPPFLAGS'
33112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33115
33116
33117 fi
33118
33119 fi
33120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33121 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33122
33123 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33124 for ac_func in _atan2l
33125 do :
33126 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33127 if test "x$ac_cv_func__atan2l" = x""yes; then :
33128 cat >>confdefs.h <<_ACEOF
33129 #define HAVE__ATAN2L 1
33130 _ACEOF
33131
33132 fi
33133 done
33134
33135 fi
33136 fi
33137
33138
33139
33140
33141
33142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33143 $as_echo_n "checking for expl declaration... " >&6; }
33144 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33145 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33146 $as_echo_n "(cached) " >&6
33147 else
33148
33149
33150 ac_ext=cpp
33151 ac_cpp='$CXXCPP $CPPFLAGS'
33152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33155
33156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33157 /* end confdefs.h. */
33158 #include <math.h>
33159 #ifdef HAVE_IEEEFP_H
33160 #include <ieeefp.h>
33161 #endif
33162
33163 int
33164 main ()
33165 {
33166 expl(0);
33167 ;
33168 return 0;
33169 }
33170 _ACEOF
33171 if ac_fn_cxx_try_compile "$LINENO"; then :
33172 glibcxx_cv_func_expl_use=yes
33173 else
33174 glibcxx_cv_func_expl_use=no
33175 fi
33176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33177 ac_ext=c
33178 ac_cpp='$CPP $CPPFLAGS'
33179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33182
33183
33184 fi
33185
33186 fi
33187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33188 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33189
33190 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33191 for ac_func in expl
33192 do :
33193 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33194 if test "x$ac_cv_func_expl" = x""yes; then :
33195 cat >>confdefs.h <<_ACEOF
33196 #define HAVE_EXPL 1
33197 _ACEOF
33198
33199 fi
33200 done
33201
33202 else
33203
33204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33205 $as_echo_n "checking for _expl declaration... " >&6; }
33206 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33207 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33208 $as_echo_n "(cached) " >&6
33209 else
33210
33211
33212 ac_ext=cpp
33213 ac_cpp='$CXXCPP $CPPFLAGS'
33214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33217
33218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33219 /* end confdefs.h. */
33220 #include <math.h>
33221 #ifdef HAVE_IEEEFP_H
33222 #include <ieeefp.h>
33223 #endif
33224
33225 int
33226 main ()
33227 {
33228 _expl(0);
33229 ;
33230 return 0;
33231 }
33232 _ACEOF
33233 if ac_fn_cxx_try_compile "$LINENO"; then :
33234 glibcxx_cv_func__expl_use=yes
33235 else
33236 glibcxx_cv_func__expl_use=no
33237 fi
33238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33239 ac_ext=c
33240 ac_cpp='$CPP $CPPFLAGS'
33241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33244
33245
33246 fi
33247
33248 fi
33249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33250 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33251
33252 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33253 for ac_func in _expl
33254 do :
33255 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33256 if test "x$ac_cv_func__expl" = x""yes; then :
33257 cat >>confdefs.h <<_ACEOF
33258 #define HAVE__EXPL 1
33259 _ACEOF
33260
33261 fi
33262 done
33263
33264 fi
33265 fi
33266
33267
33268
33269
33270
33271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33272 $as_echo_n "checking for fabsl declaration... " >&6; }
33273 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33274 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33275 $as_echo_n "(cached) " >&6
33276 else
33277
33278
33279 ac_ext=cpp
33280 ac_cpp='$CXXCPP $CPPFLAGS'
33281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33284
33285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33286 /* end confdefs.h. */
33287 #include <math.h>
33288 #ifdef HAVE_IEEEFP_H
33289 #include <ieeefp.h>
33290 #endif
33291
33292 int
33293 main ()
33294 {
33295 fabsl(0);
33296 ;
33297 return 0;
33298 }
33299 _ACEOF
33300 if ac_fn_cxx_try_compile "$LINENO"; then :
33301 glibcxx_cv_func_fabsl_use=yes
33302 else
33303 glibcxx_cv_func_fabsl_use=no
33304 fi
33305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33306 ac_ext=c
33307 ac_cpp='$CPP $CPPFLAGS'
33308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33311
33312
33313 fi
33314
33315 fi
33316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33317 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33318
33319 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33320 for ac_func in fabsl
33321 do :
33322 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33323 if test "x$ac_cv_func_fabsl" = x""yes; then :
33324 cat >>confdefs.h <<_ACEOF
33325 #define HAVE_FABSL 1
33326 _ACEOF
33327
33328 fi
33329 done
33330
33331 else
33332
33333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33334 $as_echo_n "checking for _fabsl declaration... " >&6; }
33335 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33336 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33337 $as_echo_n "(cached) " >&6
33338 else
33339
33340
33341 ac_ext=cpp
33342 ac_cpp='$CXXCPP $CPPFLAGS'
33343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33346
33347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33348 /* end confdefs.h. */
33349 #include <math.h>
33350 #ifdef HAVE_IEEEFP_H
33351 #include <ieeefp.h>
33352 #endif
33353
33354 int
33355 main ()
33356 {
33357 _fabsl(0);
33358 ;
33359 return 0;
33360 }
33361 _ACEOF
33362 if ac_fn_cxx_try_compile "$LINENO"; then :
33363 glibcxx_cv_func__fabsl_use=yes
33364 else
33365 glibcxx_cv_func__fabsl_use=no
33366 fi
33367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33368 ac_ext=c
33369 ac_cpp='$CPP $CPPFLAGS'
33370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33373
33374
33375 fi
33376
33377 fi
33378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33379 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33380
33381 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33382 for ac_func in _fabsl
33383 do :
33384 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33385 if test "x$ac_cv_func__fabsl" = x""yes; then :
33386 cat >>confdefs.h <<_ACEOF
33387 #define HAVE__FABSL 1
33388 _ACEOF
33389
33390 fi
33391 done
33392
33393 fi
33394 fi
33395
33396
33397
33398
33399
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33401 $as_echo_n "checking for fmodl declaration... " >&6; }
33402 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33403 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33404 $as_echo_n "(cached) " >&6
33405 else
33406
33407
33408 ac_ext=cpp
33409 ac_cpp='$CXXCPP $CPPFLAGS'
33410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33413
33414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33415 /* end confdefs.h. */
33416 #include <math.h>
33417 int
33418 main ()
33419 {
33420 fmodl(0, 0);
33421 ;
33422 return 0;
33423 }
33424 _ACEOF
33425 if ac_fn_cxx_try_compile "$LINENO"; then :
33426 glibcxx_cv_func_fmodl_use=yes
33427 else
33428 glibcxx_cv_func_fmodl_use=no
33429 fi
33430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33431 ac_ext=c
33432 ac_cpp='$CPP $CPPFLAGS'
33433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33436
33437
33438 fi
33439
33440 fi
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33442 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33443
33444 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33445 for ac_func in fmodl
33446 do :
33447 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33448 if test "x$ac_cv_func_fmodl" = x""yes; then :
33449 cat >>confdefs.h <<_ACEOF
33450 #define HAVE_FMODL 1
33451 _ACEOF
33452
33453 fi
33454 done
33455
33456 else
33457
33458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33459 $as_echo_n "checking for _fmodl declaration... " >&6; }
33460 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33461 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33462 $as_echo_n "(cached) " >&6
33463 else
33464
33465
33466 ac_ext=cpp
33467 ac_cpp='$CXXCPP $CPPFLAGS'
33468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33471
33472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33473 /* end confdefs.h. */
33474 #include <math.h>
33475 int
33476 main ()
33477 {
33478 _fmodl(0, 0);
33479 ;
33480 return 0;
33481 }
33482 _ACEOF
33483 if ac_fn_cxx_try_compile "$LINENO"; then :
33484 glibcxx_cv_func__fmodl_use=yes
33485 else
33486 glibcxx_cv_func__fmodl_use=no
33487 fi
33488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33489 ac_ext=c
33490 ac_cpp='$CPP $CPPFLAGS'
33491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33494
33495
33496 fi
33497
33498 fi
33499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33500 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33501
33502 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33503 for ac_func in _fmodl
33504 do :
33505 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33506 if test "x$ac_cv_func__fmodl" = x""yes; then :
33507 cat >>confdefs.h <<_ACEOF
33508 #define HAVE__FMODL 1
33509 _ACEOF
33510
33511 fi
33512 done
33513
33514 fi
33515 fi
33516
33517
33518
33519
33520
33521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33522 $as_echo_n "checking for frexpl declaration... " >&6; }
33523 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33524 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33525 $as_echo_n "(cached) " >&6
33526 else
33527
33528
33529 ac_ext=cpp
33530 ac_cpp='$CXXCPP $CPPFLAGS'
33531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33534
33535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33536 /* end confdefs.h. */
33537 #include <math.h>
33538 int
33539 main ()
33540 {
33541 frexpl(0, 0);
33542 ;
33543 return 0;
33544 }
33545 _ACEOF
33546 if ac_fn_cxx_try_compile "$LINENO"; then :
33547 glibcxx_cv_func_frexpl_use=yes
33548 else
33549 glibcxx_cv_func_frexpl_use=no
33550 fi
33551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33552 ac_ext=c
33553 ac_cpp='$CPP $CPPFLAGS'
33554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33557
33558
33559 fi
33560
33561 fi
33562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33563 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33564
33565 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33566 for ac_func in frexpl
33567 do :
33568 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33569 if test "x$ac_cv_func_frexpl" = x""yes; then :
33570 cat >>confdefs.h <<_ACEOF
33571 #define HAVE_FREXPL 1
33572 _ACEOF
33573
33574 fi
33575 done
33576
33577 else
33578
33579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33580 $as_echo_n "checking for _frexpl declaration... " >&6; }
33581 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33582 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33583 $as_echo_n "(cached) " >&6
33584 else
33585
33586
33587 ac_ext=cpp
33588 ac_cpp='$CXXCPP $CPPFLAGS'
33589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33592
33593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33594 /* end confdefs.h. */
33595 #include <math.h>
33596 int
33597 main ()
33598 {
33599 _frexpl(0, 0);
33600 ;
33601 return 0;
33602 }
33603 _ACEOF
33604 if ac_fn_cxx_try_compile "$LINENO"; then :
33605 glibcxx_cv_func__frexpl_use=yes
33606 else
33607 glibcxx_cv_func__frexpl_use=no
33608 fi
33609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33610 ac_ext=c
33611 ac_cpp='$CPP $CPPFLAGS'
33612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33615
33616
33617 fi
33618
33619 fi
33620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33621 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33622
33623 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33624 for ac_func in _frexpl
33625 do :
33626 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33627 if test "x$ac_cv_func__frexpl" = x""yes; then :
33628 cat >>confdefs.h <<_ACEOF
33629 #define HAVE__FREXPL 1
33630 _ACEOF
33631
33632 fi
33633 done
33634
33635 fi
33636 fi
33637
33638
33639
33640
33641
33642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33643 $as_echo_n "checking for hypotl declaration... " >&6; }
33644 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33645 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33646 $as_echo_n "(cached) " >&6
33647 else
33648
33649
33650 ac_ext=cpp
33651 ac_cpp='$CXXCPP $CPPFLAGS'
33652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33655
33656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33657 /* end confdefs.h. */
33658 #include <math.h>
33659 int
33660 main ()
33661 {
33662 hypotl(0, 0);
33663 ;
33664 return 0;
33665 }
33666 _ACEOF
33667 if ac_fn_cxx_try_compile "$LINENO"; then :
33668 glibcxx_cv_func_hypotl_use=yes
33669 else
33670 glibcxx_cv_func_hypotl_use=no
33671 fi
33672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33673 ac_ext=c
33674 ac_cpp='$CPP $CPPFLAGS'
33675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33678
33679
33680 fi
33681
33682 fi
33683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33684 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33685
33686 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33687 for ac_func in hypotl
33688 do :
33689 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33690 if test "x$ac_cv_func_hypotl" = x""yes; then :
33691 cat >>confdefs.h <<_ACEOF
33692 #define HAVE_HYPOTL 1
33693 _ACEOF
33694
33695 fi
33696 done
33697
33698 else
33699
33700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33701 $as_echo_n "checking for _hypotl declaration... " >&6; }
33702 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33703 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33704 $as_echo_n "(cached) " >&6
33705 else
33706
33707
33708 ac_ext=cpp
33709 ac_cpp='$CXXCPP $CPPFLAGS'
33710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33713
33714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33715 /* end confdefs.h. */
33716 #include <math.h>
33717 int
33718 main ()
33719 {
33720 _hypotl(0, 0);
33721 ;
33722 return 0;
33723 }
33724 _ACEOF
33725 if ac_fn_cxx_try_compile "$LINENO"; then :
33726 glibcxx_cv_func__hypotl_use=yes
33727 else
33728 glibcxx_cv_func__hypotl_use=no
33729 fi
33730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33731 ac_ext=c
33732 ac_cpp='$CPP $CPPFLAGS'
33733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33736
33737
33738 fi
33739
33740 fi
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33742 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33743
33744 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33745 for ac_func in _hypotl
33746 do :
33747 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33748 if test "x$ac_cv_func__hypotl" = x""yes; then :
33749 cat >>confdefs.h <<_ACEOF
33750 #define HAVE__HYPOTL 1
33751 _ACEOF
33752
33753 fi
33754 done
33755
33756 fi
33757 fi
33758
33759
33760
33761
33762
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33764 $as_echo_n "checking for ldexpl declaration... " >&6; }
33765 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33766 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33767 $as_echo_n "(cached) " >&6
33768 else
33769
33770
33771 ac_ext=cpp
33772 ac_cpp='$CXXCPP $CPPFLAGS'
33773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33776
33777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33778 /* end confdefs.h. */
33779 #include <math.h>
33780 int
33781 main ()
33782 {
33783 ldexpl(0, 0);
33784 ;
33785 return 0;
33786 }
33787 _ACEOF
33788 if ac_fn_cxx_try_compile "$LINENO"; then :
33789 glibcxx_cv_func_ldexpl_use=yes
33790 else
33791 glibcxx_cv_func_ldexpl_use=no
33792 fi
33793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33794 ac_ext=c
33795 ac_cpp='$CPP $CPPFLAGS'
33796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33799
33800
33801 fi
33802
33803 fi
33804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33805 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33806
33807 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33808 for ac_func in ldexpl
33809 do :
33810 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33811 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33812 cat >>confdefs.h <<_ACEOF
33813 #define HAVE_LDEXPL 1
33814 _ACEOF
33815
33816 fi
33817 done
33818
33819 else
33820
33821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33822 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33823 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33824 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33825 $as_echo_n "(cached) " >&6
33826 else
33827
33828
33829 ac_ext=cpp
33830 ac_cpp='$CXXCPP $CPPFLAGS'
33831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33834
33835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33836 /* end confdefs.h. */
33837 #include <math.h>
33838 int
33839 main ()
33840 {
33841 _ldexpl(0, 0);
33842 ;
33843 return 0;
33844 }
33845 _ACEOF
33846 if ac_fn_cxx_try_compile "$LINENO"; then :
33847 glibcxx_cv_func__ldexpl_use=yes
33848 else
33849 glibcxx_cv_func__ldexpl_use=no
33850 fi
33851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33852 ac_ext=c
33853 ac_cpp='$CPP $CPPFLAGS'
33854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33857
33858
33859 fi
33860
33861 fi
33862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33863 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33864
33865 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33866 for ac_func in _ldexpl
33867 do :
33868 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33869 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33870 cat >>confdefs.h <<_ACEOF
33871 #define HAVE__LDEXPL 1
33872 _ACEOF
33873
33874 fi
33875 done
33876
33877 fi
33878 fi
33879
33880
33881
33882
33883
33884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33885 $as_echo_n "checking for logl declaration... " >&6; }
33886 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33887 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33888 $as_echo_n "(cached) " >&6
33889 else
33890
33891
33892 ac_ext=cpp
33893 ac_cpp='$CXXCPP $CPPFLAGS'
33894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33897
33898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33899 /* end confdefs.h. */
33900 #include <math.h>
33901 #ifdef HAVE_IEEEFP_H
33902 #include <ieeefp.h>
33903 #endif
33904
33905 int
33906 main ()
33907 {
33908 logl(0);
33909 ;
33910 return 0;
33911 }
33912 _ACEOF
33913 if ac_fn_cxx_try_compile "$LINENO"; then :
33914 glibcxx_cv_func_logl_use=yes
33915 else
33916 glibcxx_cv_func_logl_use=no
33917 fi
33918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33919 ac_ext=c
33920 ac_cpp='$CPP $CPPFLAGS'
33921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33924
33925
33926 fi
33927
33928 fi
33929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33930 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33931
33932 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33933 for ac_func in logl
33934 do :
33935 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33936 if test "x$ac_cv_func_logl" = x""yes; then :
33937 cat >>confdefs.h <<_ACEOF
33938 #define HAVE_LOGL 1
33939 _ACEOF
33940
33941 fi
33942 done
33943
33944 else
33945
33946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33947 $as_echo_n "checking for _logl declaration... " >&6; }
33948 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33949 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33950 $as_echo_n "(cached) " >&6
33951 else
33952
33953
33954 ac_ext=cpp
33955 ac_cpp='$CXXCPP $CPPFLAGS'
33956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33959
33960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33961 /* end confdefs.h. */
33962 #include <math.h>
33963 #ifdef HAVE_IEEEFP_H
33964 #include <ieeefp.h>
33965 #endif
33966
33967 int
33968 main ()
33969 {
33970 _logl(0);
33971 ;
33972 return 0;
33973 }
33974 _ACEOF
33975 if ac_fn_cxx_try_compile "$LINENO"; then :
33976 glibcxx_cv_func__logl_use=yes
33977 else
33978 glibcxx_cv_func__logl_use=no
33979 fi
33980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33981 ac_ext=c
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33986
33987
33988 fi
33989
33990 fi
33991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33992 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33993
33994 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33995 for ac_func in _logl
33996 do :
33997 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33998 if test "x$ac_cv_func__logl" = x""yes; then :
33999 cat >>confdefs.h <<_ACEOF
34000 #define HAVE__LOGL 1
34001 _ACEOF
34002
34003 fi
34004 done
34005
34006 fi
34007 fi
34008
34009
34010
34011
34012
34013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34014 $as_echo_n "checking for log10l declaration... " >&6; }
34015 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34016 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34017 $as_echo_n "(cached) " >&6
34018 else
34019
34020
34021 ac_ext=cpp
34022 ac_cpp='$CXXCPP $CPPFLAGS'
34023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34026
34027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34028 /* end confdefs.h. */
34029 #include <math.h>
34030 #ifdef HAVE_IEEEFP_H
34031 #include <ieeefp.h>
34032 #endif
34033
34034 int
34035 main ()
34036 {
34037 log10l(0);
34038 ;
34039 return 0;
34040 }
34041 _ACEOF
34042 if ac_fn_cxx_try_compile "$LINENO"; then :
34043 glibcxx_cv_func_log10l_use=yes
34044 else
34045 glibcxx_cv_func_log10l_use=no
34046 fi
34047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34048 ac_ext=c
34049 ac_cpp='$CPP $CPPFLAGS'
34050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34053
34054
34055 fi
34056
34057 fi
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34059 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34060
34061 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34062 for ac_func in log10l
34063 do :
34064 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34065 if test "x$ac_cv_func_log10l" = x""yes; then :
34066 cat >>confdefs.h <<_ACEOF
34067 #define HAVE_LOG10L 1
34068 _ACEOF
34069
34070 fi
34071 done
34072
34073 else
34074
34075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34076 $as_echo_n "checking for _log10l declaration... " >&6; }
34077 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34078 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34079 $as_echo_n "(cached) " >&6
34080 else
34081
34082
34083 ac_ext=cpp
34084 ac_cpp='$CXXCPP $CPPFLAGS'
34085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34088
34089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34090 /* end confdefs.h. */
34091 #include <math.h>
34092 #ifdef HAVE_IEEEFP_H
34093 #include <ieeefp.h>
34094 #endif
34095
34096 int
34097 main ()
34098 {
34099 _log10l(0);
34100 ;
34101 return 0;
34102 }
34103 _ACEOF
34104 if ac_fn_cxx_try_compile "$LINENO"; then :
34105 glibcxx_cv_func__log10l_use=yes
34106 else
34107 glibcxx_cv_func__log10l_use=no
34108 fi
34109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34110 ac_ext=c
34111 ac_cpp='$CPP $CPPFLAGS'
34112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34115
34116
34117 fi
34118
34119 fi
34120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34121 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34122
34123 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34124 for ac_func in _log10l
34125 do :
34126 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34127 if test "x$ac_cv_func__log10l" = x""yes; then :
34128 cat >>confdefs.h <<_ACEOF
34129 #define HAVE__LOG10L 1
34130 _ACEOF
34131
34132 fi
34133 done
34134
34135 fi
34136 fi
34137
34138
34139
34140
34141
34142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34143 $as_echo_n "checking for modfl declaration... " >&6; }
34144 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34145 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34146 $as_echo_n "(cached) " >&6
34147 else
34148
34149
34150 ac_ext=cpp
34151 ac_cpp='$CXXCPP $CPPFLAGS'
34152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34155
34156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34157 /* end confdefs.h. */
34158 #include <math.h>
34159 int
34160 main ()
34161 {
34162 modfl(0, 0);
34163 ;
34164 return 0;
34165 }
34166 _ACEOF
34167 if ac_fn_cxx_try_compile "$LINENO"; then :
34168 glibcxx_cv_func_modfl_use=yes
34169 else
34170 glibcxx_cv_func_modfl_use=no
34171 fi
34172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34173 ac_ext=c
34174 ac_cpp='$CPP $CPPFLAGS'
34175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34178
34179
34180 fi
34181
34182 fi
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34184 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34185
34186 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34187 for ac_func in modfl
34188 do :
34189 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34190 if test "x$ac_cv_func_modfl" = x""yes; then :
34191 cat >>confdefs.h <<_ACEOF
34192 #define HAVE_MODFL 1
34193 _ACEOF
34194
34195 fi
34196 done
34197
34198 else
34199
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34201 $as_echo_n "checking for _modfl declaration... " >&6; }
34202 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34203 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34204 $as_echo_n "(cached) " >&6
34205 else
34206
34207
34208 ac_ext=cpp
34209 ac_cpp='$CXXCPP $CPPFLAGS'
34210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34213
34214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34215 /* end confdefs.h. */
34216 #include <math.h>
34217 int
34218 main ()
34219 {
34220 _modfl(0, 0);
34221 ;
34222 return 0;
34223 }
34224 _ACEOF
34225 if ac_fn_cxx_try_compile "$LINENO"; then :
34226 glibcxx_cv_func__modfl_use=yes
34227 else
34228 glibcxx_cv_func__modfl_use=no
34229 fi
34230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34231 ac_ext=c
34232 ac_cpp='$CPP $CPPFLAGS'
34233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34236
34237
34238 fi
34239
34240 fi
34241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34242 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34243
34244 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34245 for ac_func in _modfl
34246 do :
34247 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34248 if test "x$ac_cv_func__modfl" = x""yes; then :
34249 cat >>confdefs.h <<_ACEOF
34250 #define HAVE__MODFL 1
34251 _ACEOF
34252
34253 fi
34254 done
34255
34256 fi
34257 fi
34258
34259
34260
34261
34262
34263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34264 $as_echo_n "checking for powl declaration... " >&6; }
34265 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34266 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34267 $as_echo_n "(cached) " >&6
34268 else
34269
34270
34271 ac_ext=cpp
34272 ac_cpp='$CXXCPP $CPPFLAGS'
34273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34276
34277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34278 /* end confdefs.h. */
34279 #include <math.h>
34280 int
34281 main ()
34282 {
34283 powl(0, 0);
34284 ;
34285 return 0;
34286 }
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289 glibcxx_cv_func_powl_use=yes
34290 else
34291 glibcxx_cv_func_powl_use=no
34292 fi
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294 ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34299
34300
34301 fi
34302
34303 fi
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34305 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34306
34307 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34308 for ac_func in powl
34309 do :
34310 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34311 if test "x$ac_cv_func_powl" = x""yes; then :
34312 cat >>confdefs.h <<_ACEOF
34313 #define HAVE_POWL 1
34314 _ACEOF
34315
34316 fi
34317 done
34318
34319 else
34320
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34322 $as_echo_n "checking for _powl declaration... " >&6; }
34323 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34324 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34325 $as_echo_n "(cached) " >&6
34326 else
34327
34328
34329 ac_ext=cpp
34330 ac_cpp='$CXXCPP $CPPFLAGS'
34331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34334
34335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34336 /* end confdefs.h. */
34337 #include <math.h>
34338 int
34339 main ()
34340 {
34341 _powl(0, 0);
34342 ;
34343 return 0;
34344 }
34345 _ACEOF
34346 if ac_fn_cxx_try_compile "$LINENO"; then :
34347 glibcxx_cv_func__powl_use=yes
34348 else
34349 glibcxx_cv_func__powl_use=no
34350 fi
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34352 ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34357
34358
34359 fi
34360
34361 fi
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34363 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34364
34365 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34366 for ac_func in _powl
34367 do :
34368 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34369 if test "x$ac_cv_func__powl" = x""yes; then :
34370 cat >>confdefs.h <<_ACEOF
34371 #define HAVE__POWL 1
34372 _ACEOF
34373
34374 fi
34375 done
34376
34377 fi
34378 fi
34379
34380
34381
34382
34383
34384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34385 $as_echo_n "checking for sqrtl declaration... " >&6; }
34386 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34387 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34388 $as_echo_n "(cached) " >&6
34389 else
34390
34391
34392 ac_ext=cpp
34393 ac_cpp='$CXXCPP $CPPFLAGS'
34394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34397
34398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34399 /* end confdefs.h. */
34400 #include <math.h>
34401 #ifdef HAVE_IEEEFP_H
34402 #include <ieeefp.h>
34403 #endif
34404
34405 int
34406 main ()
34407 {
34408 sqrtl(0);
34409 ;
34410 return 0;
34411 }
34412 _ACEOF
34413 if ac_fn_cxx_try_compile "$LINENO"; then :
34414 glibcxx_cv_func_sqrtl_use=yes
34415 else
34416 glibcxx_cv_func_sqrtl_use=no
34417 fi
34418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34419 ac_ext=c
34420 ac_cpp='$CPP $CPPFLAGS'
34421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34424
34425
34426 fi
34427
34428 fi
34429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34430 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34431
34432 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34433 for ac_func in sqrtl
34434 do :
34435 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34436 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34437 cat >>confdefs.h <<_ACEOF
34438 #define HAVE_SQRTL 1
34439 _ACEOF
34440
34441 fi
34442 done
34443
34444 else
34445
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34447 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34448 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34449 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34450 $as_echo_n "(cached) " >&6
34451 else
34452
34453
34454 ac_ext=cpp
34455 ac_cpp='$CXXCPP $CPPFLAGS'
34456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34459
34460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34461 /* end confdefs.h. */
34462 #include <math.h>
34463 #ifdef HAVE_IEEEFP_H
34464 #include <ieeefp.h>
34465 #endif
34466
34467 int
34468 main ()
34469 {
34470 _sqrtl(0);
34471 ;
34472 return 0;
34473 }
34474 _ACEOF
34475 if ac_fn_cxx_try_compile "$LINENO"; then :
34476 glibcxx_cv_func__sqrtl_use=yes
34477 else
34478 glibcxx_cv_func__sqrtl_use=no
34479 fi
34480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34481 ac_ext=c
34482 ac_cpp='$CPP $CPPFLAGS'
34483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34486
34487
34488 fi
34489
34490 fi
34491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34492 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34493
34494 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34495 for ac_func in _sqrtl
34496 do :
34497 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34498 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34499 cat >>confdefs.h <<_ACEOF
34500 #define HAVE__SQRTL 1
34501 _ACEOF
34502
34503 fi
34504 done
34505
34506 fi
34507 fi
34508
34509
34510
34511
34512
34513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34514 $as_echo_n "checking for sincosl declaration... " >&6; }
34515 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34516 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34517 $as_echo_n "(cached) " >&6
34518 else
34519
34520
34521 ac_ext=cpp
34522 ac_cpp='$CXXCPP $CPPFLAGS'
34523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34526
34527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34528 /* end confdefs.h. */
34529 #include <math.h>
34530 int
34531 main ()
34532 {
34533 sincosl(0, 0, 0);
34534 ;
34535 return 0;
34536 }
34537 _ACEOF
34538 if ac_fn_cxx_try_compile "$LINENO"; then :
34539 glibcxx_cv_func_sincosl_use=yes
34540 else
34541 glibcxx_cv_func_sincosl_use=no
34542 fi
34543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34544 ac_ext=c
34545 ac_cpp='$CPP $CPPFLAGS'
34546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34549
34550
34551 fi
34552
34553 fi
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34555 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34556
34557 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34558 for ac_func in sincosl
34559 do :
34560 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34561 if test "x$ac_cv_func_sincosl" = x""yes; then :
34562 cat >>confdefs.h <<_ACEOF
34563 #define HAVE_SINCOSL 1
34564 _ACEOF
34565
34566 fi
34567 done
34568
34569 else
34570
34571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34572 $as_echo_n "checking for _sincosl declaration... " >&6; }
34573 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34574 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34575 $as_echo_n "(cached) " >&6
34576 else
34577
34578
34579 ac_ext=cpp
34580 ac_cpp='$CXXCPP $CPPFLAGS'
34581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34584
34585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34586 /* end confdefs.h. */
34587 #include <math.h>
34588 int
34589 main ()
34590 {
34591 _sincosl(0, 0, 0);
34592 ;
34593 return 0;
34594 }
34595 _ACEOF
34596 if ac_fn_cxx_try_compile "$LINENO"; then :
34597 glibcxx_cv_func__sincosl_use=yes
34598 else
34599 glibcxx_cv_func__sincosl_use=no
34600 fi
34601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34602 ac_ext=c
34603 ac_cpp='$CPP $CPPFLAGS'
34604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34607
34608
34609 fi
34610
34611 fi
34612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34613 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34614
34615 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34616 for ac_func in _sincosl
34617 do :
34618 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34619 if test "x$ac_cv_func__sincosl" = x""yes; then :
34620 cat >>confdefs.h <<_ACEOF
34621 #define HAVE__SINCOSL 1
34622 _ACEOF
34623
34624 fi
34625 done
34626
34627 fi
34628 fi
34629
34630
34631
34632
34633
34634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34635 $as_echo_n "checking for finitel declaration... " >&6; }
34636 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34637 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34638 $as_echo_n "(cached) " >&6
34639 else
34640
34641
34642 ac_ext=cpp
34643 ac_cpp='$CXXCPP $CPPFLAGS'
34644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34647
34648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34649 /* end confdefs.h. */
34650 #include <math.h>
34651 #ifdef HAVE_IEEEFP_H
34652 #include <ieeefp.h>
34653 #endif
34654
34655 int
34656 main ()
34657 {
34658 finitel(0);
34659 ;
34660 return 0;
34661 }
34662 _ACEOF
34663 if ac_fn_cxx_try_compile "$LINENO"; then :
34664 glibcxx_cv_func_finitel_use=yes
34665 else
34666 glibcxx_cv_func_finitel_use=no
34667 fi
34668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34669 ac_ext=c
34670 ac_cpp='$CPP $CPPFLAGS'
34671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34674
34675
34676 fi
34677
34678 fi
34679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34680 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34681
34682 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34683 for ac_func in finitel
34684 do :
34685 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34686 if test "x$ac_cv_func_finitel" = x""yes; then :
34687 cat >>confdefs.h <<_ACEOF
34688 #define HAVE_FINITEL 1
34689 _ACEOF
34690
34691 fi
34692 done
34693
34694 else
34695
34696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34697 $as_echo_n "checking for _finitel declaration... " >&6; }
34698 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34699 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34700 $as_echo_n "(cached) " >&6
34701 else
34702
34703
34704 ac_ext=cpp
34705 ac_cpp='$CXXCPP $CPPFLAGS'
34706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34709
34710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34711 /* end confdefs.h. */
34712 #include <math.h>
34713 #ifdef HAVE_IEEEFP_H
34714 #include <ieeefp.h>
34715 #endif
34716
34717 int
34718 main ()
34719 {
34720 _finitel(0);
34721 ;
34722 return 0;
34723 }
34724 _ACEOF
34725 if ac_fn_cxx_try_compile "$LINENO"; then :
34726 glibcxx_cv_func__finitel_use=yes
34727 else
34728 glibcxx_cv_func__finitel_use=no
34729 fi
34730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34731 ac_ext=c
34732 ac_cpp='$CPP $CPPFLAGS'
34733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34736
34737
34738 fi
34739
34740 fi
34741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34742 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34743
34744 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34745 for ac_func in _finitel
34746 do :
34747 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34748 if test "x$ac_cv_func__finitel" = x""yes; then :
34749 cat >>confdefs.h <<_ACEOF
34750 #define HAVE__FINITEL 1
34751 _ACEOF
34752
34753 fi
34754 done
34755
34756 fi
34757 fi
34758
34759
34760
34761
34762 LIBS="$ac_save_LIBS"
34763 CXXFLAGS="$ac_save_CXXFLAGS"
34764
34765
34766 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34767 ac_save_CXXFLAGS="$CXXFLAGS"
34768 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34769
34770
34771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34772 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34773 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34774 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34775 $as_echo_n "(cached) " >&6
34776 else
34777
34778
34779 ac_ext=cpp
34780 ac_cpp='$CXXCPP $CPPFLAGS'
34781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34784
34785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34786 /* end confdefs.h. */
34787 #include <stdlib.h>
34788 int
34789 main ()
34790 {
34791 at_quick_exit(0);
34792 ;
34793 return 0;
34794 }
34795 _ACEOF
34796 if ac_fn_cxx_try_compile "$LINENO"; then :
34797 glibcxx_cv_func_at_quick_exit_use=yes
34798 else
34799 glibcxx_cv_func_at_quick_exit_use=no
34800 fi
34801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34802 ac_ext=c
34803 ac_cpp='$CPP $CPPFLAGS'
34804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34807
34808
34809 fi
34810
34811 fi
34812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34813 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34814 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34815 for ac_func in at_quick_exit
34816 do :
34817 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34818 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34819 cat >>confdefs.h <<_ACEOF
34820 #define HAVE_AT_QUICK_EXIT 1
34821 _ACEOF
34822
34823 fi
34824 done
34825
34826 fi
34827
34828
34829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34830 $as_echo_n "checking for quick_exit declaration... " >&6; }
34831 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34832 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34833 $as_echo_n "(cached) " >&6
34834 else
34835
34836
34837 ac_ext=cpp
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34842
34843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34844 /* end confdefs.h. */
34845 #include <stdlib.h>
34846 int
34847 main ()
34848 {
34849 quick_exit(0);
34850 ;
34851 return 0;
34852 }
34853 _ACEOF
34854 if ac_fn_cxx_try_compile "$LINENO"; then :
34855 glibcxx_cv_func_quick_exit_use=yes
34856 else
34857 glibcxx_cv_func_quick_exit_use=no
34858 fi
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860 ac_ext=c
34861 ac_cpp='$CPP $CPPFLAGS'
34862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34865
34866
34867 fi
34868
34869 fi
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34871 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34872 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34873 for ac_func in quick_exit
34874 do :
34875 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34876 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34877 cat >>confdefs.h <<_ACEOF
34878 #define HAVE_QUICK_EXIT 1
34879 _ACEOF
34880
34881 fi
34882 done
34883
34884 fi
34885
34886
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34888 $as_echo_n "checking for strtold declaration... " >&6; }
34889 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34890 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34891 $as_echo_n "(cached) " >&6
34892 else
34893
34894
34895 ac_ext=cpp
34896 ac_cpp='$CXXCPP $CPPFLAGS'
34897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34900
34901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34902 /* end confdefs.h. */
34903 #include <stdlib.h>
34904 int
34905 main ()
34906 {
34907 strtold(0, 0);
34908 ;
34909 return 0;
34910 }
34911 _ACEOF
34912 if ac_fn_cxx_try_compile "$LINENO"; then :
34913 glibcxx_cv_func_strtold_use=yes
34914 else
34915 glibcxx_cv_func_strtold_use=no
34916 fi
34917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34918 ac_ext=c
34919 ac_cpp='$CPP $CPPFLAGS'
34920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34923
34924
34925 fi
34926
34927 fi
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34929 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34930 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34931 for ac_func in strtold
34932 do :
34933 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34934 if test "x$ac_cv_func_strtold" = x""yes; then :
34935 cat >>confdefs.h <<_ACEOF
34936 #define HAVE_STRTOLD 1
34937 _ACEOF
34938
34939 fi
34940 done
34941
34942 fi
34943
34944
34945
34946
34947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34948 $as_echo_n "checking for strtof declaration... " >&6; }
34949 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34950 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34951 $as_echo_n "(cached) " >&6
34952 else
34953
34954
34955 ac_ext=cpp
34956 ac_cpp='$CXXCPP $CPPFLAGS'
34957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34960
34961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34962 /* end confdefs.h. */
34963 #include <stdlib.h>
34964 int
34965 main ()
34966 {
34967 strtof(0, 0);
34968 ;
34969 return 0;
34970 }
34971 _ACEOF
34972 if ac_fn_cxx_try_compile "$LINENO"; then :
34973 glibcxx_cv_func_strtof_use=yes
34974 else
34975 glibcxx_cv_func_strtof_use=no
34976 fi
34977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34978 ac_ext=c
34979 ac_cpp='$CPP $CPPFLAGS'
34980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34983
34984
34985 fi
34986
34987 fi
34988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34989 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34990 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34991 for ac_func in strtof
34992 do :
34993 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34994 if test "x$ac_cv_func_strtof" = x""yes; then :
34995 cat >>confdefs.h <<_ACEOF
34996 #define HAVE_STRTOF 1
34997 _ACEOF
34998
34999 fi
35000 done
35001
35002 fi
35003
35004
35005
35006
35007 CXXFLAGS="$ac_save_CXXFLAGS"
35008
35009
35010 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35011
35012 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35013
35014 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35015
35016 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35017
35018
35019 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35020
35021 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35022
35023 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35024
35025 ;;
35026
35027 spu-*-elf*)
35028
35029 # All these tests are for C++; save the language and the compiler flags.
35030 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35031 # found in GLIBCXX_CONFIGURE.
35032
35033 ac_ext=cpp
35034 ac_cpp='$CXXCPP $CPPFLAGS'
35035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35038
35039 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35040 ac_save_CXXFLAGS="$CXXFLAGS"
35041
35042 # Check for maintainer-mode bits.
35043 if test x"$USE_MAINTAINER_MODE" = xno; then
35044 WERROR=''
35045 else
35046 WERROR='-Werror'
35047 fi
35048
35049 # Check for -ffunction-sections -fdata-sections
35050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35051 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35052 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054 /* end confdefs.h. */
35055 int foo; void bar() { };
35056 int
35057 main ()
35058 {
35059
35060 ;
35061 return 0;
35062 }
35063 _ACEOF
35064 if ac_fn_cxx_try_compile "$LINENO"; then :
35065 ac_fdsections=yes
35066 else
35067 ac_fdsections=no
35068 fi
35069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070 if test "$ac_test_CXXFLAGS" = set; then
35071 CXXFLAGS="$ac_save_CXXFLAGS"
35072 else
35073 # this is the suspicious part
35074 CXXFLAGS=''
35075 fi
35076 if test x"$ac_fdsections" = x"yes"; then
35077 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35078 fi
35079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35080 $as_echo "$ac_fdsections" >&6; }
35081
35082 ac_ext=c
35083 ac_cpp='$CPP $CPPFLAGS'
35084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35087
35088
35089
35090
35091
35092 # If we're not using GNU ld, then there's no point in even trying these
35093 # tests. Check for that first. We should have already tested for gld
35094 # by now (in libtool), but require it now just to be safe...
35095 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35096 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35097
35098
35099
35100 # The name set by libtool depends on the version of libtool. Shame on us
35101 # for depending on an impl detail, but c'est la vie. Older versions used
35102 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35103 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35104 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35105 # set (hence we're using an older libtool), then set it.
35106 if test x${with_gnu_ld+set} != xset; then
35107 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35108 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35109 with_gnu_ld=no
35110 else
35111 with_gnu_ld=$ac_cv_prog_gnu_ld
35112 fi
35113 fi
35114
35115 # Start by getting the version number. I think the libtool test already
35116 # does some of this, but throws away the result.
35117 glibcxx_ld_is_gold=no
35118 if test x"$with_gnu_ld" = x"yes"; then
35119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35120 $as_echo_n "checking for ld version... " >&6; }
35121
35122 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35123 glibcxx_ld_is_gold=yes
35124 fi
35125 ldver=`$LD --version 2>/dev/null |
35126 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'`
35127
35128 glibcxx_gnu_ld_version=`echo $ldver | \
35129 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35131 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35132 fi
35133
35134 # Set --gc-sections.
35135 glibcxx_have_gc_sections=no
35136 if test "$glibcxx_ld_is_gold" = "yes"; then
35137 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35138 glibcxx_have_gc_sections=yes
35139 fi
35140 else
35141 glibcxx_gcsections_min_ld=21602
35142 if test x"$with_gnu_ld" = x"yes" &&
35143 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35144 glibcxx_have_gc_sections=yes
35145 fi
35146 fi
35147 if test "$glibcxx_have_gc_sections" = "yes"; then
35148 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35149 # NB: This flag only works reliably after 2.16.1. Configure tests
35150 # for this are difficult, so hard wire a value that should work.
35151
35152 ac_test_CFLAGS="${CFLAGS+set}"
35153 ac_save_CFLAGS="$CFLAGS"
35154 CFLAGS='-Wl,--gc-sections'
35155
35156 # Check for -Wl,--gc-sections
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35158 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35159 if test x$gcc_no_link = xyes; then
35160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35161 fi
35162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35163 /* end confdefs.h. */
35164 int one(void) { return 1; }
35165 int two(void) { return 2; }
35166
35167 int
35168 main ()
35169 {
35170 two();
35171 ;
35172 return 0;
35173 }
35174 _ACEOF
35175 if ac_fn_c_try_link "$LINENO"; then :
35176 ac_gcsections=yes
35177 else
35178 ac_gcsections=no
35179 fi
35180 rm -f core conftest.err conftest.$ac_objext \
35181 conftest$ac_exeext conftest.$ac_ext
35182 if test "$ac_gcsections" = "yes"; then
35183 rm -f conftest.c
35184 touch conftest.c
35185 if $CC -c conftest.c; then
35186 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35187 grep "Warning: gc-sections option ignored" > /dev/null; then
35188 ac_gcsections=no
35189 fi
35190 fi
35191 rm -f conftest.c conftest.o conftest
35192 fi
35193 if test "$ac_gcsections" = "yes"; then
35194 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35195 fi
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35197 $as_echo "$ac_gcsections" >&6; }
35198
35199 if test "$ac_test_CFLAGS" = set; then
35200 CFLAGS="$ac_save_CFLAGS"
35201 else
35202 # this is the suspicious part
35203 CFLAGS=''
35204 fi
35205 fi
35206
35207 # Set -z,relro.
35208 # Note this is only for shared objects.
35209 ac_ld_relro=no
35210 if test x"$with_gnu_ld" = x"yes"; then
35211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35212 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35213 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35214 if test -n "$cxx_z_relo"; then
35215 OPT_LDFLAGS="-Wl,-z,relro"
35216 ac_ld_relro=yes
35217 fi
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35219 $as_echo "$ac_ld_relro" >&6; }
35220 fi
35221
35222 # Set linker optimization flags.
35223 if test x"$with_gnu_ld" = x"yes"; then
35224 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35225 fi
35226
35227
35228
35229
35230
35231 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35232 ac_save_CXXFLAGS="$CXXFLAGS"
35233 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35234
35235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35236 $as_echo_n "checking for sin in -lm... " >&6; }
35237 if test "${ac_cv_lib_m_sin+set}" = set; then :
35238 $as_echo_n "(cached) " >&6
35239 else
35240 ac_check_lib_save_LIBS=$LIBS
35241 LIBS="-lm $LIBS"
35242 if test x$gcc_no_link = xyes; then
35243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35244 fi
35245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35246 /* end confdefs.h. */
35247
35248 /* Override any GCC internal prototype to avoid an error.
35249 Use char because int might match the return type of a GCC
35250 builtin and then its argument prototype would still apply. */
35251 #ifdef __cplusplus
35252 extern "C"
35253 #endif
35254 char sin ();
35255 int
35256 main ()
35257 {
35258 return sin ();
35259 ;
35260 return 0;
35261 }
35262 _ACEOF
35263 if ac_fn_c_try_link "$LINENO"; then :
35264 ac_cv_lib_m_sin=yes
35265 else
35266 ac_cv_lib_m_sin=no
35267 fi
35268 rm -f core conftest.err conftest.$ac_objext \
35269 conftest$ac_exeext conftest.$ac_ext
35270 LIBS=$ac_check_lib_save_LIBS
35271 fi
35272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35273 $as_echo "$ac_cv_lib_m_sin" >&6; }
35274 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35275 libm="-lm"
35276 fi
35277
35278 ac_save_LIBS="$LIBS"
35279 LIBS="$LIBS $libm"
35280
35281
35282
35283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35284 $as_echo_n "checking for isinf declaration... " >&6; }
35285 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35286 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35287 $as_echo_n "(cached) " >&6
35288 else
35289
35290
35291 ac_ext=cpp
35292 ac_cpp='$CXXCPP $CPPFLAGS'
35293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35296
35297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35298 /* end confdefs.h. */
35299 #include <math.h>
35300 #ifdef HAVE_IEEEFP_H
35301 #include <ieeefp.h>
35302 #endif
35303
35304 int
35305 main ()
35306 {
35307 isinf(0);
35308 ;
35309 return 0;
35310 }
35311 _ACEOF
35312 if ac_fn_cxx_try_compile "$LINENO"; then :
35313 glibcxx_cv_func_isinf_use=yes
35314 else
35315 glibcxx_cv_func_isinf_use=no
35316 fi
35317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35318 ac_ext=c
35319 ac_cpp='$CPP $CPPFLAGS'
35320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35323
35324
35325 fi
35326
35327 fi
35328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35329 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35330
35331 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35332 for ac_func in isinf
35333 do :
35334 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35335 if test "x$ac_cv_func_isinf" = x""yes; then :
35336 cat >>confdefs.h <<_ACEOF
35337 #define HAVE_ISINF 1
35338 _ACEOF
35339
35340 fi
35341 done
35342
35343 else
35344
35345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35346 $as_echo_n "checking for _isinf declaration... " >&6; }
35347 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35348 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35349 $as_echo_n "(cached) " >&6
35350 else
35351
35352
35353 ac_ext=cpp
35354 ac_cpp='$CXXCPP $CPPFLAGS'
35355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35358
35359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35360 /* end confdefs.h. */
35361 #include <math.h>
35362 #ifdef HAVE_IEEEFP_H
35363 #include <ieeefp.h>
35364 #endif
35365
35366 int
35367 main ()
35368 {
35369 _isinf(0);
35370 ;
35371 return 0;
35372 }
35373 _ACEOF
35374 if ac_fn_cxx_try_compile "$LINENO"; then :
35375 glibcxx_cv_func__isinf_use=yes
35376 else
35377 glibcxx_cv_func__isinf_use=no
35378 fi
35379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35380 ac_ext=c
35381 ac_cpp='$CPP $CPPFLAGS'
35382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35385
35386
35387 fi
35388
35389 fi
35390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35391 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35392
35393 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35394 for ac_func in _isinf
35395 do :
35396 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35397 if test "x$ac_cv_func__isinf" = x""yes; then :
35398 cat >>confdefs.h <<_ACEOF
35399 #define HAVE__ISINF 1
35400 _ACEOF
35401
35402 fi
35403 done
35404
35405 fi
35406 fi
35407
35408
35409
35410
35411
35412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35413 $as_echo_n "checking for isnan declaration... " >&6; }
35414 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35415 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35416 $as_echo_n "(cached) " >&6
35417 else
35418
35419
35420 ac_ext=cpp
35421 ac_cpp='$CXXCPP $CPPFLAGS'
35422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35425
35426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35427 /* end confdefs.h. */
35428 #include <math.h>
35429 #ifdef HAVE_IEEEFP_H
35430 #include <ieeefp.h>
35431 #endif
35432
35433 int
35434 main ()
35435 {
35436 isnan(0);
35437 ;
35438 return 0;
35439 }
35440 _ACEOF
35441 if ac_fn_cxx_try_compile "$LINENO"; then :
35442 glibcxx_cv_func_isnan_use=yes
35443 else
35444 glibcxx_cv_func_isnan_use=no
35445 fi
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35447 ac_ext=c
35448 ac_cpp='$CPP $CPPFLAGS'
35449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35452
35453
35454 fi
35455
35456 fi
35457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35458 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35459
35460 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35461 for ac_func in isnan
35462 do :
35463 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35464 if test "x$ac_cv_func_isnan" = x""yes; then :
35465 cat >>confdefs.h <<_ACEOF
35466 #define HAVE_ISNAN 1
35467 _ACEOF
35468
35469 fi
35470 done
35471
35472 else
35473
35474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35475 $as_echo_n "checking for _isnan declaration... " >&6; }
35476 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35477 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35478 $as_echo_n "(cached) " >&6
35479 else
35480
35481
35482 ac_ext=cpp
35483 ac_cpp='$CXXCPP $CPPFLAGS'
35484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35487
35488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35489 /* end confdefs.h. */
35490 #include <math.h>
35491 #ifdef HAVE_IEEEFP_H
35492 #include <ieeefp.h>
35493 #endif
35494
35495 int
35496 main ()
35497 {
35498 _isnan(0);
35499 ;
35500 return 0;
35501 }
35502 _ACEOF
35503 if ac_fn_cxx_try_compile "$LINENO"; then :
35504 glibcxx_cv_func__isnan_use=yes
35505 else
35506 glibcxx_cv_func__isnan_use=no
35507 fi
35508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35509 ac_ext=c
35510 ac_cpp='$CPP $CPPFLAGS'
35511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35514
35515
35516 fi
35517
35518 fi
35519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35520 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35521
35522 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35523 for ac_func in _isnan
35524 do :
35525 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35526 if test "x$ac_cv_func__isnan" = x""yes; then :
35527 cat >>confdefs.h <<_ACEOF
35528 #define HAVE__ISNAN 1
35529 _ACEOF
35530
35531 fi
35532 done
35533
35534 fi
35535 fi
35536
35537
35538
35539
35540
35541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35542 $as_echo_n "checking for finite declaration... " >&6; }
35543 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35544 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35545 $as_echo_n "(cached) " >&6
35546 else
35547
35548
35549 ac_ext=cpp
35550 ac_cpp='$CXXCPP $CPPFLAGS'
35551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35554
35555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35556 /* end confdefs.h. */
35557 #include <math.h>
35558 #ifdef HAVE_IEEEFP_H
35559 #include <ieeefp.h>
35560 #endif
35561
35562 int
35563 main ()
35564 {
35565 finite(0);
35566 ;
35567 return 0;
35568 }
35569 _ACEOF
35570 if ac_fn_cxx_try_compile "$LINENO"; then :
35571 glibcxx_cv_func_finite_use=yes
35572 else
35573 glibcxx_cv_func_finite_use=no
35574 fi
35575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35576 ac_ext=c
35577 ac_cpp='$CPP $CPPFLAGS'
35578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35581
35582
35583 fi
35584
35585 fi
35586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35587 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35588
35589 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35590 for ac_func in finite
35591 do :
35592 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35593 if test "x$ac_cv_func_finite" = x""yes; then :
35594 cat >>confdefs.h <<_ACEOF
35595 #define HAVE_FINITE 1
35596 _ACEOF
35597
35598 fi
35599 done
35600
35601 else
35602
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35604 $as_echo_n "checking for _finite declaration... " >&6; }
35605 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35606 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35607 $as_echo_n "(cached) " >&6
35608 else
35609
35610
35611 ac_ext=cpp
35612 ac_cpp='$CXXCPP $CPPFLAGS'
35613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35616
35617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35618 /* end confdefs.h. */
35619 #include <math.h>
35620 #ifdef HAVE_IEEEFP_H
35621 #include <ieeefp.h>
35622 #endif
35623
35624 int
35625 main ()
35626 {
35627 _finite(0);
35628 ;
35629 return 0;
35630 }
35631 _ACEOF
35632 if ac_fn_cxx_try_compile "$LINENO"; then :
35633 glibcxx_cv_func__finite_use=yes
35634 else
35635 glibcxx_cv_func__finite_use=no
35636 fi
35637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35638 ac_ext=c
35639 ac_cpp='$CPP $CPPFLAGS'
35640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35643
35644
35645 fi
35646
35647 fi
35648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35649 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35650
35651 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35652 for ac_func in _finite
35653 do :
35654 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35655 if test "x$ac_cv_func__finite" = x""yes; then :
35656 cat >>confdefs.h <<_ACEOF
35657 #define HAVE__FINITE 1
35658 _ACEOF
35659
35660 fi
35661 done
35662
35663 fi
35664 fi
35665
35666
35667
35668
35669
35670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35671 $as_echo_n "checking for sincos declaration... " >&6; }
35672 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35673 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35674 $as_echo_n "(cached) " >&6
35675 else
35676
35677
35678 ac_ext=cpp
35679 ac_cpp='$CXXCPP $CPPFLAGS'
35680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35683
35684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35685 /* end confdefs.h. */
35686 #include <math.h>
35687 int
35688 main ()
35689 {
35690 sincos(0, 0, 0);
35691 ;
35692 return 0;
35693 }
35694 _ACEOF
35695 if ac_fn_cxx_try_compile "$LINENO"; then :
35696 glibcxx_cv_func_sincos_use=yes
35697 else
35698 glibcxx_cv_func_sincos_use=no
35699 fi
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35706
35707
35708 fi
35709
35710 fi
35711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35712 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35713
35714 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35715 for ac_func in sincos
35716 do :
35717 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35718 if test "x$ac_cv_func_sincos" = x""yes; then :
35719 cat >>confdefs.h <<_ACEOF
35720 #define HAVE_SINCOS 1
35721 _ACEOF
35722
35723 fi
35724 done
35725
35726 else
35727
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35729 $as_echo_n "checking for _sincos declaration... " >&6; }
35730 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35731 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35732 $as_echo_n "(cached) " >&6
35733 else
35734
35735
35736 ac_ext=cpp
35737 ac_cpp='$CXXCPP $CPPFLAGS'
35738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35741
35742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35743 /* end confdefs.h. */
35744 #include <math.h>
35745 int
35746 main ()
35747 {
35748 _sincos(0, 0, 0);
35749 ;
35750 return 0;
35751 }
35752 _ACEOF
35753 if ac_fn_cxx_try_compile "$LINENO"; then :
35754 glibcxx_cv_func__sincos_use=yes
35755 else
35756 glibcxx_cv_func__sincos_use=no
35757 fi
35758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35759 ac_ext=c
35760 ac_cpp='$CPP $CPPFLAGS'
35761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35764
35765
35766 fi
35767
35768 fi
35769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35770 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35771
35772 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35773 for ac_func in _sincos
35774 do :
35775 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35776 if test "x$ac_cv_func__sincos" = x""yes; then :
35777 cat >>confdefs.h <<_ACEOF
35778 #define HAVE__SINCOS 1
35779 _ACEOF
35780
35781 fi
35782 done
35783
35784 fi
35785 fi
35786
35787
35788
35789
35790
35791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35792 $as_echo_n "checking for fpclass declaration... " >&6; }
35793 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35794 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35795 $as_echo_n "(cached) " >&6
35796 else
35797
35798
35799 ac_ext=cpp
35800 ac_cpp='$CXXCPP $CPPFLAGS'
35801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35804
35805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35806 /* end confdefs.h. */
35807 #include <math.h>
35808 #ifdef HAVE_IEEEFP_H
35809 #include <ieeefp.h>
35810 #endif
35811
35812 int
35813 main ()
35814 {
35815 fpclass(0);
35816 ;
35817 return 0;
35818 }
35819 _ACEOF
35820 if ac_fn_cxx_try_compile "$LINENO"; then :
35821 glibcxx_cv_func_fpclass_use=yes
35822 else
35823 glibcxx_cv_func_fpclass_use=no
35824 fi
35825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35826 ac_ext=c
35827 ac_cpp='$CPP $CPPFLAGS'
35828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35831
35832
35833 fi
35834
35835 fi
35836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35837 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35838
35839 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35840 for ac_func in fpclass
35841 do :
35842 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35843 if test "x$ac_cv_func_fpclass" = x""yes; then :
35844 cat >>confdefs.h <<_ACEOF
35845 #define HAVE_FPCLASS 1
35846 _ACEOF
35847
35848 fi
35849 done
35850
35851 else
35852
35853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35854 $as_echo_n "checking for _fpclass declaration... " >&6; }
35855 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35856 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35857 $as_echo_n "(cached) " >&6
35858 else
35859
35860
35861 ac_ext=cpp
35862 ac_cpp='$CXXCPP $CPPFLAGS'
35863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35866
35867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35868 /* end confdefs.h. */
35869 #include <math.h>
35870 #ifdef HAVE_IEEEFP_H
35871 #include <ieeefp.h>
35872 #endif
35873
35874 int
35875 main ()
35876 {
35877 _fpclass(0);
35878 ;
35879 return 0;
35880 }
35881 _ACEOF
35882 if ac_fn_cxx_try_compile "$LINENO"; then :
35883 glibcxx_cv_func__fpclass_use=yes
35884 else
35885 glibcxx_cv_func__fpclass_use=no
35886 fi
35887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35888 ac_ext=c
35889 ac_cpp='$CPP $CPPFLAGS'
35890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35893
35894
35895 fi
35896
35897 fi
35898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35899 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35900
35901 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35902 for ac_func in _fpclass
35903 do :
35904 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35905 if test "x$ac_cv_func__fpclass" = x""yes; then :
35906 cat >>confdefs.h <<_ACEOF
35907 #define HAVE__FPCLASS 1
35908 _ACEOF
35909
35910 fi
35911 done
35912
35913 fi
35914 fi
35915
35916
35917
35918
35919
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35921 $as_echo_n "checking for qfpclass declaration... " >&6; }
35922 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35923 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35924 $as_echo_n "(cached) " >&6
35925 else
35926
35927
35928 ac_ext=cpp
35929 ac_cpp='$CXXCPP $CPPFLAGS'
35930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35933
35934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35935 /* end confdefs.h. */
35936 #include <math.h>
35937 #ifdef HAVE_IEEEFP_H
35938 #include <ieeefp.h>
35939 #endif
35940
35941 int
35942 main ()
35943 {
35944 qfpclass(0);
35945 ;
35946 return 0;
35947 }
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950 glibcxx_cv_func_qfpclass_use=yes
35951 else
35952 glibcxx_cv_func_qfpclass_use=no
35953 fi
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955 ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35960
35961
35962 fi
35963
35964 fi
35965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35966 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35967
35968 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35969 for ac_func in qfpclass
35970 do :
35971 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35972 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35973 cat >>confdefs.h <<_ACEOF
35974 #define HAVE_QFPCLASS 1
35975 _ACEOF
35976
35977 fi
35978 done
35979
35980 else
35981
35982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35983 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35984 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35985 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35986 $as_echo_n "(cached) " >&6
35987 else
35988
35989
35990 ac_ext=cpp
35991 ac_cpp='$CXXCPP $CPPFLAGS'
35992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35995
35996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35997 /* end confdefs.h. */
35998 #include <math.h>
35999 #ifdef HAVE_IEEEFP_H
36000 #include <ieeefp.h>
36001 #endif
36002
36003 int
36004 main ()
36005 {
36006 _qfpclass(0);
36007 ;
36008 return 0;
36009 }
36010 _ACEOF
36011 if ac_fn_cxx_try_compile "$LINENO"; then :
36012 glibcxx_cv_func__qfpclass_use=yes
36013 else
36014 glibcxx_cv_func__qfpclass_use=no
36015 fi
36016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36017 ac_ext=c
36018 ac_cpp='$CPP $CPPFLAGS'
36019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36022
36023
36024 fi
36025
36026 fi
36027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36028 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36029
36030 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36031 for ac_func in _qfpclass
36032 do :
36033 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36034 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36035 cat >>confdefs.h <<_ACEOF
36036 #define HAVE__QFPCLASS 1
36037 _ACEOF
36038
36039 fi
36040 done
36041
36042 fi
36043 fi
36044
36045
36046
36047
36048
36049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36050 $as_echo_n "checking for hypot declaration... " >&6; }
36051 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36052 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36053 $as_echo_n "(cached) " >&6
36054 else
36055
36056
36057 ac_ext=cpp
36058 ac_cpp='$CXXCPP $CPPFLAGS'
36059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36062
36063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36064 /* end confdefs.h. */
36065 #include <math.h>
36066 int
36067 main ()
36068 {
36069 hypot(0, 0);
36070 ;
36071 return 0;
36072 }
36073 _ACEOF
36074 if ac_fn_cxx_try_compile "$LINENO"; then :
36075 glibcxx_cv_func_hypot_use=yes
36076 else
36077 glibcxx_cv_func_hypot_use=no
36078 fi
36079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36080 ac_ext=c
36081 ac_cpp='$CPP $CPPFLAGS'
36082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36085
36086
36087 fi
36088
36089 fi
36090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36091 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36092
36093 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36094 for ac_func in hypot
36095 do :
36096 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36097 if test "x$ac_cv_func_hypot" = x""yes; then :
36098 cat >>confdefs.h <<_ACEOF
36099 #define HAVE_HYPOT 1
36100 _ACEOF
36101
36102 fi
36103 done
36104
36105 else
36106
36107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36108 $as_echo_n "checking for _hypot declaration... " >&6; }
36109 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36110 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36111 $as_echo_n "(cached) " >&6
36112 else
36113
36114
36115 ac_ext=cpp
36116 ac_cpp='$CXXCPP $CPPFLAGS'
36117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36120
36121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36122 /* end confdefs.h. */
36123 #include <math.h>
36124 int
36125 main ()
36126 {
36127 _hypot(0, 0);
36128 ;
36129 return 0;
36130 }
36131 _ACEOF
36132 if ac_fn_cxx_try_compile "$LINENO"; then :
36133 glibcxx_cv_func__hypot_use=yes
36134 else
36135 glibcxx_cv_func__hypot_use=no
36136 fi
36137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36138 ac_ext=c
36139 ac_cpp='$CPP $CPPFLAGS'
36140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36143
36144
36145 fi
36146
36147 fi
36148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36149 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36150
36151 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36152 for ac_func in _hypot
36153 do :
36154 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36155 if test "x$ac_cv_func__hypot" = x""yes; then :
36156 cat >>confdefs.h <<_ACEOF
36157 #define HAVE__HYPOT 1
36158 _ACEOF
36159
36160 fi
36161 done
36162
36163 fi
36164 fi
36165
36166
36167
36168
36169
36170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36171 $as_echo_n "checking for float trig functions... " >&6; }
36172 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36173 $as_echo_n "(cached) " >&6
36174 else
36175
36176
36177 ac_ext=cpp
36178 ac_cpp='$CXXCPP $CPPFLAGS'
36179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36182
36183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36184 /* end confdefs.h. */
36185 #include <math.h>
36186 int
36187 main ()
36188 {
36189 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36190 ;
36191 return 0;
36192 }
36193 _ACEOF
36194 if ac_fn_cxx_try_compile "$LINENO"; then :
36195 glibcxx_cv_func_float_trig_use=yes
36196 else
36197 glibcxx_cv_func_float_trig_use=no
36198 fi
36199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36200 ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36205
36206 fi
36207
36208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36209 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36210 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36211 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36212 do :
36213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36215 eval as_val=\$$as_ac_var
36216 if test "x$as_val" = x""yes; then :
36217 cat >>confdefs.h <<_ACEOF
36218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36219 _ACEOF
36220
36221 fi
36222 done
36223
36224 else
36225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36226 $as_echo_n "checking for _float trig functions... " >&6; }
36227 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36228 $as_echo_n "(cached) " >&6
36229 else
36230
36231
36232 ac_ext=cpp
36233 ac_cpp='$CXXCPP $CPPFLAGS'
36234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36237
36238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36239 /* end confdefs.h. */
36240 #include <math.h>
36241 int
36242 main ()
36243 {
36244 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36245 ;
36246 return 0;
36247 }
36248 _ACEOF
36249 if ac_fn_cxx_try_compile "$LINENO"; then :
36250 glibcxx_cv_func__float_trig_use=yes
36251 else
36252 glibcxx_cv_func__float_trig_use=no
36253 fi
36254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36255 ac_ext=c
36256 ac_cpp='$CPP $CPPFLAGS'
36257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36260
36261 fi
36262
36263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36264 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36265 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36266 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36267 do :
36268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36270 eval as_val=\$$as_ac_var
36271 if test "x$as_val" = x""yes; then :
36272 cat >>confdefs.h <<_ACEOF
36273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36274 _ACEOF
36275
36276 fi
36277 done
36278
36279 fi
36280 fi
36281
36282
36283
36284
36285
36286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36287 $as_echo_n "checking for float round functions... " >&6; }
36288 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36289 $as_echo_n "(cached) " >&6
36290 else
36291
36292
36293 ac_ext=cpp
36294 ac_cpp='$CXXCPP $CPPFLAGS'
36295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36298
36299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36300 /* end confdefs.h. */
36301 #include <math.h>
36302 int
36303 main ()
36304 {
36305 ceilf (0); floorf (0);
36306 ;
36307 return 0;
36308 }
36309 _ACEOF
36310 if ac_fn_cxx_try_compile "$LINENO"; then :
36311 glibcxx_cv_func_float_round_use=yes
36312 else
36313 glibcxx_cv_func_float_round_use=no
36314 fi
36315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36316 ac_ext=c
36317 ac_cpp='$CPP $CPPFLAGS'
36318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36321
36322 fi
36323
36324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36325 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36326 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36327 for ac_func in ceilf floorf
36328 do :
36329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36331 eval as_val=\$$as_ac_var
36332 if test "x$as_val" = x""yes; then :
36333 cat >>confdefs.h <<_ACEOF
36334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36335 _ACEOF
36336
36337 fi
36338 done
36339
36340 else
36341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36342 $as_echo_n "checking for _float round functions... " >&6; }
36343 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36344 $as_echo_n "(cached) " >&6
36345 else
36346
36347
36348 ac_ext=cpp
36349 ac_cpp='$CXXCPP $CPPFLAGS'
36350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36353
36354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36355 /* end confdefs.h. */
36356 #include <math.h>
36357 int
36358 main ()
36359 {
36360 _ceilf (0); _floorf (0);
36361 ;
36362 return 0;
36363 }
36364 _ACEOF
36365 if ac_fn_cxx_try_compile "$LINENO"; then :
36366 glibcxx_cv_func__float_round_use=yes
36367 else
36368 glibcxx_cv_func__float_round_use=no
36369 fi
36370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36371 ac_ext=c
36372 ac_cpp='$CPP $CPPFLAGS'
36373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36376
36377 fi
36378
36379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36380 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36381 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36382 for ac_func in _ceilf _floorf
36383 do :
36384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36386 eval as_val=\$$as_ac_var
36387 if test "x$as_val" = x""yes; then :
36388 cat >>confdefs.h <<_ACEOF
36389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36390 _ACEOF
36391
36392 fi
36393 done
36394
36395 fi
36396 fi
36397
36398
36399
36400
36401
36402
36403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36404 $as_echo_n "checking for expf declaration... " >&6; }
36405 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36406 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36407 $as_echo_n "(cached) " >&6
36408 else
36409
36410
36411 ac_ext=cpp
36412 ac_cpp='$CXXCPP $CPPFLAGS'
36413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36416
36417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36418 /* end confdefs.h. */
36419 #include <math.h>
36420 #ifdef HAVE_IEEEFP_H
36421 #include <ieeefp.h>
36422 #endif
36423
36424 int
36425 main ()
36426 {
36427 expf(0);
36428 ;
36429 return 0;
36430 }
36431 _ACEOF
36432 if ac_fn_cxx_try_compile "$LINENO"; then :
36433 glibcxx_cv_func_expf_use=yes
36434 else
36435 glibcxx_cv_func_expf_use=no
36436 fi
36437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36438 ac_ext=c
36439 ac_cpp='$CPP $CPPFLAGS'
36440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36443
36444
36445 fi
36446
36447 fi
36448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36449 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36450
36451 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36452 for ac_func in expf
36453 do :
36454 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36455 if test "x$ac_cv_func_expf" = x""yes; then :
36456 cat >>confdefs.h <<_ACEOF
36457 #define HAVE_EXPF 1
36458 _ACEOF
36459
36460 fi
36461 done
36462
36463 else
36464
36465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36466 $as_echo_n "checking for _expf declaration... " >&6; }
36467 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36468 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36469 $as_echo_n "(cached) " >&6
36470 else
36471
36472
36473 ac_ext=cpp
36474 ac_cpp='$CXXCPP $CPPFLAGS'
36475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36478
36479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36480 /* end confdefs.h. */
36481 #include <math.h>
36482 #ifdef HAVE_IEEEFP_H
36483 #include <ieeefp.h>
36484 #endif
36485
36486 int
36487 main ()
36488 {
36489 _expf(0);
36490 ;
36491 return 0;
36492 }
36493 _ACEOF
36494 if ac_fn_cxx_try_compile "$LINENO"; then :
36495 glibcxx_cv_func__expf_use=yes
36496 else
36497 glibcxx_cv_func__expf_use=no
36498 fi
36499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36500 ac_ext=c
36501 ac_cpp='$CPP $CPPFLAGS'
36502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36505
36506
36507 fi
36508
36509 fi
36510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36511 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36512
36513 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36514 for ac_func in _expf
36515 do :
36516 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36517 if test "x$ac_cv_func__expf" = x""yes; then :
36518 cat >>confdefs.h <<_ACEOF
36519 #define HAVE__EXPF 1
36520 _ACEOF
36521
36522 fi
36523 done
36524
36525 fi
36526 fi
36527
36528
36529
36530
36531
36532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36533 $as_echo_n "checking for isnanf declaration... " >&6; }
36534 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36535 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36536 $as_echo_n "(cached) " >&6
36537 else
36538
36539
36540 ac_ext=cpp
36541 ac_cpp='$CXXCPP $CPPFLAGS'
36542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36545
36546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36547 /* end confdefs.h. */
36548 #include <math.h>
36549 #ifdef HAVE_IEEEFP_H
36550 #include <ieeefp.h>
36551 #endif
36552
36553 int
36554 main ()
36555 {
36556 isnanf(0);
36557 ;
36558 return 0;
36559 }
36560 _ACEOF
36561 if ac_fn_cxx_try_compile "$LINENO"; then :
36562 glibcxx_cv_func_isnanf_use=yes
36563 else
36564 glibcxx_cv_func_isnanf_use=no
36565 fi
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36567 ac_ext=c
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36572
36573
36574 fi
36575
36576 fi
36577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36578 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36579
36580 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36581 for ac_func in isnanf
36582 do :
36583 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36584 if test "x$ac_cv_func_isnanf" = x""yes; then :
36585 cat >>confdefs.h <<_ACEOF
36586 #define HAVE_ISNANF 1
36587 _ACEOF
36588
36589 fi
36590 done
36591
36592 else
36593
36594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36595 $as_echo_n "checking for _isnanf declaration... " >&6; }
36596 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36597 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36598 $as_echo_n "(cached) " >&6
36599 else
36600
36601
36602 ac_ext=cpp
36603 ac_cpp='$CXXCPP $CPPFLAGS'
36604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36607
36608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36609 /* end confdefs.h. */
36610 #include <math.h>
36611 #ifdef HAVE_IEEEFP_H
36612 #include <ieeefp.h>
36613 #endif
36614
36615 int
36616 main ()
36617 {
36618 _isnanf(0);
36619 ;
36620 return 0;
36621 }
36622 _ACEOF
36623 if ac_fn_cxx_try_compile "$LINENO"; then :
36624 glibcxx_cv_func__isnanf_use=yes
36625 else
36626 glibcxx_cv_func__isnanf_use=no
36627 fi
36628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36629 ac_ext=c
36630 ac_cpp='$CPP $CPPFLAGS'
36631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36634
36635
36636 fi
36637
36638 fi
36639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36640 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36641
36642 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36643 for ac_func in _isnanf
36644 do :
36645 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36646 if test "x$ac_cv_func__isnanf" = x""yes; then :
36647 cat >>confdefs.h <<_ACEOF
36648 #define HAVE__ISNANF 1
36649 _ACEOF
36650
36651 fi
36652 done
36653
36654 fi
36655 fi
36656
36657
36658
36659
36660
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36662 $as_echo_n "checking for isinff declaration... " >&6; }
36663 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36664 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36665 $as_echo_n "(cached) " >&6
36666 else
36667
36668
36669 ac_ext=cpp
36670 ac_cpp='$CXXCPP $CPPFLAGS'
36671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36674
36675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36676 /* end confdefs.h. */
36677 #include <math.h>
36678 #ifdef HAVE_IEEEFP_H
36679 #include <ieeefp.h>
36680 #endif
36681
36682 int
36683 main ()
36684 {
36685 isinff(0);
36686 ;
36687 return 0;
36688 }
36689 _ACEOF
36690 if ac_fn_cxx_try_compile "$LINENO"; then :
36691 glibcxx_cv_func_isinff_use=yes
36692 else
36693 glibcxx_cv_func_isinff_use=no
36694 fi
36695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36696 ac_ext=c
36697 ac_cpp='$CPP $CPPFLAGS'
36698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36701
36702
36703 fi
36704
36705 fi
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36707 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36708
36709 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36710 for ac_func in isinff
36711 do :
36712 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36713 if test "x$ac_cv_func_isinff" = x""yes; then :
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE_ISINFF 1
36716 _ACEOF
36717
36718 fi
36719 done
36720
36721 else
36722
36723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36724 $as_echo_n "checking for _isinff declaration... " >&6; }
36725 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36726 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36727 $as_echo_n "(cached) " >&6
36728 else
36729
36730
36731 ac_ext=cpp
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36736
36737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36738 /* end confdefs.h. */
36739 #include <math.h>
36740 #ifdef HAVE_IEEEFP_H
36741 #include <ieeefp.h>
36742 #endif
36743
36744 int
36745 main ()
36746 {
36747 _isinff(0);
36748 ;
36749 return 0;
36750 }
36751 _ACEOF
36752 if ac_fn_cxx_try_compile "$LINENO"; then :
36753 glibcxx_cv_func__isinff_use=yes
36754 else
36755 glibcxx_cv_func__isinff_use=no
36756 fi
36757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36758 ac_ext=c
36759 ac_cpp='$CPP $CPPFLAGS'
36760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36763
36764
36765 fi
36766
36767 fi
36768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36769 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36770
36771 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36772 for ac_func in _isinff
36773 do :
36774 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36775 if test "x$ac_cv_func__isinff" = x""yes; then :
36776 cat >>confdefs.h <<_ACEOF
36777 #define HAVE__ISINFF 1
36778 _ACEOF
36779
36780 fi
36781 done
36782
36783 fi
36784 fi
36785
36786
36787
36788
36789
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36791 $as_echo_n "checking for atan2f declaration... " >&6; }
36792 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36793 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36794 $as_echo_n "(cached) " >&6
36795 else
36796
36797
36798 ac_ext=cpp
36799 ac_cpp='$CXXCPP $CPPFLAGS'
36800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36803
36804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36805 /* end confdefs.h. */
36806 #include <math.h>
36807 int
36808 main ()
36809 {
36810 atan2f(0, 0);
36811 ;
36812 return 0;
36813 }
36814 _ACEOF
36815 if ac_fn_cxx_try_compile "$LINENO"; then :
36816 glibcxx_cv_func_atan2f_use=yes
36817 else
36818 glibcxx_cv_func_atan2f_use=no
36819 fi
36820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36821 ac_ext=c
36822 ac_cpp='$CPP $CPPFLAGS'
36823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36826
36827
36828 fi
36829
36830 fi
36831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36832 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36833
36834 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36835 for ac_func in atan2f
36836 do :
36837 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36838 if test "x$ac_cv_func_atan2f" = x""yes; then :
36839 cat >>confdefs.h <<_ACEOF
36840 #define HAVE_ATAN2F 1
36841 _ACEOF
36842
36843 fi
36844 done
36845
36846 else
36847
36848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36849 $as_echo_n "checking for _atan2f declaration... " >&6; }
36850 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36851 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36852 $as_echo_n "(cached) " >&6
36853 else
36854
36855
36856 ac_ext=cpp
36857 ac_cpp='$CXXCPP $CPPFLAGS'
36858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36861
36862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36863 /* end confdefs.h. */
36864 #include <math.h>
36865 int
36866 main ()
36867 {
36868 _atan2f(0, 0);
36869 ;
36870 return 0;
36871 }
36872 _ACEOF
36873 if ac_fn_cxx_try_compile "$LINENO"; then :
36874 glibcxx_cv_func__atan2f_use=yes
36875 else
36876 glibcxx_cv_func__atan2f_use=no
36877 fi
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36879 ac_ext=c
36880 ac_cpp='$CPP $CPPFLAGS'
36881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36884
36885
36886 fi
36887
36888 fi
36889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36890 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36891
36892 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36893 for ac_func in _atan2f
36894 do :
36895 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36896 if test "x$ac_cv_func__atan2f" = x""yes; then :
36897 cat >>confdefs.h <<_ACEOF
36898 #define HAVE__ATAN2F 1
36899 _ACEOF
36900
36901 fi
36902 done
36903
36904 fi
36905 fi
36906
36907
36908
36909
36910
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36912 $as_echo_n "checking for fabsf declaration... " >&6; }
36913 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36914 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36915 $as_echo_n "(cached) " >&6
36916 else
36917
36918
36919 ac_ext=cpp
36920 ac_cpp='$CXXCPP $CPPFLAGS'
36921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36924
36925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36926 /* end confdefs.h. */
36927 #include <math.h>
36928 #ifdef HAVE_IEEEFP_H
36929 #include <ieeefp.h>
36930 #endif
36931
36932 int
36933 main ()
36934 {
36935 fabsf(0);
36936 ;
36937 return 0;
36938 }
36939 _ACEOF
36940 if ac_fn_cxx_try_compile "$LINENO"; then :
36941 glibcxx_cv_func_fabsf_use=yes
36942 else
36943 glibcxx_cv_func_fabsf_use=no
36944 fi
36945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36946 ac_ext=c
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36951
36952
36953 fi
36954
36955 fi
36956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36957 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36958
36959 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36960 for ac_func in fabsf
36961 do :
36962 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36963 if test "x$ac_cv_func_fabsf" = x""yes; then :
36964 cat >>confdefs.h <<_ACEOF
36965 #define HAVE_FABSF 1
36966 _ACEOF
36967
36968 fi
36969 done
36970
36971 else
36972
36973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36974 $as_echo_n "checking for _fabsf declaration... " >&6; }
36975 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36976 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36977 $as_echo_n "(cached) " >&6
36978 else
36979
36980
36981 ac_ext=cpp
36982 ac_cpp='$CXXCPP $CPPFLAGS'
36983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36986
36987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36988 /* end confdefs.h. */
36989 #include <math.h>
36990 #ifdef HAVE_IEEEFP_H
36991 #include <ieeefp.h>
36992 #endif
36993
36994 int
36995 main ()
36996 {
36997 _fabsf(0);
36998 ;
36999 return 0;
37000 }
37001 _ACEOF
37002 if ac_fn_cxx_try_compile "$LINENO"; then :
37003 glibcxx_cv_func__fabsf_use=yes
37004 else
37005 glibcxx_cv_func__fabsf_use=no
37006 fi
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008 ac_ext=c
37009 ac_cpp='$CPP $CPPFLAGS'
37010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37013
37014
37015 fi
37016
37017 fi
37018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37019 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37020
37021 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37022 for ac_func in _fabsf
37023 do :
37024 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37025 if test "x$ac_cv_func__fabsf" = x""yes; then :
37026 cat >>confdefs.h <<_ACEOF
37027 #define HAVE__FABSF 1
37028 _ACEOF
37029
37030 fi
37031 done
37032
37033 fi
37034 fi
37035
37036
37037
37038
37039
37040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37041 $as_echo_n "checking for fmodf declaration... " >&6; }
37042 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37043 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37044 $as_echo_n "(cached) " >&6
37045 else
37046
37047
37048 ac_ext=cpp
37049 ac_cpp='$CXXCPP $CPPFLAGS'
37050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37053
37054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37055 /* end confdefs.h. */
37056 #include <math.h>
37057 int
37058 main ()
37059 {
37060 fmodf(0, 0);
37061 ;
37062 return 0;
37063 }
37064 _ACEOF
37065 if ac_fn_cxx_try_compile "$LINENO"; then :
37066 glibcxx_cv_func_fmodf_use=yes
37067 else
37068 glibcxx_cv_func_fmodf_use=no
37069 fi
37070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37071 ac_ext=c
37072 ac_cpp='$CPP $CPPFLAGS'
37073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37076
37077
37078 fi
37079
37080 fi
37081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37082 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37083
37084 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37085 for ac_func in fmodf
37086 do :
37087 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37088 if test "x$ac_cv_func_fmodf" = x""yes; then :
37089 cat >>confdefs.h <<_ACEOF
37090 #define HAVE_FMODF 1
37091 _ACEOF
37092
37093 fi
37094 done
37095
37096 else
37097
37098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37099 $as_echo_n "checking for _fmodf declaration... " >&6; }
37100 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37101 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37102 $as_echo_n "(cached) " >&6
37103 else
37104
37105
37106 ac_ext=cpp
37107 ac_cpp='$CXXCPP $CPPFLAGS'
37108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37111
37112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37113 /* end confdefs.h. */
37114 #include <math.h>
37115 int
37116 main ()
37117 {
37118 _fmodf(0, 0);
37119 ;
37120 return 0;
37121 }
37122 _ACEOF
37123 if ac_fn_cxx_try_compile "$LINENO"; then :
37124 glibcxx_cv_func__fmodf_use=yes
37125 else
37126 glibcxx_cv_func__fmodf_use=no
37127 fi
37128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37129 ac_ext=c
37130 ac_cpp='$CPP $CPPFLAGS'
37131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37134
37135
37136 fi
37137
37138 fi
37139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37140 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37141
37142 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37143 for ac_func in _fmodf
37144 do :
37145 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37146 if test "x$ac_cv_func__fmodf" = x""yes; then :
37147 cat >>confdefs.h <<_ACEOF
37148 #define HAVE__FMODF 1
37149 _ACEOF
37150
37151 fi
37152 done
37153
37154 fi
37155 fi
37156
37157
37158
37159
37160
37161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37162 $as_echo_n "checking for frexpf declaration... " >&6; }
37163 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37164 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37165 $as_echo_n "(cached) " >&6
37166 else
37167
37168
37169 ac_ext=cpp
37170 ac_cpp='$CXXCPP $CPPFLAGS'
37171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37174
37175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37176 /* end confdefs.h. */
37177 #include <math.h>
37178 int
37179 main ()
37180 {
37181 frexpf(0, 0);
37182 ;
37183 return 0;
37184 }
37185 _ACEOF
37186 if ac_fn_cxx_try_compile "$LINENO"; then :
37187 glibcxx_cv_func_frexpf_use=yes
37188 else
37189 glibcxx_cv_func_frexpf_use=no
37190 fi
37191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37192 ac_ext=c
37193 ac_cpp='$CPP $CPPFLAGS'
37194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37197
37198
37199 fi
37200
37201 fi
37202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37203 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37204
37205 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37206 for ac_func in frexpf
37207 do :
37208 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37209 if test "x$ac_cv_func_frexpf" = x""yes; then :
37210 cat >>confdefs.h <<_ACEOF
37211 #define HAVE_FREXPF 1
37212 _ACEOF
37213
37214 fi
37215 done
37216
37217 else
37218
37219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37220 $as_echo_n "checking for _frexpf declaration... " >&6; }
37221 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37222 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37223 $as_echo_n "(cached) " >&6
37224 else
37225
37226
37227 ac_ext=cpp
37228 ac_cpp='$CXXCPP $CPPFLAGS'
37229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37232
37233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37234 /* end confdefs.h. */
37235 #include <math.h>
37236 int
37237 main ()
37238 {
37239 _frexpf(0, 0);
37240 ;
37241 return 0;
37242 }
37243 _ACEOF
37244 if ac_fn_cxx_try_compile "$LINENO"; then :
37245 glibcxx_cv_func__frexpf_use=yes
37246 else
37247 glibcxx_cv_func__frexpf_use=no
37248 fi
37249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37250 ac_ext=c
37251 ac_cpp='$CPP $CPPFLAGS'
37252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37255
37256
37257 fi
37258
37259 fi
37260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37261 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37262
37263 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37264 for ac_func in _frexpf
37265 do :
37266 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37267 if test "x$ac_cv_func__frexpf" = x""yes; then :
37268 cat >>confdefs.h <<_ACEOF
37269 #define HAVE__FREXPF 1
37270 _ACEOF
37271
37272 fi
37273 done
37274
37275 fi
37276 fi
37277
37278
37279
37280
37281
37282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37283 $as_echo_n "checking for hypotf declaration... " >&6; }
37284 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37285 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37286 $as_echo_n "(cached) " >&6
37287 else
37288
37289
37290 ac_ext=cpp
37291 ac_cpp='$CXXCPP $CPPFLAGS'
37292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37295
37296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37297 /* end confdefs.h. */
37298 #include <math.h>
37299 int
37300 main ()
37301 {
37302 hypotf(0, 0);
37303 ;
37304 return 0;
37305 }
37306 _ACEOF
37307 if ac_fn_cxx_try_compile "$LINENO"; then :
37308 glibcxx_cv_func_hypotf_use=yes
37309 else
37310 glibcxx_cv_func_hypotf_use=no
37311 fi
37312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37313 ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37318
37319
37320 fi
37321
37322 fi
37323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37324 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37325
37326 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37327 for ac_func in hypotf
37328 do :
37329 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37330 if test "x$ac_cv_func_hypotf" = x""yes; then :
37331 cat >>confdefs.h <<_ACEOF
37332 #define HAVE_HYPOTF 1
37333 _ACEOF
37334
37335 fi
37336 done
37337
37338 else
37339
37340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37341 $as_echo_n "checking for _hypotf declaration... " >&6; }
37342 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37343 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37344 $as_echo_n "(cached) " >&6
37345 else
37346
37347
37348 ac_ext=cpp
37349 ac_cpp='$CXXCPP $CPPFLAGS'
37350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37353
37354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37355 /* end confdefs.h. */
37356 #include <math.h>
37357 int
37358 main ()
37359 {
37360 _hypotf(0, 0);
37361 ;
37362 return 0;
37363 }
37364 _ACEOF
37365 if ac_fn_cxx_try_compile "$LINENO"; then :
37366 glibcxx_cv_func__hypotf_use=yes
37367 else
37368 glibcxx_cv_func__hypotf_use=no
37369 fi
37370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37371 ac_ext=c
37372 ac_cpp='$CPP $CPPFLAGS'
37373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37376
37377
37378 fi
37379
37380 fi
37381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37382 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37383
37384 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37385 for ac_func in _hypotf
37386 do :
37387 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37388 if test "x$ac_cv_func__hypotf" = x""yes; then :
37389 cat >>confdefs.h <<_ACEOF
37390 #define HAVE__HYPOTF 1
37391 _ACEOF
37392
37393 fi
37394 done
37395
37396 fi
37397 fi
37398
37399
37400
37401
37402
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37404 $as_echo_n "checking for ldexpf declaration... " >&6; }
37405 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37406 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37407 $as_echo_n "(cached) " >&6
37408 else
37409
37410
37411 ac_ext=cpp
37412 ac_cpp='$CXXCPP $CPPFLAGS'
37413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37416
37417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37418 /* end confdefs.h. */
37419 #include <math.h>
37420 int
37421 main ()
37422 {
37423 ldexpf(0, 0);
37424 ;
37425 return 0;
37426 }
37427 _ACEOF
37428 if ac_fn_cxx_try_compile "$LINENO"; then :
37429 glibcxx_cv_func_ldexpf_use=yes
37430 else
37431 glibcxx_cv_func_ldexpf_use=no
37432 fi
37433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37434 ac_ext=c
37435 ac_cpp='$CPP $CPPFLAGS'
37436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37439
37440
37441 fi
37442
37443 fi
37444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37445 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37446
37447 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37448 for ac_func in ldexpf
37449 do :
37450 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37451 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37452 cat >>confdefs.h <<_ACEOF
37453 #define HAVE_LDEXPF 1
37454 _ACEOF
37455
37456 fi
37457 done
37458
37459 else
37460
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37462 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37463 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37464 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37465 $as_echo_n "(cached) " >&6
37466 else
37467
37468
37469 ac_ext=cpp
37470 ac_cpp='$CXXCPP $CPPFLAGS'
37471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37474
37475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37476 /* end confdefs.h. */
37477 #include <math.h>
37478 int
37479 main ()
37480 {
37481 _ldexpf(0, 0);
37482 ;
37483 return 0;
37484 }
37485 _ACEOF
37486 if ac_fn_cxx_try_compile "$LINENO"; then :
37487 glibcxx_cv_func__ldexpf_use=yes
37488 else
37489 glibcxx_cv_func__ldexpf_use=no
37490 fi
37491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37492 ac_ext=c
37493 ac_cpp='$CPP $CPPFLAGS'
37494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37497
37498
37499 fi
37500
37501 fi
37502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37503 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37504
37505 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37506 for ac_func in _ldexpf
37507 do :
37508 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37509 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37510 cat >>confdefs.h <<_ACEOF
37511 #define HAVE__LDEXPF 1
37512 _ACEOF
37513
37514 fi
37515 done
37516
37517 fi
37518 fi
37519
37520
37521
37522
37523
37524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37525 $as_echo_n "checking for logf declaration... " >&6; }
37526 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37527 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37528 $as_echo_n "(cached) " >&6
37529 else
37530
37531
37532 ac_ext=cpp
37533 ac_cpp='$CXXCPP $CPPFLAGS'
37534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37537
37538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37539 /* end confdefs.h. */
37540 #include <math.h>
37541 #ifdef HAVE_IEEEFP_H
37542 #include <ieeefp.h>
37543 #endif
37544
37545 int
37546 main ()
37547 {
37548 logf(0);
37549 ;
37550 return 0;
37551 }
37552 _ACEOF
37553 if ac_fn_cxx_try_compile "$LINENO"; then :
37554 glibcxx_cv_func_logf_use=yes
37555 else
37556 glibcxx_cv_func_logf_use=no
37557 fi
37558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37559 ac_ext=c
37560 ac_cpp='$CPP $CPPFLAGS'
37561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37564
37565
37566 fi
37567
37568 fi
37569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37570 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37571
37572 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37573 for ac_func in logf
37574 do :
37575 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37576 if test "x$ac_cv_func_logf" = x""yes; then :
37577 cat >>confdefs.h <<_ACEOF
37578 #define HAVE_LOGF 1
37579 _ACEOF
37580
37581 fi
37582 done
37583
37584 else
37585
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37587 $as_echo_n "checking for _logf declaration... " >&6; }
37588 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37589 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37590 $as_echo_n "(cached) " >&6
37591 else
37592
37593
37594 ac_ext=cpp
37595 ac_cpp='$CXXCPP $CPPFLAGS'
37596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37599
37600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37601 /* end confdefs.h. */
37602 #include <math.h>
37603 #ifdef HAVE_IEEEFP_H
37604 #include <ieeefp.h>
37605 #endif
37606
37607 int
37608 main ()
37609 {
37610 _logf(0);
37611 ;
37612 return 0;
37613 }
37614 _ACEOF
37615 if ac_fn_cxx_try_compile "$LINENO"; then :
37616 glibcxx_cv_func__logf_use=yes
37617 else
37618 glibcxx_cv_func__logf_use=no
37619 fi
37620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37621 ac_ext=c
37622 ac_cpp='$CPP $CPPFLAGS'
37623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37626
37627
37628 fi
37629
37630 fi
37631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37632 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37633
37634 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37635 for ac_func in _logf
37636 do :
37637 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37638 if test "x$ac_cv_func__logf" = x""yes; then :
37639 cat >>confdefs.h <<_ACEOF
37640 #define HAVE__LOGF 1
37641 _ACEOF
37642
37643 fi
37644 done
37645
37646 fi
37647 fi
37648
37649
37650
37651
37652
37653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37654 $as_echo_n "checking for log10f declaration... " >&6; }
37655 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37656 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37657 $as_echo_n "(cached) " >&6
37658 else
37659
37660
37661 ac_ext=cpp
37662 ac_cpp='$CXXCPP $CPPFLAGS'
37663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37666
37667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37668 /* end confdefs.h. */
37669 #include <math.h>
37670 #ifdef HAVE_IEEEFP_H
37671 #include <ieeefp.h>
37672 #endif
37673
37674 int
37675 main ()
37676 {
37677 log10f(0);
37678 ;
37679 return 0;
37680 }
37681 _ACEOF
37682 if ac_fn_cxx_try_compile "$LINENO"; then :
37683 glibcxx_cv_func_log10f_use=yes
37684 else
37685 glibcxx_cv_func_log10f_use=no
37686 fi
37687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37688 ac_ext=c
37689 ac_cpp='$CPP $CPPFLAGS'
37690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37693
37694
37695 fi
37696
37697 fi
37698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37699 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37700
37701 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37702 for ac_func in log10f
37703 do :
37704 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37705 if test "x$ac_cv_func_log10f" = x""yes; then :
37706 cat >>confdefs.h <<_ACEOF
37707 #define HAVE_LOG10F 1
37708 _ACEOF
37709
37710 fi
37711 done
37712
37713 else
37714
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37716 $as_echo_n "checking for _log10f declaration... " >&6; }
37717 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37718 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37719 $as_echo_n "(cached) " >&6
37720 else
37721
37722
37723 ac_ext=cpp
37724 ac_cpp='$CXXCPP $CPPFLAGS'
37725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37728
37729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37730 /* end confdefs.h. */
37731 #include <math.h>
37732 #ifdef HAVE_IEEEFP_H
37733 #include <ieeefp.h>
37734 #endif
37735
37736 int
37737 main ()
37738 {
37739 _log10f(0);
37740 ;
37741 return 0;
37742 }
37743 _ACEOF
37744 if ac_fn_cxx_try_compile "$LINENO"; then :
37745 glibcxx_cv_func__log10f_use=yes
37746 else
37747 glibcxx_cv_func__log10f_use=no
37748 fi
37749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37750 ac_ext=c
37751 ac_cpp='$CPP $CPPFLAGS'
37752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37755
37756
37757 fi
37758
37759 fi
37760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37761 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37762
37763 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37764 for ac_func in _log10f
37765 do :
37766 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37767 if test "x$ac_cv_func__log10f" = x""yes; then :
37768 cat >>confdefs.h <<_ACEOF
37769 #define HAVE__LOG10F 1
37770 _ACEOF
37771
37772 fi
37773 done
37774
37775 fi
37776 fi
37777
37778
37779
37780
37781
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37783 $as_echo_n "checking for modff declaration... " >&6; }
37784 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37785 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37786 $as_echo_n "(cached) " >&6
37787 else
37788
37789
37790 ac_ext=cpp
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37795
37796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37797 /* end confdefs.h. */
37798 #include <math.h>
37799 int
37800 main ()
37801 {
37802 modff(0, 0);
37803 ;
37804 return 0;
37805 }
37806 _ACEOF
37807 if ac_fn_cxx_try_compile "$LINENO"; then :
37808 glibcxx_cv_func_modff_use=yes
37809 else
37810 glibcxx_cv_func_modff_use=no
37811 fi
37812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37813 ac_ext=c
37814 ac_cpp='$CPP $CPPFLAGS'
37815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37818
37819
37820 fi
37821
37822 fi
37823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37824 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37825
37826 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37827 for ac_func in modff
37828 do :
37829 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37830 if test "x$ac_cv_func_modff" = x""yes; then :
37831 cat >>confdefs.h <<_ACEOF
37832 #define HAVE_MODFF 1
37833 _ACEOF
37834
37835 fi
37836 done
37837
37838 else
37839
37840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37841 $as_echo_n "checking for _modff declaration... " >&6; }
37842 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37843 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37844 $as_echo_n "(cached) " >&6
37845 else
37846
37847
37848 ac_ext=cpp
37849 ac_cpp='$CXXCPP $CPPFLAGS'
37850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37853
37854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37855 /* end confdefs.h. */
37856 #include <math.h>
37857 int
37858 main ()
37859 {
37860 _modff(0, 0);
37861 ;
37862 return 0;
37863 }
37864 _ACEOF
37865 if ac_fn_cxx_try_compile "$LINENO"; then :
37866 glibcxx_cv_func__modff_use=yes
37867 else
37868 glibcxx_cv_func__modff_use=no
37869 fi
37870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37871 ac_ext=c
37872 ac_cpp='$CPP $CPPFLAGS'
37873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37876
37877
37878 fi
37879
37880 fi
37881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37882 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37883
37884 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37885 for ac_func in _modff
37886 do :
37887 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37888 if test "x$ac_cv_func__modff" = x""yes; then :
37889 cat >>confdefs.h <<_ACEOF
37890 #define HAVE__MODFF 1
37891 _ACEOF
37892
37893 fi
37894 done
37895
37896 fi
37897 fi
37898
37899
37900
37901
37902
37903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37904 $as_echo_n "checking for modf declaration... " >&6; }
37905 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37906 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37907 $as_echo_n "(cached) " >&6
37908 else
37909
37910
37911 ac_ext=cpp
37912 ac_cpp='$CXXCPP $CPPFLAGS'
37913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37916
37917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37918 /* end confdefs.h. */
37919 #include <math.h>
37920 int
37921 main ()
37922 {
37923 modf(0, 0);
37924 ;
37925 return 0;
37926 }
37927 _ACEOF
37928 if ac_fn_cxx_try_compile "$LINENO"; then :
37929 glibcxx_cv_func_modf_use=yes
37930 else
37931 glibcxx_cv_func_modf_use=no
37932 fi
37933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37934 ac_ext=c
37935 ac_cpp='$CPP $CPPFLAGS'
37936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37939
37940
37941 fi
37942
37943 fi
37944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37945 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37946
37947 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37948 for ac_func in modf
37949 do :
37950 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37951 if test "x$ac_cv_func_modf" = x""yes; then :
37952 cat >>confdefs.h <<_ACEOF
37953 #define HAVE_MODF 1
37954 _ACEOF
37955
37956 fi
37957 done
37958
37959 else
37960
37961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37962 $as_echo_n "checking for _modf declaration... " >&6; }
37963 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37964 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37965 $as_echo_n "(cached) " >&6
37966 else
37967
37968
37969 ac_ext=cpp
37970 ac_cpp='$CXXCPP $CPPFLAGS'
37971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37974
37975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37976 /* end confdefs.h. */
37977 #include <math.h>
37978 int
37979 main ()
37980 {
37981 _modf(0, 0);
37982 ;
37983 return 0;
37984 }
37985 _ACEOF
37986 if ac_fn_cxx_try_compile "$LINENO"; then :
37987 glibcxx_cv_func__modf_use=yes
37988 else
37989 glibcxx_cv_func__modf_use=no
37990 fi
37991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37992 ac_ext=c
37993 ac_cpp='$CPP $CPPFLAGS'
37994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37997
37998
37999 fi
38000
38001 fi
38002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38003 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38004
38005 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38006 for ac_func in _modf
38007 do :
38008 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38009 if test "x$ac_cv_func__modf" = x""yes; then :
38010 cat >>confdefs.h <<_ACEOF
38011 #define HAVE__MODF 1
38012 _ACEOF
38013
38014 fi
38015 done
38016
38017 fi
38018 fi
38019
38020
38021
38022
38023
38024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38025 $as_echo_n "checking for powf declaration... " >&6; }
38026 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38027 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38028 $as_echo_n "(cached) " >&6
38029 else
38030
38031
38032 ac_ext=cpp
38033 ac_cpp='$CXXCPP $CPPFLAGS'
38034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38037
38038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38039 /* end confdefs.h. */
38040 #include <math.h>
38041 int
38042 main ()
38043 {
38044 powf(0, 0);
38045 ;
38046 return 0;
38047 }
38048 _ACEOF
38049 if ac_fn_cxx_try_compile "$LINENO"; then :
38050 glibcxx_cv_func_powf_use=yes
38051 else
38052 glibcxx_cv_func_powf_use=no
38053 fi
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055 ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38060
38061
38062 fi
38063
38064 fi
38065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38066 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38067
38068 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38069 for ac_func in powf
38070 do :
38071 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38072 if test "x$ac_cv_func_powf" = x""yes; then :
38073 cat >>confdefs.h <<_ACEOF
38074 #define HAVE_POWF 1
38075 _ACEOF
38076
38077 fi
38078 done
38079
38080 else
38081
38082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38083 $as_echo_n "checking for _powf declaration... " >&6; }
38084 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38085 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38086 $as_echo_n "(cached) " >&6
38087 else
38088
38089
38090 ac_ext=cpp
38091 ac_cpp='$CXXCPP $CPPFLAGS'
38092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38095
38096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38097 /* end confdefs.h. */
38098 #include <math.h>
38099 int
38100 main ()
38101 {
38102 _powf(0, 0);
38103 ;
38104 return 0;
38105 }
38106 _ACEOF
38107 if ac_fn_cxx_try_compile "$LINENO"; then :
38108 glibcxx_cv_func__powf_use=yes
38109 else
38110 glibcxx_cv_func__powf_use=no
38111 fi
38112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38113 ac_ext=c
38114 ac_cpp='$CPP $CPPFLAGS'
38115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38118
38119
38120 fi
38121
38122 fi
38123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38124 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38125
38126 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38127 for ac_func in _powf
38128 do :
38129 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38130 if test "x$ac_cv_func__powf" = x""yes; then :
38131 cat >>confdefs.h <<_ACEOF
38132 #define HAVE__POWF 1
38133 _ACEOF
38134
38135 fi
38136 done
38137
38138 fi
38139 fi
38140
38141
38142
38143
38144
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38146 $as_echo_n "checking for sqrtf declaration... " >&6; }
38147 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38148 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38149 $as_echo_n "(cached) " >&6
38150 else
38151
38152
38153 ac_ext=cpp
38154 ac_cpp='$CXXCPP $CPPFLAGS'
38155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38158
38159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38160 /* end confdefs.h. */
38161 #include <math.h>
38162 #ifdef HAVE_IEEEFP_H
38163 #include <ieeefp.h>
38164 #endif
38165
38166 int
38167 main ()
38168 {
38169 sqrtf(0);
38170 ;
38171 return 0;
38172 }
38173 _ACEOF
38174 if ac_fn_cxx_try_compile "$LINENO"; then :
38175 glibcxx_cv_func_sqrtf_use=yes
38176 else
38177 glibcxx_cv_func_sqrtf_use=no
38178 fi
38179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38180 ac_ext=c
38181 ac_cpp='$CPP $CPPFLAGS'
38182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38185
38186
38187 fi
38188
38189 fi
38190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38191 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38192
38193 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38194 for ac_func in sqrtf
38195 do :
38196 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38197 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38198 cat >>confdefs.h <<_ACEOF
38199 #define HAVE_SQRTF 1
38200 _ACEOF
38201
38202 fi
38203 done
38204
38205 else
38206
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38208 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38209 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38210 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38211 $as_echo_n "(cached) " >&6
38212 else
38213
38214
38215 ac_ext=cpp
38216 ac_cpp='$CXXCPP $CPPFLAGS'
38217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38220
38221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38222 /* end confdefs.h. */
38223 #include <math.h>
38224 #ifdef HAVE_IEEEFP_H
38225 #include <ieeefp.h>
38226 #endif
38227
38228 int
38229 main ()
38230 {
38231 _sqrtf(0);
38232 ;
38233 return 0;
38234 }
38235 _ACEOF
38236 if ac_fn_cxx_try_compile "$LINENO"; then :
38237 glibcxx_cv_func__sqrtf_use=yes
38238 else
38239 glibcxx_cv_func__sqrtf_use=no
38240 fi
38241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38242 ac_ext=c
38243 ac_cpp='$CPP $CPPFLAGS'
38244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38247
38248
38249 fi
38250
38251 fi
38252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38253 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38254
38255 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38256 for ac_func in _sqrtf
38257 do :
38258 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38259 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38260 cat >>confdefs.h <<_ACEOF
38261 #define HAVE__SQRTF 1
38262 _ACEOF
38263
38264 fi
38265 done
38266
38267 fi
38268 fi
38269
38270
38271
38272
38273
38274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38275 $as_echo_n "checking for sincosf declaration... " >&6; }
38276 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38277 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38278 $as_echo_n "(cached) " >&6
38279 else
38280
38281
38282 ac_ext=cpp
38283 ac_cpp='$CXXCPP $CPPFLAGS'
38284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38287
38288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38289 /* end confdefs.h. */
38290 #include <math.h>
38291 int
38292 main ()
38293 {
38294 sincosf(0, 0, 0);
38295 ;
38296 return 0;
38297 }
38298 _ACEOF
38299 if ac_fn_cxx_try_compile "$LINENO"; then :
38300 glibcxx_cv_func_sincosf_use=yes
38301 else
38302 glibcxx_cv_func_sincosf_use=no
38303 fi
38304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38305 ac_ext=c
38306 ac_cpp='$CPP $CPPFLAGS'
38307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38310
38311
38312 fi
38313
38314 fi
38315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38316 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38317
38318 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38319 for ac_func in sincosf
38320 do :
38321 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38322 if test "x$ac_cv_func_sincosf" = x""yes; then :
38323 cat >>confdefs.h <<_ACEOF
38324 #define HAVE_SINCOSF 1
38325 _ACEOF
38326
38327 fi
38328 done
38329
38330 else
38331
38332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38333 $as_echo_n "checking for _sincosf declaration... " >&6; }
38334 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38335 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38336 $as_echo_n "(cached) " >&6
38337 else
38338
38339
38340 ac_ext=cpp
38341 ac_cpp='$CXXCPP $CPPFLAGS'
38342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38345
38346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38347 /* end confdefs.h. */
38348 #include <math.h>
38349 int
38350 main ()
38351 {
38352 _sincosf(0, 0, 0);
38353 ;
38354 return 0;
38355 }
38356 _ACEOF
38357 if ac_fn_cxx_try_compile "$LINENO"; then :
38358 glibcxx_cv_func__sincosf_use=yes
38359 else
38360 glibcxx_cv_func__sincosf_use=no
38361 fi
38362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38363 ac_ext=c
38364 ac_cpp='$CPP $CPPFLAGS'
38365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38368
38369
38370 fi
38371
38372 fi
38373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38374 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38375
38376 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38377 for ac_func in _sincosf
38378 do :
38379 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38380 if test "x$ac_cv_func__sincosf" = x""yes; then :
38381 cat >>confdefs.h <<_ACEOF
38382 #define HAVE__SINCOSF 1
38383 _ACEOF
38384
38385 fi
38386 done
38387
38388 fi
38389 fi
38390
38391
38392
38393
38394
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38396 $as_echo_n "checking for finitef declaration... " >&6; }
38397 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38398 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38399 $as_echo_n "(cached) " >&6
38400 else
38401
38402
38403 ac_ext=cpp
38404 ac_cpp='$CXXCPP $CPPFLAGS'
38405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38408
38409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38410 /* end confdefs.h. */
38411 #include <math.h>
38412 #ifdef HAVE_IEEEFP_H
38413 #include <ieeefp.h>
38414 #endif
38415
38416 int
38417 main ()
38418 {
38419 finitef(0);
38420 ;
38421 return 0;
38422 }
38423 _ACEOF
38424 if ac_fn_cxx_try_compile "$LINENO"; then :
38425 glibcxx_cv_func_finitef_use=yes
38426 else
38427 glibcxx_cv_func_finitef_use=no
38428 fi
38429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38430 ac_ext=c
38431 ac_cpp='$CPP $CPPFLAGS'
38432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38435
38436
38437 fi
38438
38439 fi
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38441 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38442
38443 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38444 for ac_func in finitef
38445 do :
38446 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38447 if test "x$ac_cv_func_finitef" = x""yes; then :
38448 cat >>confdefs.h <<_ACEOF
38449 #define HAVE_FINITEF 1
38450 _ACEOF
38451
38452 fi
38453 done
38454
38455 else
38456
38457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38458 $as_echo_n "checking for _finitef declaration... " >&6; }
38459 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38460 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38461 $as_echo_n "(cached) " >&6
38462 else
38463
38464
38465 ac_ext=cpp
38466 ac_cpp='$CXXCPP $CPPFLAGS'
38467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38470
38471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38472 /* end confdefs.h. */
38473 #include <math.h>
38474 #ifdef HAVE_IEEEFP_H
38475 #include <ieeefp.h>
38476 #endif
38477
38478 int
38479 main ()
38480 {
38481 _finitef(0);
38482 ;
38483 return 0;
38484 }
38485 _ACEOF
38486 if ac_fn_cxx_try_compile "$LINENO"; then :
38487 glibcxx_cv_func__finitef_use=yes
38488 else
38489 glibcxx_cv_func__finitef_use=no
38490 fi
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38492 ac_ext=c
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38497
38498
38499 fi
38500
38501 fi
38502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38503 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38504
38505 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38506 for ac_func in _finitef
38507 do :
38508 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38509 if test "x$ac_cv_func__finitef" = x""yes; then :
38510 cat >>confdefs.h <<_ACEOF
38511 #define HAVE__FINITEF 1
38512 _ACEOF
38513
38514 fi
38515 done
38516
38517 fi
38518 fi
38519
38520
38521
38522
38523
38524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38525 $as_echo_n "checking for long double trig functions... " >&6; }
38526 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38527 $as_echo_n "(cached) " >&6
38528 else
38529
38530
38531 ac_ext=cpp
38532 ac_cpp='$CXXCPP $CPPFLAGS'
38533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38536
38537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38538 /* end confdefs.h. */
38539 #include <math.h>
38540 int
38541 main ()
38542 {
38543 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38544 ;
38545 return 0;
38546 }
38547 _ACEOF
38548 if ac_fn_cxx_try_compile "$LINENO"; then :
38549 glibcxx_cv_func_long_double_trig_use=yes
38550 else
38551 glibcxx_cv_func_long_double_trig_use=no
38552 fi
38553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38554 ac_ext=c
38555 ac_cpp='$CPP $CPPFLAGS'
38556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38559
38560 fi
38561
38562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38563 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38564 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38565 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38566 do :
38567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38569 eval as_val=\$$as_ac_var
38570 if test "x$as_val" = x""yes; then :
38571 cat >>confdefs.h <<_ACEOF
38572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38573 _ACEOF
38574
38575 fi
38576 done
38577
38578 else
38579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38580 $as_echo_n "checking for _long double trig functions... " >&6; }
38581 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38582 $as_echo_n "(cached) " >&6
38583 else
38584
38585
38586 ac_ext=cpp
38587 ac_cpp='$CXXCPP $CPPFLAGS'
38588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38591
38592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38593 /* end confdefs.h. */
38594 #include <math.h>
38595 int
38596 main ()
38597 {
38598 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38599 ;
38600 return 0;
38601 }
38602 _ACEOF
38603 if ac_fn_cxx_try_compile "$LINENO"; then :
38604 glibcxx_cv_func__long_double_trig_use=yes
38605 else
38606 glibcxx_cv_func__long_double_trig_use=no
38607 fi
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609 ac_ext=c
38610 ac_cpp='$CPP $CPPFLAGS'
38611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38614
38615 fi
38616
38617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38618 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38619 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38620 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38621 do :
38622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38624 eval as_val=\$$as_ac_var
38625 if test "x$as_val" = x""yes; then :
38626 cat >>confdefs.h <<_ACEOF
38627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38628 _ACEOF
38629
38630 fi
38631 done
38632
38633 fi
38634 fi
38635
38636
38637
38638
38639
38640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38641 $as_echo_n "checking for long double round functions... " >&6; }
38642 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38643 $as_echo_n "(cached) " >&6
38644 else
38645
38646
38647 ac_ext=cpp
38648 ac_cpp='$CXXCPP $CPPFLAGS'
38649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38652
38653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38654 /* end confdefs.h. */
38655 #include <math.h>
38656 int
38657 main ()
38658 {
38659 ceill (0); floorl (0);
38660 ;
38661 return 0;
38662 }
38663 _ACEOF
38664 if ac_fn_cxx_try_compile "$LINENO"; then :
38665 glibcxx_cv_func_long_double_round_use=yes
38666 else
38667 glibcxx_cv_func_long_double_round_use=no
38668 fi
38669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38670 ac_ext=c
38671 ac_cpp='$CPP $CPPFLAGS'
38672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38675
38676 fi
38677
38678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38679 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38680 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38681 for ac_func in ceill floorl
38682 do :
38683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38685 eval as_val=\$$as_ac_var
38686 if test "x$as_val" = x""yes; then :
38687 cat >>confdefs.h <<_ACEOF
38688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38689 _ACEOF
38690
38691 fi
38692 done
38693
38694 else
38695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38696 $as_echo_n "checking for _long double round functions... " >&6; }
38697 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38698 $as_echo_n "(cached) " >&6
38699 else
38700
38701
38702 ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707
38708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h. */
38710 #include <math.h>
38711 int
38712 main ()
38713 {
38714 _ceill (0); _floorl (0);
38715 ;
38716 return 0;
38717 }
38718 _ACEOF
38719 if ac_fn_cxx_try_compile "$LINENO"; then :
38720 glibcxx_cv_func__long_double_round_use=yes
38721 else
38722 glibcxx_cv_func__long_double_round_use=no
38723 fi
38724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38725 ac_ext=c
38726 ac_cpp='$CPP $CPPFLAGS'
38727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38730
38731 fi
38732
38733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38734 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38735 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38736 for ac_func in _ceill _floorl
38737 do :
38738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38740 eval as_val=\$$as_ac_var
38741 if test "x$as_val" = x""yes; then :
38742 cat >>confdefs.h <<_ACEOF
38743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38744 _ACEOF
38745
38746 fi
38747 done
38748
38749 fi
38750 fi
38751
38752
38753
38754
38755
38756
38757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38758 $as_echo_n "checking for isnanl declaration... " >&6; }
38759 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38760 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38761 $as_echo_n "(cached) " >&6
38762 else
38763
38764
38765 ac_ext=cpp
38766 ac_cpp='$CXXCPP $CPPFLAGS'
38767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38770
38771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38772 /* end confdefs.h. */
38773 #include <math.h>
38774 #ifdef HAVE_IEEEFP_H
38775 #include <ieeefp.h>
38776 #endif
38777
38778 int
38779 main ()
38780 {
38781 isnanl(0);
38782 ;
38783 return 0;
38784 }
38785 _ACEOF
38786 if ac_fn_cxx_try_compile "$LINENO"; then :
38787 glibcxx_cv_func_isnanl_use=yes
38788 else
38789 glibcxx_cv_func_isnanl_use=no
38790 fi
38791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38792 ac_ext=c
38793 ac_cpp='$CPP $CPPFLAGS'
38794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38797
38798
38799 fi
38800
38801 fi
38802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38803 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38804
38805 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38806 for ac_func in isnanl
38807 do :
38808 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38809 if test "x$ac_cv_func_isnanl" = x""yes; then :
38810 cat >>confdefs.h <<_ACEOF
38811 #define HAVE_ISNANL 1
38812 _ACEOF
38813
38814 fi
38815 done
38816
38817 else
38818
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38820 $as_echo_n "checking for _isnanl declaration... " >&6; }
38821 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38822 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38823 $as_echo_n "(cached) " >&6
38824 else
38825
38826
38827 ac_ext=cpp
38828 ac_cpp='$CXXCPP $CPPFLAGS'
38829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38832
38833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38834 /* end confdefs.h. */
38835 #include <math.h>
38836 #ifdef HAVE_IEEEFP_H
38837 #include <ieeefp.h>
38838 #endif
38839
38840 int
38841 main ()
38842 {
38843 _isnanl(0);
38844 ;
38845 return 0;
38846 }
38847 _ACEOF
38848 if ac_fn_cxx_try_compile "$LINENO"; then :
38849 glibcxx_cv_func__isnanl_use=yes
38850 else
38851 glibcxx_cv_func__isnanl_use=no
38852 fi
38853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38854 ac_ext=c
38855 ac_cpp='$CPP $CPPFLAGS'
38856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38859
38860
38861 fi
38862
38863 fi
38864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38865 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38866
38867 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38868 for ac_func in _isnanl
38869 do :
38870 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38871 if test "x$ac_cv_func__isnanl" = x""yes; then :
38872 cat >>confdefs.h <<_ACEOF
38873 #define HAVE__ISNANL 1
38874 _ACEOF
38875
38876 fi
38877 done
38878
38879 fi
38880 fi
38881
38882
38883
38884
38885
38886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38887 $as_echo_n "checking for isinfl declaration... " >&6; }
38888 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38889 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38890 $as_echo_n "(cached) " >&6
38891 else
38892
38893
38894 ac_ext=cpp
38895 ac_cpp='$CXXCPP $CPPFLAGS'
38896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38899
38900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38901 /* end confdefs.h. */
38902 #include <math.h>
38903 #ifdef HAVE_IEEEFP_H
38904 #include <ieeefp.h>
38905 #endif
38906
38907 int
38908 main ()
38909 {
38910 isinfl(0);
38911 ;
38912 return 0;
38913 }
38914 _ACEOF
38915 if ac_fn_cxx_try_compile "$LINENO"; then :
38916 glibcxx_cv_func_isinfl_use=yes
38917 else
38918 glibcxx_cv_func_isinfl_use=no
38919 fi
38920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921 ac_ext=c
38922 ac_cpp='$CPP $CPPFLAGS'
38923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38926
38927
38928 fi
38929
38930 fi
38931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38932 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38933
38934 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38935 for ac_func in isinfl
38936 do :
38937 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38938 if test "x$ac_cv_func_isinfl" = x""yes; then :
38939 cat >>confdefs.h <<_ACEOF
38940 #define HAVE_ISINFL 1
38941 _ACEOF
38942
38943 fi
38944 done
38945
38946 else
38947
38948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38949 $as_echo_n "checking for _isinfl declaration... " >&6; }
38950 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38951 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38952 $as_echo_n "(cached) " >&6
38953 else
38954
38955
38956 ac_ext=cpp
38957 ac_cpp='$CXXCPP $CPPFLAGS'
38958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38961
38962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38963 /* end confdefs.h. */
38964 #include <math.h>
38965 #ifdef HAVE_IEEEFP_H
38966 #include <ieeefp.h>
38967 #endif
38968
38969 int
38970 main ()
38971 {
38972 _isinfl(0);
38973 ;
38974 return 0;
38975 }
38976 _ACEOF
38977 if ac_fn_cxx_try_compile "$LINENO"; then :
38978 glibcxx_cv_func__isinfl_use=yes
38979 else
38980 glibcxx_cv_func__isinfl_use=no
38981 fi
38982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38983 ac_ext=c
38984 ac_cpp='$CPP $CPPFLAGS'
38985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38988
38989
38990 fi
38991
38992 fi
38993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38994 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38995
38996 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38997 for ac_func in _isinfl
38998 do :
38999 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39000 if test "x$ac_cv_func__isinfl" = x""yes; then :
39001 cat >>confdefs.h <<_ACEOF
39002 #define HAVE__ISINFL 1
39003 _ACEOF
39004
39005 fi
39006 done
39007
39008 fi
39009 fi
39010
39011
39012
39013
39014
39015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39016 $as_echo_n "checking for atan2l declaration... " >&6; }
39017 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39018 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39019 $as_echo_n "(cached) " >&6
39020 else
39021
39022
39023 ac_ext=cpp
39024 ac_cpp='$CXXCPP $CPPFLAGS'
39025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39028
39029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39030 /* end confdefs.h. */
39031 #include <math.h>
39032 int
39033 main ()
39034 {
39035 atan2l(0, 0);
39036 ;
39037 return 0;
39038 }
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func_atan2l_use=yes
39042 else
39043 glibcxx_cv_func_atan2l_use=no
39044 fi
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39051
39052
39053 fi
39054
39055 fi
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39057 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39058
39059 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39060 for ac_func in atan2l
39061 do :
39062 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39063 if test "x$ac_cv_func_atan2l" = x""yes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE_ATAN2L 1
39066 _ACEOF
39067
39068 fi
39069 done
39070
39071 else
39072
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39074 $as_echo_n "checking for _atan2l declaration... " >&6; }
39075 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39076 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39079
39080
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39090 int
39091 main ()
39092 {
39093 _atan2l(0, 0);
39094 ;
39095 return 0;
39096 }
39097 _ACEOF
39098 if ac_fn_cxx_try_compile "$LINENO"; then :
39099 glibcxx_cv_func__atan2l_use=yes
39100 else
39101 glibcxx_cv_func__atan2l_use=no
39102 fi
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39104 ac_ext=c
39105 ac_cpp='$CPP $CPPFLAGS'
39106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39109
39110
39111 fi
39112
39113 fi
39114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39115 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39116
39117 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39118 for ac_func in _atan2l
39119 do :
39120 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39121 if test "x$ac_cv_func__atan2l" = x""yes; then :
39122 cat >>confdefs.h <<_ACEOF
39123 #define HAVE__ATAN2L 1
39124 _ACEOF
39125
39126 fi
39127 done
39128
39129 fi
39130 fi
39131
39132
39133
39134
39135
39136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39137 $as_echo_n "checking for expl declaration... " >&6; }
39138 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39139 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39140 $as_echo_n "(cached) " >&6
39141 else
39142
39143
39144 ac_ext=cpp
39145 ac_cpp='$CXXCPP $CPPFLAGS'
39146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39149
39150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39151 /* end confdefs.h. */
39152 #include <math.h>
39153 #ifdef HAVE_IEEEFP_H
39154 #include <ieeefp.h>
39155 #endif
39156
39157 int
39158 main ()
39159 {
39160 expl(0);
39161 ;
39162 return 0;
39163 }
39164 _ACEOF
39165 if ac_fn_cxx_try_compile "$LINENO"; then :
39166 glibcxx_cv_func_expl_use=yes
39167 else
39168 glibcxx_cv_func_expl_use=no
39169 fi
39170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39171 ac_ext=c
39172 ac_cpp='$CPP $CPPFLAGS'
39173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39176
39177
39178 fi
39179
39180 fi
39181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39182 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39183
39184 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39185 for ac_func in expl
39186 do :
39187 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39188 if test "x$ac_cv_func_expl" = x""yes; then :
39189 cat >>confdefs.h <<_ACEOF
39190 #define HAVE_EXPL 1
39191 _ACEOF
39192
39193 fi
39194 done
39195
39196 else
39197
39198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39199 $as_echo_n "checking for _expl declaration... " >&6; }
39200 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39201 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39202 $as_echo_n "(cached) " >&6
39203 else
39204
39205
39206 ac_ext=cpp
39207 ac_cpp='$CXXCPP $CPPFLAGS'
39208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39211
39212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39213 /* end confdefs.h. */
39214 #include <math.h>
39215 #ifdef HAVE_IEEEFP_H
39216 #include <ieeefp.h>
39217 #endif
39218
39219 int
39220 main ()
39221 {
39222 _expl(0);
39223 ;
39224 return 0;
39225 }
39226 _ACEOF
39227 if ac_fn_cxx_try_compile "$LINENO"; then :
39228 glibcxx_cv_func__expl_use=yes
39229 else
39230 glibcxx_cv_func__expl_use=no
39231 fi
39232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39233 ac_ext=c
39234 ac_cpp='$CPP $CPPFLAGS'
39235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39238
39239
39240 fi
39241
39242 fi
39243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39244 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39245
39246 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39247 for ac_func in _expl
39248 do :
39249 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39250 if test "x$ac_cv_func__expl" = x""yes; then :
39251 cat >>confdefs.h <<_ACEOF
39252 #define HAVE__EXPL 1
39253 _ACEOF
39254
39255 fi
39256 done
39257
39258 fi
39259 fi
39260
39261
39262
39263
39264
39265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39266 $as_echo_n "checking for fabsl declaration... " >&6; }
39267 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39268 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39269 $as_echo_n "(cached) " >&6
39270 else
39271
39272
39273 ac_ext=cpp
39274 ac_cpp='$CXXCPP $CPPFLAGS'
39275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39278
39279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39280 /* end confdefs.h. */
39281 #include <math.h>
39282 #ifdef HAVE_IEEEFP_H
39283 #include <ieeefp.h>
39284 #endif
39285
39286 int
39287 main ()
39288 {
39289 fabsl(0);
39290 ;
39291 return 0;
39292 }
39293 _ACEOF
39294 if ac_fn_cxx_try_compile "$LINENO"; then :
39295 glibcxx_cv_func_fabsl_use=yes
39296 else
39297 glibcxx_cv_func_fabsl_use=no
39298 fi
39299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39300 ac_ext=c
39301 ac_cpp='$CPP $CPPFLAGS'
39302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39305
39306
39307 fi
39308
39309 fi
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39311 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39312
39313 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39314 for ac_func in fabsl
39315 do :
39316 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39317 if test "x$ac_cv_func_fabsl" = x""yes; then :
39318 cat >>confdefs.h <<_ACEOF
39319 #define HAVE_FABSL 1
39320 _ACEOF
39321
39322 fi
39323 done
39324
39325 else
39326
39327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39328 $as_echo_n "checking for _fabsl declaration... " >&6; }
39329 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39330 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39331 $as_echo_n "(cached) " >&6
39332 else
39333
39334
39335 ac_ext=cpp
39336 ac_cpp='$CXXCPP $CPPFLAGS'
39337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39340
39341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39342 /* end confdefs.h. */
39343 #include <math.h>
39344 #ifdef HAVE_IEEEFP_H
39345 #include <ieeefp.h>
39346 #endif
39347
39348 int
39349 main ()
39350 {
39351 _fabsl(0);
39352 ;
39353 return 0;
39354 }
39355 _ACEOF
39356 if ac_fn_cxx_try_compile "$LINENO"; then :
39357 glibcxx_cv_func__fabsl_use=yes
39358 else
39359 glibcxx_cv_func__fabsl_use=no
39360 fi
39361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39362 ac_ext=c
39363 ac_cpp='$CPP $CPPFLAGS'
39364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39367
39368
39369 fi
39370
39371 fi
39372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39373 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39374
39375 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39376 for ac_func in _fabsl
39377 do :
39378 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39379 if test "x$ac_cv_func__fabsl" = x""yes; then :
39380 cat >>confdefs.h <<_ACEOF
39381 #define HAVE__FABSL 1
39382 _ACEOF
39383
39384 fi
39385 done
39386
39387 fi
39388 fi
39389
39390
39391
39392
39393
39394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39395 $as_echo_n "checking for fmodl declaration... " >&6; }
39396 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39397 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39398 $as_echo_n "(cached) " >&6
39399 else
39400
39401
39402 ac_ext=cpp
39403 ac_cpp='$CXXCPP $CPPFLAGS'
39404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39407
39408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39409 /* end confdefs.h. */
39410 #include <math.h>
39411 int
39412 main ()
39413 {
39414 fmodl(0, 0);
39415 ;
39416 return 0;
39417 }
39418 _ACEOF
39419 if ac_fn_cxx_try_compile "$LINENO"; then :
39420 glibcxx_cv_func_fmodl_use=yes
39421 else
39422 glibcxx_cv_func_fmodl_use=no
39423 fi
39424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39425 ac_ext=c
39426 ac_cpp='$CPP $CPPFLAGS'
39427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39430
39431
39432 fi
39433
39434 fi
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39436 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39437
39438 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39439 for ac_func in fmodl
39440 do :
39441 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39442 if test "x$ac_cv_func_fmodl" = x""yes; then :
39443 cat >>confdefs.h <<_ACEOF
39444 #define HAVE_FMODL 1
39445 _ACEOF
39446
39447 fi
39448 done
39449
39450 else
39451
39452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39453 $as_echo_n "checking for _fmodl declaration... " >&6; }
39454 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39455 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39456 $as_echo_n "(cached) " >&6
39457 else
39458
39459
39460 ac_ext=cpp
39461 ac_cpp='$CXXCPP $CPPFLAGS'
39462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39465
39466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39467 /* end confdefs.h. */
39468 #include <math.h>
39469 int
39470 main ()
39471 {
39472 _fmodl(0, 0);
39473 ;
39474 return 0;
39475 }
39476 _ACEOF
39477 if ac_fn_cxx_try_compile "$LINENO"; then :
39478 glibcxx_cv_func__fmodl_use=yes
39479 else
39480 glibcxx_cv_func__fmodl_use=no
39481 fi
39482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39483 ac_ext=c
39484 ac_cpp='$CPP $CPPFLAGS'
39485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39488
39489
39490 fi
39491
39492 fi
39493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39494 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39495
39496 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39497 for ac_func in _fmodl
39498 do :
39499 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39500 if test "x$ac_cv_func__fmodl" = x""yes; then :
39501 cat >>confdefs.h <<_ACEOF
39502 #define HAVE__FMODL 1
39503 _ACEOF
39504
39505 fi
39506 done
39507
39508 fi
39509 fi
39510
39511
39512
39513
39514
39515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39516 $as_echo_n "checking for frexpl declaration... " >&6; }
39517 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39518 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39519 $as_echo_n "(cached) " >&6
39520 else
39521
39522
39523 ac_ext=cpp
39524 ac_cpp='$CXXCPP $CPPFLAGS'
39525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39528
39529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39530 /* end confdefs.h. */
39531 #include <math.h>
39532 int
39533 main ()
39534 {
39535 frexpl(0, 0);
39536 ;
39537 return 0;
39538 }
39539 _ACEOF
39540 if ac_fn_cxx_try_compile "$LINENO"; then :
39541 glibcxx_cv_func_frexpl_use=yes
39542 else
39543 glibcxx_cv_func_frexpl_use=no
39544 fi
39545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39546 ac_ext=c
39547 ac_cpp='$CPP $CPPFLAGS'
39548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39551
39552
39553 fi
39554
39555 fi
39556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39557 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39558
39559 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39560 for ac_func in frexpl
39561 do :
39562 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39563 if test "x$ac_cv_func_frexpl" = x""yes; then :
39564 cat >>confdefs.h <<_ACEOF
39565 #define HAVE_FREXPL 1
39566 _ACEOF
39567
39568 fi
39569 done
39570
39571 else
39572
39573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39574 $as_echo_n "checking for _frexpl declaration... " >&6; }
39575 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39576 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39577 $as_echo_n "(cached) " >&6
39578 else
39579
39580
39581 ac_ext=cpp
39582 ac_cpp='$CXXCPP $CPPFLAGS'
39583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39586
39587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39588 /* end confdefs.h. */
39589 #include <math.h>
39590 int
39591 main ()
39592 {
39593 _frexpl(0, 0);
39594 ;
39595 return 0;
39596 }
39597 _ACEOF
39598 if ac_fn_cxx_try_compile "$LINENO"; then :
39599 glibcxx_cv_func__frexpl_use=yes
39600 else
39601 glibcxx_cv_func__frexpl_use=no
39602 fi
39603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39604 ac_ext=c
39605 ac_cpp='$CPP $CPPFLAGS'
39606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39609
39610
39611 fi
39612
39613 fi
39614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39615 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39616
39617 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39618 for ac_func in _frexpl
39619 do :
39620 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39621 if test "x$ac_cv_func__frexpl" = x""yes; then :
39622 cat >>confdefs.h <<_ACEOF
39623 #define HAVE__FREXPL 1
39624 _ACEOF
39625
39626 fi
39627 done
39628
39629 fi
39630 fi
39631
39632
39633
39634
39635
39636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39637 $as_echo_n "checking for hypotl declaration... " >&6; }
39638 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39639 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39640 $as_echo_n "(cached) " >&6
39641 else
39642
39643
39644 ac_ext=cpp
39645 ac_cpp='$CXXCPP $CPPFLAGS'
39646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39649
39650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39651 /* end confdefs.h. */
39652 #include <math.h>
39653 int
39654 main ()
39655 {
39656 hypotl(0, 0);
39657 ;
39658 return 0;
39659 }
39660 _ACEOF
39661 if ac_fn_cxx_try_compile "$LINENO"; then :
39662 glibcxx_cv_func_hypotl_use=yes
39663 else
39664 glibcxx_cv_func_hypotl_use=no
39665 fi
39666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39667 ac_ext=c
39668 ac_cpp='$CPP $CPPFLAGS'
39669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39672
39673
39674 fi
39675
39676 fi
39677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39678 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39679
39680 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39681 for ac_func in hypotl
39682 do :
39683 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39684 if test "x$ac_cv_func_hypotl" = x""yes; then :
39685 cat >>confdefs.h <<_ACEOF
39686 #define HAVE_HYPOTL 1
39687 _ACEOF
39688
39689 fi
39690 done
39691
39692 else
39693
39694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39695 $as_echo_n "checking for _hypotl declaration... " >&6; }
39696 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39697 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39698 $as_echo_n "(cached) " >&6
39699 else
39700
39701
39702 ac_ext=cpp
39703 ac_cpp='$CXXCPP $CPPFLAGS'
39704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39707
39708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39709 /* end confdefs.h. */
39710 #include <math.h>
39711 int
39712 main ()
39713 {
39714 _hypotl(0, 0);
39715 ;
39716 return 0;
39717 }
39718 _ACEOF
39719 if ac_fn_cxx_try_compile "$LINENO"; then :
39720 glibcxx_cv_func__hypotl_use=yes
39721 else
39722 glibcxx_cv_func__hypotl_use=no
39723 fi
39724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39725 ac_ext=c
39726 ac_cpp='$CPP $CPPFLAGS'
39727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39730
39731
39732 fi
39733
39734 fi
39735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39736 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39737
39738 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39739 for ac_func in _hypotl
39740 do :
39741 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39742 if test "x$ac_cv_func__hypotl" = x""yes; then :
39743 cat >>confdefs.h <<_ACEOF
39744 #define HAVE__HYPOTL 1
39745 _ACEOF
39746
39747 fi
39748 done
39749
39750 fi
39751 fi
39752
39753
39754
39755
39756
39757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39758 $as_echo_n "checking for ldexpl declaration... " >&6; }
39759 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39760 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39761 $as_echo_n "(cached) " >&6
39762 else
39763
39764
39765 ac_ext=cpp
39766 ac_cpp='$CXXCPP $CPPFLAGS'
39767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39770
39771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39772 /* end confdefs.h. */
39773 #include <math.h>
39774 int
39775 main ()
39776 {
39777 ldexpl(0, 0);
39778 ;
39779 return 0;
39780 }
39781 _ACEOF
39782 if ac_fn_cxx_try_compile "$LINENO"; then :
39783 glibcxx_cv_func_ldexpl_use=yes
39784 else
39785 glibcxx_cv_func_ldexpl_use=no
39786 fi
39787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39788 ac_ext=c
39789 ac_cpp='$CPP $CPPFLAGS'
39790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39793
39794
39795 fi
39796
39797 fi
39798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39799 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39800
39801 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39802 for ac_func in ldexpl
39803 do :
39804 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39805 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39806 cat >>confdefs.h <<_ACEOF
39807 #define HAVE_LDEXPL 1
39808 _ACEOF
39809
39810 fi
39811 done
39812
39813 else
39814
39815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39816 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39817 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39818 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39819 $as_echo_n "(cached) " >&6
39820 else
39821
39822
39823 ac_ext=cpp
39824 ac_cpp='$CXXCPP $CPPFLAGS'
39825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39828
39829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39830 /* end confdefs.h. */
39831 #include <math.h>
39832 int
39833 main ()
39834 {
39835 _ldexpl(0, 0);
39836 ;
39837 return 0;
39838 }
39839 _ACEOF
39840 if ac_fn_cxx_try_compile "$LINENO"; then :
39841 glibcxx_cv_func__ldexpl_use=yes
39842 else
39843 glibcxx_cv_func__ldexpl_use=no
39844 fi
39845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39846 ac_ext=c
39847 ac_cpp='$CPP $CPPFLAGS'
39848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39851
39852
39853 fi
39854
39855 fi
39856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39857 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39858
39859 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39860 for ac_func in _ldexpl
39861 do :
39862 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39863 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39864 cat >>confdefs.h <<_ACEOF
39865 #define HAVE__LDEXPL 1
39866 _ACEOF
39867
39868 fi
39869 done
39870
39871 fi
39872 fi
39873
39874
39875
39876
39877
39878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39879 $as_echo_n "checking for logl declaration... " >&6; }
39880 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39881 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39882 $as_echo_n "(cached) " >&6
39883 else
39884
39885
39886 ac_ext=cpp
39887 ac_cpp='$CXXCPP $CPPFLAGS'
39888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39891
39892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39893 /* end confdefs.h. */
39894 #include <math.h>
39895 #ifdef HAVE_IEEEFP_H
39896 #include <ieeefp.h>
39897 #endif
39898
39899 int
39900 main ()
39901 {
39902 logl(0);
39903 ;
39904 return 0;
39905 }
39906 _ACEOF
39907 if ac_fn_cxx_try_compile "$LINENO"; then :
39908 glibcxx_cv_func_logl_use=yes
39909 else
39910 glibcxx_cv_func_logl_use=no
39911 fi
39912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39913 ac_ext=c
39914 ac_cpp='$CPP $CPPFLAGS'
39915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39918
39919
39920 fi
39921
39922 fi
39923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39924 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39925
39926 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39927 for ac_func in logl
39928 do :
39929 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39930 if test "x$ac_cv_func_logl" = x""yes; then :
39931 cat >>confdefs.h <<_ACEOF
39932 #define HAVE_LOGL 1
39933 _ACEOF
39934
39935 fi
39936 done
39937
39938 else
39939
39940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39941 $as_echo_n "checking for _logl declaration... " >&6; }
39942 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39943 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39944 $as_echo_n "(cached) " >&6
39945 else
39946
39947
39948 ac_ext=cpp
39949 ac_cpp='$CXXCPP $CPPFLAGS'
39950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39953
39954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39955 /* end confdefs.h. */
39956 #include <math.h>
39957 #ifdef HAVE_IEEEFP_H
39958 #include <ieeefp.h>
39959 #endif
39960
39961 int
39962 main ()
39963 {
39964 _logl(0);
39965 ;
39966 return 0;
39967 }
39968 _ACEOF
39969 if ac_fn_cxx_try_compile "$LINENO"; then :
39970 glibcxx_cv_func__logl_use=yes
39971 else
39972 glibcxx_cv_func__logl_use=no
39973 fi
39974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39975 ac_ext=c
39976 ac_cpp='$CPP $CPPFLAGS'
39977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39980
39981
39982 fi
39983
39984 fi
39985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39986 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39987
39988 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39989 for ac_func in _logl
39990 do :
39991 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39992 if test "x$ac_cv_func__logl" = x""yes; then :
39993 cat >>confdefs.h <<_ACEOF
39994 #define HAVE__LOGL 1
39995 _ACEOF
39996
39997 fi
39998 done
39999
40000 fi
40001 fi
40002
40003
40004
40005
40006
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40008 $as_echo_n "checking for log10l declaration... " >&6; }
40009 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40010 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
40011 $as_echo_n "(cached) " >&6
40012 else
40013
40014
40015 ac_ext=cpp
40016 ac_cpp='$CXXCPP $CPPFLAGS'
40017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40020
40021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40022 /* end confdefs.h. */
40023 #include <math.h>
40024 #ifdef HAVE_IEEEFP_H
40025 #include <ieeefp.h>
40026 #endif
40027
40028 int
40029 main ()
40030 {
40031 log10l(0);
40032 ;
40033 return 0;
40034 }
40035 _ACEOF
40036 if ac_fn_cxx_try_compile "$LINENO"; then :
40037 glibcxx_cv_func_log10l_use=yes
40038 else
40039 glibcxx_cv_func_log10l_use=no
40040 fi
40041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40042 ac_ext=c
40043 ac_cpp='$CPP $CPPFLAGS'
40044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40047
40048
40049 fi
40050
40051 fi
40052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40053 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40054
40055 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40056 for ac_func in log10l
40057 do :
40058 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40059 if test "x$ac_cv_func_log10l" = x""yes; then :
40060 cat >>confdefs.h <<_ACEOF
40061 #define HAVE_LOG10L 1
40062 _ACEOF
40063
40064 fi
40065 done
40066
40067 else
40068
40069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40070 $as_echo_n "checking for _log10l declaration... " >&6; }
40071 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40072 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40073 $as_echo_n "(cached) " >&6
40074 else
40075
40076
40077 ac_ext=cpp
40078 ac_cpp='$CXXCPP $CPPFLAGS'
40079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40082
40083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40084 /* end confdefs.h. */
40085 #include <math.h>
40086 #ifdef HAVE_IEEEFP_H
40087 #include <ieeefp.h>
40088 #endif
40089
40090 int
40091 main ()
40092 {
40093 _log10l(0);
40094 ;
40095 return 0;
40096 }
40097 _ACEOF
40098 if ac_fn_cxx_try_compile "$LINENO"; then :
40099 glibcxx_cv_func__log10l_use=yes
40100 else
40101 glibcxx_cv_func__log10l_use=no
40102 fi
40103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40104 ac_ext=c
40105 ac_cpp='$CPP $CPPFLAGS'
40106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40109
40110
40111 fi
40112
40113 fi
40114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40115 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40116
40117 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40118 for ac_func in _log10l
40119 do :
40120 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40121 if test "x$ac_cv_func__log10l" = x""yes; then :
40122 cat >>confdefs.h <<_ACEOF
40123 #define HAVE__LOG10L 1
40124 _ACEOF
40125
40126 fi
40127 done
40128
40129 fi
40130 fi
40131
40132
40133
40134
40135
40136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40137 $as_echo_n "checking for modfl declaration... " >&6; }
40138 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40139 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40140 $as_echo_n "(cached) " >&6
40141 else
40142
40143
40144 ac_ext=cpp
40145 ac_cpp='$CXXCPP $CPPFLAGS'
40146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40149
40150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40151 /* end confdefs.h. */
40152 #include <math.h>
40153 int
40154 main ()
40155 {
40156 modfl(0, 0);
40157 ;
40158 return 0;
40159 }
40160 _ACEOF
40161 if ac_fn_cxx_try_compile "$LINENO"; then :
40162 glibcxx_cv_func_modfl_use=yes
40163 else
40164 glibcxx_cv_func_modfl_use=no
40165 fi
40166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40167 ac_ext=c
40168 ac_cpp='$CPP $CPPFLAGS'
40169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40172
40173
40174 fi
40175
40176 fi
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40178 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40179
40180 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40181 for ac_func in modfl
40182 do :
40183 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40184 if test "x$ac_cv_func_modfl" = x""yes; then :
40185 cat >>confdefs.h <<_ACEOF
40186 #define HAVE_MODFL 1
40187 _ACEOF
40188
40189 fi
40190 done
40191
40192 else
40193
40194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40195 $as_echo_n "checking for _modfl declaration... " >&6; }
40196 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40197 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40198 $as_echo_n "(cached) " >&6
40199 else
40200
40201
40202 ac_ext=cpp
40203 ac_cpp='$CXXCPP $CPPFLAGS'
40204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40207
40208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40209 /* end confdefs.h. */
40210 #include <math.h>
40211 int
40212 main ()
40213 {
40214 _modfl(0, 0);
40215 ;
40216 return 0;
40217 }
40218 _ACEOF
40219 if ac_fn_cxx_try_compile "$LINENO"; then :
40220 glibcxx_cv_func__modfl_use=yes
40221 else
40222 glibcxx_cv_func__modfl_use=no
40223 fi
40224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40225 ac_ext=c
40226 ac_cpp='$CPP $CPPFLAGS'
40227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40230
40231
40232 fi
40233
40234 fi
40235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40236 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40237
40238 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40239 for ac_func in _modfl
40240 do :
40241 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40242 if test "x$ac_cv_func__modfl" = x""yes; then :
40243 cat >>confdefs.h <<_ACEOF
40244 #define HAVE__MODFL 1
40245 _ACEOF
40246
40247 fi
40248 done
40249
40250 fi
40251 fi
40252
40253
40254
40255
40256
40257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40258 $as_echo_n "checking for powl declaration... " >&6; }
40259 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40260 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40261 $as_echo_n "(cached) " >&6
40262 else
40263
40264
40265 ac_ext=cpp
40266 ac_cpp='$CXXCPP $CPPFLAGS'
40267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40270
40271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40272 /* end confdefs.h. */
40273 #include <math.h>
40274 int
40275 main ()
40276 {
40277 powl(0, 0);
40278 ;
40279 return 0;
40280 }
40281 _ACEOF
40282 if ac_fn_cxx_try_compile "$LINENO"; then :
40283 glibcxx_cv_func_powl_use=yes
40284 else
40285 glibcxx_cv_func_powl_use=no
40286 fi
40287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40288 ac_ext=c
40289 ac_cpp='$CPP $CPPFLAGS'
40290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40293
40294
40295 fi
40296
40297 fi
40298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40299 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40300
40301 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40302 for ac_func in powl
40303 do :
40304 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40305 if test "x$ac_cv_func_powl" = x""yes; then :
40306 cat >>confdefs.h <<_ACEOF
40307 #define HAVE_POWL 1
40308 _ACEOF
40309
40310 fi
40311 done
40312
40313 else
40314
40315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40316 $as_echo_n "checking for _powl declaration... " >&6; }
40317 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40318 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40319 $as_echo_n "(cached) " >&6
40320 else
40321
40322
40323 ac_ext=cpp
40324 ac_cpp='$CXXCPP $CPPFLAGS'
40325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40328
40329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40330 /* end confdefs.h. */
40331 #include <math.h>
40332 int
40333 main ()
40334 {
40335 _powl(0, 0);
40336 ;
40337 return 0;
40338 }
40339 _ACEOF
40340 if ac_fn_cxx_try_compile "$LINENO"; then :
40341 glibcxx_cv_func__powl_use=yes
40342 else
40343 glibcxx_cv_func__powl_use=no
40344 fi
40345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40346 ac_ext=c
40347 ac_cpp='$CPP $CPPFLAGS'
40348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40351
40352
40353 fi
40354
40355 fi
40356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40357 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40358
40359 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40360 for ac_func in _powl
40361 do :
40362 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40363 if test "x$ac_cv_func__powl" = x""yes; then :
40364 cat >>confdefs.h <<_ACEOF
40365 #define HAVE__POWL 1
40366 _ACEOF
40367
40368 fi
40369 done
40370
40371 fi
40372 fi
40373
40374
40375
40376
40377
40378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40379 $as_echo_n "checking for sqrtl declaration... " >&6; }
40380 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40381 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40382 $as_echo_n "(cached) " >&6
40383 else
40384
40385
40386 ac_ext=cpp
40387 ac_cpp='$CXXCPP $CPPFLAGS'
40388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40391
40392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40393 /* end confdefs.h. */
40394 #include <math.h>
40395 #ifdef HAVE_IEEEFP_H
40396 #include <ieeefp.h>
40397 #endif
40398
40399 int
40400 main ()
40401 {
40402 sqrtl(0);
40403 ;
40404 return 0;
40405 }
40406 _ACEOF
40407 if ac_fn_cxx_try_compile "$LINENO"; then :
40408 glibcxx_cv_func_sqrtl_use=yes
40409 else
40410 glibcxx_cv_func_sqrtl_use=no
40411 fi
40412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40413 ac_ext=c
40414 ac_cpp='$CPP $CPPFLAGS'
40415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40418
40419
40420 fi
40421
40422 fi
40423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40424 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40425
40426 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40427 for ac_func in sqrtl
40428 do :
40429 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40430 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40431 cat >>confdefs.h <<_ACEOF
40432 #define HAVE_SQRTL 1
40433 _ACEOF
40434
40435 fi
40436 done
40437
40438 else
40439
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40441 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40442 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40443 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40444 $as_echo_n "(cached) " >&6
40445 else
40446
40447
40448 ac_ext=cpp
40449 ac_cpp='$CXXCPP $CPPFLAGS'
40450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40453
40454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40455 /* end confdefs.h. */
40456 #include <math.h>
40457 #ifdef HAVE_IEEEFP_H
40458 #include <ieeefp.h>
40459 #endif
40460
40461 int
40462 main ()
40463 {
40464 _sqrtl(0);
40465 ;
40466 return 0;
40467 }
40468 _ACEOF
40469 if ac_fn_cxx_try_compile "$LINENO"; then :
40470 glibcxx_cv_func__sqrtl_use=yes
40471 else
40472 glibcxx_cv_func__sqrtl_use=no
40473 fi
40474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40475 ac_ext=c
40476 ac_cpp='$CPP $CPPFLAGS'
40477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40480
40481
40482 fi
40483
40484 fi
40485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40486 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40487
40488 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40489 for ac_func in _sqrtl
40490 do :
40491 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40492 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40493 cat >>confdefs.h <<_ACEOF
40494 #define HAVE__SQRTL 1
40495 _ACEOF
40496
40497 fi
40498 done
40499
40500 fi
40501 fi
40502
40503
40504
40505
40506
40507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40508 $as_echo_n "checking for sincosl declaration... " >&6; }
40509 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40510 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40511 $as_echo_n "(cached) " >&6
40512 else
40513
40514
40515 ac_ext=cpp
40516 ac_cpp='$CXXCPP $CPPFLAGS'
40517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40520
40521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40522 /* end confdefs.h. */
40523 #include <math.h>
40524 int
40525 main ()
40526 {
40527 sincosl(0, 0, 0);
40528 ;
40529 return 0;
40530 }
40531 _ACEOF
40532 if ac_fn_cxx_try_compile "$LINENO"; then :
40533 glibcxx_cv_func_sincosl_use=yes
40534 else
40535 glibcxx_cv_func_sincosl_use=no
40536 fi
40537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538 ac_ext=c
40539 ac_cpp='$CPP $CPPFLAGS'
40540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40543
40544
40545 fi
40546
40547 fi
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40549 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40550
40551 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40552 for ac_func in sincosl
40553 do :
40554 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40555 if test "x$ac_cv_func_sincosl" = x""yes; then :
40556 cat >>confdefs.h <<_ACEOF
40557 #define HAVE_SINCOSL 1
40558 _ACEOF
40559
40560 fi
40561 done
40562
40563 else
40564
40565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40566 $as_echo_n "checking for _sincosl declaration... " >&6; }
40567 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40568 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40569 $as_echo_n "(cached) " >&6
40570 else
40571
40572
40573 ac_ext=cpp
40574 ac_cpp='$CXXCPP $CPPFLAGS'
40575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40578
40579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40580 /* end confdefs.h. */
40581 #include <math.h>
40582 int
40583 main ()
40584 {
40585 _sincosl(0, 0, 0);
40586 ;
40587 return 0;
40588 }
40589 _ACEOF
40590 if ac_fn_cxx_try_compile "$LINENO"; then :
40591 glibcxx_cv_func__sincosl_use=yes
40592 else
40593 glibcxx_cv_func__sincosl_use=no
40594 fi
40595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40596 ac_ext=c
40597 ac_cpp='$CPP $CPPFLAGS'
40598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40601
40602
40603 fi
40604
40605 fi
40606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40607 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40608
40609 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40610 for ac_func in _sincosl
40611 do :
40612 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40613 if test "x$ac_cv_func__sincosl" = x""yes; then :
40614 cat >>confdefs.h <<_ACEOF
40615 #define HAVE__SINCOSL 1
40616 _ACEOF
40617
40618 fi
40619 done
40620
40621 fi
40622 fi
40623
40624
40625
40626
40627
40628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40629 $as_echo_n "checking for finitel declaration... " >&6; }
40630 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40631 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40632 $as_echo_n "(cached) " >&6
40633 else
40634
40635
40636 ac_ext=cpp
40637 ac_cpp='$CXXCPP $CPPFLAGS'
40638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40641
40642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40643 /* end confdefs.h. */
40644 #include <math.h>
40645 #ifdef HAVE_IEEEFP_H
40646 #include <ieeefp.h>
40647 #endif
40648
40649 int
40650 main ()
40651 {
40652 finitel(0);
40653 ;
40654 return 0;
40655 }
40656 _ACEOF
40657 if ac_fn_cxx_try_compile "$LINENO"; then :
40658 glibcxx_cv_func_finitel_use=yes
40659 else
40660 glibcxx_cv_func_finitel_use=no
40661 fi
40662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40663 ac_ext=c
40664 ac_cpp='$CPP $CPPFLAGS'
40665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40668
40669
40670 fi
40671
40672 fi
40673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40674 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40675
40676 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40677 for ac_func in finitel
40678 do :
40679 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40680 if test "x$ac_cv_func_finitel" = x""yes; then :
40681 cat >>confdefs.h <<_ACEOF
40682 #define HAVE_FINITEL 1
40683 _ACEOF
40684
40685 fi
40686 done
40687
40688 else
40689
40690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40691 $as_echo_n "checking for _finitel declaration... " >&6; }
40692 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40693 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40694 $as_echo_n "(cached) " >&6
40695 else
40696
40697
40698 ac_ext=cpp
40699 ac_cpp='$CXXCPP $CPPFLAGS'
40700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40703
40704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40705 /* end confdefs.h. */
40706 #include <math.h>
40707 #ifdef HAVE_IEEEFP_H
40708 #include <ieeefp.h>
40709 #endif
40710
40711 int
40712 main ()
40713 {
40714 _finitel(0);
40715 ;
40716 return 0;
40717 }
40718 _ACEOF
40719 if ac_fn_cxx_try_compile "$LINENO"; then :
40720 glibcxx_cv_func__finitel_use=yes
40721 else
40722 glibcxx_cv_func__finitel_use=no
40723 fi
40724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40725 ac_ext=c
40726 ac_cpp='$CPP $CPPFLAGS'
40727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40730
40731
40732 fi
40733
40734 fi
40735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40736 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40737
40738 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40739 for ac_func in _finitel
40740 do :
40741 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40742 if test "x$ac_cv_func__finitel" = x""yes; then :
40743 cat >>confdefs.h <<_ACEOF
40744 #define HAVE__FINITEL 1
40745 _ACEOF
40746
40747 fi
40748 done
40749
40750 fi
40751 fi
40752
40753
40754
40755
40756 LIBS="$ac_save_LIBS"
40757 CXXFLAGS="$ac_save_CXXFLAGS"
40758
40759
40760 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40761 ac_save_CXXFLAGS="$CXXFLAGS"
40762 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40763
40764
40765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40766 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40767 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40768 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40769 $as_echo_n "(cached) " >&6
40770 else
40771
40772
40773 ac_ext=cpp
40774 ac_cpp='$CXXCPP $CPPFLAGS'
40775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40778
40779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40780 /* end confdefs.h. */
40781 #include <stdlib.h>
40782 int
40783 main ()
40784 {
40785 at_quick_exit(0);
40786 ;
40787 return 0;
40788 }
40789 _ACEOF
40790 if ac_fn_cxx_try_compile "$LINENO"; then :
40791 glibcxx_cv_func_at_quick_exit_use=yes
40792 else
40793 glibcxx_cv_func_at_quick_exit_use=no
40794 fi
40795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40796 ac_ext=c
40797 ac_cpp='$CPP $CPPFLAGS'
40798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40801
40802
40803 fi
40804
40805 fi
40806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40807 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40808 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40809 for ac_func in at_quick_exit
40810 do :
40811 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40812 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40813 cat >>confdefs.h <<_ACEOF
40814 #define HAVE_AT_QUICK_EXIT 1
40815 _ACEOF
40816
40817 fi
40818 done
40819
40820 fi
40821
40822
40823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40824 $as_echo_n "checking for quick_exit declaration... " >&6; }
40825 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40826 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40827 $as_echo_n "(cached) " >&6
40828 else
40829
40830
40831 ac_ext=cpp
40832 ac_cpp='$CXXCPP $CPPFLAGS'
40833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40836
40837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40838 /* end confdefs.h. */
40839 #include <stdlib.h>
40840 int
40841 main ()
40842 {
40843 quick_exit(0);
40844 ;
40845 return 0;
40846 }
40847 _ACEOF
40848 if ac_fn_cxx_try_compile "$LINENO"; then :
40849 glibcxx_cv_func_quick_exit_use=yes
40850 else
40851 glibcxx_cv_func_quick_exit_use=no
40852 fi
40853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40854 ac_ext=c
40855 ac_cpp='$CPP $CPPFLAGS'
40856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40859
40860
40861 fi
40862
40863 fi
40864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40865 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40866 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40867 for ac_func in quick_exit
40868 do :
40869 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40870 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40871 cat >>confdefs.h <<_ACEOF
40872 #define HAVE_QUICK_EXIT 1
40873 _ACEOF
40874
40875 fi
40876 done
40877
40878 fi
40879
40880
40881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40882 $as_echo_n "checking for strtold declaration... " >&6; }
40883 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40884 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40885 $as_echo_n "(cached) " >&6
40886 else
40887
40888
40889 ac_ext=cpp
40890 ac_cpp='$CXXCPP $CPPFLAGS'
40891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40894
40895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40896 /* end confdefs.h. */
40897 #include <stdlib.h>
40898 int
40899 main ()
40900 {
40901 strtold(0, 0);
40902 ;
40903 return 0;
40904 }
40905 _ACEOF
40906 if ac_fn_cxx_try_compile "$LINENO"; then :
40907 glibcxx_cv_func_strtold_use=yes
40908 else
40909 glibcxx_cv_func_strtold_use=no
40910 fi
40911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40912 ac_ext=c
40913 ac_cpp='$CPP $CPPFLAGS'
40914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40917
40918
40919 fi
40920
40921 fi
40922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40923 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40924 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40925 for ac_func in strtold
40926 do :
40927 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40928 if test "x$ac_cv_func_strtold" = x""yes; then :
40929 cat >>confdefs.h <<_ACEOF
40930 #define HAVE_STRTOLD 1
40931 _ACEOF
40932
40933 fi
40934 done
40935
40936 fi
40937
40938
40939
40940
40941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40942 $as_echo_n "checking for strtof declaration... " >&6; }
40943 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40944 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40945 $as_echo_n "(cached) " >&6
40946 else
40947
40948
40949 ac_ext=cpp
40950 ac_cpp='$CXXCPP $CPPFLAGS'
40951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40954
40955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40956 /* end confdefs.h. */
40957 #include <stdlib.h>
40958 int
40959 main ()
40960 {
40961 strtof(0, 0);
40962 ;
40963 return 0;
40964 }
40965 _ACEOF
40966 if ac_fn_cxx_try_compile "$LINENO"; then :
40967 glibcxx_cv_func_strtof_use=yes
40968 else
40969 glibcxx_cv_func_strtof_use=no
40970 fi
40971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40972 ac_ext=c
40973 ac_cpp='$CPP $CPPFLAGS'
40974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40977
40978
40979 fi
40980
40981 fi
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40983 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40984 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40985 for ac_func in strtof
40986 do :
40987 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40988 if test "x$ac_cv_func_strtof" = x""yes; then :
40989 cat >>confdefs.h <<_ACEOF
40990 #define HAVE_STRTOF 1
40991 _ACEOF
40992
40993 fi
40994 done
40995
40996 fi
40997
40998
40999
41000
41001 CXXFLAGS="$ac_save_CXXFLAGS"
41002
41003
41004
41005
41006
41007
41008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41009 $as_echo_n "checking for iconv... " >&6; }
41010 if test "${am_cv_func_iconv+set}" = set; then :
41011 $as_echo_n "(cached) " >&6
41012 else
41013
41014 am_cv_func_iconv="no, consider installing GNU libiconv"
41015 am_cv_lib_iconv=no
41016 am_save_CPPFLAGS="$CPPFLAGS"
41017 CPPFLAGS="$CPPFLAGS $INCICONV"
41018 if test x$gcc_no_link = xyes; then
41019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41020 fi
41021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41022 /* end confdefs.h. */
41023 #include <stdlib.h>
41024 #include <iconv.h>
41025 int
41026 main ()
41027 {
41028 iconv_t cd = iconv_open("","");
41029 iconv(cd,NULL,NULL,NULL,NULL);
41030 iconv_close(cd);
41031 ;
41032 return 0;
41033 }
41034 _ACEOF
41035 if ac_fn_c_try_link "$LINENO"; then :
41036 am_cv_func_iconv=yes
41037 fi
41038 rm -f core conftest.err conftest.$ac_objext \
41039 conftest$ac_exeext conftest.$ac_ext
41040 CPPFLAGS="$am_save_CPPFLAGS"
41041
41042 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41043 for _libs in .libs _libs; do
41044 am_save_CPPFLAGS="$CPPFLAGS"
41045 am_save_LIBS="$LIBS"
41046 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41047 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41048 if test x$gcc_no_link = xyes; then
41049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41050 fi
41051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41052 /* end confdefs.h. */
41053 #include <stdlib.h>
41054 #include <iconv.h>
41055 int
41056 main ()
41057 {
41058 iconv_t cd = iconv_open("","");
41059 iconv(cd,NULL,NULL,NULL,NULL);
41060 iconv_close(cd);
41061 ;
41062 return 0;
41063 }
41064 _ACEOF
41065 if ac_fn_c_try_link "$LINENO"; then :
41066 INCICONV="-I../libiconv/include"
41067 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41068 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41069 am_cv_lib_iconv=yes
41070 am_cv_func_iconv=yes
41071 fi
41072 rm -f core conftest.err conftest.$ac_objext \
41073 conftest$ac_exeext conftest.$ac_ext
41074 CPPFLAGS="$am_save_CPPFLAGS"
41075 LIBS="$am_save_LIBS"
41076 if test "$am_cv_func_iconv" = "yes"; then
41077 break
41078 fi
41079 done
41080 fi
41081
41082 if test "$am_cv_func_iconv" != yes; then
41083 am_save_CPPFLAGS="$CPPFLAGS"
41084 am_save_LIBS="$LIBS"
41085 CPPFLAGS="$LIBS $INCICONV"
41086 LIBS="$LIBS $LIBICONV"
41087 if test x$gcc_no_link = xyes; then
41088 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41089 fi
41090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41091 /* end confdefs.h. */
41092 #include <stdlib.h>
41093 #include <iconv.h>
41094 int
41095 main ()
41096 {
41097 iconv_t cd = iconv_open("","");
41098 iconv(cd,NULL,NULL,NULL,NULL);
41099 iconv_close(cd);
41100 ;
41101 return 0;
41102 }
41103 _ACEOF
41104 if ac_fn_c_try_link "$LINENO"; then :
41105 am_cv_lib_iconv=yes
41106 am_cv_func_iconv=yes
41107 fi
41108 rm -f core conftest.err conftest.$ac_objext \
41109 conftest$ac_exeext conftest.$ac_ext
41110 CPPFLAGS="$am_save_CPPFLAGS"
41111 LIBS="$am_save_LIBS"
41112 fi
41113
41114 fi
41115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41116 $as_echo "$am_cv_func_iconv" >&6; }
41117 if test "$am_cv_func_iconv" = yes; then
41118
41119 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41120
41121 fi
41122 if test "$am_cv_lib_iconv" = yes; then
41123
41124 for element in $INCICONV; do
41125 haveit=
41126 for x in $CPPFLAGS; do
41127
41128 acl_save_prefix="$prefix"
41129 prefix="$acl_final_prefix"
41130 acl_save_exec_prefix="$exec_prefix"
41131 exec_prefix="$acl_final_exec_prefix"
41132 eval x=\"$x\"
41133 exec_prefix="$acl_save_exec_prefix"
41134 prefix="$acl_save_prefix"
41135
41136 if test "X$x" = "X$element"; then
41137 haveit=yes
41138 break
41139 fi
41140 done
41141 if test -z "$haveit"; then
41142 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41143 fi
41144 done
41145
41146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41147 $as_echo_n "checking how to link with libiconv... " >&6; }
41148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41149 $as_echo "$LIBICONV" >&6; }
41150 else
41151 LIBICONV=
41152 LTLIBICONV=
41153 fi
41154
41155
41156
41157 if test "$am_cv_func_iconv" = yes; then
41158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41159 $as_echo_n "checking for iconv declaration... " >&6; }
41160 if test "${am_cv_proto_iconv+set}" = set; then :
41161 $as_echo_n "(cached) " >&6
41162 else
41163
41164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41165 /* end confdefs.h. */
41166
41167 #include <stdlib.h>
41168 #include <iconv.h>
41169 extern
41170 #ifdef __cplusplus
41171 "C"
41172 #endif
41173 #if defined(__STDC__) || defined(__cplusplus)
41174 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41175 #else
41176 size_t iconv();
41177 #endif
41178
41179 int
41180 main ()
41181 {
41182
41183 ;
41184 return 0;
41185 }
41186 _ACEOF
41187 if ac_fn_c_try_compile "$LINENO"; then :
41188 am_cv_proto_iconv_arg1=""
41189 else
41190 am_cv_proto_iconv_arg1="const"
41191 fi
41192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41193 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);"
41194 fi
41195
41196 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41198 }$am_cv_proto_iconv" >&5
41199 $as_echo "${ac_t:-
41200 }$am_cv_proto_iconv" >&6; }
41201
41202 cat >>confdefs.h <<_ACEOF
41203 #define ICONV_CONST $am_cv_proto_iconv_arg1
41204 _ACEOF
41205
41206 fi
41207
41208 ;;
41209
41210 *-aix*)
41211
41212 # If we're not using GNU ld, then there's no point in even trying these
41213 # tests. Check for that first. We should have already tested for gld
41214 # by now (in libtool), but require it now just to be safe...
41215 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41216 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41217
41218
41219
41220 # The name set by libtool depends on the version of libtool. Shame on us
41221 # for depending on an impl detail, but c'est la vie. Older versions used
41222 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41223 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41224 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41225 # set (hence we're using an older libtool), then set it.
41226 if test x${with_gnu_ld+set} != xset; then
41227 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41228 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41229 with_gnu_ld=no
41230 else
41231 with_gnu_ld=$ac_cv_prog_gnu_ld
41232 fi
41233 fi
41234
41235 # Start by getting the version number. I think the libtool test already
41236 # does some of this, but throws away the result.
41237 glibcxx_ld_is_gold=no
41238 if test x"$with_gnu_ld" = x"yes"; then
41239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41240 $as_echo_n "checking for ld version... " >&6; }
41241
41242 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41243 glibcxx_ld_is_gold=yes
41244 fi
41245 ldver=`$LD --version 2>/dev/null |
41246 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'`
41247
41248 glibcxx_gnu_ld_version=`echo $ldver | \
41249 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41251 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41252 fi
41253
41254 # Set --gc-sections.
41255 glibcxx_have_gc_sections=no
41256 if test "$glibcxx_ld_is_gold" = "yes"; then
41257 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41258 glibcxx_have_gc_sections=yes
41259 fi
41260 else
41261 glibcxx_gcsections_min_ld=21602
41262 if test x"$with_gnu_ld" = x"yes" &&
41263 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41264 glibcxx_have_gc_sections=yes
41265 fi
41266 fi
41267 if test "$glibcxx_have_gc_sections" = "yes"; then
41268 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41269 # NB: This flag only works reliably after 2.16.1. Configure tests
41270 # for this are difficult, so hard wire a value that should work.
41271
41272 ac_test_CFLAGS="${CFLAGS+set}"
41273 ac_save_CFLAGS="$CFLAGS"
41274 CFLAGS='-Wl,--gc-sections'
41275
41276 # Check for -Wl,--gc-sections
41277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41278 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41279 if test x$gcc_no_link = xyes; then
41280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41281 fi
41282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41283 /* end confdefs.h. */
41284 int one(void) { return 1; }
41285 int two(void) { return 2; }
41286
41287 int
41288 main ()
41289 {
41290 two();
41291 ;
41292 return 0;
41293 }
41294 _ACEOF
41295 if ac_fn_c_try_link "$LINENO"; then :
41296 ac_gcsections=yes
41297 else
41298 ac_gcsections=no
41299 fi
41300 rm -f core conftest.err conftest.$ac_objext \
41301 conftest$ac_exeext conftest.$ac_ext
41302 if test "$ac_gcsections" = "yes"; then
41303 rm -f conftest.c
41304 touch conftest.c
41305 if $CC -c conftest.c; then
41306 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41307 grep "Warning: gc-sections option ignored" > /dev/null; then
41308 ac_gcsections=no
41309 fi
41310 fi
41311 rm -f conftest.c conftest.o conftest
41312 fi
41313 if test "$ac_gcsections" = "yes"; then
41314 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41315 fi
41316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41317 $as_echo "$ac_gcsections" >&6; }
41318
41319 if test "$ac_test_CFLAGS" = set; then
41320 CFLAGS="$ac_save_CFLAGS"
41321 else
41322 # this is the suspicious part
41323 CFLAGS=''
41324 fi
41325 fi
41326
41327 # Set -z,relro.
41328 # Note this is only for shared objects.
41329 ac_ld_relro=no
41330 if test x"$with_gnu_ld" = x"yes"; then
41331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41332 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41333 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41334 if test -n "$cxx_z_relo"; then
41335 OPT_LDFLAGS="-Wl,-z,relro"
41336 ac_ld_relro=yes
41337 fi
41338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41339 $as_echo "$ac_ld_relro" >&6; }
41340 fi
41341
41342 # Set linker optimization flags.
41343 if test x"$with_gnu_ld" = x"yes"; then
41344 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41345 fi
41346
41347
41348
41349
41350
41351 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41352 ac_save_CXXFLAGS="$CXXFLAGS"
41353 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41354
41355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41356 $as_echo_n "checking for sin in -lm... " >&6; }
41357 if test "${ac_cv_lib_m_sin+set}" = set; then :
41358 $as_echo_n "(cached) " >&6
41359 else
41360 ac_check_lib_save_LIBS=$LIBS
41361 LIBS="-lm $LIBS"
41362 if test x$gcc_no_link = xyes; then
41363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41364 fi
41365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41366 /* end confdefs.h. */
41367
41368 /* Override any GCC internal prototype to avoid an error.
41369 Use char because int might match the return type of a GCC
41370 builtin and then its argument prototype would still apply. */
41371 #ifdef __cplusplus
41372 extern "C"
41373 #endif
41374 char sin ();
41375 int
41376 main ()
41377 {
41378 return sin ();
41379 ;
41380 return 0;
41381 }
41382 _ACEOF
41383 if ac_fn_c_try_link "$LINENO"; then :
41384 ac_cv_lib_m_sin=yes
41385 else
41386 ac_cv_lib_m_sin=no
41387 fi
41388 rm -f core conftest.err conftest.$ac_objext \
41389 conftest$ac_exeext conftest.$ac_ext
41390 LIBS=$ac_check_lib_save_LIBS
41391 fi
41392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41393 $as_echo "$ac_cv_lib_m_sin" >&6; }
41394 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41395 libm="-lm"
41396 fi
41397
41398 ac_save_LIBS="$LIBS"
41399 LIBS="$LIBS $libm"
41400
41401
41402
41403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41404 $as_echo_n "checking for isinf declaration... " >&6; }
41405 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41406 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41407 $as_echo_n "(cached) " >&6
41408 else
41409
41410
41411 ac_ext=cpp
41412 ac_cpp='$CXXCPP $CPPFLAGS'
41413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41416
41417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41418 /* end confdefs.h. */
41419 #include <math.h>
41420 #ifdef HAVE_IEEEFP_H
41421 #include <ieeefp.h>
41422 #endif
41423
41424 int
41425 main ()
41426 {
41427 isinf(0);
41428 ;
41429 return 0;
41430 }
41431 _ACEOF
41432 if ac_fn_cxx_try_compile "$LINENO"; then :
41433 glibcxx_cv_func_isinf_use=yes
41434 else
41435 glibcxx_cv_func_isinf_use=no
41436 fi
41437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41438 ac_ext=c
41439 ac_cpp='$CPP $CPPFLAGS'
41440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41443
41444
41445 fi
41446
41447 fi
41448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41449 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41450
41451 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41452 for ac_func in isinf
41453 do :
41454 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41455 if test "x$ac_cv_func_isinf" = x""yes; then :
41456 cat >>confdefs.h <<_ACEOF
41457 #define HAVE_ISINF 1
41458 _ACEOF
41459
41460 fi
41461 done
41462
41463 else
41464
41465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41466 $as_echo_n "checking for _isinf declaration... " >&6; }
41467 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41468 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41469 $as_echo_n "(cached) " >&6
41470 else
41471
41472
41473 ac_ext=cpp
41474 ac_cpp='$CXXCPP $CPPFLAGS'
41475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41478
41479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41480 /* end confdefs.h. */
41481 #include <math.h>
41482 #ifdef HAVE_IEEEFP_H
41483 #include <ieeefp.h>
41484 #endif
41485
41486 int
41487 main ()
41488 {
41489 _isinf(0);
41490 ;
41491 return 0;
41492 }
41493 _ACEOF
41494 if ac_fn_cxx_try_compile "$LINENO"; then :
41495 glibcxx_cv_func__isinf_use=yes
41496 else
41497 glibcxx_cv_func__isinf_use=no
41498 fi
41499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41500 ac_ext=c
41501 ac_cpp='$CPP $CPPFLAGS'
41502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41505
41506
41507 fi
41508
41509 fi
41510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41511 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41512
41513 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41514 for ac_func in _isinf
41515 do :
41516 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41517 if test "x$ac_cv_func__isinf" = x""yes; then :
41518 cat >>confdefs.h <<_ACEOF
41519 #define HAVE__ISINF 1
41520 _ACEOF
41521
41522 fi
41523 done
41524
41525 fi
41526 fi
41527
41528
41529
41530
41531
41532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41533 $as_echo_n "checking for isnan declaration... " >&6; }
41534 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41535 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41536 $as_echo_n "(cached) " >&6
41537 else
41538
41539
41540 ac_ext=cpp
41541 ac_cpp='$CXXCPP $CPPFLAGS'
41542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41545
41546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41547 /* end confdefs.h. */
41548 #include <math.h>
41549 #ifdef HAVE_IEEEFP_H
41550 #include <ieeefp.h>
41551 #endif
41552
41553 int
41554 main ()
41555 {
41556 isnan(0);
41557 ;
41558 return 0;
41559 }
41560 _ACEOF
41561 if ac_fn_cxx_try_compile "$LINENO"; then :
41562 glibcxx_cv_func_isnan_use=yes
41563 else
41564 glibcxx_cv_func_isnan_use=no
41565 fi
41566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41567 ac_ext=c
41568 ac_cpp='$CPP $CPPFLAGS'
41569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41572
41573
41574 fi
41575
41576 fi
41577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41578 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41579
41580 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41581 for ac_func in isnan
41582 do :
41583 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41584 if test "x$ac_cv_func_isnan" = x""yes; then :
41585 cat >>confdefs.h <<_ACEOF
41586 #define HAVE_ISNAN 1
41587 _ACEOF
41588
41589 fi
41590 done
41591
41592 else
41593
41594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41595 $as_echo_n "checking for _isnan declaration... " >&6; }
41596 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41597 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41598 $as_echo_n "(cached) " >&6
41599 else
41600
41601
41602 ac_ext=cpp
41603 ac_cpp='$CXXCPP $CPPFLAGS'
41604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41607
41608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41609 /* end confdefs.h. */
41610 #include <math.h>
41611 #ifdef HAVE_IEEEFP_H
41612 #include <ieeefp.h>
41613 #endif
41614
41615 int
41616 main ()
41617 {
41618 _isnan(0);
41619 ;
41620 return 0;
41621 }
41622 _ACEOF
41623 if ac_fn_cxx_try_compile "$LINENO"; then :
41624 glibcxx_cv_func__isnan_use=yes
41625 else
41626 glibcxx_cv_func__isnan_use=no
41627 fi
41628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41629 ac_ext=c
41630 ac_cpp='$CPP $CPPFLAGS'
41631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41634
41635
41636 fi
41637
41638 fi
41639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41640 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41641
41642 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41643 for ac_func in _isnan
41644 do :
41645 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41646 if test "x$ac_cv_func__isnan" = x""yes; then :
41647 cat >>confdefs.h <<_ACEOF
41648 #define HAVE__ISNAN 1
41649 _ACEOF
41650
41651 fi
41652 done
41653
41654 fi
41655 fi
41656
41657
41658
41659
41660
41661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41662 $as_echo_n "checking for finite declaration... " >&6; }
41663 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41664 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41665 $as_echo_n "(cached) " >&6
41666 else
41667
41668
41669 ac_ext=cpp
41670 ac_cpp='$CXXCPP $CPPFLAGS'
41671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41674
41675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41676 /* end confdefs.h. */
41677 #include <math.h>
41678 #ifdef HAVE_IEEEFP_H
41679 #include <ieeefp.h>
41680 #endif
41681
41682 int
41683 main ()
41684 {
41685 finite(0);
41686 ;
41687 return 0;
41688 }
41689 _ACEOF
41690 if ac_fn_cxx_try_compile "$LINENO"; then :
41691 glibcxx_cv_func_finite_use=yes
41692 else
41693 glibcxx_cv_func_finite_use=no
41694 fi
41695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41696 ac_ext=c
41697 ac_cpp='$CPP $CPPFLAGS'
41698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41701
41702
41703 fi
41704
41705 fi
41706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41707 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41708
41709 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41710 for ac_func in finite
41711 do :
41712 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41713 if test "x$ac_cv_func_finite" = x""yes; then :
41714 cat >>confdefs.h <<_ACEOF
41715 #define HAVE_FINITE 1
41716 _ACEOF
41717
41718 fi
41719 done
41720
41721 else
41722
41723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41724 $as_echo_n "checking for _finite declaration... " >&6; }
41725 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41726 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41727 $as_echo_n "(cached) " >&6
41728 else
41729
41730
41731 ac_ext=cpp
41732 ac_cpp='$CXXCPP $CPPFLAGS'
41733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41736
41737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41738 /* end confdefs.h. */
41739 #include <math.h>
41740 #ifdef HAVE_IEEEFP_H
41741 #include <ieeefp.h>
41742 #endif
41743
41744 int
41745 main ()
41746 {
41747 _finite(0);
41748 ;
41749 return 0;
41750 }
41751 _ACEOF
41752 if ac_fn_cxx_try_compile "$LINENO"; then :
41753 glibcxx_cv_func__finite_use=yes
41754 else
41755 glibcxx_cv_func__finite_use=no
41756 fi
41757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41758 ac_ext=c
41759 ac_cpp='$CPP $CPPFLAGS'
41760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41763
41764
41765 fi
41766
41767 fi
41768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41769 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41770
41771 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41772 for ac_func in _finite
41773 do :
41774 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41775 if test "x$ac_cv_func__finite" = x""yes; then :
41776 cat >>confdefs.h <<_ACEOF
41777 #define HAVE__FINITE 1
41778 _ACEOF
41779
41780 fi
41781 done
41782
41783 fi
41784 fi
41785
41786
41787
41788
41789
41790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41791 $as_echo_n "checking for sincos declaration... " >&6; }
41792 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41793 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41794 $as_echo_n "(cached) " >&6
41795 else
41796
41797
41798 ac_ext=cpp
41799 ac_cpp='$CXXCPP $CPPFLAGS'
41800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41803
41804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41805 /* end confdefs.h. */
41806 #include <math.h>
41807 int
41808 main ()
41809 {
41810 sincos(0, 0, 0);
41811 ;
41812 return 0;
41813 }
41814 _ACEOF
41815 if ac_fn_cxx_try_compile "$LINENO"; then :
41816 glibcxx_cv_func_sincos_use=yes
41817 else
41818 glibcxx_cv_func_sincos_use=no
41819 fi
41820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41821 ac_ext=c
41822 ac_cpp='$CPP $CPPFLAGS'
41823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41826
41827
41828 fi
41829
41830 fi
41831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41832 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41833
41834 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41835 for ac_func in sincos
41836 do :
41837 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41838 if test "x$ac_cv_func_sincos" = x""yes; then :
41839 cat >>confdefs.h <<_ACEOF
41840 #define HAVE_SINCOS 1
41841 _ACEOF
41842
41843 fi
41844 done
41845
41846 else
41847
41848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41849 $as_echo_n "checking for _sincos declaration... " >&6; }
41850 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41851 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41852 $as_echo_n "(cached) " >&6
41853 else
41854
41855
41856 ac_ext=cpp
41857 ac_cpp='$CXXCPP $CPPFLAGS'
41858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41861
41862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41863 /* end confdefs.h. */
41864 #include <math.h>
41865 int
41866 main ()
41867 {
41868 _sincos(0, 0, 0);
41869 ;
41870 return 0;
41871 }
41872 _ACEOF
41873 if ac_fn_cxx_try_compile "$LINENO"; then :
41874 glibcxx_cv_func__sincos_use=yes
41875 else
41876 glibcxx_cv_func__sincos_use=no
41877 fi
41878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41879 ac_ext=c
41880 ac_cpp='$CPP $CPPFLAGS'
41881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41884
41885
41886 fi
41887
41888 fi
41889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41890 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41891
41892 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41893 for ac_func in _sincos
41894 do :
41895 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41896 if test "x$ac_cv_func__sincos" = x""yes; then :
41897 cat >>confdefs.h <<_ACEOF
41898 #define HAVE__SINCOS 1
41899 _ACEOF
41900
41901 fi
41902 done
41903
41904 fi
41905 fi
41906
41907
41908
41909
41910
41911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41912 $as_echo_n "checking for fpclass declaration... " >&6; }
41913 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41914 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41915 $as_echo_n "(cached) " >&6
41916 else
41917
41918
41919 ac_ext=cpp
41920 ac_cpp='$CXXCPP $CPPFLAGS'
41921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41924
41925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41926 /* end confdefs.h. */
41927 #include <math.h>
41928 #ifdef HAVE_IEEEFP_H
41929 #include <ieeefp.h>
41930 #endif
41931
41932 int
41933 main ()
41934 {
41935 fpclass(0);
41936 ;
41937 return 0;
41938 }
41939 _ACEOF
41940 if ac_fn_cxx_try_compile "$LINENO"; then :
41941 glibcxx_cv_func_fpclass_use=yes
41942 else
41943 glibcxx_cv_func_fpclass_use=no
41944 fi
41945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41946 ac_ext=c
41947 ac_cpp='$CPP $CPPFLAGS'
41948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41951
41952
41953 fi
41954
41955 fi
41956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41957 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41958
41959 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41960 for ac_func in fpclass
41961 do :
41962 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41963 if test "x$ac_cv_func_fpclass" = x""yes; then :
41964 cat >>confdefs.h <<_ACEOF
41965 #define HAVE_FPCLASS 1
41966 _ACEOF
41967
41968 fi
41969 done
41970
41971 else
41972
41973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41974 $as_echo_n "checking for _fpclass declaration... " >&6; }
41975 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41976 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41977 $as_echo_n "(cached) " >&6
41978 else
41979
41980
41981 ac_ext=cpp
41982 ac_cpp='$CXXCPP $CPPFLAGS'
41983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41986
41987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41988 /* end confdefs.h. */
41989 #include <math.h>
41990 #ifdef HAVE_IEEEFP_H
41991 #include <ieeefp.h>
41992 #endif
41993
41994 int
41995 main ()
41996 {
41997 _fpclass(0);
41998 ;
41999 return 0;
42000 }
42001 _ACEOF
42002 if ac_fn_cxx_try_compile "$LINENO"; then :
42003 glibcxx_cv_func__fpclass_use=yes
42004 else
42005 glibcxx_cv_func__fpclass_use=no
42006 fi
42007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42008 ac_ext=c
42009 ac_cpp='$CPP $CPPFLAGS'
42010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42013
42014
42015 fi
42016
42017 fi
42018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42019 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42020
42021 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42022 for ac_func in _fpclass
42023 do :
42024 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42025 if test "x$ac_cv_func__fpclass" = x""yes; then :
42026 cat >>confdefs.h <<_ACEOF
42027 #define HAVE__FPCLASS 1
42028 _ACEOF
42029
42030 fi
42031 done
42032
42033 fi
42034 fi
42035
42036
42037
42038
42039
42040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42041 $as_echo_n "checking for qfpclass declaration... " >&6; }
42042 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42043 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42044 $as_echo_n "(cached) " >&6
42045 else
42046
42047
42048 ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42053
42054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h. */
42056 #include <math.h>
42057 #ifdef HAVE_IEEEFP_H
42058 #include <ieeefp.h>
42059 #endif
42060
42061 int
42062 main ()
42063 {
42064 qfpclass(0);
42065 ;
42066 return 0;
42067 }
42068 _ACEOF
42069 if ac_fn_cxx_try_compile "$LINENO"; then :
42070 glibcxx_cv_func_qfpclass_use=yes
42071 else
42072 glibcxx_cv_func_qfpclass_use=no
42073 fi
42074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42075 ac_ext=c
42076 ac_cpp='$CPP $CPPFLAGS'
42077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42080
42081
42082 fi
42083
42084 fi
42085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42086 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42087
42088 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42089 for ac_func in qfpclass
42090 do :
42091 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42092 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42093 cat >>confdefs.h <<_ACEOF
42094 #define HAVE_QFPCLASS 1
42095 _ACEOF
42096
42097 fi
42098 done
42099
42100 else
42101
42102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42103 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42104 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42105 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42106 $as_echo_n "(cached) " >&6
42107 else
42108
42109
42110 ac_ext=cpp
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42115
42116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 /* end confdefs.h. */
42118 #include <math.h>
42119 #ifdef HAVE_IEEEFP_H
42120 #include <ieeefp.h>
42121 #endif
42122
42123 int
42124 main ()
42125 {
42126 _qfpclass(0);
42127 ;
42128 return 0;
42129 }
42130 _ACEOF
42131 if ac_fn_cxx_try_compile "$LINENO"; then :
42132 glibcxx_cv_func__qfpclass_use=yes
42133 else
42134 glibcxx_cv_func__qfpclass_use=no
42135 fi
42136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42137 ac_ext=c
42138 ac_cpp='$CPP $CPPFLAGS'
42139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42142
42143
42144 fi
42145
42146 fi
42147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42148 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42149
42150 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42151 for ac_func in _qfpclass
42152 do :
42153 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42154 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42155 cat >>confdefs.h <<_ACEOF
42156 #define HAVE__QFPCLASS 1
42157 _ACEOF
42158
42159 fi
42160 done
42161
42162 fi
42163 fi
42164
42165
42166
42167
42168
42169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42170 $as_echo_n "checking for hypot declaration... " >&6; }
42171 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42172 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42173 $as_echo_n "(cached) " >&6
42174 else
42175
42176
42177 ac_ext=cpp
42178 ac_cpp='$CXXCPP $CPPFLAGS'
42179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42182
42183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42184 /* end confdefs.h. */
42185 #include <math.h>
42186 int
42187 main ()
42188 {
42189 hypot(0, 0);
42190 ;
42191 return 0;
42192 }
42193 _ACEOF
42194 if ac_fn_cxx_try_compile "$LINENO"; then :
42195 glibcxx_cv_func_hypot_use=yes
42196 else
42197 glibcxx_cv_func_hypot_use=no
42198 fi
42199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42200 ac_ext=c
42201 ac_cpp='$CPP $CPPFLAGS'
42202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42205
42206
42207 fi
42208
42209 fi
42210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42211 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42212
42213 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42214 for ac_func in hypot
42215 do :
42216 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42217 if test "x$ac_cv_func_hypot" = x""yes; then :
42218 cat >>confdefs.h <<_ACEOF
42219 #define HAVE_HYPOT 1
42220 _ACEOF
42221
42222 fi
42223 done
42224
42225 else
42226
42227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42228 $as_echo_n "checking for _hypot declaration... " >&6; }
42229 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42230 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42231 $as_echo_n "(cached) " >&6
42232 else
42233
42234
42235 ac_ext=cpp
42236 ac_cpp='$CXXCPP $CPPFLAGS'
42237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42240
42241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42242 /* end confdefs.h. */
42243 #include <math.h>
42244 int
42245 main ()
42246 {
42247 _hypot(0, 0);
42248 ;
42249 return 0;
42250 }
42251 _ACEOF
42252 if ac_fn_cxx_try_compile "$LINENO"; then :
42253 glibcxx_cv_func__hypot_use=yes
42254 else
42255 glibcxx_cv_func__hypot_use=no
42256 fi
42257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42258 ac_ext=c
42259 ac_cpp='$CPP $CPPFLAGS'
42260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42263
42264
42265 fi
42266
42267 fi
42268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42269 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42270
42271 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42272 for ac_func in _hypot
42273 do :
42274 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42275 if test "x$ac_cv_func__hypot" = x""yes; then :
42276 cat >>confdefs.h <<_ACEOF
42277 #define HAVE__HYPOT 1
42278 _ACEOF
42279
42280 fi
42281 done
42282
42283 fi
42284 fi
42285
42286
42287
42288
42289
42290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42291 $as_echo_n "checking for float trig functions... " >&6; }
42292 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42293 $as_echo_n "(cached) " >&6
42294 else
42295
42296
42297 ac_ext=cpp
42298 ac_cpp='$CXXCPP $CPPFLAGS'
42299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42302
42303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42304 /* end confdefs.h. */
42305 #include <math.h>
42306 int
42307 main ()
42308 {
42309 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42310 ;
42311 return 0;
42312 }
42313 _ACEOF
42314 if ac_fn_cxx_try_compile "$LINENO"; then :
42315 glibcxx_cv_func_float_trig_use=yes
42316 else
42317 glibcxx_cv_func_float_trig_use=no
42318 fi
42319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42320 ac_ext=c
42321 ac_cpp='$CPP $CPPFLAGS'
42322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42325
42326 fi
42327
42328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42329 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42330 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42331 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42332 do :
42333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42335 eval as_val=\$$as_ac_var
42336 if test "x$as_val" = x""yes; then :
42337 cat >>confdefs.h <<_ACEOF
42338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42339 _ACEOF
42340
42341 fi
42342 done
42343
42344 else
42345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42346 $as_echo_n "checking for _float trig functions... " >&6; }
42347 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42348 $as_echo_n "(cached) " >&6
42349 else
42350
42351
42352 ac_ext=cpp
42353 ac_cpp='$CXXCPP $CPPFLAGS'
42354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42357
42358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42359 /* end confdefs.h. */
42360 #include <math.h>
42361 int
42362 main ()
42363 {
42364 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42365 ;
42366 return 0;
42367 }
42368 _ACEOF
42369 if ac_fn_cxx_try_compile "$LINENO"; then :
42370 glibcxx_cv_func__float_trig_use=yes
42371 else
42372 glibcxx_cv_func__float_trig_use=no
42373 fi
42374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42375 ac_ext=c
42376 ac_cpp='$CPP $CPPFLAGS'
42377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42380
42381 fi
42382
42383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42384 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42385 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42386 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42387 do :
42388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42390 eval as_val=\$$as_ac_var
42391 if test "x$as_val" = x""yes; then :
42392 cat >>confdefs.h <<_ACEOF
42393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42394 _ACEOF
42395
42396 fi
42397 done
42398
42399 fi
42400 fi
42401
42402
42403
42404
42405
42406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42407 $as_echo_n "checking for float round functions... " >&6; }
42408 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42409 $as_echo_n "(cached) " >&6
42410 else
42411
42412
42413 ac_ext=cpp
42414 ac_cpp='$CXXCPP $CPPFLAGS'
42415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42418
42419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42420 /* end confdefs.h. */
42421 #include <math.h>
42422 int
42423 main ()
42424 {
42425 ceilf (0); floorf (0);
42426 ;
42427 return 0;
42428 }
42429 _ACEOF
42430 if ac_fn_cxx_try_compile "$LINENO"; then :
42431 glibcxx_cv_func_float_round_use=yes
42432 else
42433 glibcxx_cv_func_float_round_use=no
42434 fi
42435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42436 ac_ext=c
42437 ac_cpp='$CPP $CPPFLAGS'
42438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42441
42442 fi
42443
42444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42445 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42446 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42447 for ac_func in ceilf floorf
42448 do :
42449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42451 eval as_val=\$$as_ac_var
42452 if test "x$as_val" = x""yes; then :
42453 cat >>confdefs.h <<_ACEOF
42454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42455 _ACEOF
42456
42457 fi
42458 done
42459
42460 else
42461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42462 $as_echo_n "checking for _float round functions... " >&6; }
42463 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42464 $as_echo_n "(cached) " >&6
42465 else
42466
42467
42468 ac_ext=cpp
42469 ac_cpp='$CXXCPP $CPPFLAGS'
42470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42473
42474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42475 /* end confdefs.h. */
42476 #include <math.h>
42477 int
42478 main ()
42479 {
42480 _ceilf (0); _floorf (0);
42481 ;
42482 return 0;
42483 }
42484 _ACEOF
42485 if ac_fn_cxx_try_compile "$LINENO"; then :
42486 glibcxx_cv_func__float_round_use=yes
42487 else
42488 glibcxx_cv_func__float_round_use=no
42489 fi
42490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42491 ac_ext=c
42492 ac_cpp='$CPP $CPPFLAGS'
42493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42496
42497 fi
42498
42499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42500 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42501 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42502 for ac_func in _ceilf _floorf
42503 do :
42504 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42506 eval as_val=\$$as_ac_var
42507 if test "x$as_val" = x""yes; then :
42508 cat >>confdefs.h <<_ACEOF
42509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42510 _ACEOF
42511
42512 fi
42513 done
42514
42515 fi
42516 fi
42517
42518
42519
42520
42521
42522
42523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42524 $as_echo_n "checking for expf declaration... " >&6; }
42525 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42526 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42527 $as_echo_n "(cached) " >&6
42528 else
42529
42530
42531 ac_ext=cpp
42532 ac_cpp='$CXXCPP $CPPFLAGS'
42533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42536
42537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42538 /* end confdefs.h. */
42539 #include <math.h>
42540 #ifdef HAVE_IEEEFP_H
42541 #include <ieeefp.h>
42542 #endif
42543
42544 int
42545 main ()
42546 {
42547 expf(0);
42548 ;
42549 return 0;
42550 }
42551 _ACEOF
42552 if ac_fn_cxx_try_compile "$LINENO"; then :
42553 glibcxx_cv_func_expf_use=yes
42554 else
42555 glibcxx_cv_func_expf_use=no
42556 fi
42557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42558 ac_ext=c
42559 ac_cpp='$CPP $CPPFLAGS'
42560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42563
42564
42565 fi
42566
42567 fi
42568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42569 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42570
42571 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42572 for ac_func in expf
42573 do :
42574 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42575 if test "x$ac_cv_func_expf" = x""yes; then :
42576 cat >>confdefs.h <<_ACEOF
42577 #define HAVE_EXPF 1
42578 _ACEOF
42579
42580 fi
42581 done
42582
42583 else
42584
42585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42586 $as_echo_n "checking for _expf declaration... " >&6; }
42587 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42588 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42589 $as_echo_n "(cached) " >&6
42590 else
42591
42592
42593 ac_ext=cpp
42594 ac_cpp='$CXXCPP $CPPFLAGS'
42595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42598
42599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42600 /* end confdefs.h. */
42601 #include <math.h>
42602 #ifdef HAVE_IEEEFP_H
42603 #include <ieeefp.h>
42604 #endif
42605
42606 int
42607 main ()
42608 {
42609 _expf(0);
42610 ;
42611 return 0;
42612 }
42613 _ACEOF
42614 if ac_fn_cxx_try_compile "$LINENO"; then :
42615 glibcxx_cv_func__expf_use=yes
42616 else
42617 glibcxx_cv_func__expf_use=no
42618 fi
42619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42620 ac_ext=c
42621 ac_cpp='$CPP $CPPFLAGS'
42622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42625
42626
42627 fi
42628
42629 fi
42630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42631 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42632
42633 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42634 for ac_func in _expf
42635 do :
42636 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42637 if test "x$ac_cv_func__expf" = x""yes; then :
42638 cat >>confdefs.h <<_ACEOF
42639 #define HAVE__EXPF 1
42640 _ACEOF
42641
42642 fi
42643 done
42644
42645 fi
42646 fi
42647
42648
42649
42650
42651
42652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42653 $as_echo_n "checking for isnanf declaration... " >&6; }
42654 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42655 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42656 $as_echo_n "(cached) " >&6
42657 else
42658
42659
42660 ac_ext=cpp
42661 ac_cpp='$CXXCPP $CPPFLAGS'
42662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42665
42666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42667 /* end confdefs.h. */
42668 #include <math.h>
42669 #ifdef HAVE_IEEEFP_H
42670 #include <ieeefp.h>
42671 #endif
42672
42673 int
42674 main ()
42675 {
42676 isnanf(0);
42677 ;
42678 return 0;
42679 }
42680 _ACEOF
42681 if ac_fn_cxx_try_compile "$LINENO"; then :
42682 glibcxx_cv_func_isnanf_use=yes
42683 else
42684 glibcxx_cv_func_isnanf_use=no
42685 fi
42686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42687 ac_ext=c
42688 ac_cpp='$CPP $CPPFLAGS'
42689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42692
42693
42694 fi
42695
42696 fi
42697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42698 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42699
42700 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42701 for ac_func in isnanf
42702 do :
42703 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42704 if test "x$ac_cv_func_isnanf" = x""yes; then :
42705 cat >>confdefs.h <<_ACEOF
42706 #define HAVE_ISNANF 1
42707 _ACEOF
42708
42709 fi
42710 done
42711
42712 else
42713
42714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42715 $as_echo_n "checking for _isnanf declaration... " >&6; }
42716 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42717 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42718 $as_echo_n "(cached) " >&6
42719 else
42720
42721
42722 ac_ext=cpp
42723 ac_cpp='$CXXCPP $CPPFLAGS'
42724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42727
42728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42729 /* end confdefs.h. */
42730 #include <math.h>
42731 #ifdef HAVE_IEEEFP_H
42732 #include <ieeefp.h>
42733 #endif
42734
42735 int
42736 main ()
42737 {
42738 _isnanf(0);
42739 ;
42740 return 0;
42741 }
42742 _ACEOF
42743 if ac_fn_cxx_try_compile "$LINENO"; then :
42744 glibcxx_cv_func__isnanf_use=yes
42745 else
42746 glibcxx_cv_func__isnanf_use=no
42747 fi
42748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42749 ac_ext=c
42750 ac_cpp='$CPP $CPPFLAGS'
42751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42754
42755
42756 fi
42757
42758 fi
42759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42760 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42761
42762 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42763 for ac_func in _isnanf
42764 do :
42765 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42766 if test "x$ac_cv_func__isnanf" = x""yes; then :
42767 cat >>confdefs.h <<_ACEOF
42768 #define HAVE__ISNANF 1
42769 _ACEOF
42770
42771 fi
42772 done
42773
42774 fi
42775 fi
42776
42777
42778
42779
42780
42781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42782 $as_echo_n "checking for isinff declaration... " >&6; }
42783 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42784 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42785 $as_echo_n "(cached) " >&6
42786 else
42787
42788
42789 ac_ext=cpp
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42794
42795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42796 /* end confdefs.h. */
42797 #include <math.h>
42798 #ifdef HAVE_IEEEFP_H
42799 #include <ieeefp.h>
42800 #endif
42801
42802 int
42803 main ()
42804 {
42805 isinff(0);
42806 ;
42807 return 0;
42808 }
42809 _ACEOF
42810 if ac_fn_cxx_try_compile "$LINENO"; then :
42811 glibcxx_cv_func_isinff_use=yes
42812 else
42813 glibcxx_cv_func_isinff_use=no
42814 fi
42815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42816 ac_ext=c
42817 ac_cpp='$CPP $CPPFLAGS'
42818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42821
42822
42823 fi
42824
42825 fi
42826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42827 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42828
42829 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42830 for ac_func in isinff
42831 do :
42832 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42833 if test "x$ac_cv_func_isinff" = x""yes; then :
42834 cat >>confdefs.h <<_ACEOF
42835 #define HAVE_ISINFF 1
42836 _ACEOF
42837
42838 fi
42839 done
42840
42841 else
42842
42843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42844 $as_echo_n "checking for _isinff declaration... " >&6; }
42845 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42846 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42847 $as_echo_n "(cached) " >&6
42848 else
42849
42850
42851 ac_ext=cpp
42852 ac_cpp='$CXXCPP $CPPFLAGS'
42853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42856
42857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42858 /* end confdefs.h. */
42859 #include <math.h>
42860 #ifdef HAVE_IEEEFP_H
42861 #include <ieeefp.h>
42862 #endif
42863
42864 int
42865 main ()
42866 {
42867 _isinff(0);
42868 ;
42869 return 0;
42870 }
42871 _ACEOF
42872 if ac_fn_cxx_try_compile "$LINENO"; then :
42873 glibcxx_cv_func__isinff_use=yes
42874 else
42875 glibcxx_cv_func__isinff_use=no
42876 fi
42877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42878 ac_ext=c
42879 ac_cpp='$CPP $CPPFLAGS'
42880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42883
42884
42885 fi
42886
42887 fi
42888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42889 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42890
42891 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42892 for ac_func in _isinff
42893 do :
42894 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42895 if test "x$ac_cv_func__isinff" = x""yes; then :
42896 cat >>confdefs.h <<_ACEOF
42897 #define HAVE__ISINFF 1
42898 _ACEOF
42899
42900 fi
42901 done
42902
42903 fi
42904 fi
42905
42906
42907
42908
42909
42910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42911 $as_echo_n "checking for atan2f declaration... " >&6; }
42912 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42913 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42914 $as_echo_n "(cached) " >&6
42915 else
42916
42917
42918 ac_ext=cpp
42919 ac_cpp='$CXXCPP $CPPFLAGS'
42920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42923
42924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42925 /* end confdefs.h. */
42926 #include <math.h>
42927 int
42928 main ()
42929 {
42930 atan2f(0, 0);
42931 ;
42932 return 0;
42933 }
42934 _ACEOF
42935 if ac_fn_cxx_try_compile "$LINENO"; then :
42936 glibcxx_cv_func_atan2f_use=yes
42937 else
42938 glibcxx_cv_func_atan2f_use=no
42939 fi
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941 ac_ext=c
42942 ac_cpp='$CPP $CPPFLAGS'
42943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42946
42947
42948 fi
42949
42950 fi
42951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42952 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42953
42954 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42955 for ac_func in atan2f
42956 do :
42957 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42958 if test "x$ac_cv_func_atan2f" = x""yes; then :
42959 cat >>confdefs.h <<_ACEOF
42960 #define HAVE_ATAN2F 1
42961 _ACEOF
42962
42963 fi
42964 done
42965
42966 else
42967
42968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42969 $as_echo_n "checking for _atan2f declaration... " >&6; }
42970 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42971 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42972 $as_echo_n "(cached) " >&6
42973 else
42974
42975
42976 ac_ext=cpp
42977 ac_cpp='$CXXCPP $CPPFLAGS'
42978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42981
42982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42983 /* end confdefs.h. */
42984 #include <math.h>
42985 int
42986 main ()
42987 {
42988 _atan2f(0, 0);
42989 ;
42990 return 0;
42991 }
42992 _ACEOF
42993 if ac_fn_cxx_try_compile "$LINENO"; then :
42994 glibcxx_cv_func__atan2f_use=yes
42995 else
42996 glibcxx_cv_func__atan2f_use=no
42997 fi
42998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42999 ac_ext=c
43000 ac_cpp='$CPP $CPPFLAGS'
43001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43004
43005
43006 fi
43007
43008 fi
43009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43010 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43011
43012 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43013 for ac_func in _atan2f
43014 do :
43015 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43016 if test "x$ac_cv_func__atan2f" = x""yes; then :
43017 cat >>confdefs.h <<_ACEOF
43018 #define HAVE__ATAN2F 1
43019 _ACEOF
43020
43021 fi
43022 done
43023
43024 fi
43025 fi
43026
43027
43028
43029
43030
43031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43032 $as_echo_n "checking for fabsf declaration... " >&6; }
43033 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43034 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43035 $as_echo_n "(cached) " >&6
43036 else
43037
43038
43039 ac_ext=cpp
43040 ac_cpp='$CXXCPP $CPPFLAGS'
43041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43044
43045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43046 /* end confdefs.h. */
43047 #include <math.h>
43048 #ifdef HAVE_IEEEFP_H
43049 #include <ieeefp.h>
43050 #endif
43051
43052 int
43053 main ()
43054 {
43055 fabsf(0);
43056 ;
43057 return 0;
43058 }
43059 _ACEOF
43060 if ac_fn_cxx_try_compile "$LINENO"; then :
43061 glibcxx_cv_func_fabsf_use=yes
43062 else
43063 glibcxx_cv_func_fabsf_use=no
43064 fi
43065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43066 ac_ext=c
43067 ac_cpp='$CPP $CPPFLAGS'
43068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43071
43072
43073 fi
43074
43075 fi
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43077 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43078
43079 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43080 for ac_func in fabsf
43081 do :
43082 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43083 if test "x$ac_cv_func_fabsf" = x""yes; then :
43084 cat >>confdefs.h <<_ACEOF
43085 #define HAVE_FABSF 1
43086 _ACEOF
43087
43088 fi
43089 done
43090
43091 else
43092
43093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43094 $as_echo_n "checking for _fabsf declaration... " >&6; }
43095 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43096 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43097 $as_echo_n "(cached) " >&6
43098 else
43099
43100
43101 ac_ext=cpp
43102 ac_cpp='$CXXCPP $CPPFLAGS'
43103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43106
43107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43108 /* end confdefs.h. */
43109 #include <math.h>
43110 #ifdef HAVE_IEEEFP_H
43111 #include <ieeefp.h>
43112 #endif
43113
43114 int
43115 main ()
43116 {
43117 _fabsf(0);
43118 ;
43119 return 0;
43120 }
43121 _ACEOF
43122 if ac_fn_cxx_try_compile "$LINENO"; then :
43123 glibcxx_cv_func__fabsf_use=yes
43124 else
43125 glibcxx_cv_func__fabsf_use=no
43126 fi
43127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43128 ac_ext=c
43129 ac_cpp='$CPP $CPPFLAGS'
43130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43133
43134
43135 fi
43136
43137 fi
43138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43139 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43140
43141 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43142 for ac_func in _fabsf
43143 do :
43144 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43145 if test "x$ac_cv_func__fabsf" = x""yes; then :
43146 cat >>confdefs.h <<_ACEOF
43147 #define HAVE__FABSF 1
43148 _ACEOF
43149
43150 fi
43151 done
43152
43153 fi
43154 fi
43155
43156
43157
43158
43159
43160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43161 $as_echo_n "checking for fmodf declaration... " >&6; }
43162 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43163 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43164 $as_echo_n "(cached) " >&6
43165 else
43166
43167
43168 ac_ext=cpp
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43173
43174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43175 /* end confdefs.h. */
43176 #include <math.h>
43177 int
43178 main ()
43179 {
43180 fmodf(0, 0);
43181 ;
43182 return 0;
43183 }
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186 glibcxx_cv_func_fmodf_use=yes
43187 else
43188 glibcxx_cv_func_fmodf_use=no
43189 fi
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191 ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43196
43197
43198 fi
43199
43200 fi
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43202 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43203
43204 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43205 for ac_func in fmodf
43206 do :
43207 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43208 if test "x$ac_cv_func_fmodf" = x""yes; then :
43209 cat >>confdefs.h <<_ACEOF
43210 #define HAVE_FMODF 1
43211 _ACEOF
43212
43213 fi
43214 done
43215
43216 else
43217
43218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43219 $as_echo_n "checking for _fmodf declaration... " >&6; }
43220 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43221 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43222 $as_echo_n "(cached) " >&6
43223 else
43224
43225
43226 ac_ext=cpp
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43231
43232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h. */
43234 #include <math.h>
43235 int
43236 main ()
43237 {
43238 _fmodf(0, 0);
43239 ;
43240 return 0;
43241 }
43242 _ACEOF
43243 if ac_fn_cxx_try_compile "$LINENO"; then :
43244 glibcxx_cv_func__fmodf_use=yes
43245 else
43246 glibcxx_cv_func__fmodf_use=no
43247 fi
43248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43249 ac_ext=c
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43254
43255
43256 fi
43257
43258 fi
43259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43260 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43261
43262 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43263 for ac_func in _fmodf
43264 do :
43265 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43266 if test "x$ac_cv_func__fmodf" = x""yes; then :
43267 cat >>confdefs.h <<_ACEOF
43268 #define HAVE__FMODF 1
43269 _ACEOF
43270
43271 fi
43272 done
43273
43274 fi
43275 fi
43276
43277
43278
43279
43280
43281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43282 $as_echo_n "checking for frexpf declaration... " >&6; }
43283 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43284 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43285 $as_echo_n "(cached) " >&6
43286 else
43287
43288
43289 ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43294
43295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h. */
43297 #include <math.h>
43298 int
43299 main ()
43300 {
43301 frexpf(0, 0);
43302 ;
43303 return 0;
43304 }
43305 _ACEOF
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307 glibcxx_cv_func_frexpf_use=yes
43308 else
43309 glibcxx_cv_func_frexpf_use=no
43310 fi
43311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43312 ac_ext=c
43313 ac_cpp='$CPP $CPPFLAGS'
43314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43317
43318
43319 fi
43320
43321 fi
43322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43323 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43324
43325 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43326 for ac_func in frexpf
43327 do :
43328 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43329 if test "x$ac_cv_func_frexpf" = x""yes; then :
43330 cat >>confdefs.h <<_ACEOF
43331 #define HAVE_FREXPF 1
43332 _ACEOF
43333
43334 fi
43335 done
43336
43337 else
43338
43339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43340 $as_echo_n "checking for _frexpf declaration... " >&6; }
43341 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43342 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43343 $as_echo_n "(cached) " >&6
43344 else
43345
43346
43347 ac_ext=cpp
43348 ac_cpp='$CXXCPP $CPPFLAGS'
43349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43352
43353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43354 /* end confdefs.h. */
43355 #include <math.h>
43356 int
43357 main ()
43358 {
43359 _frexpf(0, 0);
43360 ;
43361 return 0;
43362 }
43363 _ACEOF
43364 if ac_fn_cxx_try_compile "$LINENO"; then :
43365 glibcxx_cv_func__frexpf_use=yes
43366 else
43367 glibcxx_cv_func__frexpf_use=no
43368 fi
43369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43370 ac_ext=c
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43375
43376
43377 fi
43378
43379 fi
43380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43381 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43382
43383 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43384 for ac_func in _frexpf
43385 do :
43386 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43387 if test "x$ac_cv_func__frexpf" = x""yes; then :
43388 cat >>confdefs.h <<_ACEOF
43389 #define HAVE__FREXPF 1
43390 _ACEOF
43391
43392 fi
43393 done
43394
43395 fi
43396 fi
43397
43398
43399
43400
43401
43402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43403 $as_echo_n "checking for hypotf declaration... " >&6; }
43404 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43405 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43406 $as_echo_n "(cached) " >&6
43407 else
43408
43409
43410 ac_ext=cpp
43411 ac_cpp='$CXXCPP $CPPFLAGS'
43412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43415
43416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43417 /* end confdefs.h. */
43418 #include <math.h>
43419 int
43420 main ()
43421 {
43422 hypotf(0, 0);
43423 ;
43424 return 0;
43425 }
43426 _ACEOF
43427 if ac_fn_cxx_try_compile "$LINENO"; then :
43428 glibcxx_cv_func_hypotf_use=yes
43429 else
43430 glibcxx_cv_func_hypotf_use=no
43431 fi
43432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433 ac_ext=c
43434 ac_cpp='$CPP $CPPFLAGS'
43435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43438
43439
43440 fi
43441
43442 fi
43443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43444 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43445
43446 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43447 for ac_func in hypotf
43448 do :
43449 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43450 if test "x$ac_cv_func_hypotf" = x""yes; then :
43451 cat >>confdefs.h <<_ACEOF
43452 #define HAVE_HYPOTF 1
43453 _ACEOF
43454
43455 fi
43456 done
43457
43458 else
43459
43460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43461 $as_echo_n "checking for _hypotf declaration... " >&6; }
43462 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43463 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43464 $as_echo_n "(cached) " >&6
43465 else
43466
43467
43468 ac_ext=cpp
43469 ac_cpp='$CXXCPP $CPPFLAGS'
43470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43473
43474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43475 /* end confdefs.h. */
43476 #include <math.h>
43477 int
43478 main ()
43479 {
43480 _hypotf(0, 0);
43481 ;
43482 return 0;
43483 }
43484 _ACEOF
43485 if ac_fn_cxx_try_compile "$LINENO"; then :
43486 glibcxx_cv_func__hypotf_use=yes
43487 else
43488 glibcxx_cv_func__hypotf_use=no
43489 fi
43490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43491 ac_ext=c
43492 ac_cpp='$CPP $CPPFLAGS'
43493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43496
43497
43498 fi
43499
43500 fi
43501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43502 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43503
43504 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43505 for ac_func in _hypotf
43506 do :
43507 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43508 if test "x$ac_cv_func__hypotf" = x""yes; then :
43509 cat >>confdefs.h <<_ACEOF
43510 #define HAVE__HYPOTF 1
43511 _ACEOF
43512
43513 fi
43514 done
43515
43516 fi
43517 fi
43518
43519
43520
43521
43522
43523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43524 $as_echo_n "checking for ldexpf declaration... " >&6; }
43525 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43526 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43527 $as_echo_n "(cached) " >&6
43528 else
43529
43530
43531 ac_ext=cpp
43532 ac_cpp='$CXXCPP $CPPFLAGS'
43533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43536
43537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43538 /* end confdefs.h. */
43539 #include <math.h>
43540 int
43541 main ()
43542 {
43543 ldexpf(0, 0);
43544 ;
43545 return 0;
43546 }
43547 _ACEOF
43548 if ac_fn_cxx_try_compile "$LINENO"; then :
43549 glibcxx_cv_func_ldexpf_use=yes
43550 else
43551 glibcxx_cv_func_ldexpf_use=no
43552 fi
43553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43554 ac_ext=c
43555 ac_cpp='$CPP $CPPFLAGS'
43556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43559
43560
43561 fi
43562
43563 fi
43564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43565 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43566
43567 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43568 for ac_func in ldexpf
43569 do :
43570 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43571 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43572 cat >>confdefs.h <<_ACEOF
43573 #define HAVE_LDEXPF 1
43574 _ACEOF
43575
43576 fi
43577 done
43578
43579 else
43580
43581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43582 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43583 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43584 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43585 $as_echo_n "(cached) " >&6
43586 else
43587
43588
43589 ac_ext=cpp
43590 ac_cpp='$CXXCPP $CPPFLAGS'
43591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43594
43595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43596 /* end confdefs.h. */
43597 #include <math.h>
43598 int
43599 main ()
43600 {
43601 _ldexpf(0, 0);
43602 ;
43603 return 0;
43604 }
43605 _ACEOF
43606 if ac_fn_cxx_try_compile "$LINENO"; then :
43607 glibcxx_cv_func__ldexpf_use=yes
43608 else
43609 glibcxx_cv_func__ldexpf_use=no
43610 fi
43611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43612 ac_ext=c
43613 ac_cpp='$CPP $CPPFLAGS'
43614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43617
43618
43619 fi
43620
43621 fi
43622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43623 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43624
43625 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43626 for ac_func in _ldexpf
43627 do :
43628 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43629 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43630 cat >>confdefs.h <<_ACEOF
43631 #define HAVE__LDEXPF 1
43632 _ACEOF
43633
43634 fi
43635 done
43636
43637 fi
43638 fi
43639
43640
43641
43642
43643
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43645 $as_echo_n "checking for logf declaration... " >&6; }
43646 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43647 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43648 $as_echo_n "(cached) " >&6
43649 else
43650
43651
43652 ac_ext=cpp
43653 ac_cpp='$CXXCPP $CPPFLAGS'
43654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43657
43658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43659 /* end confdefs.h. */
43660 #include <math.h>
43661 #ifdef HAVE_IEEEFP_H
43662 #include <ieeefp.h>
43663 #endif
43664
43665 int
43666 main ()
43667 {
43668 logf(0);
43669 ;
43670 return 0;
43671 }
43672 _ACEOF
43673 if ac_fn_cxx_try_compile "$LINENO"; then :
43674 glibcxx_cv_func_logf_use=yes
43675 else
43676 glibcxx_cv_func_logf_use=no
43677 fi
43678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43679 ac_ext=c
43680 ac_cpp='$CPP $CPPFLAGS'
43681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43684
43685
43686 fi
43687
43688 fi
43689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43690 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43691
43692 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43693 for ac_func in logf
43694 do :
43695 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43696 if test "x$ac_cv_func_logf" = x""yes; then :
43697 cat >>confdefs.h <<_ACEOF
43698 #define HAVE_LOGF 1
43699 _ACEOF
43700
43701 fi
43702 done
43703
43704 else
43705
43706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43707 $as_echo_n "checking for _logf declaration... " >&6; }
43708 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43709 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43710 $as_echo_n "(cached) " >&6
43711 else
43712
43713
43714 ac_ext=cpp
43715 ac_cpp='$CXXCPP $CPPFLAGS'
43716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43719
43720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43721 /* end confdefs.h. */
43722 #include <math.h>
43723 #ifdef HAVE_IEEEFP_H
43724 #include <ieeefp.h>
43725 #endif
43726
43727 int
43728 main ()
43729 {
43730 _logf(0);
43731 ;
43732 return 0;
43733 }
43734 _ACEOF
43735 if ac_fn_cxx_try_compile "$LINENO"; then :
43736 glibcxx_cv_func__logf_use=yes
43737 else
43738 glibcxx_cv_func__logf_use=no
43739 fi
43740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43741 ac_ext=c
43742 ac_cpp='$CPP $CPPFLAGS'
43743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43746
43747
43748 fi
43749
43750 fi
43751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43752 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43753
43754 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43755 for ac_func in _logf
43756 do :
43757 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43758 if test "x$ac_cv_func__logf" = x""yes; then :
43759 cat >>confdefs.h <<_ACEOF
43760 #define HAVE__LOGF 1
43761 _ACEOF
43762
43763 fi
43764 done
43765
43766 fi
43767 fi
43768
43769
43770
43771
43772
43773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43774 $as_echo_n "checking for log10f declaration... " >&6; }
43775 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43776 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43777 $as_echo_n "(cached) " >&6
43778 else
43779
43780
43781 ac_ext=cpp
43782 ac_cpp='$CXXCPP $CPPFLAGS'
43783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43786
43787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43788 /* end confdefs.h. */
43789 #include <math.h>
43790 #ifdef HAVE_IEEEFP_H
43791 #include <ieeefp.h>
43792 #endif
43793
43794 int
43795 main ()
43796 {
43797 log10f(0);
43798 ;
43799 return 0;
43800 }
43801 _ACEOF
43802 if ac_fn_cxx_try_compile "$LINENO"; then :
43803 glibcxx_cv_func_log10f_use=yes
43804 else
43805 glibcxx_cv_func_log10f_use=no
43806 fi
43807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43808 ac_ext=c
43809 ac_cpp='$CPP $CPPFLAGS'
43810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43813
43814
43815 fi
43816
43817 fi
43818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43819 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43820
43821 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43822 for ac_func in log10f
43823 do :
43824 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43825 if test "x$ac_cv_func_log10f" = x""yes; then :
43826 cat >>confdefs.h <<_ACEOF
43827 #define HAVE_LOG10F 1
43828 _ACEOF
43829
43830 fi
43831 done
43832
43833 else
43834
43835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43836 $as_echo_n "checking for _log10f declaration... " >&6; }
43837 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43838 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43839 $as_echo_n "(cached) " >&6
43840 else
43841
43842
43843 ac_ext=cpp
43844 ac_cpp='$CXXCPP $CPPFLAGS'
43845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43848
43849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43850 /* end confdefs.h. */
43851 #include <math.h>
43852 #ifdef HAVE_IEEEFP_H
43853 #include <ieeefp.h>
43854 #endif
43855
43856 int
43857 main ()
43858 {
43859 _log10f(0);
43860 ;
43861 return 0;
43862 }
43863 _ACEOF
43864 if ac_fn_cxx_try_compile "$LINENO"; then :
43865 glibcxx_cv_func__log10f_use=yes
43866 else
43867 glibcxx_cv_func__log10f_use=no
43868 fi
43869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43870 ac_ext=c
43871 ac_cpp='$CPP $CPPFLAGS'
43872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43875
43876
43877 fi
43878
43879 fi
43880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43881 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43882
43883 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43884 for ac_func in _log10f
43885 do :
43886 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43887 if test "x$ac_cv_func__log10f" = x""yes; then :
43888 cat >>confdefs.h <<_ACEOF
43889 #define HAVE__LOG10F 1
43890 _ACEOF
43891
43892 fi
43893 done
43894
43895 fi
43896 fi
43897
43898
43899
43900
43901
43902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43903 $as_echo_n "checking for modff declaration... " >&6; }
43904 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43905 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43906 $as_echo_n "(cached) " >&6
43907 else
43908
43909
43910 ac_ext=cpp
43911 ac_cpp='$CXXCPP $CPPFLAGS'
43912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43915
43916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43917 /* end confdefs.h. */
43918 #include <math.h>
43919 int
43920 main ()
43921 {
43922 modff(0, 0);
43923 ;
43924 return 0;
43925 }
43926 _ACEOF
43927 if ac_fn_cxx_try_compile "$LINENO"; then :
43928 glibcxx_cv_func_modff_use=yes
43929 else
43930 glibcxx_cv_func_modff_use=no
43931 fi
43932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43933 ac_ext=c
43934 ac_cpp='$CPP $CPPFLAGS'
43935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43938
43939
43940 fi
43941
43942 fi
43943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43944 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43945
43946 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43947 for ac_func in modff
43948 do :
43949 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43950 if test "x$ac_cv_func_modff" = x""yes; then :
43951 cat >>confdefs.h <<_ACEOF
43952 #define HAVE_MODFF 1
43953 _ACEOF
43954
43955 fi
43956 done
43957
43958 else
43959
43960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43961 $as_echo_n "checking for _modff declaration... " >&6; }
43962 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43963 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43964 $as_echo_n "(cached) " >&6
43965 else
43966
43967
43968 ac_ext=cpp
43969 ac_cpp='$CXXCPP $CPPFLAGS'
43970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43973
43974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43975 /* end confdefs.h. */
43976 #include <math.h>
43977 int
43978 main ()
43979 {
43980 _modff(0, 0);
43981 ;
43982 return 0;
43983 }
43984 _ACEOF
43985 if ac_fn_cxx_try_compile "$LINENO"; then :
43986 glibcxx_cv_func__modff_use=yes
43987 else
43988 glibcxx_cv_func__modff_use=no
43989 fi
43990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43991 ac_ext=c
43992 ac_cpp='$CPP $CPPFLAGS'
43993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43996
43997
43998 fi
43999
44000 fi
44001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44002 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44003
44004 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44005 for ac_func in _modff
44006 do :
44007 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44008 if test "x$ac_cv_func__modff" = x""yes; then :
44009 cat >>confdefs.h <<_ACEOF
44010 #define HAVE__MODFF 1
44011 _ACEOF
44012
44013 fi
44014 done
44015
44016 fi
44017 fi
44018
44019
44020
44021
44022
44023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44024 $as_echo_n "checking for modf declaration... " >&6; }
44025 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44026 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44027 $as_echo_n "(cached) " >&6
44028 else
44029
44030
44031 ac_ext=cpp
44032 ac_cpp='$CXXCPP $CPPFLAGS'
44033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44036
44037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44038 /* end confdefs.h. */
44039 #include <math.h>
44040 int
44041 main ()
44042 {
44043 modf(0, 0);
44044 ;
44045 return 0;
44046 }
44047 _ACEOF
44048 if ac_fn_cxx_try_compile "$LINENO"; then :
44049 glibcxx_cv_func_modf_use=yes
44050 else
44051 glibcxx_cv_func_modf_use=no
44052 fi
44053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44054 ac_ext=c
44055 ac_cpp='$CPP $CPPFLAGS'
44056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44059
44060
44061 fi
44062
44063 fi
44064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44065 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44066
44067 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44068 for ac_func in modf
44069 do :
44070 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44071 if test "x$ac_cv_func_modf" = x""yes; then :
44072 cat >>confdefs.h <<_ACEOF
44073 #define HAVE_MODF 1
44074 _ACEOF
44075
44076 fi
44077 done
44078
44079 else
44080
44081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44082 $as_echo_n "checking for _modf declaration... " >&6; }
44083 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44084 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44085 $as_echo_n "(cached) " >&6
44086 else
44087
44088
44089 ac_ext=cpp
44090 ac_cpp='$CXXCPP $CPPFLAGS'
44091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44094
44095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44096 /* end confdefs.h. */
44097 #include <math.h>
44098 int
44099 main ()
44100 {
44101 _modf(0, 0);
44102 ;
44103 return 0;
44104 }
44105 _ACEOF
44106 if ac_fn_cxx_try_compile "$LINENO"; then :
44107 glibcxx_cv_func__modf_use=yes
44108 else
44109 glibcxx_cv_func__modf_use=no
44110 fi
44111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44112 ac_ext=c
44113 ac_cpp='$CPP $CPPFLAGS'
44114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44117
44118
44119 fi
44120
44121 fi
44122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44123 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44124
44125 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44126 for ac_func in _modf
44127 do :
44128 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44129 if test "x$ac_cv_func__modf" = x""yes; then :
44130 cat >>confdefs.h <<_ACEOF
44131 #define HAVE__MODF 1
44132 _ACEOF
44133
44134 fi
44135 done
44136
44137 fi
44138 fi
44139
44140
44141
44142
44143
44144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44145 $as_echo_n "checking for powf declaration... " >&6; }
44146 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44147 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44148 $as_echo_n "(cached) " >&6
44149 else
44150
44151
44152 ac_ext=cpp
44153 ac_cpp='$CXXCPP $CPPFLAGS'
44154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44157
44158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44159 /* end confdefs.h. */
44160 #include <math.h>
44161 int
44162 main ()
44163 {
44164 powf(0, 0);
44165 ;
44166 return 0;
44167 }
44168 _ACEOF
44169 if ac_fn_cxx_try_compile "$LINENO"; then :
44170 glibcxx_cv_func_powf_use=yes
44171 else
44172 glibcxx_cv_func_powf_use=no
44173 fi
44174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44175 ac_ext=c
44176 ac_cpp='$CPP $CPPFLAGS'
44177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44180
44181
44182 fi
44183
44184 fi
44185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44186 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44187
44188 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44189 for ac_func in powf
44190 do :
44191 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44192 if test "x$ac_cv_func_powf" = x""yes; then :
44193 cat >>confdefs.h <<_ACEOF
44194 #define HAVE_POWF 1
44195 _ACEOF
44196
44197 fi
44198 done
44199
44200 else
44201
44202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44203 $as_echo_n "checking for _powf declaration... " >&6; }
44204 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44205 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44206 $as_echo_n "(cached) " >&6
44207 else
44208
44209
44210 ac_ext=cpp
44211 ac_cpp='$CXXCPP $CPPFLAGS'
44212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44215
44216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44217 /* end confdefs.h. */
44218 #include <math.h>
44219 int
44220 main ()
44221 {
44222 _powf(0, 0);
44223 ;
44224 return 0;
44225 }
44226 _ACEOF
44227 if ac_fn_cxx_try_compile "$LINENO"; then :
44228 glibcxx_cv_func__powf_use=yes
44229 else
44230 glibcxx_cv_func__powf_use=no
44231 fi
44232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44233 ac_ext=c
44234 ac_cpp='$CPP $CPPFLAGS'
44235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44238
44239
44240 fi
44241
44242 fi
44243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44244 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44245
44246 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44247 for ac_func in _powf
44248 do :
44249 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44250 if test "x$ac_cv_func__powf" = x""yes; then :
44251 cat >>confdefs.h <<_ACEOF
44252 #define HAVE__POWF 1
44253 _ACEOF
44254
44255 fi
44256 done
44257
44258 fi
44259 fi
44260
44261
44262
44263
44264
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44266 $as_echo_n "checking for sqrtf declaration... " >&6; }
44267 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44268 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44269 $as_echo_n "(cached) " >&6
44270 else
44271
44272
44273 ac_ext=cpp
44274 ac_cpp='$CXXCPP $CPPFLAGS'
44275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44278
44279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44280 /* end confdefs.h. */
44281 #include <math.h>
44282 #ifdef HAVE_IEEEFP_H
44283 #include <ieeefp.h>
44284 #endif
44285
44286 int
44287 main ()
44288 {
44289 sqrtf(0);
44290 ;
44291 return 0;
44292 }
44293 _ACEOF
44294 if ac_fn_cxx_try_compile "$LINENO"; then :
44295 glibcxx_cv_func_sqrtf_use=yes
44296 else
44297 glibcxx_cv_func_sqrtf_use=no
44298 fi
44299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44300 ac_ext=c
44301 ac_cpp='$CPP $CPPFLAGS'
44302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44305
44306
44307 fi
44308
44309 fi
44310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44311 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44312
44313 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44314 for ac_func in sqrtf
44315 do :
44316 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44317 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44318 cat >>confdefs.h <<_ACEOF
44319 #define HAVE_SQRTF 1
44320 _ACEOF
44321
44322 fi
44323 done
44324
44325 else
44326
44327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44328 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44329 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44330 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44331 $as_echo_n "(cached) " >&6
44332 else
44333
44334
44335 ac_ext=cpp
44336 ac_cpp='$CXXCPP $CPPFLAGS'
44337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44340
44341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44342 /* end confdefs.h. */
44343 #include <math.h>
44344 #ifdef HAVE_IEEEFP_H
44345 #include <ieeefp.h>
44346 #endif
44347
44348 int
44349 main ()
44350 {
44351 _sqrtf(0);
44352 ;
44353 return 0;
44354 }
44355 _ACEOF
44356 if ac_fn_cxx_try_compile "$LINENO"; then :
44357 glibcxx_cv_func__sqrtf_use=yes
44358 else
44359 glibcxx_cv_func__sqrtf_use=no
44360 fi
44361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44362 ac_ext=c
44363 ac_cpp='$CPP $CPPFLAGS'
44364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44367
44368
44369 fi
44370
44371 fi
44372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44373 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44374
44375 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44376 for ac_func in _sqrtf
44377 do :
44378 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44379 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44380 cat >>confdefs.h <<_ACEOF
44381 #define HAVE__SQRTF 1
44382 _ACEOF
44383
44384 fi
44385 done
44386
44387 fi
44388 fi
44389
44390
44391
44392
44393
44394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44395 $as_echo_n "checking for sincosf declaration... " >&6; }
44396 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44397 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44398 $as_echo_n "(cached) " >&6
44399 else
44400
44401
44402 ac_ext=cpp
44403 ac_cpp='$CXXCPP $CPPFLAGS'
44404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44407
44408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44409 /* end confdefs.h. */
44410 #include <math.h>
44411 int
44412 main ()
44413 {
44414 sincosf(0, 0, 0);
44415 ;
44416 return 0;
44417 }
44418 _ACEOF
44419 if ac_fn_cxx_try_compile "$LINENO"; then :
44420 glibcxx_cv_func_sincosf_use=yes
44421 else
44422 glibcxx_cv_func_sincosf_use=no
44423 fi
44424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44425 ac_ext=c
44426 ac_cpp='$CPP $CPPFLAGS'
44427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44430
44431
44432 fi
44433
44434 fi
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44436 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44437
44438 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44439 for ac_func in sincosf
44440 do :
44441 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44442 if test "x$ac_cv_func_sincosf" = x""yes; then :
44443 cat >>confdefs.h <<_ACEOF
44444 #define HAVE_SINCOSF 1
44445 _ACEOF
44446
44447 fi
44448 done
44449
44450 else
44451
44452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44453 $as_echo_n "checking for _sincosf declaration... " >&6; }
44454 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44455 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44456 $as_echo_n "(cached) " >&6
44457 else
44458
44459
44460 ac_ext=cpp
44461 ac_cpp='$CXXCPP $CPPFLAGS'
44462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44465
44466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44467 /* end confdefs.h. */
44468 #include <math.h>
44469 int
44470 main ()
44471 {
44472 _sincosf(0, 0, 0);
44473 ;
44474 return 0;
44475 }
44476 _ACEOF
44477 if ac_fn_cxx_try_compile "$LINENO"; then :
44478 glibcxx_cv_func__sincosf_use=yes
44479 else
44480 glibcxx_cv_func__sincosf_use=no
44481 fi
44482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44483 ac_ext=c
44484 ac_cpp='$CPP $CPPFLAGS'
44485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44488
44489
44490 fi
44491
44492 fi
44493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44494 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44495
44496 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44497 for ac_func in _sincosf
44498 do :
44499 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44500 if test "x$ac_cv_func__sincosf" = x""yes; then :
44501 cat >>confdefs.h <<_ACEOF
44502 #define HAVE__SINCOSF 1
44503 _ACEOF
44504
44505 fi
44506 done
44507
44508 fi
44509 fi
44510
44511
44512
44513
44514
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44516 $as_echo_n "checking for finitef declaration... " >&6; }
44517 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44518 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44519 $as_echo_n "(cached) " >&6
44520 else
44521
44522
44523 ac_ext=cpp
44524 ac_cpp='$CXXCPP $CPPFLAGS'
44525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44528
44529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44530 /* end confdefs.h. */
44531 #include <math.h>
44532 #ifdef HAVE_IEEEFP_H
44533 #include <ieeefp.h>
44534 #endif
44535
44536 int
44537 main ()
44538 {
44539 finitef(0);
44540 ;
44541 return 0;
44542 }
44543 _ACEOF
44544 if ac_fn_cxx_try_compile "$LINENO"; then :
44545 glibcxx_cv_func_finitef_use=yes
44546 else
44547 glibcxx_cv_func_finitef_use=no
44548 fi
44549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550 ac_ext=c
44551 ac_cpp='$CPP $CPPFLAGS'
44552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44555
44556
44557 fi
44558
44559 fi
44560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44561 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44562
44563 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44564 for ac_func in finitef
44565 do :
44566 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44567 if test "x$ac_cv_func_finitef" = x""yes; then :
44568 cat >>confdefs.h <<_ACEOF
44569 #define HAVE_FINITEF 1
44570 _ACEOF
44571
44572 fi
44573 done
44574
44575 else
44576
44577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44578 $as_echo_n "checking for _finitef declaration... " >&6; }
44579 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44580 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44581 $as_echo_n "(cached) " >&6
44582 else
44583
44584
44585 ac_ext=cpp
44586 ac_cpp='$CXXCPP $CPPFLAGS'
44587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44590
44591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44592 /* end confdefs.h. */
44593 #include <math.h>
44594 #ifdef HAVE_IEEEFP_H
44595 #include <ieeefp.h>
44596 #endif
44597
44598 int
44599 main ()
44600 {
44601 _finitef(0);
44602 ;
44603 return 0;
44604 }
44605 _ACEOF
44606 if ac_fn_cxx_try_compile "$LINENO"; then :
44607 glibcxx_cv_func__finitef_use=yes
44608 else
44609 glibcxx_cv_func__finitef_use=no
44610 fi
44611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44612 ac_ext=c
44613 ac_cpp='$CPP $CPPFLAGS'
44614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44617
44618
44619 fi
44620
44621 fi
44622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44623 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44624
44625 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44626 for ac_func in _finitef
44627 do :
44628 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44629 if test "x$ac_cv_func__finitef" = x""yes; then :
44630 cat >>confdefs.h <<_ACEOF
44631 #define HAVE__FINITEF 1
44632 _ACEOF
44633
44634 fi
44635 done
44636
44637 fi
44638 fi
44639
44640
44641
44642
44643
44644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44645 $as_echo_n "checking for long double trig functions... " >&6; }
44646 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44647 $as_echo_n "(cached) " >&6
44648 else
44649
44650
44651 ac_ext=cpp
44652 ac_cpp='$CXXCPP $CPPFLAGS'
44653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44656
44657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44658 /* end confdefs.h. */
44659 #include <math.h>
44660 int
44661 main ()
44662 {
44663 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44664 ;
44665 return 0;
44666 }
44667 _ACEOF
44668 if ac_fn_cxx_try_compile "$LINENO"; then :
44669 glibcxx_cv_func_long_double_trig_use=yes
44670 else
44671 glibcxx_cv_func_long_double_trig_use=no
44672 fi
44673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44674 ac_ext=c
44675 ac_cpp='$CPP $CPPFLAGS'
44676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44679
44680 fi
44681
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44683 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44684 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44685 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44686 do :
44687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44689 eval as_val=\$$as_ac_var
44690 if test "x$as_val" = x""yes; then :
44691 cat >>confdefs.h <<_ACEOF
44692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44693 _ACEOF
44694
44695 fi
44696 done
44697
44698 else
44699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44700 $as_echo_n "checking for _long double trig functions... " >&6; }
44701 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44702 $as_echo_n "(cached) " >&6
44703 else
44704
44705
44706 ac_ext=cpp
44707 ac_cpp='$CXXCPP $CPPFLAGS'
44708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44711
44712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44713 /* end confdefs.h. */
44714 #include <math.h>
44715 int
44716 main ()
44717 {
44718 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44719 ;
44720 return 0;
44721 }
44722 _ACEOF
44723 if ac_fn_cxx_try_compile "$LINENO"; then :
44724 glibcxx_cv_func__long_double_trig_use=yes
44725 else
44726 glibcxx_cv_func__long_double_trig_use=no
44727 fi
44728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44729 ac_ext=c
44730 ac_cpp='$CPP $CPPFLAGS'
44731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44734
44735 fi
44736
44737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44738 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44739 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44740 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44741 do :
44742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44744 eval as_val=\$$as_ac_var
44745 if test "x$as_val" = x""yes; then :
44746 cat >>confdefs.h <<_ACEOF
44747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44748 _ACEOF
44749
44750 fi
44751 done
44752
44753 fi
44754 fi
44755
44756
44757
44758
44759
44760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44761 $as_echo_n "checking for long double round functions... " >&6; }
44762 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44763 $as_echo_n "(cached) " >&6
44764 else
44765
44766
44767 ac_ext=cpp
44768 ac_cpp='$CXXCPP $CPPFLAGS'
44769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44772
44773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44774 /* end confdefs.h. */
44775 #include <math.h>
44776 int
44777 main ()
44778 {
44779 ceill (0); floorl (0);
44780 ;
44781 return 0;
44782 }
44783 _ACEOF
44784 if ac_fn_cxx_try_compile "$LINENO"; then :
44785 glibcxx_cv_func_long_double_round_use=yes
44786 else
44787 glibcxx_cv_func_long_double_round_use=no
44788 fi
44789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44790 ac_ext=c
44791 ac_cpp='$CPP $CPPFLAGS'
44792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44795
44796 fi
44797
44798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44799 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44800 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44801 for ac_func in ceill floorl
44802 do :
44803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44805 eval as_val=\$$as_ac_var
44806 if test "x$as_val" = x""yes; then :
44807 cat >>confdefs.h <<_ACEOF
44808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44809 _ACEOF
44810
44811 fi
44812 done
44813
44814 else
44815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44816 $as_echo_n "checking for _long double round functions... " >&6; }
44817 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44818 $as_echo_n "(cached) " >&6
44819 else
44820
44821
44822 ac_ext=cpp
44823 ac_cpp='$CXXCPP $CPPFLAGS'
44824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44827
44828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44829 /* end confdefs.h. */
44830 #include <math.h>
44831 int
44832 main ()
44833 {
44834 _ceill (0); _floorl (0);
44835 ;
44836 return 0;
44837 }
44838 _ACEOF
44839 if ac_fn_cxx_try_compile "$LINENO"; then :
44840 glibcxx_cv_func__long_double_round_use=yes
44841 else
44842 glibcxx_cv_func__long_double_round_use=no
44843 fi
44844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44845 ac_ext=c
44846 ac_cpp='$CPP $CPPFLAGS'
44847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44850
44851 fi
44852
44853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44854 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44855 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44856 for ac_func in _ceill _floorl
44857 do :
44858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44860 eval as_val=\$$as_ac_var
44861 if test "x$as_val" = x""yes; then :
44862 cat >>confdefs.h <<_ACEOF
44863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44864 _ACEOF
44865
44866 fi
44867 done
44868
44869 fi
44870 fi
44871
44872
44873
44874
44875
44876
44877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44878 $as_echo_n "checking for isnanl declaration... " >&6; }
44879 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44880 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44881 $as_echo_n "(cached) " >&6
44882 else
44883
44884
44885 ac_ext=cpp
44886 ac_cpp='$CXXCPP $CPPFLAGS'
44887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44890
44891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44892 /* end confdefs.h. */
44893 #include <math.h>
44894 #ifdef HAVE_IEEEFP_H
44895 #include <ieeefp.h>
44896 #endif
44897
44898 int
44899 main ()
44900 {
44901 isnanl(0);
44902 ;
44903 return 0;
44904 }
44905 _ACEOF
44906 if ac_fn_cxx_try_compile "$LINENO"; then :
44907 glibcxx_cv_func_isnanl_use=yes
44908 else
44909 glibcxx_cv_func_isnanl_use=no
44910 fi
44911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44912 ac_ext=c
44913 ac_cpp='$CPP $CPPFLAGS'
44914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44917
44918
44919 fi
44920
44921 fi
44922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44923 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44924
44925 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44926 for ac_func in isnanl
44927 do :
44928 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44929 if test "x$ac_cv_func_isnanl" = x""yes; then :
44930 cat >>confdefs.h <<_ACEOF
44931 #define HAVE_ISNANL 1
44932 _ACEOF
44933
44934 fi
44935 done
44936
44937 else
44938
44939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44940 $as_echo_n "checking for _isnanl declaration... " >&6; }
44941 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44942 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44943 $as_echo_n "(cached) " >&6
44944 else
44945
44946
44947 ac_ext=cpp
44948 ac_cpp='$CXXCPP $CPPFLAGS'
44949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44952
44953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44954 /* end confdefs.h. */
44955 #include <math.h>
44956 #ifdef HAVE_IEEEFP_H
44957 #include <ieeefp.h>
44958 #endif
44959
44960 int
44961 main ()
44962 {
44963 _isnanl(0);
44964 ;
44965 return 0;
44966 }
44967 _ACEOF
44968 if ac_fn_cxx_try_compile "$LINENO"; then :
44969 glibcxx_cv_func__isnanl_use=yes
44970 else
44971 glibcxx_cv_func__isnanl_use=no
44972 fi
44973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44974 ac_ext=c
44975 ac_cpp='$CPP $CPPFLAGS'
44976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44979
44980
44981 fi
44982
44983 fi
44984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44985 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44986
44987 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44988 for ac_func in _isnanl
44989 do :
44990 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44991 if test "x$ac_cv_func__isnanl" = x""yes; then :
44992 cat >>confdefs.h <<_ACEOF
44993 #define HAVE__ISNANL 1
44994 _ACEOF
44995
44996 fi
44997 done
44998
44999 fi
45000 fi
45001
45002
45003
45004
45005
45006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45007 $as_echo_n "checking for isinfl declaration... " >&6; }
45008 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45009 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
45010 $as_echo_n "(cached) " >&6
45011 else
45012
45013
45014 ac_ext=cpp
45015 ac_cpp='$CXXCPP $CPPFLAGS'
45016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45019
45020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45021 /* end confdefs.h. */
45022 #include <math.h>
45023 #ifdef HAVE_IEEEFP_H
45024 #include <ieeefp.h>
45025 #endif
45026
45027 int
45028 main ()
45029 {
45030 isinfl(0);
45031 ;
45032 return 0;
45033 }
45034 _ACEOF
45035 if ac_fn_cxx_try_compile "$LINENO"; then :
45036 glibcxx_cv_func_isinfl_use=yes
45037 else
45038 glibcxx_cv_func_isinfl_use=no
45039 fi
45040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45041 ac_ext=c
45042 ac_cpp='$CPP $CPPFLAGS'
45043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45046
45047
45048 fi
45049
45050 fi
45051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45052 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45053
45054 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45055 for ac_func in isinfl
45056 do :
45057 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45058 if test "x$ac_cv_func_isinfl" = x""yes; then :
45059 cat >>confdefs.h <<_ACEOF
45060 #define HAVE_ISINFL 1
45061 _ACEOF
45062
45063 fi
45064 done
45065
45066 else
45067
45068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45069 $as_echo_n "checking for _isinfl declaration... " >&6; }
45070 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45071 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45072 $as_echo_n "(cached) " >&6
45073 else
45074
45075
45076 ac_ext=cpp
45077 ac_cpp='$CXXCPP $CPPFLAGS'
45078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45081
45082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45083 /* end confdefs.h. */
45084 #include <math.h>
45085 #ifdef HAVE_IEEEFP_H
45086 #include <ieeefp.h>
45087 #endif
45088
45089 int
45090 main ()
45091 {
45092 _isinfl(0);
45093 ;
45094 return 0;
45095 }
45096 _ACEOF
45097 if ac_fn_cxx_try_compile "$LINENO"; then :
45098 glibcxx_cv_func__isinfl_use=yes
45099 else
45100 glibcxx_cv_func__isinfl_use=no
45101 fi
45102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45103 ac_ext=c
45104 ac_cpp='$CPP $CPPFLAGS'
45105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45108
45109
45110 fi
45111
45112 fi
45113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45114 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45115
45116 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45117 for ac_func in _isinfl
45118 do :
45119 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45120 if test "x$ac_cv_func__isinfl" = x""yes; then :
45121 cat >>confdefs.h <<_ACEOF
45122 #define HAVE__ISINFL 1
45123 _ACEOF
45124
45125 fi
45126 done
45127
45128 fi
45129 fi
45130
45131
45132
45133
45134
45135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45136 $as_echo_n "checking for atan2l declaration... " >&6; }
45137 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45138 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45139 $as_echo_n "(cached) " >&6
45140 else
45141
45142
45143 ac_ext=cpp
45144 ac_cpp='$CXXCPP $CPPFLAGS'
45145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45148
45149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45150 /* end confdefs.h. */
45151 #include <math.h>
45152 int
45153 main ()
45154 {
45155 atan2l(0, 0);
45156 ;
45157 return 0;
45158 }
45159 _ACEOF
45160 if ac_fn_cxx_try_compile "$LINENO"; then :
45161 glibcxx_cv_func_atan2l_use=yes
45162 else
45163 glibcxx_cv_func_atan2l_use=no
45164 fi
45165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45166 ac_ext=c
45167 ac_cpp='$CPP $CPPFLAGS'
45168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45171
45172
45173 fi
45174
45175 fi
45176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45177 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45178
45179 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45180 for ac_func in atan2l
45181 do :
45182 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45183 if test "x$ac_cv_func_atan2l" = x""yes; then :
45184 cat >>confdefs.h <<_ACEOF
45185 #define HAVE_ATAN2L 1
45186 _ACEOF
45187
45188 fi
45189 done
45190
45191 else
45192
45193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45194 $as_echo_n "checking for _atan2l declaration... " >&6; }
45195 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45196 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45197 $as_echo_n "(cached) " >&6
45198 else
45199
45200
45201 ac_ext=cpp
45202 ac_cpp='$CXXCPP $CPPFLAGS'
45203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45206
45207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45208 /* end confdefs.h. */
45209 #include <math.h>
45210 int
45211 main ()
45212 {
45213 _atan2l(0, 0);
45214 ;
45215 return 0;
45216 }
45217 _ACEOF
45218 if ac_fn_cxx_try_compile "$LINENO"; then :
45219 glibcxx_cv_func__atan2l_use=yes
45220 else
45221 glibcxx_cv_func__atan2l_use=no
45222 fi
45223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45224 ac_ext=c
45225 ac_cpp='$CPP $CPPFLAGS'
45226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45229
45230
45231 fi
45232
45233 fi
45234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45235 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45236
45237 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45238 for ac_func in _atan2l
45239 do :
45240 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45241 if test "x$ac_cv_func__atan2l" = x""yes; then :
45242 cat >>confdefs.h <<_ACEOF
45243 #define HAVE__ATAN2L 1
45244 _ACEOF
45245
45246 fi
45247 done
45248
45249 fi
45250 fi
45251
45252
45253
45254
45255
45256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45257 $as_echo_n "checking for expl declaration... " >&6; }
45258 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45259 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45260 $as_echo_n "(cached) " >&6
45261 else
45262
45263
45264 ac_ext=cpp
45265 ac_cpp='$CXXCPP $CPPFLAGS'
45266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45269
45270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45271 /* end confdefs.h. */
45272 #include <math.h>
45273 #ifdef HAVE_IEEEFP_H
45274 #include <ieeefp.h>
45275 #endif
45276
45277 int
45278 main ()
45279 {
45280 expl(0);
45281 ;
45282 return 0;
45283 }
45284 _ACEOF
45285 if ac_fn_cxx_try_compile "$LINENO"; then :
45286 glibcxx_cv_func_expl_use=yes
45287 else
45288 glibcxx_cv_func_expl_use=no
45289 fi
45290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45291 ac_ext=c
45292 ac_cpp='$CPP $CPPFLAGS'
45293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45296
45297
45298 fi
45299
45300 fi
45301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45302 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45303
45304 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45305 for ac_func in expl
45306 do :
45307 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45308 if test "x$ac_cv_func_expl" = x""yes; then :
45309 cat >>confdefs.h <<_ACEOF
45310 #define HAVE_EXPL 1
45311 _ACEOF
45312
45313 fi
45314 done
45315
45316 else
45317
45318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45319 $as_echo_n "checking for _expl declaration... " >&6; }
45320 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45321 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45322 $as_echo_n "(cached) " >&6
45323 else
45324
45325
45326 ac_ext=cpp
45327 ac_cpp='$CXXCPP $CPPFLAGS'
45328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45331
45332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45333 /* end confdefs.h. */
45334 #include <math.h>
45335 #ifdef HAVE_IEEEFP_H
45336 #include <ieeefp.h>
45337 #endif
45338
45339 int
45340 main ()
45341 {
45342 _expl(0);
45343 ;
45344 return 0;
45345 }
45346 _ACEOF
45347 if ac_fn_cxx_try_compile "$LINENO"; then :
45348 glibcxx_cv_func__expl_use=yes
45349 else
45350 glibcxx_cv_func__expl_use=no
45351 fi
45352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45353 ac_ext=c
45354 ac_cpp='$CPP $CPPFLAGS'
45355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45358
45359
45360 fi
45361
45362 fi
45363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45364 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45365
45366 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45367 for ac_func in _expl
45368 do :
45369 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45370 if test "x$ac_cv_func__expl" = x""yes; then :
45371 cat >>confdefs.h <<_ACEOF
45372 #define HAVE__EXPL 1
45373 _ACEOF
45374
45375 fi
45376 done
45377
45378 fi
45379 fi
45380
45381
45382
45383
45384
45385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45386 $as_echo_n "checking for fabsl declaration... " >&6; }
45387 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45388 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45389 $as_echo_n "(cached) " >&6
45390 else
45391
45392
45393 ac_ext=cpp
45394 ac_cpp='$CXXCPP $CPPFLAGS'
45395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45398
45399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45400 /* end confdefs.h. */
45401 #include <math.h>
45402 #ifdef HAVE_IEEEFP_H
45403 #include <ieeefp.h>
45404 #endif
45405
45406 int
45407 main ()
45408 {
45409 fabsl(0);
45410 ;
45411 return 0;
45412 }
45413 _ACEOF
45414 if ac_fn_cxx_try_compile "$LINENO"; then :
45415 glibcxx_cv_func_fabsl_use=yes
45416 else
45417 glibcxx_cv_func_fabsl_use=no
45418 fi
45419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45420 ac_ext=c
45421 ac_cpp='$CPP $CPPFLAGS'
45422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45425
45426
45427 fi
45428
45429 fi
45430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45431 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45432
45433 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45434 for ac_func in fabsl
45435 do :
45436 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45437 if test "x$ac_cv_func_fabsl" = x""yes; then :
45438 cat >>confdefs.h <<_ACEOF
45439 #define HAVE_FABSL 1
45440 _ACEOF
45441
45442 fi
45443 done
45444
45445 else
45446
45447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45448 $as_echo_n "checking for _fabsl declaration... " >&6; }
45449 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45450 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45451 $as_echo_n "(cached) " >&6
45452 else
45453
45454
45455 ac_ext=cpp
45456 ac_cpp='$CXXCPP $CPPFLAGS'
45457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45460
45461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45462 /* end confdefs.h. */
45463 #include <math.h>
45464 #ifdef HAVE_IEEEFP_H
45465 #include <ieeefp.h>
45466 #endif
45467
45468 int
45469 main ()
45470 {
45471 _fabsl(0);
45472 ;
45473 return 0;
45474 }
45475 _ACEOF
45476 if ac_fn_cxx_try_compile "$LINENO"; then :
45477 glibcxx_cv_func__fabsl_use=yes
45478 else
45479 glibcxx_cv_func__fabsl_use=no
45480 fi
45481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45482 ac_ext=c
45483 ac_cpp='$CPP $CPPFLAGS'
45484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45487
45488
45489 fi
45490
45491 fi
45492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45493 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45494
45495 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45496 for ac_func in _fabsl
45497 do :
45498 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45499 if test "x$ac_cv_func__fabsl" = x""yes; then :
45500 cat >>confdefs.h <<_ACEOF
45501 #define HAVE__FABSL 1
45502 _ACEOF
45503
45504 fi
45505 done
45506
45507 fi
45508 fi
45509
45510
45511
45512
45513
45514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45515 $as_echo_n "checking for fmodl declaration... " >&6; }
45516 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45517 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45518 $as_echo_n "(cached) " >&6
45519 else
45520
45521
45522 ac_ext=cpp
45523 ac_cpp='$CXXCPP $CPPFLAGS'
45524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45527
45528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45529 /* end confdefs.h. */
45530 #include <math.h>
45531 int
45532 main ()
45533 {
45534 fmodl(0, 0);
45535 ;
45536 return 0;
45537 }
45538 _ACEOF
45539 if ac_fn_cxx_try_compile "$LINENO"; then :
45540 glibcxx_cv_func_fmodl_use=yes
45541 else
45542 glibcxx_cv_func_fmodl_use=no
45543 fi
45544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45545 ac_ext=c
45546 ac_cpp='$CPP $CPPFLAGS'
45547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45550
45551
45552 fi
45553
45554 fi
45555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45556 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45557
45558 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45559 for ac_func in fmodl
45560 do :
45561 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45562 if test "x$ac_cv_func_fmodl" = x""yes; then :
45563 cat >>confdefs.h <<_ACEOF
45564 #define HAVE_FMODL 1
45565 _ACEOF
45566
45567 fi
45568 done
45569
45570 else
45571
45572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45573 $as_echo_n "checking for _fmodl declaration... " >&6; }
45574 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45575 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45576 $as_echo_n "(cached) " >&6
45577 else
45578
45579
45580 ac_ext=cpp
45581 ac_cpp='$CXXCPP $CPPFLAGS'
45582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45585
45586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45587 /* end confdefs.h. */
45588 #include <math.h>
45589 int
45590 main ()
45591 {
45592 _fmodl(0, 0);
45593 ;
45594 return 0;
45595 }
45596 _ACEOF
45597 if ac_fn_cxx_try_compile "$LINENO"; then :
45598 glibcxx_cv_func__fmodl_use=yes
45599 else
45600 glibcxx_cv_func__fmodl_use=no
45601 fi
45602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45603 ac_ext=c
45604 ac_cpp='$CPP $CPPFLAGS'
45605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45608
45609
45610 fi
45611
45612 fi
45613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45614 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45615
45616 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45617 for ac_func in _fmodl
45618 do :
45619 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45620 if test "x$ac_cv_func__fmodl" = x""yes; then :
45621 cat >>confdefs.h <<_ACEOF
45622 #define HAVE__FMODL 1
45623 _ACEOF
45624
45625 fi
45626 done
45627
45628 fi
45629 fi
45630
45631
45632
45633
45634
45635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45636 $as_echo_n "checking for frexpl declaration... " >&6; }
45637 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45638 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45639 $as_echo_n "(cached) " >&6
45640 else
45641
45642
45643 ac_ext=cpp
45644 ac_cpp='$CXXCPP $CPPFLAGS'
45645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45648
45649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45650 /* end confdefs.h. */
45651 #include <math.h>
45652 int
45653 main ()
45654 {
45655 frexpl(0, 0);
45656 ;
45657 return 0;
45658 }
45659 _ACEOF
45660 if ac_fn_cxx_try_compile "$LINENO"; then :
45661 glibcxx_cv_func_frexpl_use=yes
45662 else
45663 glibcxx_cv_func_frexpl_use=no
45664 fi
45665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45666 ac_ext=c
45667 ac_cpp='$CPP $CPPFLAGS'
45668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45671
45672
45673 fi
45674
45675 fi
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45677 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45678
45679 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45680 for ac_func in frexpl
45681 do :
45682 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45683 if test "x$ac_cv_func_frexpl" = x""yes; then :
45684 cat >>confdefs.h <<_ACEOF
45685 #define HAVE_FREXPL 1
45686 _ACEOF
45687
45688 fi
45689 done
45690
45691 else
45692
45693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45694 $as_echo_n "checking for _frexpl declaration... " >&6; }
45695 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45696 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45697 $as_echo_n "(cached) " >&6
45698 else
45699
45700
45701 ac_ext=cpp
45702 ac_cpp='$CXXCPP $CPPFLAGS'
45703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45706
45707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45708 /* end confdefs.h. */
45709 #include <math.h>
45710 int
45711 main ()
45712 {
45713 _frexpl(0, 0);
45714 ;
45715 return 0;
45716 }
45717 _ACEOF
45718 if ac_fn_cxx_try_compile "$LINENO"; then :
45719 glibcxx_cv_func__frexpl_use=yes
45720 else
45721 glibcxx_cv_func__frexpl_use=no
45722 fi
45723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45724 ac_ext=c
45725 ac_cpp='$CPP $CPPFLAGS'
45726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45729
45730
45731 fi
45732
45733 fi
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45735 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45736
45737 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45738 for ac_func in _frexpl
45739 do :
45740 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45741 if test "x$ac_cv_func__frexpl" = x""yes; then :
45742 cat >>confdefs.h <<_ACEOF
45743 #define HAVE__FREXPL 1
45744 _ACEOF
45745
45746 fi
45747 done
45748
45749 fi
45750 fi
45751
45752
45753
45754
45755
45756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45757 $as_echo_n "checking for hypotl declaration... " >&6; }
45758 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45759 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45760 $as_echo_n "(cached) " >&6
45761 else
45762
45763
45764 ac_ext=cpp
45765 ac_cpp='$CXXCPP $CPPFLAGS'
45766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45769
45770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45771 /* end confdefs.h. */
45772 #include <math.h>
45773 int
45774 main ()
45775 {
45776 hypotl(0, 0);
45777 ;
45778 return 0;
45779 }
45780 _ACEOF
45781 if ac_fn_cxx_try_compile "$LINENO"; then :
45782 glibcxx_cv_func_hypotl_use=yes
45783 else
45784 glibcxx_cv_func_hypotl_use=no
45785 fi
45786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45787 ac_ext=c
45788 ac_cpp='$CPP $CPPFLAGS'
45789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45792
45793
45794 fi
45795
45796 fi
45797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45798 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45799
45800 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45801 for ac_func in hypotl
45802 do :
45803 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45804 if test "x$ac_cv_func_hypotl" = x""yes; then :
45805 cat >>confdefs.h <<_ACEOF
45806 #define HAVE_HYPOTL 1
45807 _ACEOF
45808
45809 fi
45810 done
45811
45812 else
45813
45814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45815 $as_echo_n "checking for _hypotl declaration... " >&6; }
45816 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45817 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45818 $as_echo_n "(cached) " >&6
45819 else
45820
45821
45822 ac_ext=cpp
45823 ac_cpp='$CXXCPP $CPPFLAGS'
45824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45827
45828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45829 /* end confdefs.h. */
45830 #include <math.h>
45831 int
45832 main ()
45833 {
45834 _hypotl(0, 0);
45835 ;
45836 return 0;
45837 }
45838 _ACEOF
45839 if ac_fn_cxx_try_compile "$LINENO"; then :
45840 glibcxx_cv_func__hypotl_use=yes
45841 else
45842 glibcxx_cv_func__hypotl_use=no
45843 fi
45844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45845 ac_ext=c
45846 ac_cpp='$CPP $CPPFLAGS'
45847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45850
45851
45852 fi
45853
45854 fi
45855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45856 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45857
45858 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45859 for ac_func in _hypotl
45860 do :
45861 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45862 if test "x$ac_cv_func__hypotl" = x""yes; then :
45863 cat >>confdefs.h <<_ACEOF
45864 #define HAVE__HYPOTL 1
45865 _ACEOF
45866
45867 fi
45868 done
45869
45870 fi
45871 fi
45872
45873
45874
45875
45876
45877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45878 $as_echo_n "checking for ldexpl declaration... " >&6; }
45879 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45880 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45881 $as_echo_n "(cached) " >&6
45882 else
45883
45884
45885 ac_ext=cpp
45886 ac_cpp='$CXXCPP $CPPFLAGS'
45887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45890
45891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45892 /* end confdefs.h. */
45893 #include <math.h>
45894 int
45895 main ()
45896 {
45897 ldexpl(0, 0);
45898 ;
45899 return 0;
45900 }
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903 glibcxx_cv_func_ldexpl_use=yes
45904 else
45905 glibcxx_cv_func_ldexpl_use=no
45906 fi
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908 ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45913
45914
45915 fi
45916
45917 fi
45918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45919 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45920
45921 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45922 for ac_func in ldexpl
45923 do :
45924 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45925 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45926 cat >>confdefs.h <<_ACEOF
45927 #define HAVE_LDEXPL 1
45928 _ACEOF
45929
45930 fi
45931 done
45932
45933 else
45934
45935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45936 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45937 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45938 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45939 $as_echo_n "(cached) " >&6
45940 else
45941
45942
45943 ac_ext=cpp
45944 ac_cpp='$CXXCPP $CPPFLAGS'
45945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45948
45949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45950 /* end confdefs.h. */
45951 #include <math.h>
45952 int
45953 main ()
45954 {
45955 _ldexpl(0, 0);
45956 ;
45957 return 0;
45958 }
45959 _ACEOF
45960 if ac_fn_cxx_try_compile "$LINENO"; then :
45961 glibcxx_cv_func__ldexpl_use=yes
45962 else
45963 glibcxx_cv_func__ldexpl_use=no
45964 fi
45965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45966 ac_ext=c
45967 ac_cpp='$CPP $CPPFLAGS'
45968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45971
45972
45973 fi
45974
45975 fi
45976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45977 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45978
45979 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45980 for ac_func in _ldexpl
45981 do :
45982 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45983 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45984 cat >>confdefs.h <<_ACEOF
45985 #define HAVE__LDEXPL 1
45986 _ACEOF
45987
45988 fi
45989 done
45990
45991 fi
45992 fi
45993
45994
45995
45996
45997
45998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45999 $as_echo_n "checking for logl declaration... " >&6; }
46000 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46001 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
46002 $as_echo_n "(cached) " >&6
46003 else
46004
46005
46006 ac_ext=cpp
46007 ac_cpp='$CXXCPP $CPPFLAGS'
46008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46011
46012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46013 /* end confdefs.h. */
46014 #include <math.h>
46015 #ifdef HAVE_IEEEFP_H
46016 #include <ieeefp.h>
46017 #endif
46018
46019 int
46020 main ()
46021 {
46022 logl(0);
46023 ;
46024 return 0;
46025 }
46026 _ACEOF
46027 if ac_fn_cxx_try_compile "$LINENO"; then :
46028 glibcxx_cv_func_logl_use=yes
46029 else
46030 glibcxx_cv_func_logl_use=no
46031 fi
46032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46033 ac_ext=c
46034 ac_cpp='$CPP $CPPFLAGS'
46035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46038
46039
46040 fi
46041
46042 fi
46043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46044 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46045
46046 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46047 for ac_func in logl
46048 do :
46049 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46050 if test "x$ac_cv_func_logl" = x""yes; then :
46051 cat >>confdefs.h <<_ACEOF
46052 #define HAVE_LOGL 1
46053 _ACEOF
46054
46055 fi
46056 done
46057
46058 else
46059
46060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46061 $as_echo_n "checking for _logl declaration... " >&6; }
46062 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46063 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46064 $as_echo_n "(cached) " >&6
46065 else
46066
46067
46068 ac_ext=cpp
46069 ac_cpp='$CXXCPP $CPPFLAGS'
46070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46073
46074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46075 /* end confdefs.h. */
46076 #include <math.h>
46077 #ifdef HAVE_IEEEFP_H
46078 #include <ieeefp.h>
46079 #endif
46080
46081 int
46082 main ()
46083 {
46084 _logl(0);
46085 ;
46086 return 0;
46087 }
46088 _ACEOF
46089 if ac_fn_cxx_try_compile "$LINENO"; then :
46090 glibcxx_cv_func__logl_use=yes
46091 else
46092 glibcxx_cv_func__logl_use=no
46093 fi
46094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46095 ac_ext=c
46096 ac_cpp='$CPP $CPPFLAGS'
46097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46100
46101
46102 fi
46103
46104 fi
46105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46106 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46107
46108 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46109 for ac_func in _logl
46110 do :
46111 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46112 if test "x$ac_cv_func__logl" = x""yes; then :
46113 cat >>confdefs.h <<_ACEOF
46114 #define HAVE__LOGL 1
46115 _ACEOF
46116
46117 fi
46118 done
46119
46120 fi
46121 fi
46122
46123
46124
46125
46126
46127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46128 $as_echo_n "checking for log10l declaration... " >&6; }
46129 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46130 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46131 $as_echo_n "(cached) " >&6
46132 else
46133
46134
46135 ac_ext=cpp
46136 ac_cpp='$CXXCPP $CPPFLAGS'
46137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46140
46141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46142 /* end confdefs.h. */
46143 #include <math.h>
46144 #ifdef HAVE_IEEEFP_H
46145 #include <ieeefp.h>
46146 #endif
46147
46148 int
46149 main ()
46150 {
46151 log10l(0);
46152 ;
46153 return 0;
46154 }
46155 _ACEOF
46156 if ac_fn_cxx_try_compile "$LINENO"; then :
46157 glibcxx_cv_func_log10l_use=yes
46158 else
46159 glibcxx_cv_func_log10l_use=no
46160 fi
46161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46162 ac_ext=c
46163 ac_cpp='$CPP $CPPFLAGS'
46164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46167
46168
46169 fi
46170
46171 fi
46172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46173 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46174
46175 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46176 for ac_func in log10l
46177 do :
46178 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46179 if test "x$ac_cv_func_log10l" = x""yes; then :
46180 cat >>confdefs.h <<_ACEOF
46181 #define HAVE_LOG10L 1
46182 _ACEOF
46183
46184 fi
46185 done
46186
46187 else
46188
46189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46190 $as_echo_n "checking for _log10l declaration... " >&6; }
46191 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46192 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46193 $as_echo_n "(cached) " >&6
46194 else
46195
46196
46197 ac_ext=cpp
46198 ac_cpp='$CXXCPP $CPPFLAGS'
46199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46202
46203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46204 /* end confdefs.h. */
46205 #include <math.h>
46206 #ifdef HAVE_IEEEFP_H
46207 #include <ieeefp.h>
46208 #endif
46209
46210 int
46211 main ()
46212 {
46213 _log10l(0);
46214 ;
46215 return 0;
46216 }
46217 _ACEOF
46218 if ac_fn_cxx_try_compile "$LINENO"; then :
46219 glibcxx_cv_func__log10l_use=yes
46220 else
46221 glibcxx_cv_func__log10l_use=no
46222 fi
46223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46224 ac_ext=c
46225 ac_cpp='$CPP $CPPFLAGS'
46226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46229
46230
46231 fi
46232
46233 fi
46234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46235 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46236
46237 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46238 for ac_func in _log10l
46239 do :
46240 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46241 if test "x$ac_cv_func__log10l" = x""yes; then :
46242 cat >>confdefs.h <<_ACEOF
46243 #define HAVE__LOG10L 1
46244 _ACEOF
46245
46246 fi
46247 done
46248
46249 fi
46250 fi
46251
46252
46253
46254
46255
46256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46257 $as_echo_n "checking for modfl declaration... " >&6; }
46258 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46259 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46260 $as_echo_n "(cached) " >&6
46261 else
46262
46263
46264 ac_ext=cpp
46265 ac_cpp='$CXXCPP $CPPFLAGS'
46266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46269
46270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46271 /* end confdefs.h. */
46272 #include <math.h>
46273 int
46274 main ()
46275 {
46276 modfl(0, 0);
46277 ;
46278 return 0;
46279 }
46280 _ACEOF
46281 if ac_fn_cxx_try_compile "$LINENO"; then :
46282 glibcxx_cv_func_modfl_use=yes
46283 else
46284 glibcxx_cv_func_modfl_use=no
46285 fi
46286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46287 ac_ext=c
46288 ac_cpp='$CPP $CPPFLAGS'
46289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46292
46293
46294 fi
46295
46296 fi
46297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46298 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46299
46300 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46301 for ac_func in modfl
46302 do :
46303 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46304 if test "x$ac_cv_func_modfl" = x""yes; then :
46305 cat >>confdefs.h <<_ACEOF
46306 #define HAVE_MODFL 1
46307 _ACEOF
46308
46309 fi
46310 done
46311
46312 else
46313
46314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46315 $as_echo_n "checking for _modfl declaration... " >&6; }
46316 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46317 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46318 $as_echo_n "(cached) " >&6
46319 else
46320
46321
46322 ac_ext=cpp
46323 ac_cpp='$CXXCPP $CPPFLAGS'
46324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46327
46328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46329 /* end confdefs.h. */
46330 #include <math.h>
46331 int
46332 main ()
46333 {
46334 _modfl(0, 0);
46335 ;
46336 return 0;
46337 }
46338 _ACEOF
46339 if ac_fn_cxx_try_compile "$LINENO"; then :
46340 glibcxx_cv_func__modfl_use=yes
46341 else
46342 glibcxx_cv_func__modfl_use=no
46343 fi
46344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46345 ac_ext=c
46346 ac_cpp='$CPP $CPPFLAGS'
46347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46350
46351
46352 fi
46353
46354 fi
46355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46356 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46357
46358 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46359 for ac_func in _modfl
46360 do :
46361 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46362 if test "x$ac_cv_func__modfl" = x""yes; then :
46363 cat >>confdefs.h <<_ACEOF
46364 #define HAVE__MODFL 1
46365 _ACEOF
46366
46367 fi
46368 done
46369
46370 fi
46371 fi
46372
46373
46374
46375
46376
46377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46378 $as_echo_n "checking for powl declaration... " >&6; }
46379 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46380 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46381 $as_echo_n "(cached) " >&6
46382 else
46383
46384
46385 ac_ext=cpp
46386 ac_cpp='$CXXCPP $CPPFLAGS'
46387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46390
46391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46392 /* end confdefs.h. */
46393 #include <math.h>
46394 int
46395 main ()
46396 {
46397 powl(0, 0);
46398 ;
46399 return 0;
46400 }
46401 _ACEOF
46402 if ac_fn_cxx_try_compile "$LINENO"; then :
46403 glibcxx_cv_func_powl_use=yes
46404 else
46405 glibcxx_cv_func_powl_use=no
46406 fi
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46413
46414
46415 fi
46416
46417 fi
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46419 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46420
46421 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46422 for ac_func in powl
46423 do :
46424 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46425 if test "x$ac_cv_func_powl" = x""yes; then :
46426 cat >>confdefs.h <<_ACEOF
46427 #define HAVE_POWL 1
46428 _ACEOF
46429
46430 fi
46431 done
46432
46433 else
46434
46435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46436 $as_echo_n "checking for _powl declaration... " >&6; }
46437 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46438 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46439 $as_echo_n "(cached) " >&6
46440 else
46441
46442
46443 ac_ext=cpp
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46448
46449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46450 /* end confdefs.h. */
46451 #include <math.h>
46452 int
46453 main ()
46454 {
46455 _powl(0, 0);
46456 ;
46457 return 0;
46458 }
46459 _ACEOF
46460 if ac_fn_cxx_try_compile "$LINENO"; then :
46461 glibcxx_cv_func__powl_use=yes
46462 else
46463 glibcxx_cv_func__powl_use=no
46464 fi
46465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46466 ac_ext=c
46467 ac_cpp='$CPP $CPPFLAGS'
46468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46471
46472
46473 fi
46474
46475 fi
46476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46477 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46478
46479 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46480 for ac_func in _powl
46481 do :
46482 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46483 if test "x$ac_cv_func__powl" = x""yes; then :
46484 cat >>confdefs.h <<_ACEOF
46485 #define HAVE__POWL 1
46486 _ACEOF
46487
46488 fi
46489 done
46490
46491 fi
46492 fi
46493
46494
46495
46496
46497
46498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46499 $as_echo_n "checking for sqrtl declaration... " >&6; }
46500 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46501 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46502 $as_echo_n "(cached) " >&6
46503 else
46504
46505
46506 ac_ext=cpp
46507 ac_cpp='$CXXCPP $CPPFLAGS'
46508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46511
46512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46513 /* end confdefs.h. */
46514 #include <math.h>
46515 #ifdef HAVE_IEEEFP_H
46516 #include <ieeefp.h>
46517 #endif
46518
46519 int
46520 main ()
46521 {
46522 sqrtl(0);
46523 ;
46524 return 0;
46525 }
46526 _ACEOF
46527 if ac_fn_cxx_try_compile "$LINENO"; then :
46528 glibcxx_cv_func_sqrtl_use=yes
46529 else
46530 glibcxx_cv_func_sqrtl_use=no
46531 fi
46532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46533 ac_ext=c
46534 ac_cpp='$CPP $CPPFLAGS'
46535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46538
46539
46540 fi
46541
46542 fi
46543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46544 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46545
46546 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46547 for ac_func in sqrtl
46548 do :
46549 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46550 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46551 cat >>confdefs.h <<_ACEOF
46552 #define HAVE_SQRTL 1
46553 _ACEOF
46554
46555 fi
46556 done
46557
46558 else
46559
46560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46561 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46562 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46563 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46564 $as_echo_n "(cached) " >&6
46565 else
46566
46567
46568 ac_ext=cpp
46569 ac_cpp='$CXXCPP $CPPFLAGS'
46570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46573
46574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46575 /* end confdefs.h. */
46576 #include <math.h>
46577 #ifdef HAVE_IEEEFP_H
46578 #include <ieeefp.h>
46579 #endif
46580
46581 int
46582 main ()
46583 {
46584 _sqrtl(0);
46585 ;
46586 return 0;
46587 }
46588 _ACEOF
46589 if ac_fn_cxx_try_compile "$LINENO"; then :
46590 glibcxx_cv_func__sqrtl_use=yes
46591 else
46592 glibcxx_cv_func__sqrtl_use=no
46593 fi
46594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46595 ac_ext=c
46596 ac_cpp='$CPP $CPPFLAGS'
46597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46600
46601
46602 fi
46603
46604 fi
46605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46606 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46607
46608 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46609 for ac_func in _sqrtl
46610 do :
46611 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46612 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46613 cat >>confdefs.h <<_ACEOF
46614 #define HAVE__SQRTL 1
46615 _ACEOF
46616
46617 fi
46618 done
46619
46620 fi
46621 fi
46622
46623
46624
46625
46626
46627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46628 $as_echo_n "checking for sincosl declaration... " >&6; }
46629 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46630 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46631 $as_echo_n "(cached) " >&6
46632 else
46633
46634
46635 ac_ext=cpp
46636 ac_cpp='$CXXCPP $CPPFLAGS'
46637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46640
46641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46642 /* end confdefs.h. */
46643 #include <math.h>
46644 int
46645 main ()
46646 {
46647 sincosl(0, 0, 0);
46648 ;
46649 return 0;
46650 }
46651 _ACEOF
46652 if ac_fn_cxx_try_compile "$LINENO"; then :
46653 glibcxx_cv_func_sincosl_use=yes
46654 else
46655 glibcxx_cv_func_sincosl_use=no
46656 fi
46657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46658 ac_ext=c
46659 ac_cpp='$CPP $CPPFLAGS'
46660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46663
46664
46665 fi
46666
46667 fi
46668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46669 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46670
46671 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46672 for ac_func in sincosl
46673 do :
46674 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46675 if test "x$ac_cv_func_sincosl" = x""yes; then :
46676 cat >>confdefs.h <<_ACEOF
46677 #define HAVE_SINCOSL 1
46678 _ACEOF
46679
46680 fi
46681 done
46682
46683 else
46684
46685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46686 $as_echo_n "checking for _sincosl declaration... " >&6; }
46687 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46688 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46689 $as_echo_n "(cached) " >&6
46690 else
46691
46692
46693 ac_ext=cpp
46694 ac_cpp='$CXXCPP $CPPFLAGS'
46695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46698
46699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46700 /* end confdefs.h. */
46701 #include <math.h>
46702 int
46703 main ()
46704 {
46705 _sincosl(0, 0, 0);
46706 ;
46707 return 0;
46708 }
46709 _ACEOF
46710 if ac_fn_cxx_try_compile "$LINENO"; then :
46711 glibcxx_cv_func__sincosl_use=yes
46712 else
46713 glibcxx_cv_func__sincosl_use=no
46714 fi
46715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46716 ac_ext=c
46717 ac_cpp='$CPP $CPPFLAGS'
46718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46721
46722
46723 fi
46724
46725 fi
46726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46727 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46728
46729 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46730 for ac_func in _sincosl
46731 do :
46732 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46733 if test "x$ac_cv_func__sincosl" = x""yes; then :
46734 cat >>confdefs.h <<_ACEOF
46735 #define HAVE__SINCOSL 1
46736 _ACEOF
46737
46738 fi
46739 done
46740
46741 fi
46742 fi
46743
46744
46745
46746
46747
46748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46749 $as_echo_n "checking for finitel declaration... " >&6; }
46750 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46751 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46752 $as_echo_n "(cached) " >&6
46753 else
46754
46755
46756 ac_ext=cpp
46757 ac_cpp='$CXXCPP $CPPFLAGS'
46758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46761
46762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46763 /* end confdefs.h. */
46764 #include <math.h>
46765 #ifdef HAVE_IEEEFP_H
46766 #include <ieeefp.h>
46767 #endif
46768
46769 int
46770 main ()
46771 {
46772 finitel(0);
46773 ;
46774 return 0;
46775 }
46776 _ACEOF
46777 if ac_fn_cxx_try_compile "$LINENO"; then :
46778 glibcxx_cv_func_finitel_use=yes
46779 else
46780 glibcxx_cv_func_finitel_use=no
46781 fi
46782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46783 ac_ext=c
46784 ac_cpp='$CPP $CPPFLAGS'
46785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46788
46789
46790 fi
46791
46792 fi
46793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46794 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46795
46796 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46797 for ac_func in finitel
46798 do :
46799 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46800 if test "x$ac_cv_func_finitel" = x""yes; then :
46801 cat >>confdefs.h <<_ACEOF
46802 #define HAVE_FINITEL 1
46803 _ACEOF
46804
46805 fi
46806 done
46807
46808 else
46809
46810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46811 $as_echo_n "checking for _finitel declaration... " >&6; }
46812 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46813 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46814 $as_echo_n "(cached) " >&6
46815 else
46816
46817
46818 ac_ext=cpp
46819 ac_cpp='$CXXCPP $CPPFLAGS'
46820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46823
46824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46825 /* end confdefs.h. */
46826 #include <math.h>
46827 #ifdef HAVE_IEEEFP_H
46828 #include <ieeefp.h>
46829 #endif
46830
46831 int
46832 main ()
46833 {
46834 _finitel(0);
46835 ;
46836 return 0;
46837 }
46838 _ACEOF
46839 if ac_fn_cxx_try_compile "$LINENO"; then :
46840 glibcxx_cv_func__finitel_use=yes
46841 else
46842 glibcxx_cv_func__finitel_use=no
46843 fi
46844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46845 ac_ext=c
46846 ac_cpp='$CPP $CPPFLAGS'
46847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46850
46851
46852 fi
46853
46854 fi
46855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46856 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46857
46858 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46859 for ac_func in _finitel
46860 do :
46861 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46862 if test "x$ac_cv_func__finitel" = x""yes; then :
46863 cat >>confdefs.h <<_ACEOF
46864 #define HAVE__FINITEL 1
46865 _ACEOF
46866
46867 fi
46868 done
46869
46870 fi
46871 fi
46872
46873
46874
46875
46876 LIBS="$ac_save_LIBS"
46877 CXXFLAGS="$ac_save_CXXFLAGS"
46878
46879
46880 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46881 ac_save_CXXFLAGS="$CXXFLAGS"
46882 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46883
46884
46885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46886 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46887 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46888 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46889 $as_echo_n "(cached) " >&6
46890 else
46891
46892
46893 ac_ext=cpp
46894 ac_cpp='$CXXCPP $CPPFLAGS'
46895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46898
46899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46900 /* end confdefs.h. */
46901 #include <stdlib.h>
46902 int
46903 main ()
46904 {
46905 at_quick_exit(0);
46906 ;
46907 return 0;
46908 }
46909 _ACEOF
46910 if ac_fn_cxx_try_compile "$LINENO"; then :
46911 glibcxx_cv_func_at_quick_exit_use=yes
46912 else
46913 glibcxx_cv_func_at_quick_exit_use=no
46914 fi
46915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46916 ac_ext=c
46917 ac_cpp='$CPP $CPPFLAGS'
46918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46921
46922
46923 fi
46924
46925 fi
46926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46927 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46928 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46929 for ac_func in at_quick_exit
46930 do :
46931 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46932 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46933 cat >>confdefs.h <<_ACEOF
46934 #define HAVE_AT_QUICK_EXIT 1
46935 _ACEOF
46936
46937 fi
46938 done
46939
46940 fi
46941
46942
46943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46944 $as_echo_n "checking for quick_exit declaration... " >&6; }
46945 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46946 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46947 $as_echo_n "(cached) " >&6
46948 else
46949
46950
46951 ac_ext=cpp
46952 ac_cpp='$CXXCPP $CPPFLAGS'
46953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46956
46957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46958 /* end confdefs.h. */
46959 #include <stdlib.h>
46960 int
46961 main ()
46962 {
46963 quick_exit(0);
46964 ;
46965 return 0;
46966 }
46967 _ACEOF
46968 if ac_fn_cxx_try_compile "$LINENO"; then :
46969 glibcxx_cv_func_quick_exit_use=yes
46970 else
46971 glibcxx_cv_func_quick_exit_use=no
46972 fi
46973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46974 ac_ext=c
46975 ac_cpp='$CPP $CPPFLAGS'
46976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46979
46980
46981 fi
46982
46983 fi
46984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46985 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46986 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46987 for ac_func in quick_exit
46988 do :
46989 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46990 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46991 cat >>confdefs.h <<_ACEOF
46992 #define HAVE_QUICK_EXIT 1
46993 _ACEOF
46994
46995 fi
46996 done
46997
46998 fi
46999
47000
47001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47002 $as_echo_n "checking for strtold declaration... " >&6; }
47003 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47004 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
47005 $as_echo_n "(cached) " >&6
47006 else
47007
47008
47009 ac_ext=cpp
47010 ac_cpp='$CXXCPP $CPPFLAGS'
47011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47014
47015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47016 /* end confdefs.h. */
47017 #include <stdlib.h>
47018 int
47019 main ()
47020 {
47021 strtold(0, 0);
47022 ;
47023 return 0;
47024 }
47025 _ACEOF
47026 if ac_fn_cxx_try_compile "$LINENO"; then :
47027 glibcxx_cv_func_strtold_use=yes
47028 else
47029 glibcxx_cv_func_strtold_use=no
47030 fi
47031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47032 ac_ext=c
47033 ac_cpp='$CPP $CPPFLAGS'
47034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47037
47038
47039 fi
47040
47041 fi
47042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47043 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47044 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47045 for ac_func in strtold
47046 do :
47047 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47048 if test "x$ac_cv_func_strtold" = x""yes; then :
47049 cat >>confdefs.h <<_ACEOF
47050 #define HAVE_STRTOLD 1
47051 _ACEOF
47052
47053 fi
47054 done
47055
47056 fi
47057
47058
47059
47060
47061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47062 $as_echo_n "checking for strtof declaration... " >&6; }
47063 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47064 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47065 $as_echo_n "(cached) " >&6
47066 else
47067
47068
47069 ac_ext=cpp
47070 ac_cpp='$CXXCPP $CPPFLAGS'
47071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47074
47075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47076 /* end confdefs.h. */
47077 #include <stdlib.h>
47078 int
47079 main ()
47080 {
47081 strtof(0, 0);
47082 ;
47083 return 0;
47084 }
47085 _ACEOF
47086 if ac_fn_cxx_try_compile "$LINENO"; then :
47087 glibcxx_cv_func_strtof_use=yes
47088 else
47089 glibcxx_cv_func_strtof_use=no
47090 fi
47091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47092 ac_ext=c
47093 ac_cpp='$CPP $CPPFLAGS'
47094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47097
47098
47099 fi
47100
47101 fi
47102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47103 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47104 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47105 for ac_func in strtof
47106 do :
47107 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47108 if test "x$ac_cv_func_strtof" = x""yes; then :
47109 cat >>confdefs.h <<_ACEOF
47110 #define HAVE_STRTOF 1
47111 _ACEOF
47112
47113 fi
47114 done
47115
47116 fi
47117
47118
47119
47120
47121 CXXFLAGS="$ac_save_CXXFLAGS"
47122
47123 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47124
47125 # We don't yet support AIX's TLS ABI.
47126 #GCC_CHECK_TLS
47127
47128
47129
47130
47131
47132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47133 $as_echo_n "checking for iconv... " >&6; }
47134 if test "${am_cv_func_iconv+set}" = set; then :
47135 $as_echo_n "(cached) " >&6
47136 else
47137
47138 am_cv_func_iconv="no, consider installing GNU libiconv"
47139 am_cv_lib_iconv=no
47140 am_save_CPPFLAGS="$CPPFLAGS"
47141 CPPFLAGS="$CPPFLAGS $INCICONV"
47142 if test x$gcc_no_link = xyes; then
47143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47144 fi
47145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47146 /* end confdefs.h. */
47147 #include <stdlib.h>
47148 #include <iconv.h>
47149 int
47150 main ()
47151 {
47152 iconv_t cd = iconv_open("","");
47153 iconv(cd,NULL,NULL,NULL,NULL);
47154 iconv_close(cd);
47155 ;
47156 return 0;
47157 }
47158 _ACEOF
47159 if ac_fn_c_try_link "$LINENO"; then :
47160 am_cv_func_iconv=yes
47161 fi
47162 rm -f core conftest.err conftest.$ac_objext \
47163 conftest$ac_exeext conftest.$ac_ext
47164 CPPFLAGS="$am_save_CPPFLAGS"
47165
47166 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47167 for _libs in .libs _libs; do
47168 am_save_CPPFLAGS="$CPPFLAGS"
47169 am_save_LIBS="$LIBS"
47170 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47171 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47172 if test x$gcc_no_link = xyes; then
47173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47174 fi
47175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47176 /* end confdefs.h. */
47177 #include <stdlib.h>
47178 #include <iconv.h>
47179 int
47180 main ()
47181 {
47182 iconv_t cd = iconv_open("","");
47183 iconv(cd,NULL,NULL,NULL,NULL);
47184 iconv_close(cd);
47185 ;
47186 return 0;
47187 }
47188 _ACEOF
47189 if ac_fn_c_try_link "$LINENO"; then :
47190 INCICONV="-I../libiconv/include"
47191 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47192 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47193 am_cv_lib_iconv=yes
47194 am_cv_func_iconv=yes
47195 fi
47196 rm -f core conftest.err conftest.$ac_objext \
47197 conftest$ac_exeext conftest.$ac_ext
47198 CPPFLAGS="$am_save_CPPFLAGS"
47199 LIBS="$am_save_LIBS"
47200 if test "$am_cv_func_iconv" = "yes"; then
47201 break
47202 fi
47203 done
47204 fi
47205
47206 if test "$am_cv_func_iconv" != yes; then
47207 am_save_CPPFLAGS="$CPPFLAGS"
47208 am_save_LIBS="$LIBS"
47209 CPPFLAGS="$LIBS $INCICONV"
47210 LIBS="$LIBS $LIBICONV"
47211 if test x$gcc_no_link = xyes; then
47212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47213 fi
47214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47215 /* end confdefs.h. */
47216 #include <stdlib.h>
47217 #include <iconv.h>
47218 int
47219 main ()
47220 {
47221 iconv_t cd = iconv_open("","");
47222 iconv(cd,NULL,NULL,NULL,NULL);
47223 iconv_close(cd);
47224 ;
47225 return 0;
47226 }
47227 _ACEOF
47228 if ac_fn_c_try_link "$LINENO"; then :
47229 am_cv_lib_iconv=yes
47230 am_cv_func_iconv=yes
47231 fi
47232 rm -f core conftest.err conftest.$ac_objext \
47233 conftest$ac_exeext conftest.$ac_ext
47234 CPPFLAGS="$am_save_CPPFLAGS"
47235 LIBS="$am_save_LIBS"
47236 fi
47237
47238 fi
47239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47240 $as_echo "$am_cv_func_iconv" >&6; }
47241 if test "$am_cv_func_iconv" = yes; then
47242
47243 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47244
47245 fi
47246 if test "$am_cv_lib_iconv" = yes; then
47247
47248 for element in $INCICONV; do
47249 haveit=
47250 for x in $CPPFLAGS; do
47251
47252 acl_save_prefix="$prefix"
47253 prefix="$acl_final_prefix"
47254 acl_save_exec_prefix="$exec_prefix"
47255 exec_prefix="$acl_final_exec_prefix"
47256 eval x=\"$x\"
47257 exec_prefix="$acl_save_exec_prefix"
47258 prefix="$acl_save_prefix"
47259
47260 if test "X$x" = "X$element"; then
47261 haveit=yes
47262 break
47263 fi
47264 done
47265 if test -z "$haveit"; then
47266 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47267 fi
47268 done
47269
47270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47271 $as_echo_n "checking how to link with libiconv... " >&6; }
47272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47273 $as_echo "$LIBICONV" >&6; }
47274 else
47275 LIBICONV=
47276 LTLIBICONV=
47277 fi
47278
47279
47280
47281 if test "$am_cv_func_iconv" = yes; then
47282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47283 $as_echo_n "checking for iconv declaration... " >&6; }
47284 if test "${am_cv_proto_iconv+set}" = set; then :
47285 $as_echo_n "(cached) " >&6
47286 else
47287
47288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47289 /* end confdefs.h. */
47290
47291 #include <stdlib.h>
47292 #include <iconv.h>
47293 extern
47294 #ifdef __cplusplus
47295 "C"
47296 #endif
47297 #if defined(__STDC__) || defined(__cplusplus)
47298 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47299 #else
47300 size_t iconv();
47301 #endif
47302
47303 int
47304 main ()
47305 {
47306
47307 ;
47308 return 0;
47309 }
47310 _ACEOF
47311 if ac_fn_c_try_compile "$LINENO"; then :
47312 am_cv_proto_iconv_arg1=""
47313 else
47314 am_cv_proto_iconv_arg1="const"
47315 fi
47316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47317 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);"
47318 fi
47319
47320 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47322 }$am_cv_proto_iconv" >&5
47323 $as_echo "${ac_t:-
47324 }$am_cv_proto_iconv" >&6; }
47325
47326 cat >>confdefs.h <<_ACEOF
47327 #define ICONV_CONST $am_cv_proto_iconv_arg1
47328 _ACEOF
47329
47330 fi
47331
47332 ;;
47333
47334 *-darwin*)
47335 # Darwin versions vary, but the linker should work in a cross environment,
47336 # so we just check for all the features here.
47337 # Check for available headers.
47338
47339 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47340
47341 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47342 ac_save_CXXFLAGS="$CXXFLAGS"
47343 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47344
47345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47346 $as_echo_n "checking for sin in -lm... " >&6; }
47347 if test "${ac_cv_lib_m_sin+set}" = set; then :
47348 $as_echo_n "(cached) " >&6
47349 else
47350 ac_check_lib_save_LIBS=$LIBS
47351 LIBS="-lm $LIBS"
47352 if test x$gcc_no_link = xyes; then
47353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47354 fi
47355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47356 /* end confdefs.h. */
47357
47358 /* Override any GCC internal prototype to avoid an error.
47359 Use char because int might match the return type of a GCC
47360 builtin and then its argument prototype would still apply. */
47361 #ifdef __cplusplus
47362 extern "C"
47363 #endif
47364 char sin ();
47365 int
47366 main ()
47367 {
47368 return sin ();
47369 ;
47370 return 0;
47371 }
47372 _ACEOF
47373 if ac_fn_c_try_link "$LINENO"; then :
47374 ac_cv_lib_m_sin=yes
47375 else
47376 ac_cv_lib_m_sin=no
47377 fi
47378 rm -f core conftest.err conftest.$ac_objext \
47379 conftest$ac_exeext conftest.$ac_ext
47380 LIBS=$ac_check_lib_save_LIBS
47381 fi
47382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47383 $as_echo "$ac_cv_lib_m_sin" >&6; }
47384 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47385 libm="-lm"
47386 fi
47387
47388 ac_save_LIBS="$LIBS"
47389 LIBS="$LIBS $libm"
47390
47391
47392
47393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47394 $as_echo_n "checking for isinf declaration... " >&6; }
47395 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47396 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47397 $as_echo_n "(cached) " >&6
47398 else
47399
47400
47401 ac_ext=cpp
47402 ac_cpp='$CXXCPP $CPPFLAGS'
47403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47406
47407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47408 /* end confdefs.h. */
47409 #include <math.h>
47410 #ifdef HAVE_IEEEFP_H
47411 #include <ieeefp.h>
47412 #endif
47413
47414 int
47415 main ()
47416 {
47417 isinf(0);
47418 ;
47419 return 0;
47420 }
47421 _ACEOF
47422 if ac_fn_cxx_try_compile "$LINENO"; then :
47423 glibcxx_cv_func_isinf_use=yes
47424 else
47425 glibcxx_cv_func_isinf_use=no
47426 fi
47427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47428 ac_ext=c
47429 ac_cpp='$CPP $CPPFLAGS'
47430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47433
47434
47435 fi
47436
47437 fi
47438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47439 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47440
47441 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47442 for ac_func in isinf
47443 do :
47444 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47445 if test "x$ac_cv_func_isinf" = x""yes; then :
47446 cat >>confdefs.h <<_ACEOF
47447 #define HAVE_ISINF 1
47448 _ACEOF
47449
47450 fi
47451 done
47452
47453 else
47454
47455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47456 $as_echo_n "checking for _isinf declaration... " >&6; }
47457 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47458 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47459 $as_echo_n "(cached) " >&6
47460 else
47461
47462
47463 ac_ext=cpp
47464 ac_cpp='$CXXCPP $CPPFLAGS'
47465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47468
47469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47470 /* end confdefs.h. */
47471 #include <math.h>
47472 #ifdef HAVE_IEEEFP_H
47473 #include <ieeefp.h>
47474 #endif
47475
47476 int
47477 main ()
47478 {
47479 _isinf(0);
47480 ;
47481 return 0;
47482 }
47483 _ACEOF
47484 if ac_fn_cxx_try_compile "$LINENO"; then :
47485 glibcxx_cv_func__isinf_use=yes
47486 else
47487 glibcxx_cv_func__isinf_use=no
47488 fi
47489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47490 ac_ext=c
47491 ac_cpp='$CPP $CPPFLAGS'
47492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47495
47496
47497 fi
47498
47499 fi
47500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47501 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47502
47503 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47504 for ac_func in _isinf
47505 do :
47506 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47507 if test "x$ac_cv_func__isinf" = x""yes; then :
47508 cat >>confdefs.h <<_ACEOF
47509 #define HAVE__ISINF 1
47510 _ACEOF
47511
47512 fi
47513 done
47514
47515 fi
47516 fi
47517
47518
47519
47520
47521
47522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47523 $as_echo_n "checking for isnan declaration... " >&6; }
47524 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47525 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47526 $as_echo_n "(cached) " >&6
47527 else
47528
47529
47530 ac_ext=cpp
47531 ac_cpp='$CXXCPP $CPPFLAGS'
47532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47535
47536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47537 /* end confdefs.h. */
47538 #include <math.h>
47539 #ifdef HAVE_IEEEFP_H
47540 #include <ieeefp.h>
47541 #endif
47542
47543 int
47544 main ()
47545 {
47546 isnan(0);
47547 ;
47548 return 0;
47549 }
47550 _ACEOF
47551 if ac_fn_cxx_try_compile "$LINENO"; then :
47552 glibcxx_cv_func_isnan_use=yes
47553 else
47554 glibcxx_cv_func_isnan_use=no
47555 fi
47556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47557 ac_ext=c
47558 ac_cpp='$CPP $CPPFLAGS'
47559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47562
47563
47564 fi
47565
47566 fi
47567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47568 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47569
47570 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47571 for ac_func in isnan
47572 do :
47573 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47574 if test "x$ac_cv_func_isnan" = x""yes; then :
47575 cat >>confdefs.h <<_ACEOF
47576 #define HAVE_ISNAN 1
47577 _ACEOF
47578
47579 fi
47580 done
47581
47582 else
47583
47584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47585 $as_echo_n "checking for _isnan declaration... " >&6; }
47586 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47587 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47588 $as_echo_n "(cached) " >&6
47589 else
47590
47591
47592 ac_ext=cpp
47593 ac_cpp='$CXXCPP $CPPFLAGS'
47594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47597
47598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47599 /* end confdefs.h. */
47600 #include <math.h>
47601 #ifdef HAVE_IEEEFP_H
47602 #include <ieeefp.h>
47603 #endif
47604
47605 int
47606 main ()
47607 {
47608 _isnan(0);
47609 ;
47610 return 0;
47611 }
47612 _ACEOF
47613 if ac_fn_cxx_try_compile "$LINENO"; then :
47614 glibcxx_cv_func__isnan_use=yes
47615 else
47616 glibcxx_cv_func__isnan_use=no
47617 fi
47618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47619 ac_ext=c
47620 ac_cpp='$CPP $CPPFLAGS'
47621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47624
47625
47626 fi
47627
47628 fi
47629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47630 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47631
47632 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47633 for ac_func in _isnan
47634 do :
47635 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47636 if test "x$ac_cv_func__isnan" = x""yes; then :
47637 cat >>confdefs.h <<_ACEOF
47638 #define HAVE__ISNAN 1
47639 _ACEOF
47640
47641 fi
47642 done
47643
47644 fi
47645 fi
47646
47647
47648
47649
47650
47651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47652 $as_echo_n "checking for finite declaration... " >&6; }
47653 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47654 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47655 $as_echo_n "(cached) " >&6
47656 else
47657
47658
47659 ac_ext=cpp
47660 ac_cpp='$CXXCPP $CPPFLAGS'
47661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47664
47665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47666 /* end confdefs.h. */
47667 #include <math.h>
47668 #ifdef HAVE_IEEEFP_H
47669 #include <ieeefp.h>
47670 #endif
47671
47672 int
47673 main ()
47674 {
47675 finite(0);
47676 ;
47677 return 0;
47678 }
47679 _ACEOF
47680 if ac_fn_cxx_try_compile "$LINENO"; then :
47681 glibcxx_cv_func_finite_use=yes
47682 else
47683 glibcxx_cv_func_finite_use=no
47684 fi
47685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47686 ac_ext=c
47687 ac_cpp='$CPP $CPPFLAGS'
47688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47691
47692
47693 fi
47694
47695 fi
47696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47697 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47698
47699 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47700 for ac_func in finite
47701 do :
47702 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47703 if test "x$ac_cv_func_finite" = x""yes; then :
47704 cat >>confdefs.h <<_ACEOF
47705 #define HAVE_FINITE 1
47706 _ACEOF
47707
47708 fi
47709 done
47710
47711 else
47712
47713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47714 $as_echo_n "checking for _finite declaration... " >&6; }
47715 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47716 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47717 $as_echo_n "(cached) " >&6
47718 else
47719
47720
47721 ac_ext=cpp
47722 ac_cpp='$CXXCPP $CPPFLAGS'
47723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47726
47727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47728 /* end confdefs.h. */
47729 #include <math.h>
47730 #ifdef HAVE_IEEEFP_H
47731 #include <ieeefp.h>
47732 #endif
47733
47734 int
47735 main ()
47736 {
47737 _finite(0);
47738 ;
47739 return 0;
47740 }
47741 _ACEOF
47742 if ac_fn_cxx_try_compile "$LINENO"; then :
47743 glibcxx_cv_func__finite_use=yes
47744 else
47745 glibcxx_cv_func__finite_use=no
47746 fi
47747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47748 ac_ext=c
47749 ac_cpp='$CPP $CPPFLAGS'
47750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47753
47754
47755 fi
47756
47757 fi
47758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47759 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47760
47761 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47762 for ac_func in _finite
47763 do :
47764 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47765 if test "x$ac_cv_func__finite" = x""yes; then :
47766 cat >>confdefs.h <<_ACEOF
47767 #define HAVE__FINITE 1
47768 _ACEOF
47769
47770 fi
47771 done
47772
47773 fi
47774 fi
47775
47776
47777
47778
47779
47780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47781 $as_echo_n "checking for sincos declaration... " >&6; }
47782 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47783 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47784 $as_echo_n "(cached) " >&6
47785 else
47786
47787
47788 ac_ext=cpp
47789 ac_cpp='$CXXCPP $CPPFLAGS'
47790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47793
47794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47795 /* end confdefs.h. */
47796 #include <math.h>
47797 int
47798 main ()
47799 {
47800 sincos(0, 0, 0);
47801 ;
47802 return 0;
47803 }
47804 _ACEOF
47805 if ac_fn_cxx_try_compile "$LINENO"; then :
47806 glibcxx_cv_func_sincos_use=yes
47807 else
47808 glibcxx_cv_func_sincos_use=no
47809 fi
47810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47811 ac_ext=c
47812 ac_cpp='$CPP $CPPFLAGS'
47813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47816
47817
47818 fi
47819
47820 fi
47821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47822 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47823
47824 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47825 for ac_func in sincos
47826 do :
47827 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47828 if test "x$ac_cv_func_sincos" = x""yes; then :
47829 cat >>confdefs.h <<_ACEOF
47830 #define HAVE_SINCOS 1
47831 _ACEOF
47832
47833 fi
47834 done
47835
47836 else
47837
47838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47839 $as_echo_n "checking for _sincos declaration... " >&6; }
47840 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47841 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47842 $as_echo_n "(cached) " >&6
47843 else
47844
47845
47846 ac_ext=cpp
47847 ac_cpp='$CXXCPP $CPPFLAGS'
47848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851
47852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47853 /* end confdefs.h. */
47854 #include <math.h>
47855 int
47856 main ()
47857 {
47858 _sincos(0, 0, 0);
47859 ;
47860 return 0;
47861 }
47862 _ACEOF
47863 if ac_fn_cxx_try_compile "$LINENO"; then :
47864 glibcxx_cv_func__sincos_use=yes
47865 else
47866 glibcxx_cv_func__sincos_use=no
47867 fi
47868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47869 ac_ext=c
47870 ac_cpp='$CPP $CPPFLAGS'
47871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47874
47875
47876 fi
47877
47878 fi
47879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47880 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47881
47882 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47883 for ac_func in _sincos
47884 do :
47885 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47886 if test "x$ac_cv_func__sincos" = x""yes; then :
47887 cat >>confdefs.h <<_ACEOF
47888 #define HAVE__SINCOS 1
47889 _ACEOF
47890
47891 fi
47892 done
47893
47894 fi
47895 fi
47896
47897
47898
47899
47900
47901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47902 $as_echo_n "checking for fpclass declaration... " >&6; }
47903 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47904 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47905 $as_echo_n "(cached) " >&6
47906 else
47907
47908
47909 ac_ext=cpp
47910 ac_cpp='$CXXCPP $CPPFLAGS'
47911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47914
47915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47916 /* end confdefs.h. */
47917 #include <math.h>
47918 #ifdef HAVE_IEEEFP_H
47919 #include <ieeefp.h>
47920 #endif
47921
47922 int
47923 main ()
47924 {
47925 fpclass(0);
47926 ;
47927 return 0;
47928 }
47929 _ACEOF
47930 if ac_fn_cxx_try_compile "$LINENO"; then :
47931 glibcxx_cv_func_fpclass_use=yes
47932 else
47933 glibcxx_cv_func_fpclass_use=no
47934 fi
47935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47936 ac_ext=c
47937 ac_cpp='$CPP $CPPFLAGS'
47938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47941
47942
47943 fi
47944
47945 fi
47946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47947 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47948
47949 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47950 for ac_func in fpclass
47951 do :
47952 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47953 if test "x$ac_cv_func_fpclass" = x""yes; then :
47954 cat >>confdefs.h <<_ACEOF
47955 #define HAVE_FPCLASS 1
47956 _ACEOF
47957
47958 fi
47959 done
47960
47961 else
47962
47963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47964 $as_echo_n "checking for _fpclass declaration... " >&6; }
47965 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47966 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47967 $as_echo_n "(cached) " >&6
47968 else
47969
47970
47971 ac_ext=cpp
47972 ac_cpp='$CXXCPP $CPPFLAGS'
47973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47976
47977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47978 /* end confdefs.h. */
47979 #include <math.h>
47980 #ifdef HAVE_IEEEFP_H
47981 #include <ieeefp.h>
47982 #endif
47983
47984 int
47985 main ()
47986 {
47987 _fpclass(0);
47988 ;
47989 return 0;
47990 }
47991 _ACEOF
47992 if ac_fn_cxx_try_compile "$LINENO"; then :
47993 glibcxx_cv_func__fpclass_use=yes
47994 else
47995 glibcxx_cv_func__fpclass_use=no
47996 fi
47997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47998 ac_ext=c
47999 ac_cpp='$CPP $CPPFLAGS'
48000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48003
48004
48005 fi
48006
48007 fi
48008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48009 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48010
48011 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48012 for ac_func in _fpclass
48013 do :
48014 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48015 if test "x$ac_cv_func__fpclass" = x""yes; then :
48016 cat >>confdefs.h <<_ACEOF
48017 #define HAVE__FPCLASS 1
48018 _ACEOF
48019
48020 fi
48021 done
48022
48023 fi
48024 fi
48025
48026
48027
48028
48029
48030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48031 $as_echo_n "checking for qfpclass declaration... " >&6; }
48032 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48033 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48034 $as_echo_n "(cached) " >&6
48035 else
48036
48037
48038 ac_ext=cpp
48039 ac_cpp='$CXXCPP $CPPFLAGS'
48040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48043
48044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48045 /* end confdefs.h. */
48046 #include <math.h>
48047 #ifdef HAVE_IEEEFP_H
48048 #include <ieeefp.h>
48049 #endif
48050
48051 int
48052 main ()
48053 {
48054 qfpclass(0);
48055 ;
48056 return 0;
48057 }
48058 _ACEOF
48059 if ac_fn_cxx_try_compile "$LINENO"; then :
48060 glibcxx_cv_func_qfpclass_use=yes
48061 else
48062 glibcxx_cv_func_qfpclass_use=no
48063 fi
48064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48065 ac_ext=c
48066 ac_cpp='$CPP $CPPFLAGS'
48067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48070
48071
48072 fi
48073
48074 fi
48075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48076 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48077
48078 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48079 for ac_func in qfpclass
48080 do :
48081 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48082 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48083 cat >>confdefs.h <<_ACEOF
48084 #define HAVE_QFPCLASS 1
48085 _ACEOF
48086
48087 fi
48088 done
48089
48090 else
48091
48092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48093 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48094 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48095 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48096 $as_echo_n "(cached) " >&6
48097 else
48098
48099
48100 ac_ext=cpp
48101 ac_cpp='$CXXCPP $CPPFLAGS'
48102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48105
48106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48107 /* end confdefs.h. */
48108 #include <math.h>
48109 #ifdef HAVE_IEEEFP_H
48110 #include <ieeefp.h>
48111 #endif
48112
48113 int
48114 main ()
48115 {
48116 _qfpclass(0);
48117 ;
48118 return 0;
48119 }
48120 _ACEOF
48121 if ac_fn_cxx_try_compile "$LINENO"; then :
48122 glibcxx_cv_func__qfpclass_use=yes
48123 else
48124 glibcxx_cv_func__qfpclass_use=no
48125 fi
48126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48127 ac_ext=c
48128 ac_cpp='$CPP $CPPFLAGS'
48129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48132
48133
48134 fi
48135
48136 fi
48137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48138 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48139
48140 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48141 for ac_func in _qfpclass
48142 do :
48143 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48144 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48145 cat >>confdefs.h <<_ACEOF
48146 #define HAVE__QFPCLASS 1
48147 _ACEOF
48148
48149 fi
48150 done
48151
48152 fi
48153 fi
48154
48155
48156
48157
48158
48159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48160 $as_echo_n "checking for hypot declaration... " >&6; }
48161 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48162 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48163 $as_echo_n "(cached) " >&6
48164 else
48165
48166
48167 ac_ext=cpp
48168 ac_cpp='$CXXCPP $CPPFLAGS'
48169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48172
48173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48174 /* end confdefs.h. */
48175 #include <math.h>
48176 int
48177 main ()
48178 {
48179 hypot(0, 0);
48180 ;
48181 return 0;
48182 }
48183 _ACEOF
48184 if ac_fn_cxx_try_compile "$LINENO"; then :
48185 glibcxx_cv_func_hypot_use=yes
48186 else
48187 glibcxx_cv_func_hypot_use=no
48188 fi
48189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48190 ac_ext=c
48191 ac_cpp='$CPP $CPPFLAGS'
48192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48195
48196
48197 fi
48198
48199 fi
48200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48201 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48202
48203 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48204 for ac_func in hypot
48205 do :
48206 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48207 if test "x$ac_cv_func_hypot" = x""yes; then :
48208 cat >>confdefs.h <<_ACEOF
48209 #define HAVE_HYPOT 1
48210 _ACEOF
48211
48212 fi
48213 done
48214
48215 else
48216
48217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48218 $as_echo_n "checking for _hypot declaration... " >&6; }
48219 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48220 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48221 $as_echo_n "(cached) " >&6
48222 else
48223
48224
48225 ac_ext=cpp
48226 ac_cpp='$CXXCPP $CPPFLAGS'
48227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48230
48231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48232 /* end confdefs.h. */
48233 #include <math.h>
48234 int
48235 main ()
48236 {
48237 _hypot(0, 0);
48238 ;
48239 return 0;
48240 }
48241 _ACEOF
48242 if ac_fn_cxx_try_compile "$LINENO"; then :
48243 glibcxx_cv_func__hypot_use=yes
48244 else
48245 glibcxx_cv_func__hypot_use=no
48246 fi
48247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48248 ac_ext=c
48249 ac_cpp='$CPP $CPPFLAGS'
48250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48253
48254
48255 fi
48256
48257 fi
48258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48259 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48260
48261 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48262 for ac_func in _hypot
48263 do :
48264 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48265 if test "x$ac_cv_func__hypot" = x""yes; then :
48266 cat >>confdefs.h <<_ACEOF
48267 #define HAVE__HYPOT 1
48268 _ACEOF
48269
48270 fi
48271 done
48272
48273 fi
48274 fi
48275
48276
48277
48278
48279
48280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48281 $as_echo_n "checking for float trig functions... " >&6; }
48282 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48283 $as_echo_n "(cached) " >&6
48284 else
48285
48286
48287 ac_ext=cpp
48288 ac_cpp='$CXXCPP $CPPFLAGS'
48289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48292
48293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48294 /* end confdefs.h. */
48295 #include <math.h>
48296 int
48297 main ()
48298 {
48299 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48300 ;
48301 return 0;
48302 }
48303 _ACEOF
48304 if ac_fn_cxx_try_compile "$LINENO"; then :
48305 glibcxx_cv_func_float_trig_use=yes
48306 else
48307 glibcxx_cv_func_float_trig_use=no
48308 fi
48309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48310 ac_ext=c
48311 ac_cpp='$CPP $CPPFLAGS'
48312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48315
48316 fi
48317
48318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48319 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48320 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48321 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48322 do :
48323 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48324 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48325 eval as_val=\$$as_ac_var
48326 if test "x$as_val" = x""yes; then :
48327 cat >>confdefs.h <<_ACEOF
48328 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48329 _ACEOF
48330
48331 fi
48332 done
48333
48334 else
48335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48336 $as_echo_n "checking for _float trig functions... " >&6; }
48337 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48338 $as_echo_n "(cached) " >&6
48339 else
48340
48341
48342 ac_ext=cpp
48343 ac_cpp='$CXXCPP $CPPFLAGS'
48344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48347
48348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48349 /* end confdefs.h. */
48350 #include <math.h>
48351 int
48352 main ()
48353 {
48354 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48355 ;
48356 return 0;
48357 }
48358 _ACEOF
48359 if ac_fn_cxx_try_compile "$LINENO"; then :
48360 glibcxx_cv_func__float_trig_use=yes
48361 else
48362 glibcxx_cv_func__float_trig_use=no
48363 fi
48364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48365 ac_ext=c
48366 ac_cpp='$CPP $CPPFLAGS'
48367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48370
48371 fi
48372
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48374 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48375 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48376 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48377 do :
48378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48380 eval as_val=\$$as_ac_var
48381 if test "x$as_val" = x""yes; then :
48382 cat >>confdefs.h <<_ACEOF
48383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48384 _ACEOF
48385
48386 fi
48387 done
48388
48389 fi
48390 fi
48391
48392
48393
48394
48395
48396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48397 $as_echo_n "checking for float round functions... " >&6; }
48398 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48399 $as_echo_n "(cached) " >&6
48400 else
48401
48402
48403 ac_ext=cpp
48404 ac_cpp='$CXXCPP $CPPFLAGS'
48405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48408
48409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48410 /* end confdefs.h. */
48411 #include <math.h>
48412 int
48413 main ()
48414 {
48415 ceilf (0); floorf (0);
48416 ;
48417 return 0;
48418 }
48419 _ACEOF
48420 if ac_fn_cxx_try_compile "$LINENO"; then :
48421 glibcxx_cv_func_float_round_use=yes
48422 else
48423 glibcxx_cv_func_float_round_use=no
48424 fi
48425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48426 ac_ext=c
48427 ac_cpp='$CPP $CPPFLAGS'
48428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48431
48432 fi
48433
48434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48435 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48436 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48437 for ac_func in ceilf floorf
48438 do :
48439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48441 eval as_val=\$$as_ac_var
48442 if test "x$as_val" = x""yes; then :
48443 cat >>confdefs.h <<_ACEOF
48444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48445 _ACEOF
48446
48447 fi
48448 done
48449
48450 else
48451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48452 $as_echo_n "checking for _float round functions... " >&6; }
48453 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48454 $as_echo_n "(cached) " >&6
48455 else
48456
48457
48458 ac_ext=cpp
48459 ac_cpp='$CXXCPP $CPPFLAGS'
48460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48463
48464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48465 /* end confdefs.h. */
48466 #include <math.h>
48467 int
48468 main ()
48469 {
48470 _ceilf (0); _floorf (0);
48471 ;
48472 return 0;
48473 }
48474 _ACEOF
48475 if ac_fn_cxx_try_compile "$LINENO"; then :
48476 glibcxx_cv_func__float_round_use=yes
48477 else
48478 glibcxx_cv_func__float_round_use=no
48479 fi
48480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48481 ac_ext=c
48482 ac_cpp='$CPP $CPPFLAGS'
48483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48486
48487 fi
48488
48489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48490 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48491 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48492 for ac_func in _ceilf _floorf
48493 do :
48494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48496 eval as_val=\$$as_ac_var
48497 if test "x$as_val" = x""yes; then :
48498 cat >>confdefs.h <<_ACEOF
48499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48500 _ACEOF
48501
48502 fi
48503 done
48504
48505 fi
48506 fi
48507
48508
48509
48510
48511
48512
48513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48514 $as_echo_n "checking for expf declaration... " >&6; }
48515 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48516 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48517 $as_echo_n "(cached) " >&6
48518 else
48519
48520
48521 ac_ext=cpp
48522 ac_cpp='$CXXCPP $CPPFLAGS'
48523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48526
48527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48528 /* end confdefs.h. */
48529 #include <math.h>
48530 #ifdef HAVE_IEEEFP_H
48531 #include <ieeefp.h>
48532 #endif
48533
48534 int
48535 main ()
48536 {
48537 expf(0);
48538 ;
48539 return 0;
48540 }
48541 _ACEOF
48542 if ac_fn_cxx_try_compile "$LINENO"; then :
48543 glibcxx_cv_func_expf_use=yes
48544 else
48545 glibcxx_cv_func_expf_use=no
48546 fi
48547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48548 ac_ext=c
48549 ac_cpp='$CPP $CPPFLAGS'
48550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48553
48554
48555 fi
48556
48557 fi
48558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48559 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48560
48561 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48562 for ac_func in expf
48563 do :
48564 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48565 if test "x$ac_cv_func_expf" = x""yes; then :
48566 cat >>confdefs.h <<_ACEOF
48567 #define HAVE_EXPF 1
48568 _ACEOF
48569
48570 fi
48571 done
48572
48573 else
48574
48575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48576 $as_echo_n "checking for _expf declaration... " >&6; }
48577 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48578 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48579 $as_echo_n "(cached) " >&6
48580 else
48581
48582
48583 ac_ext=cpp
48584 ac_cpp='$CXXCPP $CPPFLAGS'
48585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48588
48589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48590 /* end confdefs.h. */
48591 #include <math.h>
48592 #ifdef HAVE_IEEEFP_H
48593 #include <ieeefp.h>
48594 #endif
48595
48596 int
48597 main ()
48598 {
48599 _expf(0);
48600 ;
48601 return 0;
48602 }
48603 _ACEOF
48604 if ac_fn_cxx_try_compile "$LINENO"; then :
48605 glibcxx_cv_func__expf_use=yes
48606 else
48607 glibcxx_cv_func__expf_use=no
48608 fi
48609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48610 ac_ext=c
48611 ac_cpp='$CPP $CPPFLAGS'
48612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48615
48616
48617 fi
48618
48619 fi
48620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48621 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48622
48623 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48624 for ac_func in _expf
48625 do :
48626 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48627 if test "x$ac_cv_func__expf" = x""yes; then :
48628 cat >>confdefs.h <<_ACEOF
48629 #define HAVE__EXPF 1
48630 _ACEOF
48631
48632 fi
48633 done
48634
48635 fi
48636 fi
48637
48638
48639
48640
48641
48642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48643 $as_echo_n "checking for isnanf declaration... " >&6; }
48644 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48645 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48646 $as_echo_n "(cached) " >&6
48647 else
48648
48649
48650 ac_ext=cpp
48651 ac_cpp='$CXXCPP $CPPFLAGS'
48652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48655
48656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48657 /* end confdefs.h. */
48658 #include <math.h>
48659 #ifdef HAVE_IEEEFP_H
48660 #include <ieeefp.h>
48661 #endif
48662
48663 int
48664 main ()
48665 {
48666 isnanf(0);
48667 ;
48668 return 0;
48669 }
48670 _ACEOF
48671 if ac_fn_cxx_try_compile "$LINENO"; then :
48672 glibcxx_cv_func_isnanf_use=yes
48673 else
48674 glibcxx_cv_func_isnanf_use=no
48675 fi
48676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48677 ac_ext=c
48678 ac_cpp='$CPP $CPPFLAGS'
48679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48682
48683
48684 fi
48685
48686 fi
48687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48688 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48689
48690 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48691 for ac_func in isnanf
48692 do :
48693 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48694 if test "x$ac_cv_func_isnanf" = x""yes; then :
48695 cat >>confdefs.h <<_ACEOF
48696 #define HAVE_ISNANF 1
48697 _ACEOF
48698
48699 fi
48700 done
48701
48702 else
48703
48704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48705 $as_echo_n "checking for _isnanf declaration... " >&6; }
48706 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48707 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48708 $as_echo_n "(cached) " >&6
48709 else
48710
48711
48712 ac_ext=cpp
48713 ac_cpp='$CXXCPP $CPPFLAGS'
48714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48717
48718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48719 /* end confdefs.h. */
48720 #include <math.h>
48721 #ifdef HAVE_IEEEFP_H
48722 #include <ieeefp.h>
48723 #endif
48724
48725 int
48726 main ()
48727 {
48728 _isnanf(0);
48729 ;
48730 return 0;
48731 }
48732 _ACEOF
48733 if ac_fn_cxx_try_compile "$LINENO"; then :
48734 glibcxx_cv_func__isnanf_use=yes
48735 else
48736 glibcxx_cv_func__isnanf_use=no
48737 fi
48738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48739 ac_ext=c
48740 ac_cpp='$CPP $CPPFLAGS'
48741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48744
48745
48746 fi
48747
48748 fi
48749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48750 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48751
48752 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48753 for ac_func in _isnanf
48754 do :
48755 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48756 if test "x$ac_cv_func__isnanf" = x""yes; then :
48757 cat >>confdefs.h <<_ACEOF
48758 #define HAVE__ISNANF 1
48759 _ACEOF
48760
48761 fi
48762 done
48763
48764 fi
48765 fi
48766
48767
48768
48769
48770
48771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48772 $as_echo_n "checking for isinff declaration... " >&6; }
48773 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48774 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48775 $as_echo_n "(cached) " >&6
48776 else
48777
48778
48779 ac_ext=cpp
48780 ac_cpp='$CXXCPP $CPPFLAGS'
48781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48784
48785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48786 /* end confdefs.h. */
48787 #include <math.h>
48788 #ifdef HAVE_IEEEFP_H
48789 #include <ieeefp.h>
48790 #endif
48791
48792 int
48793 main ()
48794 {
48795 isinff(0);
48796 ;
48797 return 0;
48798 }
48799 _ACEOF
48800 if ac_fn_cxx_try_compile "$LINENO"; then :
48801 glibcxx_cv_func_isinff_use=yes
48802 else
48803 glibcxx_cv_func_isinff_use=no
48804 fi
48805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48806 ac_ext=c
48807 ac_cpp='$CPP $CPPFLAGS'
48808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48811
48812
48813 fi
48814
48815 fi
48816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48817 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48818
48819 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48820 for ac_func in isinff
48821 do :
48822 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48823 if test "x$ac_cv_func_isinff" = x""yes; then :
48824 cat >>confdefs.h <<_ACEOF
48825 #define HAVE_ISINFF 1
48826 _ACEOF
48827
48828 fi
48829 done
48830
48831 else
48832
48833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48834 $as_echo_n "checking for _isinff declaration... " >&6; }
48835 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48836 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48837 $as_echo_n "(cached) " >&6
48838 else
48839
48840
48841 ac_ext=cpp
48842 ac_cpp='$CXXCPP $CPPFLAGS'
48843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48846
48847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48848 /* end confdefs.h. */
48849 #include <math.h>
48850 #ifdef HAVE_IEEEFP_H
48851 #include <ieeefp.h>
48852 #endif
48853
48854 int
48855 main ()
48856 {
48857 _isinff(0);
48858 ;
48859 return 0;
48860 }
48861 _ACEOF
48862 if ac_fn_cxx_try_compile "$LINENO"; then :
48863 glibcxx_cv_func__isinff_use=yes
48864 else
48865 glibcxx_cv_func__isinff_use=no
48866 fi
48867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48868 ac_ext=c
48869 ac_cpp='$CPP $CPPFLAGS'
48870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48873
48874
48875 fi
48876
48877 fi
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48879 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48880
48881 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48882 for ac_func in _isinff
48883 do :
48884 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48885 if test "x$ac_cv_func__isinff" = x""yes; then :
48886 cat >>confdefs.h <<_ACEOF
48887 #define HAVE__ISINFF 1
48888 _ACEOF
48889
48890 fi
48891 done
48892
48893 fi
48894 fi
48895
48896
48897
48898
48899
48900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48901 $as_echo_n "checking for atan2f declaration... " >&6; }
48902 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48903 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48904 $as_echo_n "(cached) " >&6
48905 else
48906
48907
48908 ac_ext=cpp
48909 ac_cpp='$CXXCPP $CPPFLAGS'
48910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48913
48914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48915 /* end confdefs.h. */
48916 #include <math.h>
48917 int
48918 main ()
48919 {
48920 atan2f(0, 0);
48921 ;
48922 return 0;
48923 }
48924 _ACEOF
48925 if ac_fn_cxx_try_compile "$LINENO"; then :
48926 glibcxx_cv_func_atan2f_use=yes
48927 else
48928 glibcxx_cv_func_atan2f_use=no
48929 fi
48930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48931 ac_ext=c
48932 ac_cpp='$CPP $CPPFLAGS'
48933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48936
48937
48938 fi
48939
48940 fi
48941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48942 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48943
48944 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48945 for ac_func in atan2f
48946 do :
48947 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48948 if test "x$ac_cv_func_atan2f" = x""yes; then :
48949 cat >>confdefs.h <<_ACEOF
48950 #define HAVE_ATAN2F 1
48951 _ACEOF
48952
48953 fi
48954 done
48955
48956 else
48957
48958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48959 $as_echo_n "checking for _atan2f declaration... " >&6; }
48960 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48961 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48962 $as_echo_n "(cached) " >&6
48963 else
48964
48965
48966 ac_ext=cpp
48967 ac_cpp='$CXXCPP $CPPFLAGS'
48968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48971
48972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48973 /* end confdefs.h. */
48974 #include <math.h>
48975 int
48976 main ()
48977 {
48978 _atan2f(0, 0);
48979 ;
48980 return 0;
48981 }
48982 _ACEOF
48983 if ac_fn_cxx_try_compile "$LINENO"; then :
48984 glibcxx_cv_func__atan2f_use=yes
48985 else
48986 glibcxx_cv_func__atan2f_use=no
48987 fi
48988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48989 ac_ext=c
48990 ac_cpp='$CPP $CPPFLAGS'
48991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48994
48995
48996 fi
48997
48998 fi
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49000 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49001
49002 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49003 for ac_func in _atan2f
49004 do :
49005 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49006 if test "x$ac_cv_func__atan2f" = x""yes; then :
49007 cat >>confdefs.h <<_ACEOF
49008 #define HAVE__ATAN2F 1
49009 _ACEOF
49010
49011 fi
49012 done
49013
49014 fi
49015 fi
49016
49017
49018
49019
49020
49021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49022 $as_echo_n "checking for fabsf declaration... " >&6; }
49023 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49024 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49025 $as_echo_n "(cached) " >&6
49026 else
49027
49028
49029 ac_ext=cpp
49030 ac_cpp='$CXXCPP $CPPFLAGS'
49031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49034
49035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49036 /* end confdefs.h. */
49037 #include <math.h>
49038 #ifdef HAVE_IEEEFP_H
49039 #include <ieeefp.h>
49040 #endif
49041
49042 int
49043 main ()
49044 {
49045 fabsf(0);
49046 ;
49047 return 0;
49048 }
49049 _ACEOF
49050 if ac_fn_cxx_try_compile "$LINENO"; then :
49051 glibcxx_cv_func_fabsf_use=yes
49052 else
49053 glibcxx_cv_func_fabsf_use=no
49054 fi
49055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49056 ac_ext=c
49057 ac_cpp='$CPP $CPPFLAGS'
49058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49061
49062
49063 fi
49064
49065 fi
49066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49067 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49068
49069 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49070 for ac_func in fabsf
49071 do :
49072 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49073 if test "x$ac_cv_func_fabsf" = x""yes; then :
49074 cat >>confdefs.h <<_ACEOF
49075 #define HAVE_FABSF 1
49076 _ACEOF
49077
49078 fi
49079 done
49080
49081 else
49082
49083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49084 $as_echo_n "checking for _fabsf declaration... " >&6; }
49085 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49086 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49087 $as_echo_n "(cached) " >&6
49088 else
49089
49090
49091 ac_ext=cpp
49092 ac_cpp='$CXXCPP $CPPFLAGS'
49093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49096
49097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49098 /* end confdefs.h. */
49099 #include <math.h>
49100 #ifdef HAVE_IEEEFP_H
49101 #include <ieeefp.h>
49102 #endif
49103
49104 int
49105 main ()
49106 {
49107 _fabsf(0);
49108 ;
49109 return 0;
49110 }
49111 _ACEOF
49112 if ac_fn_cxx_try_compile "$LINENO"; then :
49113 glibcxx_cv_func__fabsf_use=yes
49114 else
49115 glibcxx_cv_func__fabsf_use=no
49116 fi
49117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49118 ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49123
49124
49125 fi
49126
49127 fi
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49129 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49130
49131 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49132 for ac_func in _fabsf
49133 do :
49134 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49135 if test "x$ac_cv_func__fabsf" = x""yes; then :
49136 cat >>confdefs.h <<_ACEOF
49137 #define HAVE__FABSF 1
49138 _ACEOF
49139
49140 fi
49141 done
49142
49143 fi
49144 fi
49145
49146
49147
49148
49149
49150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49151 $as_echo_n "checking for fmodf declaration... " >&6; }
49152 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49153 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49154 $as_echo_n "(cached) " >&6
49155 else
49156
49157
49158 ac_ext=cpp
49159 ac_cpp='$CXXCPP $CPPFLAGS'
49160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49163
49164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49165 /* end confdefs.h. */
49166 #include <math.h>
49167 int
49168 main ()
49169 {
49170 fmodf(0, 0);
49171 ;
49172 return 0;
49173 }
49174 _ACEOF
49175 if ac_fn_cxx_try_compile "$LINENO"; then :
49176 glibcxx_cv_func_fmodf_use=yes
49177 else
49178 glibcxx_cv_func_fmodf_use=no
49179 fi
49180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49181 ac_ext=c
49182 ac_cpp='$CPP $CPPFLAGS'
49183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49186
49187
49188 fi
49189
49190 fi
49191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49192 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49193
49194 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49195 for ac_func in fmodf
49196 do :
49197 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49198 if test "x$ac_cv_func_fmodf" = x""yes; then :
49199 cat >>confdefs.h <<_ACEOF
49200 #define HAVE_FMODF 1
49201 _ACEOF
49202
49203 fi
49204 done
49205
49206 else
49207
49208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49209 $as_echo_n "checking for _fmodf declaration... " >&6; }
49210 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49211 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49212 $as_echo_n "(cached) " >&6
49213 else
49214
49215
49216 ac_ext=cpp
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49221
49222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49223 /* end confdefs.h. */
49224 #include <math.h>
49225 int
49226 main ()
49227 {
49228 _fmodf(0, 0);
49229 ;
49230 return 0;
49231 }
49232 _ACEOF
49233 if ac_fn_cxx_try_compile "$LINENO"; then :
49234 glibcxx_cv_func__fmodf_use=yes
49235 else
49236 glibcxx_cv_func__fmodf_use=no
49237 fi
49238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49239 ac_ext=c
49240 ac_cpp='$CPP $CPPFLAGS'
49241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49244
49245
49246 fi
49247
49248 fi
49249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49250 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49251
49252 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49253 for ac_func in _fmodf
49254 do :
49255 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49256 if test "x$ac_cv_func__fmodf" = x""yes; then :
49257 cat >>confdefs.h <<_ACEOF
49258 #define HAVE__FMODF 1
49259 _ACEOF
49260
49261 fi
49262 done
49263
49264 fi
49265 fi
49266
49267
49268
49269
49270
49271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49272 $as_echo_n "checking for frexpf declaration... " >&6; }
49273 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49274 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49275 $as_echo_n "(cached) " >&6
49276 else
49277
49278
49279 ac_ext=cpp
49280 ac_cpp='$CXXCPP $CPPFLAGS'
49281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49284
49285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49286 /* end confdefs.h. */
49287 #include <math.h>
49288 int
49289 main ()
49290 {
49291 frexpf(0, 0);
49292 ;
49293 return 0;
49294 }
49295 _ACEOF
49296 if ac_fn_cxx_try_compile "$LINENO"; then :
49297 glibcxx_cv_func_frexpf_use=yes
49298 else
49299 glibcxx_cv_func_frexpf_use=no
49300 fi
49301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49302 ac_ext=c
49303 ac_cpp='$CPP $CPPFLAGS'
49304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49307
49308
49309 fi
49310
49311 fi
49312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49313 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49314
49315 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49316 for ac_func in frexpf
49317 do :
49318 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49319 if test "x$ac_cv_func_frexpf" = x""yes; then :
49320 cat >>confdefs.h <<_ACEOF
49321 #define HAVE_FREXPF 1
49322 _ACEOF
49323
49324 fi
49325 done
49326
49327 else
49328
49329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49330 $as_echo_n "checking for _frexpf declaration... " >&6; }
49331 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49332 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49333 $as_echo_n "(cached) " >&6
49334 else
49335
49336
49337 ac_ext=cpp
49338 ac_cpp='$CXXCPP $CPPFLAGS'
49339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49342
49343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49344 /* end confdefs.h. */
49345 #include <math.h>
49346 int
49347 main ()
49348 {
49349 _frexpf(0, 0);
49350 ;
49351 return 0;
49352 }
49353 _ACEOF
49354 if ac_fn_cxx_try_compile "$LINENO"; then :
49355 glibcxx_cv_func__frexpf_use=yes
49356 else
49357 glibcxx_cv_func__frexpf_use=no
49358 fi
49359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49360 ac_ext=c
49361 ac_cpp='$CPP $CPPFLAGS'
49362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49365
49366
49367 fi
49368
49369 fi
49370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49371 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49372
49373 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49374 for ac_func in _frexpf
49375 do :
49376 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49377 if test "x$ac_cv_func__frexpf" = x""yes; then :
49378 cat >>confdefs.h <<_ACEOF
49379 #define HAVE__FREXPF 1
49380 _ACEOF
49381
49382 fi
49383 done
49384
49385 fi
49386 fi
49387
49388
49389
49390
49391
49392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49393 $as_echo_n "checking for hypotf declaration... " >&6; }
49394 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49395 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49396 $as_echo_n "(cached) " >&6
49397 else
49398
49399
49400 ac_ext=cpp
49401 ac_cpp='$CXXCPP $CPPFLAGS'
49402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49405
49406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49407 /* end confdefs.h. */
49408 #include <math.h>
49409 int
49410 main ()
49411 {
49412 hypotf(0, 0);
49413 ;
49414 return 0;
49415 }
49416 _ACEOF
49417 if ac_fn_cxx_try_compile "$LINENO"; then :
49418 glibcxx_cv_func_hypotf_use=yes
49419 else
49420 glibcxx_cv_func_hypotf_use=no
49421 fi
49422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49423 ac_ext=c
49424 ac_cpp='$CPP $CPPFLAGS'
49425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49428
49429
49430 fi
49431
49432 fi
49433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49434 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49435
49436 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49437 for ac_func in hypotf
49438 do :
49439 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49440 if test "x$ac_cv_func_hypotf" = x""yes; then :
49441 cat >>confdefs.h <<_ACEOF
49442 #define HAVE_HYPOTF 1
49443 _ACEOF
49444
49445 fi
49446 done
49447
49448 else
49449
49450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49451 $as_echo_n "checking for _hypotf declaration... " >&6; }
49452 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49453 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49454 $as_echo_n "(cached) " >&6
49455 else
49456
49457
49458 ac_ext=cpp
49459 ac_cpp='$CXXCPP $CPPFLAGS'
49460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49463
49464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49465 /* end confdefs.h. */
49466 #include <math.h>
49467 int
49468 main ()
49469 {
49470 _hypotf(0, 0);
49471 ;
49472 return 0;
49473 }
49474 _ACEOF
49475 if ac_fn_cxx_try_compile "$LINENO"; then :
49476 glibcxx_cv_func__hypotf_use=yes
49477 else
49478 glibcxx_cv_func__hypotf_use=no
49479 fi
49480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49481 ac_ext=c
49482 ac_cpp='$CPP $CPPFLAGS'
49483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49486
49487
49488 fi
49489
49490 fi
49491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49492 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49493
49494 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49495 for ac_func in _hypotf
49496 do :
49497 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49498 if test "x$ac_cv_func__hypotf" = x""yes; then :
49499 cat >>confdefs.h <<_ACEOF
49500 #define HAVE__HYPOTF 1
49501 _ACEOF
49502
49503 fi
49504 done
49505
49506 fi
49507 fi
49508
49509
49510
49511
49512
49513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49514 $as_echo_n "checking for ldexpf declaration... " >&6; }
49515 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49516 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49517 $as_echo_n "(cached) " >&6
49518 else
49519
49520
49521 ac_ext=cpp
49522 ac_cpp='$CXXCPP $CPPFLAGS'
49523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49526
49527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49528 /* end confdefs.h. */
49529 #include <math.h>
49530 int
49531 main ()
49532 {
49533 ldexpf(0, 0);
49534 ;
49535 return 0;
49536 }
49537 _ACEOF
49538 if ac_fn_cxx_try_compile "$LINENO"; then :
49539 glibcxx_cv_func_ldexpf_use=yes
49540 else
49541 glibcxx_cv_func_ldexpf_use=no
49542 fi
49543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49544 ac_ext=c
49545 ac_cpp='$CPP $CPPFLAGS'
49546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49549
49550
49551 fi
49552
49553 fi
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49555 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49556
49557 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49558 for ac_func in ldexpf
49559 do :
49560 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49561 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49562 cat >>confdefs.h <<_ACEOF
49563 #define HAVE_LDEXPF 1
49564 _ACEOF
49565
49566 fi
49567 done
49568
49569 else
49570
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49572 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49573 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49574 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49575 $as_echo_n "(cached) " >&6
49576 else
49577
49578
49579 ac_ext=cpp
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49584
49585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49586 /* end confdefs.h. */
49587 #include <math.h>
49588 int
49589 main ()
49590 {
49591 _ldexpf(0, 0);
49592 ;
49593 return 0;
49594 }
49595 _ACEOF
49596 if ac_fn_cxx_try_compile "$LINENO"; then :
49597 glibcxx_cv_func__ldexpf_use=yes
49598 else
49599 glibcxx_cv_func__ldexpf_use=no
49600 fi
49601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49602 ac_ext=c
49603 ac_cpp='$CPP $CPPFLAGS'
49604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49607
49608
49609 fi
49610
49611 fi
49612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49613 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49614
49615 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49616 for ac_func in _ldexpf
49617 do :
49618 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49619 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49620 cat >>confdefs.h <<_ACEOF
49621 #define HAVE__LDEXPF 1
49622 _ACEOF
49623
49624 fi
49625 done
49626
49627 fi
49628 fi
49629
49630
49631
49632
49633
49634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49635 $as_echo_n "checking for logf declaration... " >&6; }
49636 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49637 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49638 $as_echo_n "(cached) " >&6
49639 else
49640
49641
49642 ac_ext=cpp
49643 ac_cpp='$CXXCPP $CPPFLAGS'
49644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49647
49648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49649 /* end confdefs.h. */
49650 #include <math.h>
49651 #ifdef HAVE_IEEEFP_H
49652 #include <ieeefp.h>
49653 #endif
49654
49655 int
49656 main ()
49657 {
49658 logf(0);
49659 ;
49660 return 0;
49661 }
49662 _ACEOF
49663 if ac_fn_cxx_try_compile "$LINENO"; then :
49664 glibcxx_cv_func_logf_use=yes
49665 else
49666 glibcxx_cv_func_logf_use=no
49667 fi
49668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49669 ac_ext=c
49670 ac_cpp='$CPP $CPPFLAGS'
49671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49674
49675
49676 fi
49677
49678 fi
49679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49680 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49681
49682 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49683 for ac_func in logf
49684 do :
49685 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49686 if test "x$ac_cv_func_logf" = x""yes; then :
49687 cat >>confdefs.h <<_ACEOF
49688 #define HAVE_LOGF 1
49689 _ACEOF
49690
49691 fi
49692 done
49693
49694 else
49695
49696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49697 $as_echo_n "checking for _logf declaration... " >&6; }
49698 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49699 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49700 $as_echo_n "(cached) " >&6
49701 else
49702
49703
49704 ac_ext=cpp
49705 ac_cpp='$CXXCPP $CPPFLAGS'
49706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49709
49710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49711 /* end confdefs.h. */
49712 #include <math.h>
49713 #ifdef HAVE_IEEEFP_H
49714 #include <ieeefp.h>
49715 #endif
49716
49717 int
49718 main ()
49719 {
49720 _logf(0);
49721 ;
49722 return 0;
49723 }
49724 _ACEOF
49725 if ac_fn_cxx_try_compile "$LINENO"; then :
49726 glibcxx_cv_func__logf_use=yes
49727 else
49728 glibcxx_cv_func__logf_use=no
49729 fi
49730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49731 ac_ext=c
49732 ac_cpp='$CPP $CPPFLAGS'
49733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49736
49737
49738 fi
49739
49740 fi
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49742 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49743
49744 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49745 for ac_func in _logf
49746 do :
49747 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49748 if test "x$ac_cv_func__logf" = x""yes; then :
49749 cat >>confdefs.h <<_ACEOF
49750 #define HAVE__LOGF 1
49751 _ACEOF
49752
49753 fi
49754 done
49755
49756 fi
49757 fi
49758
49759
49760
49761
49762
49763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49764 $as_echo_n "checking for log10f declaration... " >&6; }
49765 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49766 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49767 $as_echo_n "(cached) " >&6
49768 else
49769
49770
49771 ac_ext=cpp
49772 ac_cpp='$CXXCPP $CPPFLAGS'
49773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49776
49777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49778 /* end confdefs.h. */
49779 #include <math.h>
49780 #ifdef HAVE_IEEEFP_H
49781 #include <ieeefp.h>
49782 #endif
49783
49784 int
49785 main ()
49786 {
49787 log10f(0);
49788 ;
49789 return 0;
49790 }
49791 _ACEOF
49792 if ac_fn_cxx_try_compile "$LINENO"; then :
49793 glibcxx_cv_func_log10f_use=yes
49794 else
49795 glibcxx_cv_func_log10f_use=no
49796 fi
49797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49798 ac_ext=c
49799 ac_cpp='$CPP $CPPFLAGS'
49800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49803
49804
49805 fi
49806
49807 fi
49808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49809 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49810
49811 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49812 for ac_func in log10f
49813 do :
49814 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49815 if test "x$ac_cv_func_log10f" = x""yes; then :
49816 cat >>confdefs.h <<_ACEOF
49817 #define HAVE_LOG10F 1
49818 _ACEOF
49819
49820 fi
49821 done
49822
49823 else
49824
49825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49826 $as_echo_n "checking for _log10f declaration... " >&6; }
49827 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49828 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49829 $as_echo_n "(cached) " >&6
49830 else
49831
49832
49833 ac_ext=cpp
49834 ac_cpp='$CXXCPP $CPPFLAGS'
49835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49838
49839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49840 /* end confdefs.h. */
49841 #include <math.h>
49842 #ifdef HAVE_IEEEFP_H
49843 #include <ieeefp.h>
49844 #endif
49845
49846 int
49847 main ()
49848 {
49849 _log10f(0);
49850 ;
49851 return 0;
49852 }
49853 _ACEOF
49854 if ac_fn_cxx_try_compile "$LINENO"; then :
49855 glibcxx_cv_func__log10f_use=yes
49856 else
49857 glibcxx_cv_func__log10f_use=no
49858 fi
49859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49860 ac_ext=c
49861 ac_cpp='$CPP $CPPFLAGS'
49862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49865
49866
49867 fi
49868
49869 fi
49870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49871 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49872
49873 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49874 for ac_func in _log10f
49875 do :
49876 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49877 if test "x$ac_cv_func__log10f" = x""yes; then :
49878 cat >>confdefs.h <<_ACEOF
49879 #define HAVE__LOG10F 1
49880 _ACEOF
49881
49882 fi
49883 done
49884
49885 fi
49886 fi
49887
49888
49889
49890
49891
49892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49893 $as_echo_n "checking for modff declaration... " >&6; }
49894 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49895 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49896 $as_echo_n "(cached) " >&6
49897 else
49898
49899
49900 ac_ext=cpp
49901 ac_cpp='$CXXCPP $CPPFLAGS'
49902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49905
49906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49907 /* end confdefs.h. */
49908 #include <math.h>
49909 int
49910 main ()
49911 {
49912 modff(0, 0);
49913 ;
49914 return 0;
49915 }
49916 _ACEOF
49917 if ac_fn_cxx_try_compile "$LINENO"; then :
49918 glibcxx_cv_func_modff_use=yes
49919 else
49920 glibcxx_cv_func_modff_use=no
49921 fi
49922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49923 ac_ext=c
49924 ac_cpp='$CPP $CPPFLAGS'
49925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49928
49929
49930 fi
49931
49932 fi
49933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49934 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49935
49936 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49937 for ac_func in modff
49938 do :
49939 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49940 if test "x$ac_cv_func_modff" = x""yes; then :
49941 cat >>confdefs.h <<_ACEOF
49942 #define HAVE_MODFF 1
49943 _ACEOF
49944
49945 fi
49946 done
49947
49948 else
49949
49950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49951 $as_echo_n "checking for _modff declaration... " >&6; }
49952 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49953 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49954 $as_echo_n "(cached) " >&6
49955 else
49956
49957
49958 ac_ext=cpp
49959 ac_cpp='$CXXCPP $CPPFLAGS'
49960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49963
49964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49965 /* end confdefs.h. */
49966 #include <math.h>
49967 int
49968 main ()
49969 {
49970 _modff(0, 0);
49971 ;
49972 return 0;
49973 }
49974 _ACEOF
49975 if ac_fn_cxx_try_compile "$LINENO"; then :
49976 glibcxx_cv_func__modff_use=yes
49977 else
49978 glibcxx_cv_func__modff_use=no
49979 fi
49980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49981 ac_ext=c
49982 ac_cpp='$CPP $CPPFLAGS'
49983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49986
49987
49988 fi
49989
49990 fi
49991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49992 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49993
49994 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49995 for ac_func in _modff
49996 do :
49997 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49998 if test "x$ac_cv_func__modff" = x""yes; then :
49999 cat >>confdefs.h <<_ACEOF
50000 #define HAVE__MODFF 1
50001 _ACEOF
50002
50003 fi
50004 done
50005
50006 fi
50007 fi
50008
50009
50010
50011
50012
50013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50014 $as_echo_n "checking for modf declaration... " >&6; }
50015 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50016 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50017 $as_echo_n "(cached) " >&6
50018 else
50019
50020
50021 ac_ext=cpp
50022 ac_cpp='$CXXCPP $CPPFLAGS'
50023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50026
50027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50028 /* end confdefs.h. */
50029 #include <math.h>
50030 int
50031 main ()
50032 {
50033 modf(0, 0);
50034 ;
50035 return 0;
50036 }
50037 _ACEOF
50038 if ac_fn_cxx_try_compile "$LINENO"; then :
50039 glibcxx_cv_func_modf_use=yes
50040 else
50041 glibcxx_cv_func_modf_use=no
50042 fi
50043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50044 ac_ext=c
50045 ac_cpp='$CPP $CPPFLAGS'
50046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50049
50050
50051 fi
50052
50053 fi
50054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50055 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50056
50057 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50058 for ac_func in modf
50059 do :
50060 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50061 if test "x$ac_cv_func_modf" = x""yes; then :
50062 cat >>confdefs.h <<_ACEOF
50063 #define HAVE_MODF 1
50064 _ACEOF
50065
50066 fi
50067 done
50068
50069 else
50070
50071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50072 $as_echo_n "checking for _modf declaration... " >&6; }
50073 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50074 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50075 $as_echo_n "(cached) " >&6
50076 else
50077
50078
50079 ac_ext=cpp
50080 ac_cpp='$CXXCPP $CPPFLAGS'
50081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50084
50085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50086 /* end confdefs.h. */
50087 #include <math.h>
50088 int
50089 main ()
50090 {
50091 _modf(0, 0);
50092 ;
50093 return 0;
50094 }
50095 _ACEOF
50096 if ac_fn_cxx_try_compile "$LINENO"; then :
50097 glibcxx_cv_func__modf_use=yes
50098 else
50099 glibcxx_cv_func__modf_use=no
50100 fi
50101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50102 ac_ext=c
50103 ac_cpp='$CPP $CPPFLAGS'
50104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50107
50108
50109 fi
50110
50111 fi
50112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50113 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50114
50115 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50116 for ac_func in _modf
50117 do :
50118 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50119 if test "x$ac_cv_func__modf" = x""yes; then :
50120 cat >>confdefs.h <<_ACEOF
50121 #define HAVE__MODF 1
50122 _ACEOF
50123
50124 fi
50125 done
50126
50127 fi
50128 fi
50129
50130
50131
50132
50133
50134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50135 $as_echo_n "checking for powf declaration... " >&6; }
50136 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50137 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50138 $as_echo_n "(cached) " >&6
50139 else
50140
50141
50142 ac_ext=cpp
50143 ac_cpp='$CXXCPP $CPPFLAGS'
50144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50147
50148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50149 /* end confdefs.h. */
50150 #include <math.h>
50151 int
50152 main ()
50153 {
50154 powf(0, 0);
50155 ;
50156 return 0;
50157 }
50158 _ACEOF
50159 if ac_fn_cxx_try_compile "$LINENO"; then :
50160 glibcxx_cv_func_powf_use=yes
50161 else
50162 glibcxx_cv_func_powf_use=no
50163 fi
50164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50165 ac_ext=c
50166 ac_cpp='$CPP $CPPFLAGS'
50167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50170
50171
50172 fi
50173
50174 fi
50175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50176 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50177
50178 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50179 for ac_func in powf
50180 do :
50181 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50182 if test "x$ac_cv_func_powf" = x""yes; then :
50183 cat >>confdefs.h <<_ACEOF
50184 #define HAVE_POWF 1
50185 _ACEOF
50186
50187 fi
50188 done
50189
50190 else
50191
50192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50193 $as_echo_n "checking for _powf declaration... " >&6; }
50194 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50195 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50196 $as_echo_n "(cached) " >&6
50197 else
50198
50199
50200 ac_ext=cpp
50201 ac_cpp='$CXXCPP $CPPFLAGS'
50202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50205
50206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50207 /* end confdefs.h. */
50208 #include <math.h>
50209 int
50210 main ()
50211 {
50212 _powf(0, 0);
50213 ;
50214 return 0;
50215 }
50216 _ACEOF
50217 if ac_fn_cxx_try_compile "$LINENO"; then :
50218 glibcxx_cv_func__powf_use=yes
50219 else
50220 glibcxx_cv_func__powf_use=no
50221 fi
50222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50223 ac_ext=c
50224 ac_cpp='$CPP $CPPFLAGS'
50225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50228
50229
50230 fi
50231
50232 fi
50233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50234 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50235
50236 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50237 for ac_func in _powf
50238 do :
50239 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50240 if test "x$ac_cv_func__powf" = x""yes; then :
50241 cat >>confdefs.h <<_ACEOF
50242 #define HAVE__POWF 1
50243 _ACEOF
50244
50245 fi
50246 done
50247
50248 fi
50249 fi
50250
50251
50252
50253
50254
50255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50256 $as_echo_n "checking for sqrtf declaration... " >&6; }
50257 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50258 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50259 $as_echo_n "(cached) " >&6
50260 else
50261
50262
50263 ac_ext=cpp
50264 ac_cpp='$CXXCPP $CPPFLAGS'
50265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50268
50269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50270 /* end confdefs.h. */
50271 #include <math.h>
50272 #ifdef HAVE_IEEEFP_H
50273 #include <ieeefp.h>
50274 #endif
50275
50276 int
50277 main ()
50278 {
50279 sqrtf(0);
50280 ;
50281 return 0;
50282 }
50283 _ACEOF
50284 if ac_fn_cxx_try_compile "$LINENO"; then :
50285 glibcxx_cv_func_sqrtf_use=yes
50286 else
50287 glibcxx_cv_func_sqrtf_use=no
50288 fi
50289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50290 ac_ext=c
50291 ac_cpp='$CPP $CPPFLAGS'
50292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50295
50296
50297 fi
50298
50299 fi
50300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50301 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50302
50303 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50304 for ac_func in sqrtf
50305 do :
50306 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50307 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50308 cat >>confdefs.h <<_ACEOF
50309 #define HAVE_SQRTF 1
50310 _ACEOF
50311
50312 fi
50313 done
50314
50315 else
50316
50317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50318 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50319 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50320 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50321 $as_echo_n "(cached) " >&6
50322 else
50323
50324
50325 ac_ext=cpp
50326 ac_cpp='$CXXCPP $CPPFLAGS'
50327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50330
50331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50332 /* end confdefs.h. */
50333 #include <math.h>
50334 #ifdef HAVE_IEEEFP_H
50335 #include <ieeefp.h>
50336 #endif
50337
50338 int
50339 main ()
50340 {
50341 _sqrtf(0);
50342 ;
50343 return 0;
50344 }
50345 _ACEOF
50346 if ac_fn_cxx_try_compile "$LINENO"; then :
50347 glibcxx_cv_func__sqrtf_use=yes
50348 else
50349 glibcxx_cv_func__sqrtf_use=no
50350 fi
50351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50352 ac_ext=c
50353 ac_cpp='$CPP $CPPFLAGS'
50354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50357
50358
50359 fi
50360
50361 fi
50362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50363 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50364
50365 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50366 for ac_func in _sqrtf
50367 do :
50368 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50369 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50370 cat >>confdefs.h <<_ACEOF
50371 #define HAVE__SQRTF 1
50372 _ACEOF
50373
50374 fi
50375 done
50376
50377 fi
50378 fi
50379
50380
50381
50382
50383
50384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50385 $as_echo_n "checking for sincosf declaration... " >&6; }
50386 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50387 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50388 $as_echo_n "(cached) " >&6
50389 else
50390
50391
50392 ac_ext=cpp
50393 ac_cpp='$CXXCPP $CPPFLAGS'
50394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50397
50398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50399 /* end confdefs.h. */
50400 #include <math.h>
50401 int
50402 main ()
50403 {
50404 sincosf(0, 0, 0);
50405 ;
50406 return 0;
50407 }
50408 _ACEOF
50409 if ac_fn_cxx_try_compile "$LINENO"; then :
50410 glibcxx_cv_func_sincosf_use=yes
50411 else
50412 glibcxx_cv_func_sincosf_use=no
50413 fi
50414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50415 ac_ext=c
50416 ac_cpp='$CPP $CPPFLAGS'
50417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50420
50421
50422 fi
50423
50424 fi
50425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50426 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50427
50428 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50429 for ac_func in sincosf
50430 do :
50431 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50432 if test "x$ac_cv_func_sincosf" = x""yes; then :
50433 cat >>confdefs.h <<_ACEOF
50434 #define HAVE_SINCOSF 1
50435 _ACEOF
50436
50437 fi
50438 done
50439
50440 else
50441
50442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50443 $as_echo_n "checking for _sincosf declaration... " >&6; }
50444 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50445 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50446 $as_echo_n "(cached) " >&6
50447 else
50448
50449
50450 ac_ext=cpp
50451 ac_cpp='$CXXCPP $CPPFLAGS'
50452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50455
50456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50457 /* end confdefs.h. */
50458 #include <math.h>
50459 int
50460 main ()
50461 {
50462 _sincosf(0, 0, 0);
50463 ;
50464 return 0;
50465 }
50466 _ACEOF
50467 if ac_fn_cxx_try_compile "$LINENO"; then :
50468 glibcxx_cv_func__sincosf_use=yes
50469 else
50470 glibcxx_cv_func__sincosf_use=no
50471 fi
50472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50473 ac_ext=c
50474 ac_cpp='$CPP $CPPFLAGS'
50475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50478
50479
50480 fi
50481
50482 fi
50483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50484 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50485
50486 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50487 for ac_func in _sincosf
50488 do :
50489 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50490 if test "x$ac_cv_func__sincosf" = x""yes; then :
50491 cat >>confdefs.h <<_ACEOF
50492 #define HAVE__SINCOSF 1
50493 _ACEOF
50494
50495 fi
50496 done
50497
50498 fi
50499 fi
50500
50501
50502
50503
50504
50505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50506 $as_echo_n "checking for finitef declaration... " >&6; }
50507 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50508 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50509 $as_echo_n "(cached) " >&6
50510 else
50511
50512
50513 ac_ext=cpp
50514 ac_cpp='$CXXCPP $CPPFLAGS'
50515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50518
50519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50520 /* end confdefs.h. */
50521 #include <math.h>
50522 #ifdef HAVE_IEEEFP_H
50523 #include <ieeefp.h>
50524 #endif
50525
50526 int
50527 main ()
50528 {
50529 finitef(0);
50530 ;
50531 return 0;
50532 }
50533 _ACEOF
50534 if ac_fn_cxx_try_compile "$LINENO"; then :
50535 glibcxx_cv_func_finitef_use=yes
50536 else
50537 glibcxx_cv_func_finitef_use=no
50538 fi
50539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50540 ac_ext=c
50541 ac_cpp='$CPP $CPPFLAGS'
50542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50545
50546
50547 fi
50548
50549 fi
50550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50551 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50552
50553 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50554 for ac_func in finitef
50555 do :
50556 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50557 if test "x$ac_cv_func_finitef" = x""yes; then :
50558 cat >>confdefs.h <<_ACEOF
50559 #define HAVE_FINITEF 1
50560 _ACEOF
50561
50562 fi
50563 done
50564
50565 else
50566
50567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50568 $as_echo_n "checking for _finitef declaration... " >&6; }
50569 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50570 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50571 $as_echo_n "(cached) " >&6
50572 else
50573
50574
50575 ac_ext=cpp
50576 ac_cpp='$CXXCPP $CPPFLAGS'
50577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50580
50581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50582 /* end confdefs.h. */
50583 #include <math.h>
50584 #ifdef HAVE_IEEEFP_H
50585 #include <ieeefp.h>
50586 #endif
50587
50588 int
50589 main ()
50590 {
50591 _finitef(0);
50592 ;
50593 return 0;
50594 }
50595 _ACEOF
50596 if ac_fn_cxx_try_compile "$LINENO"; then :
50597 glibcxx_cv_func__finitef_use=yes
50598 else
50599 glibcxx_cv_func__finitef_use=no
50600 fi
50601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50602 ac_ext=c
50603 ac_cpp='$CPP $CPPFLAGS'
50604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50607
50608
50609 fi
50610
50611 fi
50612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50613 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50614
50615 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50616 for ac_func in _finitef
50617 do :
50618 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50619 if test "x$ac_cv_func__finitef" = x""yes; then :
50620 cat >>confdefs.h <<_ACEOF
50621 #define HAVE__FINITEF 1
50622 _ACEOF
50623
50624 fi
50625 done
50626
50627 fi
50628 fi
50629
50630
50631
50632
50633
50634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50635 $as_echo_n "checking for long double trig functions... " >&6; }
50636 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50637 $as_echo_n "(cached) " >&6
50638 else
50639
50640
50641 ac_ext=cpp
50642 ac_cpp='$CXXCPP $CPPFLAGS'
50643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50646
50647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50648 /* end confdefs.h. */
50649 #include <math.h>
50650 int
50651 main ()
50652 {
50653 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50654 ;
50655 return 0;
50656 }
50657 _ACEOF
50658 if ac_fn_cxx_try_compile "$LINENO"; then :
50659 glibcxx_cv_func_long_double_trig_use=yes
50660 else
50661 glibcxx_cv_func_long_double_trig_use=no
50662 fi
50663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50664 ac_ext=c
50665 ac_cpp='$CPP $CPPFLAGS'
50666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50669
50670 fi
50671
50672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50673 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50674 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50675 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50676 do :
50677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50679 eval as_val=\$$as_ac_var
50680 if test "x$as_val" = x""yes; then :
50681 cat >>confdefs.h <<_ACEOF
50682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50683 _ACEOF
50684
50685 fi
50686 done
50687
50688 else
50689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50690 $as_echo_n "checking for _long double trig functions... " >&6; }
50691 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50692 $as_echo_n "(cached) " >&6
50693 else
50694
50695
50696 ac_ext=cpp
50697 ac_cpp='$CXXCPP $CPPFLAGS'
50698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50701
50702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50703 /* end confdefs.h. */
50704 #include <math.h>
50705 int
50706 main ()
50707 {
50708 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50709 ;
50710 return 0;
50711 }
50712 _ACEOF
50713 if ac_fn_cxx_try_compile "$LINENO"; then :
50714 glibcxx_cv_func__long_double_trig_use=yes
50715 else
50716 glibcxx_cv_func__long_double_trig_use=no
50717 fi
50718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50719 ac_ext=c
50720 ac_cpp='$CPP $CPPFLAGS'
50721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50724
50725 fi
50726
50727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50728 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50729 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50730 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50731 do :
50732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50734 eval as_val=\$$as_ac_var
50735 if test "x$as_val" = x""yes; then :
50736 cat >>confdefs.h <<_ACEOF
50737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50738 _ACEOF
50739
50740 fi
50741 done
50742
50743 fi
50744 fi
50745
50746
50747
50748
50749
50750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50751 $as_echo_n "checking for long double round functions... " >&6; }
50752 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50753 $as_echo_n "(cached) " >&6
50754 else
50755
50756
50757 ac_ext=cpp
50758 ac_cpp='$CXXCPP $CPPFLAGS'
50759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50762
50763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50764 /* end confdefs.h. */
50765 #include <math.h>
50766 int
50767 main ()
50768 {
50769 ceill (0); floorl (0);
50770 ;
50771 return 0;
50772 }
50773 _ACEOF
50774 if ac_fn_cxx_try_compile "$LINENO"; then :
50775 glibcxx_cv_func_long_double_round_use=yes
50776 else
50777 glibcxx_cv_func_long_double_round_use=no
50778 fi
50779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50780 ac_ext=c
50781 ac_cpp='$CPP $CPPFLAGS'
50782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50785
50786 fi
50787
50788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50789 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50790 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50791 for ac_func in ceill floorl
50792 do :
50793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50795 eval as_val=\$$as_ac_var
50796 if test "x$as_val" = x""yes; then :
50797 cat >>confdefs.h <<_ACEOF
50798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50799 _ACEOF
50800
50801 fi
50802 done
50803
50804 else
50805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50806 $as_echo_n "checking for _long double round functions... " >&6; }
50807 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50808 $as_echo_n "(cached) " >&6
50809 else
50810
50811
50812 ac_ext=cpp
50813 ac_cpp='$CXXCPP $CPPFLAGS'
50814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50817
50818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50819 /* end confdefs.h. */
50820 #include <math.h>
50821 int
50822 main ()
50823 {
50824 _ceill (0); _floorl (0);
50825 ;
50826 return 0;
50827 }
50828 _ACEOF
50829 if ac_fn_cxx_try_compile "$LINENO"; then :
50830 glibcxx_cv_func__long_double_round_use=yes
50831 else
50832 glibcxx_cv_func__long_double_round_use=no
50833 fi
50834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50835 ac_ext=c
50836 ac_cpp='$CPP $CPPFLAGS'
50837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50840
50841 fi
50842
50843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50844 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50845 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50846 for ac_func in _ceill _floorl
50847 do :
50848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50850 eval as_val=\$$as_ac_var
50851 if test "x$as_val" = x""yes; then :
50852 cat >>confdefs.h <<_ACEOF
50853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50854 _ACEOF
50855
50856 fi
50857 done
50858
50859 fi
50860 fi
50861
50862
50863
50864
50865
50866
50867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50868 $as_echo_n "checking for isnanl declaration... " >&6; }
50869 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50870 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50871 $as_echo_n "(cached) " >&6
50872 else
50873
50874
50875 ac_ext=cpp
50876 ac_cpp='$CXXCPP $CPPFLAGS'
50877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50880
50881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50882 /* end confdefs.h. */
50883 #include <math.h>
50884 #ifdef HAVE_IEEEFP_H
50885 #include <ieeefp.h>
50886 #endif
50887
50888 int
50889 main ()
50890 {
50891 isnanl(0);
50892 ;
50893 return 0;
50894 }
50895 _ACEOF
50896 if ac_fn_cxx_try_compile "$LINENO"; then :
50897 glibcxx_cv_func_isnanl_use=yes
50898 else
50899 glibcxx_cv_func_isnanl_use=no
50900 fi
50901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50902 ac_ext=c
50903 ac_cpp='$CPP $CPPFLAGS'
50904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50907
50908
50909 fi
50910
50911 fi
50912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50913 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50914
50915 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50916 for ac_func in isnanl
50917 do :
50918 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50919 if test "x$ac_cv_func_isnanl" = x""yes; then :
50920 cat >>confdefs.h <<_ACEOF
50921 #define HAVE_ISNANL 1
50922 _ACEOF
50923
50924 fi
50925 done
50926
50927 else
50928
50929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50930 $as_echo_n "checking for _isnanl declaration... " >&6; }
50931 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50932 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50933 $as_echo_n "(cached) " >&6
50934 else
50935
50936
50937 ac_ext=cpp
50938 ac_cpp='$CXXCPP $CPPFLAGS'
50939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50942
50943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50944 /* end confdefs.h. */
50945 #include <math.h>
50946 #ifdef HAVE_IEEEFP_H
50947 #include <ieeefp.h>
50948 #endif
50949
50950 int
50951 main ()
50952 {
50953 _isnanl(0);
50954 ;
50955 return 0;
50956 }
50957 _ACEOF
50958 if ac_fn_cxx_try_compile "$LINENO"; then :
50959 glibcxx_cv_func__isnanl_use=yes
50960 else
50961 glibcxx_cv_func__isnanl_use=no
50962 fi
50963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50964 ac_ext=c
50965 ac_cpp='$CPP $CPPFLAGS'
50966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50969
50970
50971 fi
50972
50973 fi
50974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50975 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50976
50977 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50978 for ac_func in _isnanl
50979 do :
50980 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50981 if test "x$ac_cv_func__isnanl" = x""yes; then :
50982 cat >>confdefs.h <<_ACEOF
50983 #define HAVE__ISNANL 1
50984 _ACEOF
50985
50986 fi
50987 done
50988
50989 fi
50990 fi
50991
50992
50993
50994
50995
50996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50997 $as_echo_n "checking for isinfl declaration... " >&6; }
50998 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50999 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
51000 $as_echo_n "(cached) " >&6
51001 else
51002
51003
51004 ac_ext=cpp
51005 ac_cpp='$CXXCPP $CPPFLAGS'
51006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51009
51010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51011 /* end confdefs.h. */
51012 #include <math.h>
51013 #ifdef HAVE_IEEEFP_H
51014 #include <ieeefp.h>
51015 #endif
51016
51017 int
51018 main ()
51019 {
51020 isinfl(0);
51021 ;
51022 return 0;
51023 }
51024 _ACEOF
51025 if ac_fn_cxx_try_compile "$LINENO"; then :
51026 glibcxx_cv_func_isinfl_use=yes
51027 else
51028 glibcxx_cv_func_isinfl_use=no
51029 fi
51030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51031 ac_ext=c
51032 ac_cpp='$CPP $CPPFLAGS'
51033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51036
51037
51038 fi
51039
51040 fi
51041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51042 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51043
51044 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51045 for ac_func in isinfl
51046 do :
51047 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51048 if test "x$ac_cv_func_isinfl" = x""yes; then :
51049 cat >>confdefs.h <<_ACEOF
51050 #define HAVE_ISINFL 1
51051 _ACEOF
51052
51053 fi
51054 done
51055
51056 else
51057
51058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51059 $as_echo_n "checking for _isinfl declaration... " >&6; }
51060 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51061 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51062 $as_echo_n "(cached) " >&6
51063 else
51064
51065
51066 ac_ext=cpp
51067 ac_cpp='$CXXCPP $CPPFLAGS'
51068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51071
51072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51073 /* end confdefs.h. */
51074 #include <math.h>
51075 #ifdef HAVE_IEEEFP_H
51076 #include <ieeefp.h>
51077 #endif
51078
51079 int
51080 main ()
51081 {
51082 _isinfl(0);
51083 ;
51084 return 0;
51085 }
51086 _ACEOF
51087 if ac_fn_cxx_try_compile "$LINENO"; then :
51088 glibcxx_cv_func__isinfl_use=yes
51089 else
51090 glibcxx_cv_func__isinfl_use=no
51091 fi
51092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51093 ac_ext=c
51094 ac_cpp='$CPP $CPPFLAGS'
51095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51098
51099
51100 fi
51101
51102 fi
51103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51104 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51105
51106 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51107 for ac_func in _isinfl
51108 do :
51109 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51110 if test "x$ac_cv_func__isinfl" = x""yes; then :
51111 cat >>confdefs.h <<_ACEOF
51112 #define HAVE__ISINFL 1
51113 _ACEOF
51114
51115 fi
51116 done
51117
51118 fi
51119 fi
51120
51121
51122
51123
51124
51125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51126 $as_echo_n "checking for atan2l declaration... " >&6; }
51127 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51128 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51129 $as_echo_n "(cached) " >&6
51130 else
51131
51132
51133 ac_ext=cpp
51134 ac_cpp='$CXXCPP $CPPFLAGS'
51135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51138
51139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51140 /* end confdefs.h. */
51141 #include <math.h>
51142 int
51143 main ()
51144 {
51145 atan2l(0, 0);
51146 ;
51147 return 0;
51148 }
51149 _ACEOF
51150 if ac_fn_cxx_try_compile "$LINENO"; then :
51151 glibcxx_cv_func_atan2l_use=yes
51152 else
51153 glibcxx_cv_func_atan2l_use=no
51154 fi
51155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51156 ac_ext=c
51157 ac_cpp='$CPP $CPPFLAGS'
51158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51161
51162
51163 fi
51164
51165 fi
51166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51167 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51168
51169 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51170 for ac_func in atan2l
51171 do :
51172 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51173 if test "x$ac_cv_func_atan2l" = x""yes; then :
51174 cat >>confdefs.h <<_ACEOF
51175 #define HAVE_ATAN2L 1
51176 _ACEOF
51177
51178 fi
51179 done
51180
51181 else
51182
51183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51184 $as_echo_n "checking for _atan2l declaration... " >&6; }
51185 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51186 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51187 $as_echo_n "(cached) " >&6
51188 else
51189
51190
51191 ac_ext=cpp
51192 ac_cpp='$CXXCPP $CPPFLAGS'
51193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51196
51197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51198 /* end confdefs.h. */
51199 #include <math.h>
51200 int
51201 main ()
51202 {
51203 _atan2l(0, 0);
51204 ;
51205 return 0;
51206 }
51207 _ACEOF
51208 if ac_fn_cxx_try_compile "$LINENO"; then :
51209 glibcxx_cv_func__atan2l_use=yes
51210 else
51211 glibcxx_cv_func__atan2l_use=no
51212 fi
51213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51214 ac_ext=c
51215 ac_cpp='$CPP $CPPFLAGS'
51216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51219
51220
51221 fi
51222
51223 fi
51224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51225 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51226
51227 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51228 for ac_func in _atan2l
51229 do :
51230 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51231 if test "x$ac_cv_func__atan2l" = x""yes; then :
51232 cat >>confdefs.h <<_ACEOF
51233 #define HAVE__ATAN2L 1
51234 _ACEOF
51235
51236 fi
51237 done
51238
51239 fi
51240 fi
51241
51242
51243
51244
51245
51246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51247 $as_echo_n "checking for expl declaration... " >&6; }
51248 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51249 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51250 $as_echo_n "(cached) " >&6
51251 else
51252
51253
51254 ac_ext=cpp
51255 ac_cpp='$CXXCPP $CPPFLAGS'
51256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51259
51260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51261 /* end confdefs.h. */
51262 #include <math.h>
51263 #ifdef HAVE_IEEEFP_H
51264 #include <ieeefp.h>
51265 #endif
51266
51267 int
51268 main ()
51269 {
51270 expl(0);
51271 ;
51272 return 0;
51273 }
51274 _ACEOF
51275 if ac_fn_cxx_try_compile "$LINENO"; then :
51276 glibcxx_cv_func_expl_use=yes
51277 else
51278 glibcxx_cv_func_expl_use=no
51279 fi
51280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51281 ac_ext=c
51282 ac_cpp='$CPP $CPPFLAGS'
51283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51286
51287
51288 fi
51289
51290 fi
51291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51292 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51293
51294 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51295 for ac_func in expl
51296 do :
51297 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51298 if test "x$ac_cv_func_expl" = x""yes; then :
51299 cat >>confdefs.h <<_ACEOF
51300 #define HAVE_EXPL 1
51301 _ACEOF
51302
51303 fi
51304 done
51305
51306 else
51307
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51309 $as_echo_n "checking for _expl declaration... " >&6; }
51310 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51311 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51312 $as_echo_n "(cached) " >&6
51313 else
51314
51315
51316 ac_ext=cpp
51317 ac_cpp='$CXXCPP $CPPFLAGS'
51318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51321
51322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51323 /* end confdefs.h. */
51324 #include <math.h>
51325 #ifdef HAVE_IEEEFP_H
51326 #include <ieeefp.h>
51327 #endif
51328
51329 int
51330 main ()
51331 {
51332 _expl(0);
51333 ;
51334 return 0;
51335 }
51336 _ACEOF
51337 if ac_fn_cxx_try_compile "$LINENO"; then :
51338 glibcxx_cv_func__expl_use=yes
51339 else
51340 glibcxx_cv_func__expl_use=no
51341 fi
51342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51343 ac_ext=c
51344 ac_cpp='$CPP $CPPFLAGS'
51345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51348
51349
51350 fi
51351
51352 fi
51353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51354 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51355
51356 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51357 for ac_func in _expl
51358 do :
51359 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51360 if test "x$ac_cv_func__expl" = x""yes; then :
51361 cat >>confdefs.h <<_ACEOF
51362 #define HAVE__EXPL 1
51363 _ACEOF
51364
51365 fi
51366 done
51367
51368 fi
51369 fi
51370
51371
51372
51373
51374
51375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51376 $as_echo_n "checking for fabsl declaration... " >&6; }
51377 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51378 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51379 $as_echo_n "(cached) " >&6
51380 else
51381
51382
51383 ac_ext=cpp
51384 ac_cpp='$CXXCPP $CPPFLAGS'
51385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51388
51389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h. */
51391 #include <math.h>
51392 #ifdef HAVE_IEEEFP_H
51393 #include <ieeefp.h>
51394 #endif
51395
51396 int
51397 main ()
51398 {
51399 fabsl(0);
51400 ;
51401 return 0;
51402 }
51403 _ACEOF
51404 if ac_fn_cxx_try_compile "$LINENO"; then :
51405 glibcxx_cv_func_fabsl_use=yes
51406 else
51407 glibcxx_cv_func_fabsl_use=no
51408 fi
51409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51410 ac_ext=c
51411 ac_cpp='$CPP $CPPFLAGS'
51412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51415
51416
51417 fi
51418
51419 fi
51420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51421 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51422
51423 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51424 for ac_func in fabsl
51425 do :
51426 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51427 if test "x$ac_cv_func_fabsl" = x""yes; then :
51428 cat >>confdefs.h <<_ACEOF
51429 #define HAVE_FABSL 1
51430 _ACEOF
51431
51432 fi
51433 done
51434
51435 else
51436
51437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51438 $as_echo_n "checking for _fabsl declaration... " >&6; }
51439 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51440 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51441 $as_echo_n "(cached) " >&6
51442 else
51443
51444
51445 ac_ext=cpp
51446 ac_cpp='$CXXCPP $CPPFLAGS'
51447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51450
51451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51452 /* end confdefs.h. */
51453 #include <math.h>
51454 #ifdef HAVE_IEEEFP_H
51455 #include <ieeefp.h>
51456 #endif
51457
51458 int
51459 main ()
51460 {
51461 _fabsl(0);
51462 ;
51463 return 0;
51464 }
51465 _ACEOF
51466 if ac_fn_cxx_try_compile "$LINENO"; then :
51467 glibcxx_cv_func__fabsl_use=yes
51468 else
51469 glibcxx_cv_func__fabsl_use=no
51470 fi
51471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51472 ac_ext=c
51473 ac_cpp='$CPP $CPPFLAGS'
51474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51477
51478
51479 fi
51480
51481 fi
51482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51483 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51484
51485 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51486 for ac_func in _fabsl
51487 do :
51488 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51489 if test "x$ac_cv_func__fabsl" = x""yes; then :
51490 cat >>confdefs.h <<_ACEOF
51491 #define HAVE__FABSL 1
51492 _ACEOF
51493
51494 fi
51495 done
51496
51497 fi
51498 fi
51499
51500
51501
51502
51503
51504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51505 $as_echo_n "checking for fmodl declaration... " >&6; }
51506 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51507 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51508 $as_echo_n "(cached) " >&6
51509 else
51510
51511
51512 ac_ext=cpp
51513 ac_cpp='$CXXCPP $CPPFLAGS'
51514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51517
51518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51519 /* end confdefs.h. */
51520 #include <math.h>
51521 int
51522 main ()
51523 {
51524 fmodl(0, 0);
51525 ;
51526 return 0;
51527 }
51528 _ACEOF
51529 if ac_fn_cxx_try_compile "$LINENO"; then :
51530 glibcxx_cv_func_fmodl_use=yes
51531 else
51532 glibcxx_cv_func_fmodl_use=no
51533 fi
51534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51535 ac_ext=c
51536 ac_cpp='$CPP $CPPFLAGS'
51537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51540
51541
51542 fi
51543
51544 fi
51545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51546 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51547
51548 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51549 for ac_func in fmodl
51550 do :
51551 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51552 if test "x$ac_cv_func_fmodl" = x""yes; then :
51553 cat >>confdefs.h <<_ACEOF
51554 #define HAVE_FMODL 1
51555 _ACEOF
51556
51557 fi
51558 done
51559
51560 else
51561
51562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51563 $as_echo_n "checking for _fmodl declaration... " >&6; }
51564 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51565 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51566 $as_echo_n "(cached) " >&6
51567 else
51568
51569
51570 ac_ext=cpp
51571 ac_cpp='$CXXCPP $CPPFLAGS'
51572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51575
51576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51577 /* end confdefs.h. */
51578 #include <math.h>
51579 int
51580 main ()
51581 {
51582 _fmodl(0, 0);
51583 ;
51584 return 0;
51585 }
51586 _ACEOF
51587 if ac_fn_cxx_try_compile "$LINENO"; then :
51588 glibcxx_cv_func__fmodl_use=yes
51589 else
51590 glibcxx_cv_func__fmodl_use=no
51591 fi
51592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51593 ac_ext=c
51594 ac_cpp='$CPP $CPPFLAGS'
51595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51598
51599
51600 fi
51601
51602 fi
51603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51604 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51605
51606 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51607 for ac_func in _fmodl
51608 do :
51609 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51610 if test "x$ac_cv_func__fmodl" = x""yes; then :
51611 cat >>confdefs.h <<_ACEOF
51612 #define HAVE__FMODL 1
51613 _ACEOF
51614
51615 fi
51616 done
51617
51618 fi
51619 fi
51620
51621
51622
51623
51624
51625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51626 $as_echo_n "checking for frexpl declaration... " >&6; }
51627 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51628 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51629 $as_echo_n "(cached) " >&6
51630 else
51631
51632
51633 ac_ext=cpp
51634 ac_cpp='$CXXCPP $CPPFLAGS'
51635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51638
51639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51640 /* end confdefs.h. */
51641 #include <math.h>
51642 int
51643 main ()
51644 {
51645 frexpl(0, 0);
51646 ;
51647 return 0;
51648 }
51649 _ACEOF
51650 if ac_fn_cxx_try_compile "$LINENO"; then :
51651 glibcxx_cv_func_frexpl_use=yes
51652 else
51653 glibcxx_cv_func_frexpl_use=no
51654 fi
51655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51656 ac_ext=c
51657 ac_cpp='$CPP $CPPFLAGS'
51658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51661
51662
51663 fi
51664
51665 fi
51666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51667 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51668
51669 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51670 for ac_func in frexpl
51671 do :
51672 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51673 if test "x$ac_cv_func_frexpl" = x""yes; then :
51674 cat >>confdefs.h <<_ACEOF
51675 #define HAVE_FREXPL 1
51676 _ACEOF
51677
51678 fi
51679 done
51680
51681 else
51682
51683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51684 $as_echo_n "checking for _frexpl declaration... " >&6; }
51685 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51686 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51687 $as_echo_n "(cached) " >&6
51688 else
51689
51690
51691 ac_ext=cpp
51692 ac_cpp='$CXXCPP $CPPFLAGS'
51693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51696
51697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51698 /* end confdefs.h. */
51699 #include <math.h>
51700 int
51701 main ()
51702 {
51703 _frexpl(0, 0);
51704 ;
51705 return 0;
51706 }
51707 _ACEOF
51708 if ac_fn_cxx_try_compile "$LINENO"; then :
51709 glibcxx_cv_func__frexpl_use=yes
51710 else
51711 glibcxx_cv_func__frexpl_use=no
51712 fi
51713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51714 ac_ext=c
51715 ac_cpp='$CPP $CPPFLAGS'
51716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51719
51720
51721 fi
51722
51723 fi
51724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51725 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51726
51727 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51728 for ac_func in _frexpl
51729 do :
51730 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51731 if test "x$ac_cv_func__frexpl" = x""yes; then :
51732 cat >>confdefs.h <<_ACEOF
51733 #define HAVE__FREXPL 1
51734 _ACEOF
51735
51736 fi
51737 done
51738
51739 fi
51740 fi
51741
51742
51743
51744
51745
51746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51747 $as_echo_n "checking for hypotl declaration... " >&6; }
51748 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51749 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51750 $as_echo_n "(cached) " >&6
51751 else
51752
51753
51754 ac_ext=cpp
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51759
51760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h. */
51762 #include <math.h>
51763 int
51764 main ()
51765 {
51766 hypotl(0, 0);
51767 ;
51768 return 0;
51769 }
51770 _ACEOF
51771 if ac_fn_cxx_try_compile "$LINENO"; then :
51772 glibcxx_cv_func_hypotl_use=yes
51773 else
51774 glibcxx_cv_func_hypotl_use=no
51775 fi
51776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51777 ac_ext=c
51778 ac_cpp='$CPP $CPPFLAGS'
51779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51782
51783
51784 fi
51785
51786 fi
51787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51788 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51789
51790 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51791 for ac_func in hypotl
51792 do :
51793 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51794 if test "x$ac_cv_func_hypotl" = x""yes; then :
51795 cat >>confdefs.h <<_ACEOF
51796 #define HAVE_HYPOTL 1
51797 _ACEOF
51798
51799 fi
51800 done
51801
51802 else
51803
51804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51805 $as_echo_n "checking for _hypotl declaration... " >&6; }
51806 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51807 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51808 $as_echo_n "(cached) " >&6
51809 else
51810
51811
51812 ac_ext=cpp
51813 ac_cpp='$CXXCPP $CPPFLAGS'
51814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51817
51818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51819 /* end confdefs.h. */
51820 #include <math.h>
51821 int
51822 main ()
51823 {
51824 _hypotl(0, 0);
51825 ;
51826 return 0;
51827 }
51828 _ACEOF
51829 if ac_fn_cxx_try_compile "$LINENO"; then :
51830 glibcxx_cv_func__hypotl_use=yes
51831 else
51832 glibcxx_cv_func__hypotl_use=no
51833 fi
51834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51835 ac_ext=c
51836 ac_cpp='$CPP $CPPFLAGS'
51837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51840
51841
51842 fi
51843
51844 fi
51845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51846 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51847
51848 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51849 for ac_func in _hypotl
51850 do :
51851 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51852 if test "x$ac_cv_func__hypotl" = x""yes; then :
51853 cat >>confdefs.h <<_ACEOF
51854 #define HAVE__HYPOTL 1
51855 _ACEOF
51856
51857 fi
51858 done
51859
51860 fi
51861 fi
51862
51863
51864
51865
51866
51867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51868 $as_echo_n "checking for ldexpl declaration... " >&6; }
51869 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51870 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51871 $as_echo_n "(cached) " >&6
51872 else
51873
51874
51875 ac_ext=cpp
51876 ac_cpp='$CXXCPP $CPPFLAGS'
51877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51880
51881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51882 /* end confdefs.h. */
51883 #include <math.h>
51884 int
51885 main ()
51886 {
51887 ldexpl(0, 0);
51888 ;
51889 return 0;
51890 }
51891 _ACEOF
51892 if ac_fn_cxx_try_compile "$LINENO"; then :
51893 glibcxx_cv_func_ldexpl_use=yes
51894 else
51895 glibcxx_cv_func_ldexpl_use=no
51896 fi
51897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51898 ac_ext=c
51899 ac_cpp='$CPP $CPPFLAGS'
51900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51903
51904
51905 fi
51906
51907 fi
51908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51909 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51910
51911 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51912 for ac_func in ldexpl
51913 do :
51914 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51915 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51916 cat >>confdefs.h <<_ACEOF
51917 #define HAVE_LDEXPL 1
51918 _ACEOF
51919
51920 fi
51921 done
51922
51923 else
51924
51925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51926 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51927 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51928 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51929 $as_echo_n "(cached) " >&6
51930 else
51931
51932
51933 ac_ext=cpp
51934 ac_cpp='$CXXCPP $CPPFLAGS'
51935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938
51939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51940 /* end confdefs.h. */
51941 #include <math.h>
51942 int
51943 main ()
51944 {
51945 _ldexpl(0, 0);
51946 ;
51947 return 0;
51948 }
51949 _ACEOF
51950 if ac_fn_cxx_try_compile "$LINENO"; then :
51951 glibcxx_cv_func__ldexpl_use=yes
51952 else
51953 glibcxx_cv_func__ldexpl_use=no
51954 fi
51955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51956 ac_ext=c
51957 ac_cpp='$CPP $CPPFLAGS'
51958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51961
51962
51963 fi
51964
51965 fi
51966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51967 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51968
51969 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51970 for ac_func in _ldexpl
51971 do :
51972 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51973 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51974 cat >>confdefs.h <<_ACEOF
51975 #define HAVE__LDEXPL 1
51976 _ACEOF
51977
51978 fi
51979 done
51980
51981 fi
51982 fi
51983
51984
51985
51986
51987
51988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51989 $as_echo_n "checking for logl declaration... " >&6; }
51990 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51991 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51992 $as_echo_n "(cached) " >&6
51993 else
51994
51995
51996 ac_ext=cpp
51997 ac_cpp='$CXXCPP $CPPFLAGS'
51998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52001
52002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52003 /* end confdefs.h. */
52004 #include <math.h>
52005 #ifdef HAVE_IEEEFP_H
52006 #include <ieeefp.h>
52007 #endif
52008
52009 int
52010 main ()
52011 {
52012 logl(0);
52013 ;
52014 return 0;
52015 }
52016 _ACEOF
52017 if ac_fn_cxx_try_compile "$LINENO"; then :
52018 glibcxx_cv_func_logl_use=yes
52019 else
52020 glibcxx_cv_func_logl_use=no
52021 fi
52022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52023 ac_ext=c
52024 ac_cpp='$CPP $CPPFLAGS'
52025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52028
52029
52030 fi
52031
52032 fi
52033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52034 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52035
52036 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52037 for ac_func in logl
52038 do :
52039 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52040 if test "x$ac_cv_func_logl" = x""yes; then :
52041 cat >>confdefs.h <<_ACEOF
52042 #define HAVE_LOGL 1
52043 _ACEOF
52044
52045 fi
52046 done
52047
52048 else
52049
52050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52051 $as_echo_n "checking for _logl declaration... " >&6; }
52052 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52053 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52054 $as_echo_n "(cached) " >&6
52055 else
52056
52057
52058 ac_ext=cpp
52059 ac_cpp='$CXXCPP $CPPFLAGS'
52060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52063
52064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52065 /* end confdefs.h. */
52066 #include <math.h>
52067 #ifdef HAVE_IEEEFP_H
52068 #include <ieeefp.h>
52069 #endif
52070
52071 int
52072 main ()
52073 {
52074 _logl(0);
52075 ;
52076 return 0;
52077 }
52078 _ACEOF
52079 if ac_fn_cxx_try_compile "$LINENO"; then :
52080 glibcxx_cv_func__logl_use=yes
52081 else
52082 glibcxx_cv_func__logl_use=no
52083 fi
52084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52085 ac_ext=c
52086 ac_cpp='$CPP $CPPFLAGS'
52087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52090
52091
52092 fi
52093
52094 fi
52095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52096 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52097
52098 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52099 for ac_func in _logl
52100 do :
52101 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52102 if test "x$ac_cv_func__logl" = x""yes; then :
52103 cat >>confdefs.h <<_ACEOF
52104 #define HAVE__LOGL 1
52105 _ACEOF
52106
52107 fi
52108 done
52109
52110 fi
52111 fi
52112
52113
52114
52115
52116
52117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52118 $as_echo_n "checking for log10l declaration... " >&6; }
52119 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52120 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52121 $as_echo_n "(cached) " >&6
52122 else
52123
52124
52125 ac_ext=cpp
52126 ac_cpp='$CXXCPP $CPPFLAGS'
52127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52130
52131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52132 /* end confdefs.h. */
52133 #include <math.h>
52134 #ifdef HAVE_IEEEFP_H
52135 #include <ieeefp.h>
52136 #endif
52137
52138 int
52139 main ()
52140 {
52141 log10l(0);
52142 ;
52143 return 0;
52144 }
52145 _ACEOF
52146 if ac_fn_cxx_try_compile "$LINENO"; then :
52147 glibcxx_cv_func_log10l_use=yes
52148 else
52149 glibcxx_cv_func_log10l_use=no
52150 fi
52151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52152 ac_ext=c
52153 ac_cpp='$CPP $CPPFLAGS'
52154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52157
52158
52159 fi
52160
52161 fi
52162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52163 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52164
52165 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52166 for ac_func in log10l
52167 do :
52168 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52169 if test "x$ac_cv_func_log10l" = x""yes; then :
52170 cat >>confdefs.h <<_ACEOF
52171 #define HAVE_LOG10L 1
52172 _ACEOF
52173
52174 fi
52175 done
52176
52177 else
52178
52179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52180 $as_echo_n "checking for _log10l declaration... " >&6; }
52181 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52182 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52183 $as_echo_n "(cached) " >&6
52184 else
52185
52186
52187 ac_ext=cpp
52188 ac_cpp='$CXXCPP $CPPFLAGS'
52189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52192
52193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52194 /* end confdefs.h. */
52195 #include <math.h>
52196 #ifdef HAVE_IEEEFP_H
52197 #include <ieeefp.h>
52198 #endif
52199
52200 int
52201 main ()
52202 {
52203 _log10l(0);
52204 ;
52205 return 0;
52206 }
52207 _ACEOF
52208 if ac_fn_cxx_try_compile "$LINENO"; then :
52209 glibcxx_cv_func__log10l_use=yes
52210 else
52211 glibcxx_cv_func__log10l_use=no
52212 fi
52213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52214 ac_ext=c
52215 ac_cpp='$CPP $CPPFLAGS'
52216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52219
52220
52221 fi
52222
52223 fi
52224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52225 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52226
52227 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52228 for ac_func in _log10l
52229 do :
52230 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52231 if test "x$ac_cv_func__log10l" = x""yes; then :
52232 cat >>confdefs.h <<_ACEOF
52233 #define HAVE__LOG10L 1
52234 _ACEOF
52235
52236 fi
52237 done
52238
52239 fi
52240 fi
52241
52242
52243
52244
52245
52246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52247 $as_echo_n "checking for modfl declaration... " >&6; }
52248 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52249 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52250 $as_echo_n "(cached) " >&6
52251 else
52252
52253
52254 ac_ext=cpp
52255 ac_cpp='$CXXCPP $CPPFLAGS'
52256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52259
52260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52261 /* end confdefs.h. */
52262 #include <math.h>
52263 int
52264 main ()
52265 {
52266 modfl(0, 0);
52267 ;
52268 return 0;
52269 }
52270 _ACEOF
52271 if ac_fn_cxx_try_compile "$LINENO"; then :
52272 glibcxx_cv_func_modfl_use=yes
52273 else
52274 glibcxx_cv_func_modfl_use=no
52275 fi
52276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52277 ac_ext=c
52278 ac_cpp='$CPP $CPPFLAGS'
52279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52282
52283
52284 fi
52285
52286 fi
52287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52288 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52289
52290 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52291 for ac_func in modfl
52292 do :
52293 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52294 if test "x$ac_cv_func_modfl" = x""yes; then :
52295 cat >>confdefs.h <<_ACEOF
52296 #define HAVE_MODFL 1
52297 _ACEOF
52298
52299 fi
52300 done
52301
52302 else
52303
52304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52305 $as_echo_n "checking for _modfl declaration... " >&6; }
52306 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52307 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52308 $as_echo_n "(cached) " >&6
52309 else
52310
52311
52312 ac_ext=cpp
52313 ac_cpp='$CXXCPP $CPPFLAGS'
52314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52317
52318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52319 /* end confdefs.h. */
52320 #include <math.h>
52321 int
52322 main ()
52323 {
52324 _modfl(0, 0);
52325 ;
52326 return 0;
52327 }
52328 _ACEOF
52329 if ac_fn_cxx_try_compile "$LINENO"; then :
52330 glibcxx_cv_func__modfl_use=yes
52331 else
52332 glibcxx_cv_func__modfl_use=no
52333 fi
52334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52335 ac_ext=c
52336 ac_cpp='$CPP $CPPFLAGS'
52337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52340
52341
52342 fi
52343
52344 fi
52345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52346 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52347
52348 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52349 for ac_func in _modfl
52350 do :
52351 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52352 if test "x$ac_cv_func__modfl" = x""yes; then :
52353 cat >>confdefs.h <<_ACEOF
52354 #define HAVE__MODFL 1
52355 _ACEOF
52356
52357 fi
52358 done
52359
52360 fi
52361 fi
52362
52363
52364
52365
52366
52367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52368 $as_echo_n "checking for powl declaration... " >&6; }
52369 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52370 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52371 $as_echo_n "(cached) " >&6
52372 else
52373
52374
52375 ac_ext=cpp
52376 ac_cpp='$CXXCPP $CPPFLAGS'
52377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52380
52381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52382 /* end confdefs.h. */
52383 #include <math.h>
52384 int
52385 main ()
52386 {
52387 powl(0, 0);
52388 ;
52389 return 0;
52390 }
52391 _ACEOF
52392 if ac_fn_cxx_try_compile "$LINENO"; then :
52393 glibcxx_cv_func_powl_use=yes
52394 else
52395 glibcxx_cv_func_powl_use=no
52396 fi
52397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52398 ac_ext=c
52399 ac_cpp='$CPP $CPPFLAGS'
52400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52403
52404
52405 fi
52406
52407 fi
52408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52409 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52410
52411 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52412 for ac_func in powl
52413 do :
52414 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52415 if test "x$ac_cv_func_powl" = x""yes; then :
52416 cat >>confdefs.h <<_ACEOF
52417 #define HAVE_POWL 1
52418 _ACEOF
52419
52420 fi
52421 done
52422
52423 else
52424
52425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52426 $as_echo_n "checking for _powl declaration... " >&6; }
52427 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52428 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52429 $as_echo_n "(cached) " >&6
52430 else
52431
52432
52433 ac_ext=cpp
52434 ac_cpp='$CXXCPP $CPPFLAGS'
52435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52438
52439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52440 /* end confdefs.h. */
52441 #include <math.h>
52442 int
52443 main ()
52444 {
52445 _powl(0, 0);
52446 ;
52447 return 0;
52448 }
52449 _ACEOF
52450 if ac_fn_cxx_try_compile "$LINENO"; then :
52451 glibcxx_cv_func__powl_use=yes
52452 else
52453 glibcxx_cv_func__powl_use=no
52454 fi
52455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52456 ac_ext=c
52457 ac_cpp='$CPP $CPPFLAGS'
52458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52461
52462
52463 fi
52464
52465 fi
52466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52467 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52468
52469 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52470 for ac_func in _powl
52471 do :
52472 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52473 if test "x$ac_cv_func__powl" = x""yes; then :
52474 cat >>confdefs.h <<_ACEOF
52475 #define HAVE__POWL 1
52476 _ACEOF
52477
52478 fi
52479 done
52480
52481 fi
52482 fi
52483
52484
52485
52486
52487
52488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52489 $as_echo_n "checking for sqrtl declaration... " >&6; }
52490 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52491 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52492 $as_echo_n "(cached) " >&6
52493 else
52494
52495
52496 ac_ext=cpp
52497 ac_cpp='$CXXCPP $CPPFLAGS'
52498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52501
52502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52503 /* end confdefs.h. */
52504 #include <math.h>
52505 #ifdef HAVE_IEEEFP_H
52506 #include <ieeefp.h>
52507 #endif
52508
52509 int
52510 main ()
52511 {
52512 sqrtl(0);
52513 ;
52514 return 0;
52515 }
52516 _ACEOF
52517 if ac_fn_cxx_try_compile "$LINENO"; then :
52518 glibcxx_cv_func_sqrtl_use=yes
52519 else
52520 glibcxx_cv_func_sqrtl_use=no
52521 fi
52522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52523 ac_ext=c
52524 ac_cpp='$CPP $CPPFLAGS'
52525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52528
52529
52530 fi
52531
52532 fi
52533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52534 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52535
52536 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52537 for ac_func in sqrtl
52538 do :
52539 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52540 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52541 cat >>confdefs.h <<_ACEOF
52542 #define HAVE_SQRTL 1
52543 _ACEOF
52544
52545 fi
52546 done
52547
52548 else
52549
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52551 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52552 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52553 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52554 $as_echo_n "(cached) " >&6
52555 else
52556
52557
52558 ac_ext=cpp
52559 ac_cpp='$CXXCPP $CPPFLAGS'
52560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52563
52564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52565 /* end confdefs.h. */
52566 #include <math.h>
52567 #ifdef HAVE_IEEEFP_H
52568 #include <ieeefp.h>
52569 #endif
52570
52571 int
52572 main ()
52573 {
52574 _sqrtl(0);
52575 ;
52576 return 0;
52577 }
52578 _ACEOF
52579 if ac_fn_cxx_try_compile "$LINENO"; then :
52580 glibcxx_cv_func__sqrtl_use=yes
52581 else
52582 glibcxx_cv_func__sqrtl_use=no
52583 fi
52584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52585 ac_ext=c
52586 ac_cpp='$CPP $CPPFLAGS'
52587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52590
52591
52592 fi
52593
52594 fi
52595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52596 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52597
52598 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52599 for ac_func in _sqrtl
52600 do :
52601 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52602 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52603 cat >>confdefs.h <<_ACEOF
52604 #define HAVE__SQRTL 1
52605 _ACEOF
52606
52607 fi
52608 done
52609
52610 fi
52611 fi
52612
52613
52614
52615
52616
52617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52618 $as_echo_n "checking for sincosl declaration... " >&6; }
52619 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52620 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52621 $as_echo_n "(cached) " >&6
52622 else
52623
52624
52625 ac_ext=cpp
52626 ac_cpp='$CXXCPP $CPPFLAGS'
52627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52630
52631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52632 /* end confdefs.h. */
52633 #include <math.h>
52634 int
52635 main ()
52636 {
52637 sincosl(0, 0, 0);
52638 ;
52639 return 0;
52640 }
52641 _ACEOF
52642 if ac_fn_cxx_try_compile "$LINENO"; then :
52643 glibcxx_cv_func_sincosl_use=yes
52644 else
52645 glibcxx_cv_func_sincosl_use=no
52646 fi
52647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52648 ac_ext=c
52649 ac_cpp='$CPP $CPPFLAGS'
52650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52653
52654
52655 fi
52656
52657 fi
52658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52659 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52660
52661 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52662 for ac_func in sincosl
52663 do :
52664 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52665 if test "x$ac_cv_func_sincosl" = x""yes; then :
52666 cat >>confdefs.h <<_ACEOF
52667 #define HAVE_SINCOSL 1
52668 _ACEOF
52669
52670 fi
52671 done
52672
52673 else
52674
52675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52676 $as_echo_n "checking for _sincosl declaration... " >&6; }
52677 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52678 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52679 $as_echo_n "(cached) " >&6
52680 else
52681
52682
52683 ac_ext=cpp
52684 ac_cpp='$CXXCPP $CPPFLAGS'
52685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52688
52689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52690 /* end confdefs.h. */
52691 #include <math.h>
52692 int
52693 main ()
52694 {
52695 _sincosl(0, 0, 0);
52696 ;
52697 return 0;
52698 }
52699 _ACEOF
52700 if ac_fn_cxx_try_compile "$LINENO"; then :
52701 glibcxx_cv_func__sincosl_use=yes
52702 else
52703 glibcxx_cv_func__sincosl_use=no
52704 fi
52705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52706 ac_ext=c
52707 ac_cpp='$CPP $CPPFLAGS'
52708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52711
52712
52713 fi
52714
52715 fi
52716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52717 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52718
52719 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52720 for ac_func in _sincosl
52721 do :
52722 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52723 if test "x$ac_cv_func__sincosl" = x""yes; then :
52724 cat >>confdefs.h <<_ACEOF
52725 #define HAVE__SINCOSL 1
52726 _ACEOF
52727
52728 fi
52729 done
52730
52731 fi
52732 fi
52733
52734
52735
52736
52737
52738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52739 $as_echo_n "checking for finitel declaration... " >&6; }
52740 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52741 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52742 $as_echo_n "(cached) " >&6
52743 else
52744
52745
52746 ac_ext=cpp
52747 ac_cpp='$CXXCPP $CPPFLAGS'
52748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52751
52752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52753 /* end confdefs.h. */
52754 #include <math.h>
52755 #ifdef HAVE_IEEEFP_H
52756 #include <ieeefp.h>
52757 #endif
52758
52759 int
52760 main ()
52761 {
52762 finitel(0);
52763 ;
52764 return 0;
52765 }
52766 _ACEOF
52767 if ac_fn_cxx_try_compile "$LINENO"; then :
52768 glibcxx_cv_func_finitel_use=yes
52769 else
52770 glibcxx_cv_func_finitel_use=no
52771 fi
52772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52773 ac_ext=c
52774 ac_cpp='$CPP $CPPFLAGS'
52775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52778
52779
52780 fi
52781
52782 fi
52783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52784 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52785
52786 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52787 for ac_func in finitel
52788 do :
52789 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52790 if test "x$ac_cv_func_finitel" = x""yes; then :
52791 cat >>confdefs.h <<_ACEOF
52792 #define HAVE_FINITEL 1
52793 _ACEOF
52794
52795 fi
52796 done
52797
52798 else
52799
52800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52801 $as_echo_n "checking for _finitel declaration... " >&6; }
52802 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52803 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52804 $as_echo_n "(cached) " >&6
52805 else
52806
52807
52808 ac_ext=cpp
52809 ac_cpp='$CXXCPP $CPPFLAGS'
52810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52813
52814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52815 /* end confdefs.h. */
52816 #include <math.h>
52817 #ifdef HAVE_IEEEFP_H
52818 #include <ieeefp.h>
52819 #endif
52820
52821 int
52822 main ()
52823 {
52824 _finitel(0);
52825 ;
52826 return 0;
52827 }
52828 _ACEOF
52829 if ac_fn_cxx_try_compile "$LINENO"; then :
52830 glibcxx_cv_func__finitel_use=yes
52831 else
52832 glibcxx_cv_func__finitel_use=no
52833 fi
52834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52835 ac_ext=c
52836 ac_cpp='$CPP $CPPFLAGS'
52837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52840
52841
52842 fi
52843
52844 fi
52845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52846 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52847
52848 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52849 for ac_func in _finitel
52850 do :
52851 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52852 if test "x$ac_cv_func__finitel" = x""yes; then :
52853 cat >>confdefs.h <<_ACEOF
52854 #define HAVE__FINITEL 1
52855 _ACEOF
52856
52857 fi
52858 done
52859
52860 fi
52861 fi
52862
52863
52864
52865
52866 LIBS="$ac_save_LIBS"
52867 CXXFLAGS="$ac_save_CXXFLAGS"
52868
52869
52870 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52871 ac_save_CXXFLAGS="$CXXFLAGS"
52872 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52873
52874
52875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52876 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52877 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52878 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52879 $as_echo_n "(cached) " >&6
52880 else
52881
52882
52883 ac_ext=cpp
52884 ac_cpp='$CXXCPP $CPPFLAGS'
52885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52888
52889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52890 /* end confdefs.h. */
52891 #include <stdlib.h>
52892 int
52893 main ()
52894 {
52895 at_quick_exit(0);
52896 ;
52897 return 0;
52898 }
52899 _ACEOF
52900 if ac_fn_cxx_try_compile "$LINENO"; then :
52901 glibcxx_cv_func_at_quick_exit_use=yes
52902 else
52903 glibcxx_cv_func_at_quick_exit_use=no
52904 fi
52905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52906 ac_ext=c
52907 ac_cpp='$CPP $CPPFLAGS'
52908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52911
52912
52913 fi
52914
52915 fi
52916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52917 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52918 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52919 for ac_func in at_quick_exit
52920 do :
52921 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52922 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52923 cat >>confdefs.h <<_ACEOF
52924 #define HAVE_AT_QUICK_EXIT 1
52925 _ACEOF
52926
52927 fi
52928 done
52929
52930 fi
52931
52932
52933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52934 $as_echo_n "checking for quick_exit declaration... " >&6; }
52935 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52936 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52937 $as_echo_n "(cached) " >&6
52938 else
52939
52940
52941 ac_ext=cpp
52942 ac_cpp='$CXXCPP $CPPFLAGS'
52943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52946
52947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52948 /* end confdefs.h. */
52949 #include <stdlib.h>
52950 int
52951 main ()
52952 {
52953 quick_exit(0);
52954 ;
52955 return 0;
52956 }
52957 _ACEOF
52958 if ac_fn_cxx_try_compile "$LINENO"; then :
52959 glibcxx_cv_func_quick_exit_use=yes
52960 else
52961 glibcxx_cv_func_quick_exit_use=no
52962 fi
52963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52964 ac_ext=c
52965 ac_cpp='$CPP $CPPFLAGS'
52966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52969
52970
52971 fi
52972
52973 fi
52974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52975 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52976 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52977 for ac_func in quick_exit
52978 do :
52979 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52980 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52981 cat >>confdefs.h <<_ACEOF
52982 #define HAVE_QUICK_EXIT 1
52983 _ACEOF
52984
52985 fi
52986 done
52987
52988 fi
52989
52990
52991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52992 $as_echo_n "checking for strtold declaration... " >&6; }
52993 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52994 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52995 $as_echo_n "(cached) " >&6
52996 else
52997
52998
52999 ac_ext=cpp
53000 ac_cpp='$CXXCPP $CPPFLAGS'
53001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53004
53005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53006 /* end confdefs.h. */
53007 #include <stdlib.h>
53008 int
53009 main ()
53010 {
53011 strtold(0, 0);
53012 ;
53013 return 0;
53014 }
53015 _ACEOF
53016 if ac_fn_cxx_try_compile "$LINENO"; then :
53017 glibcxx_cv_func_strtold_use=yes
53018 else
53019 glibcxx_cv_func_strtold_use=no
53020 fi
53021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53022 ac_ext=c
53023 ac_cpp='$CPP $CPPFLAGS'
53024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53027
53028
53029 fi
53030
53031 fi
53032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53033 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53034 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53035 for ac_func in strtold
53036 do :
53037 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53038 if test "x$ac_cv_func_strtold" = x""yes; then :
53039 cat >>confdefs.h <<_ACEOF
53040 #define HAVE_STRTOLD 1
53041 _ACEOF
53042
53043 fi
53044 done
53045
53046 fi
53047
53048
53049
53050
53051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53052 $as_echo_n "checking for strtof declaration... " >&6; }
53053 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53054 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53055 $as_echo_n "(cached) " >&6
53056 else
53057
53058
53059 ac_ext=cpp
53060 ac_cpp='$CXXCPP $CPPFLAGS'
53061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53064
53065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53066 /* end confdefs.h. */
53067 #include <stdlib.h>
53068 int
53069 main ()
53070 {
53071 strtof(0, 0);
53072 ;
53073 return 0;
53074 }
53075 _ACEOF
53076 if ac_fn_cxx_try_compile "$LINENO"; then :
53077 glibcxx_cv_func_strtof_use=yes
53078 else
53079 glibcxx_cv_func_strtof_use=no
53080 fi
53081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53082 ac_ext=c
53083 ac_cpp='$CPP $CPPFLAGS'
53084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53087
53088
53089 fi
53090
53091 fi
53092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53093 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53094 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53095 for ac_func in strtof
53096 do :
53097 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53098 if test "x$ac_cv_func_strtof" = x""yes; then :
53099 cat >>confdefs.h <<_ACEOF
53100 #define HAVE_STRTOF 1
53101 _ACEOF
53102
53103 fi
53104 done
53105
53106 fi
53107
53108
53109
53110
53111 CXXFLAGS="$ac_save_CXXFLAGS"
53112
53113 ;;
53114
53115 *djgpp)
53116 # GLIBCXX_CHECK_MATH_SUPPORT
53117 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53118
53119 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53120
53121 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53122
53123 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53124
53125 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53126
53127 ;;
53128
53129 *-freebsd*)
53130 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53131
53132
53133 # If we're not using GNU ld, then there's no point in even trying these
53134 # tests. Check for that first. We should have already tested for gld
53135 # by now (in libtool), but require it now just to be safe...
53136 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53137 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53138
53139
53140
53141 # The name set by libtool depends on the version of libtool. Shame on us
53142 # for depending on an impl detail, but c'est la vie. Older versions used
53143 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53144 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53145 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53146 # set (hence we're using an older libtool), then set it.
53147 if test x${with_gnu_ld+set} != xset; then
53148 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53149 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53150 with_gnu_ld=no
53151 else
53152 with_gnu_ld=$ac_cv_prog_gnu_ld
53153 fi
53154 fi
53155
53156 # Start by getting the version number. I think the libtool test already
53157 # does some of this, but throws away the result.
53158 glibcxx_ld_is_gold=no
53159 if test x"$with_gnu_ld" = x"yes"; then
53160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53161 $as_echo_n "checking for ld version... " >&6; }
53162
53163 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53164 glibcxx_ld_is_gold=yes
53165 fi
53166 ldver=`$LD --version 2>/dev/null |
53167 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'`
53168
53169 glibcxx_gnu_ld_version=`echo $ldver | \
53170 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53172 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53173 fi
53174
53175 # Set --gc-sections.
53176 glibcxx_have_gc_sections=no
53177 if test "$glibcxx_ld_is_gold" = "yes"; then
53178 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53179 glibcxx_have_gc_sections=yes
53180 fi
53181 else
53182 glibcxx_gcsections_min_ld=21602
53183 if test x"$with_gnu_ld" = x"yes" &&
53184 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53185 glibcxx_have_gc_sections=yes
53186 fi
53187 fi
53188 if test "$glibcxx_have_gc_sections" = "yes"; then
53189 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53190 # NB: This flag only works reliably after 2.16.1. Configure tests
53191 # for this are difficult, so hard wire a value that should work.
53192
53193 ac_test_CFLAGS="${CFLAGS+set}"
53194 ac_save_CFLAGS="$CFLAGS"
53195 CFLAGS='-Wl,--gc-sections'
53196
53197 # Check for -Wl,--gc-sections
53198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53199 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53200 if test x$gcc_no_link = xyes; then
53201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53202 fi
53203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53204 /* end confdefs.h. */
53205 int one(void) { return 1; }
53206 int two(void) { return 2; }
53207
53208 int
53209 main ()
53210 {
53211 two();
53212 ;
53213 return 0;
53214 }
53215 _ACEOF
53216 if ac_fn_c_try_link "$LINENO"; then :
53217 ac_gcsections=yes
53218 else
53219 ac_gcsections=no
53220 fi
53221 rm -f core conftest.err conftest.$ac_objext \
53222 conftest$ac_exeext conftest.$ac_ext
53223 if test "$ac_gcsections" = "yes"; then
53224 rm -f conftest.c
53225 touch conftest.c
53226 if $CC -c conftest.c; then
53227 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53228 grep "Warning: gc-sections option ignored" > /dev/null; then
53229 ac_gcsections=no
53230 fi
53231 fi
53232 rm -f conftest.c conftest.o conftest
53233 fi
53234 if test "$ac_gcsections" = "yes"; then
53235 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53236 fi
53237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53238 $as_echo "$ac_gcsections" >&6; }
53239
53240 if test "$ac_test_CFLAGS" = set; then
53241 CFLAGS="$ac_save_CFLAGS"
53242 else
53243 # this is the suspicious part
53244 CFLAGS=''
53245 fi
53246 fi
53247
53248 # Set -z,relro.
53249 # Note this is only for shared objects.
53250 ac_ld_relro=no
53251 if test x"$with_gnu_ld" = x"yes"; then
53252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53253 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53254 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53255 if test -n "$cxx_z_relo"; then
53256 OPT_LDFLAGS="-Wl,-z,relro"
53257 ac_ld_relro=yes
53258 fi
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53260 $as_echo "$ac_ld_relro" >&6; }
53261 fi
53262
53263 # Set linker optimization flags.
53264 if test x"$with_gnu_ld" = x"yes"; then
53265 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53266 fi
53267
53268
53269
53270
53271 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53272
53273 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53274
53275 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53276
53277 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53278
53279 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53280
53281 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53282
53283 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53284
53285 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53286
53287 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53288
53289
53290 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53291
53292 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53293
53294 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53295
53296 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53297
53298 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53299
53300 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53301
53302 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53303
53304 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53305
53306 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53307
53308 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53309
53310 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53311
53312 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53313
53314 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53315
53316 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53317
53318 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53319
53320 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53321
53322 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53323
53324 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53325
53326 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53327
53328 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53329
53330 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53331
53332 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53333
53334 if test x"long_double_math_on_this_cpu" = x"yes"; then
53335 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53336
53337 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53338
53339 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53340
53341 fi
53342 for ac_func in __cxa_thread_atexit
53343 do :
53344 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53345 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53346 cat >>confdefs.h <<_ACEOF
53347 #define HAVE___CXA_THREAD_ATEXIT 1
53348 _ACEOF
53349
53350 fi
53351 done
53352
53353 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53354 do :
53355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53357 eval as_val=\$$as_ac_var
53358 if test "x$as_val" = x""yes; then :
53359 cat >>confdefs.h <<_ACEOF
53360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53361 _ACEOF
53362
53363 fi
53364 done
53365
53366 ;;
53367
53368 *-fuchsia*)
53369 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53370
53371 ;;
53372
53373 *-hpux*)
53374 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53375
53376
53377 # If we're not using GNU ld, then there's no point in even trying these
53378 # tests. Check for that first. We should have already tested for gld
53379 # by now (in libtool), but require it now just to be safe...
53380 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53381 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53382
53383
53384
53385 # The name set by libtool depends on the version of libtool. Shame on us
53386 # for depending on an impl detail, but c'est la vie. Older versions used
53387 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53388 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53389 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53390 # set (hence we're using an older libtool), then set it.
53391 if test x${with_gnu_ld+set} != xset; then
53392 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53393 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53394 with_gnu_ld=no
53395 else
53396 with_gnu_ld=$ac_cv_prog_gnu_ld
53397 fi
53398 fi
53399
53400 # Start by getting the version number. I think the libtool test already
53401 # does some of this, but throws away the result.
53402 glibcxx_ld_is_gold=no
53403 if test x"$with_gnu_ld" = x"yes"; then
53404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53405 $as_echo_n "checking for ld version... " >&6; }
53406
53407 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53408 glibcxx_ld_is_gold=yes
53409 fi
53410 ldver=`$LD --version 2>/dev/null |
53411 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'`
53412
53413 glibcxx_gnu_ld_version=`echo $ldver | \
53414 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53416 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53417 fi
53418
53419 # Set --gc-sections.
53420 glibcxx_have_gc_sections=no
53421 if test "$glibcxx_ld_is_gold" = "yes"; then
53422 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53423 glibcxx_have_gc_sections=yes
53424 fi
53425 else
53426 glibcxx_gcsections_min_ld=21602
53427 if test x"$with_gnu_ld" = x"yes" &&
53428 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53429 glibcxx_have_gc_sections=yes
53430 fi
53431 fi
53432 if test "$glibcxx_have_gc_sections" = "yes"; then
53433 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53434 # NB: This flag only works reliably after 2.16.1. Configure tests
53435 # for this are difficult, so hard wire a value that should work.
53436
53437 ac_test_CFLAGS="${CFLAGS+set}"
53438 ac_save_CFLAGS="$CFLAGS"
53439 CFLAGS='-Wl,--gc-sections'
53440
53441 # Check for -Wl,--gc-sections
53442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53443 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53444 if test x$gcc_no_link = xyes; then
53445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53446 fi
53447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53448 /* end confdefs.h. */
53449 int one(void) { return 1; }
53450 int two(void) { return 2; }
53451
53452 int
53453 main ()
53454 {
53455 two();
53456 ;
53457 return 0;
53458 }
53459 _ACEOF
53460 if ac_fn_c_try_link "$LINENO"; then :
53461 ac_gcsections=yes
53462 else
53463 ac_gcsections=no
53464 fi
53465 rm -f core conftest.err conftest.$ac_objext \
53466 conftest$ac_exeext conftest.$ac_ext
53467 if test "$ac_gcsections" = "yes"; then
53468 rm -f conftest.c
53469 touch conftest.c
53470 if $CC -c conftest.c; then
53471 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53472 grep "Warning: gc-sections option ignored" > /dev/null; then
53473 ac_gcsections=no
53474 fi
53475 fi
53476 rm -f conftest.c conftest.o conftest
53477 fi
53478 if test "$ac_gcsections" = "yes"; then
53479 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53480 fi
53481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53482 $as_echo "$ac_gcsections" >&6; }
53483
53484 if test "$ac_test_CFLAGS" = set; then
53485 CFLAGS="$ac_save_CFLAGS"
53486 else
53487 # this is the suspicious part
53488 CFLAGS=''
53489 fi
53490 fi
53491
53492 # Set -z,relro.
53493 # Note this is only for shared objects.
53494 ac_ld_relro=no
53495 if test x"$with_gnu_ld" = x"yes"; then
53496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53497 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53498 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53499 if test -n "$cxx_z_relo"; then
53500 OPT_LDFLAGS="-Wl,-z,relro"
53501 ac_ld_relro=yes
53502 fi
53503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53504 $as_echo "$ac_ld_relro" >&6; }
53505 fi
53506
53507 # Set linker optimization flags.
53508 if test x"$with_gnu_ld" = x"yes"; then
53509 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53510 fi
53511
53512
53513
53514
53515
53516 # GLIBCXX_CHECK_MATH_SUPPORT
53517 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53518
53519 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53520
53521 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53522
53523 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53524
53525 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53526
53527 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53528
53529 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53530
53531 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53532
53533 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53534
53535 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53536
53537 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53538
53539 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53540
53541 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53542
53543 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53544
53545 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53546
53547 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53548
53549 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53550
53551 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53552
53553 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53554
53555 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53556
53557 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53558
53559
53560 # GLIBCXX_CHECK_STDLIB_SUPPORT
53561 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53562
53563
53564
53565
53566 # Check whether --enable-tls was given.
53567 if test "${enable_tls+set}" = set; then :
53568 enableval=$enable_tls;
53569 case "$enableval" in
53570 yes|no) ;;
53571 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53572 esac
53573
53574 else
53575 enable_tls=yes
53576 fi
53577
53578
53579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53580 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53581 if test "${gcc_cv_have_tls+set}" = set; then :
53582 $as_echo_n "(cached) " >&6
53583 else
53584
53585 if test "$cross_compiling" = yes; then :
53586 if test x$gcc_no_link = xyes; then
53587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53588 fi
53589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53590 /* end confdefs.h. */
53591 __thread int a; int b; int main() { return a = b; }
53592 _ACEOF
53593 if ac_fn_c_try_link "$LINENO"; then :
53594 chktls_save_LDFLAGS="$LDFLAGS"
53595 case $host in
53596 *-*-linux*)
53597 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53598 ;;
53599 esac
53600 chktls_save_CFLAGS="$CFLAGS"
53601 CFLAGS="-fPIC $CFLAGS"
53602 if test x$gcc_no_link = xyes; then
53603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53604 fi
53605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53606 /* end confdefs.h. */
53607 int f() { return 0; }
53608 _ACEOF
53609 if ac_fn_c_try_link "$LINENO"; then :
53610 if test x$gcc_no_link = xyes; then
53611 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53612 fi
53613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53614 /* end confdefs.h. */
53615 __thread int a; int b; int f() { return a = b; }
53616 _ACEOF
53617 if ac_fn_c_try_link "$LINENO"; then :
53618 gcc_cv_have_tls=yes
53619 else
53620 gcc_cv_have_tls=no
53621 fi
53622 rm -f core conftest.err conftest.$ac_objext \
53623 conftest$ac_exeext conftest.$ac_ext
53624 else
53625 gcc_cv_have_tls=yes
53626 fi
53627 rm -f core conftest.err conftest.$ac_objext \
53628 conftest$ac_exeext conftest.$ac_ext
53629 CFLAGS="$chktls_save_CFLAGS"
53630 LDFLAGS="$chktls_save_LDFLAGS"
53631 else
53632 gcc_cv_have_tls=no
53633 fi
53634 rm -f core conftest.err conftest.$ac_objext \
53635 conftest$ac_exeext conftest.$ac_ext
53636
53637
53638 else
53639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53640 /* end confdefs.h. */
53641 __thread int a; int b; int main() { return a = b; }
53642 _ACEOF
53643 if ac_fn_c_try_run "$LINENO"; then :
53644 chktls_save_LDFLAGS="$LDFLAGS"
53645 LDFLAGS="-static $LDFLAGS"
53646 if test x$gcc_no_link = xyes; then
53647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53648 fi
53649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53650 /* end confdefs.h. */
53651 int main() { return 0; }
53652 _ACEOF
53653 if ac_fn_c_try_link "$LINENO"; then :
53654 if test "$cross_compiling" = yes; then :
53655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53657 as_fn_error "cannot run test program while cross compiling
53658 See \`config.log' for more details." "$LINENO" 5; }
53659 else
53660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53661 /* end confdefs.h. */
53662 __thread int a; int b; int main() { return a = b; }
53663 _ACEOF
53664 if ac_fn_c_try_run "$LINENO"; then :
53665 gcc_cv_have_tls=yes
53666 else
53667 gcc_cv_have_tls=no
53668 fi
53669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53670 conftest.$ac_objext conftest.beam conftest.$ac_ext
53671 fi
53672
53673 else
53674 gcc_cv_have_tls=yes
53675 fi
53676 rm -f core conftest.err conftest.$ac_objext \
53677 conftest$ac_exeext conftest.$ac_ext
53678 LDFLAGS="$chktls_save_LDFLAGS"
53679 if test $gcc_cv_have_tls = yes; then
53680 chktls_save_CFLAGS="$CFLAGS"
53681 thread_CFLAGS=failed
53682 for flag in '' '-pthread' '-lpthread'; do
53683 CFLAGS="$flag $chktls_save_CFLAGS"
53684 if test x$gcc_no_link = xyes; then
53685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53686 fi
53687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53688 /* end confdefs.h. */
53689 #include <pthread.h>
53690 void *g(void *d) { return NULL; }
53691 int
53692 main ()
53693 {
53694 pthread_t t; pthread_create(&t,NULL,g,NULL);
53695 ;
53696 return 0;
53697 }
53698 _ACEOF
53699 if ac_fn_c_try_link "$LINENO"; then :
53700 thread_CFLAGS="$flag"
53701 fi
53702 rm -f core conftest.err conftest.$ac_objext \
53703 conftest$ac_exeext conftest.$ac_ext
53704 if test "X$thread_CFLAGS" != Xfailed; then
53705 break
53706 fi
53707 done
53708 CFLAGS="$chktls_save_CFLAGS"
53709 if test "X$thread_CFLAGS" != Xfailed; then
53710 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53711 if test "$cross_compiling" = yes; then :
53712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53714 as_fn_error "cannot run test program while cross compiling
53715 See \`config.log' for more details." "$LINENO" 5; }
53716 else
53717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53718 /* end confdefs.h. */
53719 #include <pthread.h>
53720 __thread int a;
53721 static int *volatile a_in_other_thread;
53722 static void *
53723 thread_func (void *arg)
53724 {
53725 a_in_other_thread = &a;
53726 return (void *)0;
53727 }
53728 int
53729 main ()
53730 {
53731 pthread_t thread;
53732 void *thread_retval;
53733 int *volatile a_in_main_thread;
53734 a_in_main_thread = &a;
53735 if (pthread_create (&thread, (pthread_attr_t *)0,
53736 thread_func, (void *)0))
53737 return 0;
53738 if (pthread_join (thread, &thread_retval))
53739 return 0;
53740 return (a_in_other_thread == a_in_main_thread);
53741 ;
53742 return 0;
53743 }
53744 _ACEOF
53745 if ac_fn_c_try_run "$LINENO"; then :
53746 gcc_cv_have_tls=yes
53747 else
53748 gcc_cv_have_tls=no
53749 fi
53750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53751 conftest.$ac_objext conftest.beam conftest.$ac_ext
53752 fi
53753
53754 CFLAGS="$chktls_save_CFLAGS"
53755 fi
53756 fi
53757 else
53758 gcc_cv_have_tls=no
53759 fi
53760 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53761 conftest.$ac_objext conftest.beam conftest.$ac_ext
53762 fi
53763
53764 fi
53765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53766 $as_echo "$gcc_cv_have_tls" >&6; }
53767 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53768
53769 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53770
53771 fi
53772 case "$target" in
53773 *-hpux10*)
53774 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53775
53776 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53777
53778 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53779
53780 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53781
53782 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53783
53784 ;;
53785 esac
53786 ;;
53787 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53788
53789 # All these tests are for C++; save the language and the compiler flags.
53790 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53791 # found in GLIBCXX_CONFIGURE.
53792
53793 ac_ext=cpp
53794 ac_cpp='$CXXCPP $CPPFLAGS'
53795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53798
53799 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53800 ac_save_CXXFLAGS="$CXXFLAGS"
53801
53802 # Check for maintainer-mode bits.
53803 if test x"$USE_MAINTAINER_MODE" = xno; then
53804 WERROR=''
53805 else
53806 WERROR='-Werror'
53807 fi
53808
53809 # Check for -ffunction-sections -fdata-sections
53810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53811 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53812 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53814 /* end confdefs.h. */
53815 int foo; void bar() { };
53816 int
53817 main ()
53818 {
53819
53820 ;
53821 return 0;
53822 }
53823 _ACEOF
53824 if ac_fn_cxx_try_compile "$LINENO"; then :
53825 ac_fdsections=yes
53826 else
53827 ac_fdsections=no
53828 fi
53829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53830 if test "$ac_test_CXXFLAGS" = set; then
53831 CXXFLAGS="$ac_save_CXXFLAGS"
53832 else
53833 # this is the suspicious part
53834 CXXFLAGS=''
53835 fi
53836 if test x"$ac_fdsections" = x"yes"; then
53837 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53838 fi
53839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53840 $as_echo "$ac_fdsections" >&6; }
53841
53842 ac_ext=c
53843 ac_cpp='$CPP $CPPFLAGS'
53844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53847
53848
53849
53850
53851
53852 # If we're not using GNU ld, then there's no point in even trying these
53853 # tests. Check for that first. We should have already tested for gld
53854 # by now (in libtool), but require it now just to be safe...
53855 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53856 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53857
53858
53859
53860 # The name set by libtool depends on the version of libtool. Shame on us
53861 # for depending on an impl detail, but c'est la vie. Older versions used
53862 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53863 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53864 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53865 # set (hence we're using an older libtool), then set it.
53866 if test x${with_gnu_ld+set} != xset; then
53867 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53868 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53869 with_gnu_ld=no
53870 else
53871 with_gnu_ld=$ac_cv_prog_gnu_ld
53872 fi
53873 fi
53874
53875 # Start by getting the version number. I think the libtool test already
53876 # does some of this, but throws away the result.
53877 glibcxx_ld_is_gold=no
53878 if test x"$with_gnu_ld" = x"yes"; then
53879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53880 $as_echo_n "checking for ld version... " >&6; }
53881
53882 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53883 glibcxx_ld_is_gold=yes
53884 fi
53885 ldver=`$LD --version 2>/dev/null |
53886 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'`
53887
53888 glibcxx_gnu_ld_version=`echo $ldver | \
53889 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53891 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53892 fi
53893
53894 # Set --gc-sections.
53895 glibcxx_have_gc_sections=no
53896 if test "$glibcxx_ld_is_gold" = "yes"; then
53897 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53898 glibcxx_have_gc_sections=yes
53899 fi
53900 else
53901 glibcxx_gcsections_min_ld=21602
53902 if test x"$with_gnu_ld" = x"yes" &&
53903 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53904 glibcxx_have_gc_sections=yes
53905 fi
53906 fi
53907 if test "$glibcxx_have_gc_sections" = "yes"; then
53908 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53909 # NB: This flag only works reliably after 2.16.1. Configure tests
53910 # for this are difficult, so hard wire a value that should work.
53911
53912 ac_test_CFLAGS="${CFLAGS+set}"
53913 ac_save_CFLAGS="$CFLAGS"
53914 CFLAGS='-Wl,--gc-sections'
53915
53916 # Check for -Wl,--gc-sections
53917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53918 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53919 if test x$gcc_no_link = xyes; then
53920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53921 fi
53922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53923 /* end confdefs.h. */
53924 int one(void) { return 1; }
53925 int two(void) { return 2; }
53926
53927 int
53928 main ()
53929 {
53930 two();
53931 ;
53932 return 0;
53933 }
53934 _ACEOF
53935 if ac_fn_c_try_link "$LINENO"; then :
53936 ac_gcsections=yes
53937 else
53938 ac_gcsections=no
53939 fi
53940 rm -f core conftest.err conftest.$ac_objext \
53941 conftest$ac_exeext conftest.$ac_ext
53942 if test "$ac_gcsections" = "yes"; then
53943 rm -f conftest.c
53944 touch conftest.c
53945 if $CC -c conftest.c; then
53946 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53947 grep "Warning: gc-sections option ignored" > /dev/null; then
53948 ac_gcsections=no
53949 fi
53950 fi
53951 rm -f conftest.c conftest.o conftest
53952 fi
53953 if test "$ac_gcsections" = "yes"; then
53954 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53955 fi
53956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53957 $as_echo "$ac_gcsections" >&6; }
53958
53959 if test "$ac_test_CFLAGS" = set; then
53960 CFLAGS="$ac_save_CFLAGS"
53961 else
53962 # this is the suspicious part
53963 CFLAGS=''
53964 fi
53965 fi
53966
53967 # Set -z,relro.
53968 # Note this is only for shared objects.
53969 ac_ld_relro=no
53970 if test x"$with_gnu_ld" = x"yes"; then
53971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53972 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53973 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53974 if test -n "$cxx_z_relo"; then
53975 OPT_LDFLAGS="-Wl,-z,relro"
53976 ac_ld_relro=yes
53977 fi
53978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53979 $as_echo "$ac_ld_relro" >&6; }
53980 fi
53981
53982 # Set linker optimization flags.
53983 if test x"$with_gnu_ld" = x"yes"; then
53984 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53985 fi
53986
53987
53988
53989
53990
53991 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53992 ac_save_CXXFLAGS="$CXXFLAGS"
53993 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53994
53995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53996 $as_echo_n "checking for sin in -lm... " >&6; }
53997 if test "${ac_cv_lib_m_sin+set}" = set; then :
53998 $as_echo_n "(cached) " >&6
53999 else
54000 ac_check_lib_save_LIBS=$LIBS
54001 LIBS="-lm $LIBS"
54002 if test x$gcc_no_link = xyes; then
54003 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54004 fi
54005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54006 /* end confdefs.h. */
54007
54008 /* Override any GCC internal prototype to avoid an error.
54009 Use char because int might match the return type of a GCC
54010 builtin and then its argument prototype would still apply. */
54011 #ifdef __cplusplus
54012 extern "C"
54013 #endif
54014 char sin ();
54015 int
54016 main ()
54017 {
54018 return sin ();
54019 ;
54020 return 0;
54021 }
54022 _ACEOF
54023 if ac_fn_c_try_link "$LINENO"; then :
54024 ac_cv_lib_m_sin=yes
54025 else
54026 ac_cv_lib_m_sin=no
54027 fi
54028 rm -f core conftest.err conftest.$ac_objext \
54029 conftest$ac_exeext conftest.$ac_ext
54030 LIBS=$ac_check_lib_save_LIBS
54031 fi
54032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54033 $as_echo "$ac_cv_lib_m_sin" >&6; }
54034 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54035 libm="-lm"
54036 fi
54037
54038 ac_save_LIBS="$LIBS"
54039 LIBS="$LIBS $libm"
54040
54041
54042
54043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54044 $as_echo_n "checking for isinf declaration... " >&6; }
54045 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54046 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54047 $as_echo_n "(cached) " >&6
54048 else
54049
54050
54051 ac_ext=cpp
54052 ac_cpp='$CXXCPP $CPPFLAGS'
54053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54056
54057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54058 /* end confdefs.h. */
54059 #include <math.h>
54060 #ifdef HAVE_IEEEFP_H
54061 #include <ieeefp.h>
54062 #endif
54063
54064 int
54065 main ()
54066 {
54067 isinf(0);
54068 ;
54069 return 0;
54070 }
54071 _ACEOF
54072 if ac_fn_cxx_try_compile "$LINENO"; then :
54073 glibcxx_cv_func_isinf_use=yes
54074 else
54075 glibcxx_cv_func_isinf_use=no
54076 fi
54077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54078 ac_ext=c
54079 ac_cpp='$CPP $CPPFLAGS'
54080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54083
54084
54085 fi
54086
54087 fi
54088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54089 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54090
54091 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54092 for ac_func in isinf
54093 do :
54094 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54095 if test "x$ac_cv_func_isinf" = x""yes; then :
54096 cat >>confdefs.h <<_ACEOF
54097 #define HAVE_ISINF 1
54098 _ACEOF
54099
54100 fi
54101 done
54102
54103 else
54104
54105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54106 $as_echo_n "checking for _isinf declaration... " >&6; }
54107 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54108 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54109 $as_echo_n "(cached) " >&6
54110 else
54111
54112
54113 ac_ext=cpp
54114 ac_cpp='$CXXCPP $CPPFLAGS'
54115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54118
54119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54120 /* end confdefs.h. */
54121 #include <math.h>
54122 #ifdef HAVE_IEEEFP_H
54123 #include <ieeefp.h>
54124 #endif
54125
54126 int
54127 main ()
54128 {
54129 _isinf(0);
54130 ;
54131 return 0;
54132 }
54133 _ACEOF
54134 if ac_fn_cxx_try_compile "$LINENO"; then :
54135 glibcxx_cv_func__isinf_use=yes
54136 else
54137 glibcxx_cv_func__isinf_use=no
54138 fi
54139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54140 ac_ext=c
54141 ac_cpp='$CPP $CPPFLAGS'
54142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54145
54146
54147 fi
54148
54149 fi
54150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54151 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54152
54153 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54154 for ac_func in _isinf
54155 do :
54156 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54157 if test "x$ac_cv_func__isinf" = x""yes; then :
54158 cat >>confdefs.h <<_ACEOF
54159 #define HAVE__ISINF 1
54160 _ACEOF
54161
54162 fi
54163 done
54164
54165 fi
54166 fi
54167
54168
54169
54170
54171
54172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54173 $as_echo_n "checking for isnan declaration... " >&6; }
54174 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54175 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54176 $as_echo_n "(cached) " >&6
54177 else
54178
54179
54180 ac_ext=cpp
54181 ac_cpp='$CXXCPP $CPPFLAGS'
54182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54185
54186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54187 /* end confdefs.h. */
54188 #include <math.h>
54189 #ifdef HAVE_IEEEFP_H
54190 #include <ieeefp.h>
54191 #endif
54192
54193 int
54194 main ()
54195 {
54196 isnan(0);
54197 ;
54198 return 0;
54199 }
54200 _ACEOF
54201 if ac_fn_cxx_try_compile "$LINENO"; then :
54202 glibcxx_cv_func_isnan_use=yes
54203 else
54204 glibcxx_cv_func_isnan_use=no
54205 fi
54206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54207 ac_ext=c
54208 ac_cpp='$CPP $CPPFLAGS'
54209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54212
54213
54214 fi
54215
54216 fi
54217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54218 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54219
54220 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54221 for ac_func in isnan
54222 do :
54223 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54224 if test "x$ac_cv_func_isnan" = x""yes; then :
54225 cat >>confdefs.h <<_ACEOF
54226 #define HAVE_ISNAN 1
54227 _ACEOF
54228
54229 fi
54230 done
54231
54232 else
54233
54234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54235 $as_echo_n "checking for _isnan declaration... " >&6; }
54236 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54237 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54238 $as_echo_n "(cached) " >&6
54239 else
54240
54241
54242 ac_ext=cpp
54243 ac_cpp='$CXXCPP $CPPFLAGS'
54244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54247
54248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54249 /* end confdefs.h. */
54250 #include <math.h>
54251 #ifdef HAVE_IEEEFP_H
54252 #include <ieeefp.h>
54253 #endif
54254
54255 int
54256 main ()
54257 {
54258 _isnan(0);
54259 ;
54260 return 0;
54261 }
54262 _ACEOF
54263 if ac_fn_cxx_try_compile "$LINENO"; then :
54264 glibcxx_cv_func__isnan_use=yes
54265 else
54266 glibcxx_cv_func__isnan_use=no
54267 fi
54268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54269 ac_ext=c
54270 ac_cpp='$CPP $CPPFLAGS'
54271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54274
54275
54276 fi
54277
54278 fi
54279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54280 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54281
54282 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54283 for ac_func in _isnan
54284 do :
54285 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54286 if test "x$ac_cv_func__isnan" = x""yes; then :
54287 cat >>confdefs.h <<_ACEOF
54288 #define HAVE__ISNAN 1
54289 _ACEOF
54290
54291 fi
54292 done
54293
54294 fi
54295 fi
54296
54297
54298
54299
54300
54301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54302 $as_echo_n "checking for finite declaration... " >&6; }
54303 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54304 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54305 $as_echo_n "(cached) " >&6
54306 else
54307
54308
54309 ac_ext=cpp
54310 ac_cpp='$CXXCPP $CPPFLAGS'
54311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54314
54315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54316 /* end confdefs.h. */
54317 #include <math.h>
54318 #ifdef HAVE_IEEEFP_H
54319 #include <ieeefp.h>
54320 #endif
54321
54322 int
54323 main ()
54324 {
54325 finite(0);
54326 ;
54327 return 0;
54328 }
54329 _ACEOF
54330 if ac_fn_cxx_try_compile "$LINENO"; then :
54331 glibcxx_cv_func_finite_use=yes
54332 else
54333 glibcxx_cv_func_finite_use=no
54334 fi
54335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54336 ac_ext=c
54337 ac_cpp='$CPP $CPPFLAGS'
54338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54341
54342
54343 fi
54344
54345 fi
54346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54347 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54348
54349 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54350 for ac_func in finite
54351 do :
54352 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54353 if test "x$ac_cv_func_finite" = x""yes; then :
54354 cat >>confdefs.h <<_ACEOF
54355 #define HAVE_FINITE 1
54356 _ACEOF
54357
54358 fi
54359 done
54360
54361 else
54362
54363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54364 $as_echo_n "checking for _finite declaration... " >&6; }
54365 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54366 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54367 $as_echo_n "(cached) " >&6
54368 else
54369
54370
54371 ac_ext=cpp
54372 ac_cpp='$CXXCPP $CPPFLAGS'
54373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54376
54377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54378 /* end confdefs.h. */
54379 #include <math.h>
54380 #ifdef HAVE_IEEEFP_H
54381 #include <ieeefp.h>
54382 #endif
54383
54384 int
54385 main ()
54386 {
54387 _finite(0);
54388 ;
54389 return 0;
54390 }
54391 _ACEOF
54392 if ac_fn_cxx_try_compile "$LINENO"; then :
54393 glibcxx_cv_func__finite_use=yes
54394 else
54395 glibcxx_cv_func__finite_use=no
54396 fi
54397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54398 ac_ext=c
54399 ac_cpp='$CPP $CPPFLAGS'
54400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54403
54404
54405 fi
54406
54407 fi
54408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54409 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54410
54411 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54412 for ac_func in _finite
54413 do :
54414 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54415 if test "x$ac_cv_func__finite" = x""yes; then :
54416 cat >>confdefs.h <<_ACEOF
54417 #define HAVE__FINITE 1
54418 _ACEOF
54419
54420 fi
54421 done
54422
54423 fi
54424 fi
54425
54426
54427
54428
54429
54430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54431 $as_echo_n "checking for sincos declaration... " >&6; }
54432 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54433 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54434 $as_echo_n "(cached) " >&6
54435 else
54436
54437
54438 ac_ext=cpp
54439 ac_cpp='$CXXCPP $CPPFLAGS'
54440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54443
54444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54445 /* end confdefs.h. */
54446 #include <math.h>
54447 int
54448 main ()
54449 {
54450 sincos(0, 0, 0);
54451 ;
54452 return 0;
54453 }
54454 _ACEOF
54455 if ac_fn_cxx_try_compile "$LINENO"; then :
54456 glibcxx_cv_func_sincos_use=yes
54457 else
54458 glibcxx_cv_func_sincos_use=no
54459 fi
54460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54461 ac_ext=c
54462 ac_cpp='$CPP $CPPFLAGS'
54463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54466
54467
54468 fi
54469
54470 fi
54471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54472 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54473
54474 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54475 for ac_func in sincos
54476 do :
54477 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54478 if test "x$ac_cv_func_sincos" = x""yes; then :
54479 cat >>confdefs.h <<_ACEOF
54480 #define HAVE_SINCOS 1
54481 _ACEOF
54482
54483 fi
54484 done
54485
54486 else
54487
54488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54489 $as_echo_n "checking for _sincos declaration... " >&6; }
54490 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54491 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54492 $as_echo_n "(cached) " >&6
54493 else
54494
54495
54496 ac_ext=cpp
54497 ac_cpp='$CXXCPP $CPPFLAGS'
54498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54501
54502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54503 /* end confdefs.h. */
54504 #include <math.h>
54505 int
54506 main ()
54507 {
54508 _sincos(0, 0, 0);
54509 ;
54510 return 0;
54511 }
54512 _ACEOF
54513 if ac_fn_cxx_try_compile "$LINENO"; then :
54514 glibcxx_cv_func__sincos_use=yes
54515 else
54516 glibcxx_cv_func__sincos_use=no
54517 fi
54518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54519 ac_ext=c
54520 ac_cpp='$CPP $CPPFLAGS'
54521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54524
54525
54526 fi
54527
54528 fi
54529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54530 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54531
54532 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54533 for ac_func in _sincos
54534 do :
54535 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54536 if test "x$ac_cv_func__sincos" = x""yes; then :
54537 cat >>confdefs.h <<_ACEOF
54538 #define HAVE__SINCOS 1
54539 _ACEOF
54540
54541 fi
54542 done
54543
54544 fi
54545 fi
54546
54547
54548
54549
54550
54551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54552 $as_echo_n "checking for fpclass declaration... " >&6; }
54553 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54554 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54555 $as_echo_n "(cached) " >&6
54556 else
54557
54558
54559 ac_ext=cpp
54560 ac_cpp='$CXXCPP $CPPFLAGS'
54561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54564
54565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54566 /* end confdefs.h. */
54567 #include <math.h>
54568 #ifdef HAVE_IEEEFP_H
54569 #include <ieeefp.h>
54570 #endif
54571
54572 int
54573 main ()
54574 {
54575 fpclass(0);
54576 ;
54577 return 0;
54578 }
54579 _ACEOF
54580 if ac_fn_cxx_try_compile "$LINENO"; then :
54581 glibcxx_cv_func_fpclass_use=yes
54582 else
54583 glibcxx_cv_func_fpclass_use=no
54584 fi
54585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54586 ac_ext=c
54587 ac_cpp='$CPP $CPPFLAGS'
54588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54591
54592
54593 fi
54594
54595 fi
54596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54597 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54598
54599 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54600 for ac_func in fpclass
54601 do :
54602 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54603 if test "x$ac_cv_func_fpclass" = x""yes; then :
54604 cat >>confdefs.h <<_ACEOF
54605 #define HAVE_FPCLASS 1
54606 _ACEOF
54607
54608 fi
54609 done
54610
54611 else
54612
54613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54614 $as_echo_n "checking for _fpclass declaration... " >&6; }
54615 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54616 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54617 $as_echo_n "(cached) " >&6
54618 else
54619
54620
54621 ac_ext=cpp
54622 ac_cpp='$CXXCPP $CPPFLAGS'
54623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54626
54627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54628 /* end confdefs.h. */
54629 #include <math.h>
54630 #ifdef HAVE_IEEEFP_H
54631 #include <ieeefp.h>
54632 #endif
54633
54634 int
54635 main ()
54636 {
54637 _fpclass(0);
54638 ;
54639 return 0;
54640 }
54641 _ACEOF
54642 if ac_fn_cxx_try_compile "$LINENO"; then :
54643 glibcxx_cv_func__fpclass_use=yes
54644 else
54645 glibcxx_cv_func__fpclass_use=no
54646 fi
54647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54648 ac_ext=c
54649 ac_cpp='$CPP $CPPFLAGS'
54650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54653
54654
54655 fi
54656
54657 fi
54658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54659 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54660
54661 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54662 for ac_func in _fpclass
54663 do :
54664 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54665 if test "x$ac_cv_func__fpclass" = x""yes; then :
54666 cat >>confdefs.h <<_ACEOF
54667 #define HAVE__FPCLASS 1
54668 _ACEOF
54669
54670 fi
54671 done
54672
54673 fi
54674 fi
54675
54676
54677
54678
54679
54680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54681 $as_echo_n "checking for qfpclass declaration... " >&6; }
54682 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54683 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54684 $as_echo_n "(cached) " >&6
54685 else
54686
54687
54688 ac_ext=cpp
54689 ac_cpp='$CXXCPP $CPPFLAGS'
54690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54693
54694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54695 /* end confdefs.h. */
54696 #include <math.h>
54697 #ifdef HAVE_IEEEFP_H
54698 #include <ieeefp.h>
54699 #endif
54700
54701 int
54702 main ()
54703 {
54704 qfpclass(0);
54705 ;
54706 return 0;
54707 }
54708 _ACEOF
54709 if ac_fn_cxx_try_compile "$LINENO"; then :
54710 glibcxx_cv_func_qfpclass_use=yes
54711 else
54712 glibcxx_cv_func_qfpclass_use=no
54713 fi
54714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54715 ac_ext=c
54716 ac_cpp='$CPP $CPPFLAGS'
54717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54720
54721
54722 fi
54723
54724 fi
54725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54726 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54727
54728 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54729 for ac_func in qfpclass
54730 do :
54731 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54732 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54733 cat >>confdefs.h <<_ACEOF
54734 #define HAVE_QFPCLASS 1
54735 _ACEOF
54736
54737 fi
54738 done
54739
54740 else
54741
54742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54743 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54744 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54745 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54746 $as_echo_n "(cached) " >&6
54747 else
54748
54749
54750 ac_ext=cpp
54751 ac_cpp='$CXXCPP $CPPFLAGS'
54752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54755
54756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54757 /* end confdefs.h. */
54758 #include <math.h>
54759 #ifdef HAVE_IEEEFP_H
54760 #include <ieeefp.h>
54761 #endif
54762
54763 int
54764 main ()
54765 {
54766 _qfpclass(0);
54767 ;
54768 return 0;
54769 }
54770 _ACEOF
54771 if ac_fn_cxx_try_compile "$LINENO"; then :
54772 glibcxx_cv_func__qfpclass_use=yes
54773 else
54774 glibcxx_cv_func__qfpclass_use=no
54775 fi
54776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54777 ac_ext=c
54778 ac_cpp='$CPP $CPPFLAGS'
54779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54782
54783
54784 fi
54785
54786 fi
54787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54788 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54789
54790 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54791 for ac_func in _qfpclass
54792 do :
54793 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54794 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54795 cat >>confdefs.h <<_ACEOF
54796 #define HAVE__QFPCLASS 1
54797 _ACEOF
54798
54799 fi
54800 done
54801
54802 fi
54803 fi
54804
54805
54806
54807
54808
54809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54810 $as_echo_n "checking for hypot declaration... " >&6; }
54811 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54812 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54813 $as_echo_n "(cached) " >&6
54814 else
54815
54816
54817 ac_ext=cpp
54818 ac_cpp='$CXXCPP $CPPFLAGS'
54819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54822
54823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54824 /* end confdefs.h. */
54825 #include <math.h>
54826 int
54827 main ()
54828 {
54829 hypot(0, 0);
54830 ;
54831 return 0;
54832 }
54833 _ACEOF
54834 if ac_fn_cxx_try_compile "$LINENO"; then :
54835 glibcxx_cv_func_hypot_use=yes
54836 else
54837 glibcxx_cv_func_hypot_use=no
54838 fi
54839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54840 ac_ext=c
54841 ac_cpp='$CPP $CPPFLAGS'
54842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54845
54846
54847 fi
54848
54849 fi
54850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54851 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54852
54853 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54854 for ac_func in hypot
54855 do :
54856 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54857 if test "x$ac_cv_func_hypot" = x""yes; then :
54858 cat >>confdefs.h <<_ACEOF
54859 #define HAVE_HYPOT 1
54860 _ACEOF
54861
54862 fi
54863 done
54864
54865 else
54866
54867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54868 $as_echo_n "checking for _hypot declaration... " >&6; }
54869 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54870 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54871 $as_echo_n "(cached) " >&6
54872 else
54873
54874
54875 ac_ext=cpp
54876 ac_cpp='$CXXCPP $CPPFLAGS'
54877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54880
54881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54882 /* end confdefs.h. */
54883 #include <math.h>
54884 int
54885 main ()
54886 {
54887 _hypot(0, 0);
54888 ;
54889 return 0;
54890 }
54891 _ACEOF
54892 if ac_fn_cxx_try_compile "$LINENO"; then :
54893 glibcxx_cv_func__hypot_use=yes
54894 else
54895 glibcxx_cv_func__hypot_use=no
54896 fi
54897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54898 ac_ext=c
54899 ac_cpp='$CPP $CPPFLAGS'
54900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54903
54904
54905 fi
54906
54907 fi
54908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54909 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54910
54911 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54912 for ac_func in _hypot
54913 do :
54914 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54915 if test "x$ac_cv_func__hypot" = x""yes; then :
54916 cat >>confdefs.h <<_ACEOF
54917 #define HAVE__HYPOT 1
54918 _ACEOF
54919
54920 fi
54921 done
54922
54923 fi
54924 fi
54925
54926
54927
54928
54929
54930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54931 $as_echo_n "checking for float trig functions... " >&6; }
54932 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54933 $as_echo_n "(cached) " >&6
54934 else
54935
54936
54937 ac_ext=cpp
54938 ac_cpp='$CXXCPP $CPPFLAGS'
54939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54942
54943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54944 /* end confdefs.h. */
54945 #include <math.h>
54946 int
54947 main ()
54948 {
54949 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54950 ;
54951 return 0;
54952 }
54953 _ACEOF
54954 if ac_fn_cxx_try_compile "$LINENO"; then :
54955 glibcxx_cv_func_float_trig_use=yes
54956 else
54957 glibcxx_cv_func_float_trig_use=no
54958 fi
54959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54960 ac_ext=c
54961 ac_cpp='$CPP $CPPFLAGS'
54962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54965
54966 fi
54967
54968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54969 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54970 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54971 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54972 do :
54973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54975 eval as_val=\$$as_ac_var
54976 if test "x$as_val" = x""yes; then :
54977 cat >>confdefs.h <<_ACEOF
54978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54979 _ACEOF
54980
54981 fi
54982 done
54983
54984 else
54985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54986 $as_echo_n "checking for _float trig functions... " >&6; }
54987 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54988 $as_echo_n "(cached) " >&6
54989 else
54990
54991
54992 ac_ext=cpp
54993 ac_cpp='$CXXCPP $CPPFLAGS'
54994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54997
54998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54999 /* end confdefs.h. */
55000 #include <math.h>
55001 int
55002 main ()
55003 {
55004 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55005 ;
55006 return 0;
55007 }
55008 _ACEOF
55009 if ac_fn_cxx_try_compile "$LINENO"; then :
55010 glibcxx_cv_func__float_trig_use=yes
55011 else
55012 glibcxx_cv_func__float_trig_use=no
55013 fi
55014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55015 ac_ext=c
55016 ac_cpp='$CPP $CPPFLAGS'
55017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55020
55021 fi
55022
55023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55024 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55025 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55026 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55027 do :
55028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55030 eval as_val=\$$as_ac_var
55031 if test "x$as_val" = x""yes; then :
55032 cat >>confdefs.h <<_ACEOF
55033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55034 _ACEOF
55035
55036 fi
55037 done
55038
55039 fi
55040 fi
55041
55042
55043
55044
55045
55046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55047 $as_echo_n "checking for float round functions... " >&6; }
55048 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55049 $as_echo_n "(cached) " >&6
55050 else
55051
55052
55053 ac_ext=cpp
55054 ac_cpp='$CXXCPP $CPPFLAGS'
55055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55058
55059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55060 /* end confdefs.h. */
55061 #include <math.h>
55062 int
55063 main ()
55064 {
55065 ceilf (0); floorf (0);
55066 ;
55067 return 0;
55068 }
55069 _ACEOF
55070 if ac_fn_cxx_try_compile "$LINENO"; then :
55071 glibcxx_cv_func_float_round_use=yes
55072 else
55073 glibcxx_cv_func_float_round_use=no
55074 fi
55075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55076 ac_ext=c
55077 ac_cpp='$CPP $CPPFLAGS'
55078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55081
55082 fi
55083
55084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55085 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55086 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55087 for ac_func in ceilf floorf
55088 do :
55089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55091 eval as_val=\$$as_ac_var
55092 if test "x$as_val" = x""yes; then :
55093 cat >>confdefs.h <<_ACEOF
55094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55095 _ACEOF
55096
55097 fi
55098 done
55099
55100 else
55101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55102 $as_echo_n "checking for _float round functions... " >&6; }
55103 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55104 $as_echo_n "(cached) " >&6
55105 else
55106
55107
55108 ac_ext=cpp
55109 ac_cpp='$CXXCPP $CPPFLAGS'
55110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55113
55114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55115 /* end confdefs.h. */
55116 #include <math.h>
55117 int
55118 main ()
55119 {
55120 _ceilf (0); _floorf (0);
55121 ;
55122 return 0;
55123 }
55124 _ACEOF
55125 if ac_fn_cxx_try_compile "$LINENO"; then :
55126 glibcxx_cv_func__float_round_use=yes
55127 else
55128 glibcxx_cv_func__float_round_use=no
55129 fi
55130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55131 ac_ext=c
55132 ac_cpp='$CPP $CPPFLAGS'
55133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55136
55137 fi
55138
55139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55140 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55141 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55142 for ac_func in _ceilf _floorf
55143 do :
55144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55146 eval as_val=\$$as_ac_var
55147 if test "x$as_val" = x""yes; then :
55148 cat >>confdefs.h <<_ACEOF
55149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55150 _ACEOF
55151
55152 fi
55153 done
55154
55155 fi
55156 fi
55157
55158
55159
55160
55161
55162
55163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55164 $as_echo_n "checking for expf declaration... " >&6; }
55165 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55166 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55167 $as_echo_n "(cached) " >&6
55168 else
55169
55170
55171 ac_ext=cpp
55172 ac_cpp='$CXXCPP $CPPFLAGS'
55173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55176
55177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55178 /* end confdefs.h. */
55179 #include <math.h>
55180 #ifdef HAVE_IEEEFP_H
55181 #include <ieeefp.h>
55182 #endif
55183
55184 int
55185 main ()
55186 {
55187 expf(0);
55188 ;
55189 return 0;
55190 }
55191 _ACEOF
55192 if ac_fn_cxx_try_compile "$LINENO"; then :
55193 glibcxx_cv_func_expf_use=yes
55194 else
55195 glibcxx_cv_func_expf_use=no
55196 fi
55197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55198 ac_ext=c
55199 ac_cpp='$CPP $CPPFLAGS'
55200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55203
55204
55205 fi
55206
55207 fi
55208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55209 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55210
55211 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55212 for ac_func in expf
55213 do :
55214 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55215 if test "x$ac_cv_func_expf" = x""yes; then :
55216 cat >>confdefs.h <<_ACEOF
55217 #define HAVE_EXPF 1
55218 _ACEOF
55219
55220 fi
55221 done
55222
55223 else
55224
55225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55226 $as_echo_n "checking for _expf declaration... " >&6; }
55227 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55228 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55229 $as_echo_n "(cached) " >&6
55230 else
55231
55232
55233 ac_ext=cpp
55234 ac_cpp='$CXXCPP $CPPFLAGS'
55235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55238
55239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55240 /* end confdefs.h. */
55241 #include <math.h>
55242 #ifdef HAVE_IEEEFP_H
55243 #include <ieeefp.h>
55244 #endif
55245
55246 int
55247 main ()
55248 {
55249 _expf(0);
55250 ;
55251 return 0;
55252 }
55253 _ACEOF
55254 if ac_fn_cxx_try_compile "$LINENO"; then :
55255 glibcxx_cv_func__expf_use=yes
55256 else
55257 glibcxx_cv_func__expf_use=no
55258 fi
55259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55260 ac_ext=c
55261 ac_cpp='$CPP $CPPFLAGS'
55262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55265
55266
55267 fi
55268
55269 fi
55270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55271 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55272
55273 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55274 for ac_func in _expf
55275 do :
55276 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55277 if test "x$ac_cv_func__expf" = x""yes; then :
55278 cat >>confdefs.h <<_ACEOF
55279 #define HAVE__EXPF 1
55280 _ACEOF
55281
55282 fi
55283 done
55284
55285 fi
55286 fi
55287
55288
55289
55290
55291
55292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55293 $as_echo_n "checking for isnanf declaration... " >&6; }
55294 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55295 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55296 $as_echo_n "(cached) " >&6
55297 else
55298
55299
55300 ac_ext=cpp
55301 ac_cpp='$CXXCPP $CPPFLAGS'
55302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55305
55306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55307 /* end confdefs.h. */
55308 #include <math.h>
55309 #ifdef HAVE_IEEEFP_H
55310 #include <ieeefp.h>
55311 #endif
55312
55313 int
55314 main ()
55315 {
55316 isnanf(0);
55317 ;
55318 return 0;
55319 }
55320 _ACEOF
55321 if ac_fn_cxx_try_compile "$LINENO"; then :
55322 glibcxx_cv_func_isnanf_use=yes
55323 else
55324 glibcxx_cv_func_isnanf_use=no
55325 fi
55326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55327 ac_ext=c
55328 ac_cpp='$CPP $CPPFLAGS'
55329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55332
55333
55334 fi
55335
55336 fi
55337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55338 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55339
55340 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55341 for ac_func in isnanf
55342 do :
55343 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55344 if test "x$ac_cv_func_isnanf" = x""yes; then :
55345 cat >>confdefs.h <<_ACEOF
55346 #define HAVE_ISNANF 1
55347 _ACEOF
55348
55349 fi
55350 done
55351
55352 else
55353
55354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55355 $as_echo_n "checking for _isnanf declaration... " >&6; }
55356 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55357 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55358 $as_echo_n "(cached) " >&6
55359 else
55360
55361
55362 ac_ext=cpp
55363 ac_cpp='$CXXCPP $CPPFLAGS'
55364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55367
55368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55369 /* end confdefs.h. */
55370 #include <math.h>
55371 #ifdef HAVE_IEEEFP_H
55372 #include <ieeefp.h>
55373 #endif
55374
55375 int
55376 main ()
55377 {
55378 _isnanf(0);
55379 ;
55380 return 0;
55381 }
55382 _ACEOF
55383 if ac_fn_cxx_try_compile "$LINENO"; then :
55384 glibcxx_cv_func__isnanf_use=yes
55385 else
55386 glibcxx_cv_func__isnanf_use=no
55387 fi
55388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55389 ac_ext=c
55390 ac_cpp='$CPP $CPPFLAGS'
55391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55394
55395
55396 fi
55397
55398 fi
55399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55400 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55401
55402 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55403 for ac_func in _isnanf
55404 do :
55405 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55406 if test "x$ac_cv_func__isnanf" = x""yes; then :
55407 cat >>confdefs.h <<_ACEOF
55408 #define HAVE__ISNANF 1
55409 _ACEOF
55410
55411 fi
55412 done
55413
55414 fi
55415 fi
55416
55417
55418
55419
55420
55421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55422 $as_echo_n "checking for isinff declaration... " >&6; }
55423 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55424 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55425 $as_echo_n "(cached) " >&6
55426 else
55427
55428
55429 ac_ext=cpp
55430 ac_cpp='$CXXCPP $CPPFLAGS'
55431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55434
55435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55436 /* end confdefs.h. */
55437 #include <math.h>
55438 #ifdef HAVE_IEEEFP_H
55439 #include <ieeefp.h>
55440 #endif
55441
55442 int
55443 main ()
55444 {
55445 isinff(0);
55446 ;
55447 return 0;
55448 }
55449 _ACEOF
55450 if ac_fn_cxx_try_compile "$LINENO"; then :
55451 glibcxx_cv_func_isinff_use=yes
55452 else
55453 glibcxx_cv_func_isinff_use=no
55454 fi
55455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55456 ac_ext=c
55457 ac_cpp='$CPP $CPPFLAGS'
55458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55461
55462
55463 fi
55464
55465 fi
55466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55467 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55468
55469 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55470 for ac_func in isinff
55471 do :
55472 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55473 if test "x$ac_cv_func_isinff" = x""yes; then :
55474 cat >>confdefs.h <<_ACEOF
55475 #define HAVE_ISINFF 1
55476 _ACEOF
55477
55478 fi
55479 done
55480
55481 else
55482
55483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55484 $as_echo_n "checking for _isinff declaration... " >&6; }
55485 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55486 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55487 $as_echo_n "(cached) " >&6
55488 else
55489
55490
55491 ac_ext=cpp
55492 ac_cpp='$CXXCPP $CPPFLAGS'
55493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55496
55497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55498 /* end confdefs.h. */
55499 #include <math.h>
55500 #ifdef HAVE_IEEEFP_H
55501 #include <ieeefp.h>
55502 #endif
55503
55504 int
55505 main ()
55506 {
55507 _isinff(0);
55508 ;
55509 return 0;
55510 }
55511 _ACEOF
55512 if ac_fn_cxx_try_compile "$LINENO"; then :
55513 glibcxx_cv_func__isinff_use=yes
55514 else
55515 glibcxx_cv_func__isinff_use=no
55516 fi
55517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55518 ac_ext=c
55519 ac_cpp='$CPP $CPPFLAGS'
55520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55523
55524
55525 fi
55526
55527 fi
55528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55529 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55530
55531 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55532 for ac_func in _isinff
55533 do :
55534 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55535 if test "x$ac_cv_func__isinff" = x""yes; then :
55536 cat >>confdefs.h <<_ACEOF
55537 #define HAVE__ISINFF 1
55538 _ACEOF
55539
55540 fi
55541 done
55542
55543 fi
55544 fi
55545
55546
55547
55548
55549
55550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55551 $as_echo_n "checking for atan2f declaration... " >&6; }
55552 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55553 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55554 $as_echo_n "(cached) " >&6
55555 else
55556
55557
55558 ac_ext=cpp
55559 ac_cpp='$CXXCPP $CPPFLAGS'
55560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55563
55564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55565 /* end confdefs.h. */
55566 #include <math.h>
55567 int
55568 main ()
55569 {
55570 atan2f(0, 0);
55571 ;
55572 return 0;
55573 }
55574 _ACEOF
55575 if ac_fn_cxx_try_compile "$LINENO"; then :
55576 glibcxx_cv_func_atan2f_use=yes
55577 else
55578 glibcxx_cv_func_atan2f_use=no
55579 fi
55580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55581 ac_ext=c
55582 ac_cpp='$CPP $CPPFLAGS'
55583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55586
55587
55588 fi
55589
55590 fi
55591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55592 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55593
55594 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55595 for ac_func in atan2f
55596 do :
55597 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55598 if test "x$ac_cv_func_atan2f" = x""yes; then :
55599 cat >>confdefs.h <<_ACEOF
55600 #define HAVE_ATAN2F 1
55601 _ACEOF
55602
55603 fi
55604 done
55605
55606 else
55607
55608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55609 $as_echo_n "checking for _atan2f declaration... " >&6; }
55610 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55611 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55612 $as_echo_n "(cached) " >&6
55613 else
55614
55615
55616 ac_ext=cpp
55617 ac_cpp='$CXXCPP $CPPFLAGS'
55618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55621
55622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55623 /* end confdefs.h. */
55624 #include <math.h>
55625 int
55626 main ()
55627 {
55628 _atan2f(0, 0);
55629 ;
55630 return 0;
55631 }
55632 _ACEOF
55633 if ac_fn_cxx_try_compile "$LINENO"; then :
55634 glibcxx_cv_func__atan2f_use=yes
55635 else
55636 glibcxx_cv_func__atan2f_use=no
55637 fi
55638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55639 ac_ext=c
55640 ac_cpp='$CPP $CPPFLAGS'
55641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55644
55645
55646 fi
55647
55648 fi
55649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55650 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55651
55652 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55653 for ac_func in _atan2f
55654 do :
55655 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55656 if test "x$ac_cv_func__atan2f" = x""yes; then :
55657 cat >>confdefs.h <<_ACEOF
55658 #define HAVE__ATAN2F 1
55659 _ACEOF
55660
55661 fi
55662 done
55663
55664 fi
55665 fi
55666
55667
55668
55669
55670
55671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55672 $as_echo_n "checking for fabsf declaration... " >&6; }
55673 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55674 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55675 $as_echo_n "(cached) " >&6
55676 else
55677
55678
55679 ac_ext=cpp
55680 ac_cpp='$CXXCPP $CPPFLAGS'
55681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55684
55685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55686 /* end confdefs.h. */
55687 #include <math.h>
55688 #ifdef HAVE_IEEEFP_H
55689 #include <ieeefp.h>
55690 #endif
55691
55692 int
55693 main ()
55694 {
55695 fabsf(0);
55696 ;
55697 return 0;
55698 }
55699 _ACEOF
55700 if ac_fn_cxx_try_compile "$LINENO"; then :
55701 glibcxx_cv_func_fabsf_use=yes
55702 else
55703 glibcxx_cv_func_fabsf_use=no
55704 fi
55705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55706 ac_ext=c
55707 ac_cpp='$CPP $CPPFLAGS'
55708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55711
55712
55713 fi
55714
55715 fi
55716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55717 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55718
55719 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55720 for ac_func in fabsf
55721 do :
55722 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55723 if test "x$ac_cv_func_fabsf" = x""yes; then :
55724 cat >>confdefs.h <<_ACEOF
55725 #define HAVE_FABSF 1
55726 _ACEOF
55727
55728 fi
55729 done
55730
55731 else
55732
55733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55734 $as_echo_n "checking for _fabsf declaration... " >&6; }
55735 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55736 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55737 $as_echo_n "(cached) " >&6
55738 else
55739
55740
55741 ac_ext=cpp
55742 ac_cpp='$CXXCPP $CPPFLAGS'
55743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55746
55747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55748 /* end confdefs.h. */
55749 #include <math.h>
55750 #ifdef HAVE_IEEEFP_H
55751 #include <ieeefp.h>
55752 #endif
55753
55754 int
55755 main ()
55756 {
55757 _fabsf(0);
55758 ;
55759 return 0;
55760 }
55761 _ACEOF
55762 if ac_fn_cxx_try_compile "$LINENO"; then :
55763 glibcxx_cv_func__fabsf_use=yes
55764 else
55765 glibcxx_cv_func__fabsf_use=no
55766 fi
55767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55768 ac_ext=c
55769 ac_cpp='$CPP $CPPFLAGS'
55770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55773
55774
55775 fi
55776
55777 fi
55778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55779 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55780
55781 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55782 for ac_func in _fabsf
55783 do :
55784 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55785 if test "x$ac_cv_func__fabsf" = x""yes; then :
55786 cat >>confdefs.h <<_ACEOF
55787 #define HAVE__FABSF 1
55788 _ACEOF
55789
55790 fi
55791 done
55792
55793 fi
55794 fi
55795
55796
55797
55798
55799
55800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55801 $as_echo_n "checking for fmodf declaration... " >&6; }
55802 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55803 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55804 $as_echo_n "(cached) " >&6
55805 else
55806
55807
55808 ac_ext=cpp
55809 ac_cpp='$CXXCPP $CPPFLAGS'
55810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55813
55814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55815 /* end confdefs.h. */
55816 #include <math.h>
55817 int
55818 main ()
55819 {
55820 fmodf(0, 0);
55821 ;
55822 return 0;
55823 }
55824 _ACEOF
55825 if ac_fn_cxx_try_compile "$LINENO"; then :
55826 glibcxx_cv_func_fmodf_use=yes
55827 else
55828 glibcxx_cv_func_fmodf_use=no
55829 fi
55830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55831 ac_ext=c
55832 ac_cpp='$CPP $CPPFLAGS'
55833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55836
55837
55838 fi
55839
55840 fi
55841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55842 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55843
55844 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55845 for ac_func in fmodf
55846 do :
55847 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55848 if test "x$ac_cv_func_fmodf" = x""yes; then :
55849 cat >>confdefs.h <<_ACEOF
55850 #define HAVE_FMODF 1
55851 _ACEOF
55852
55853 fi
55854 done
55855
55856 else
55857
55858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55859 $as_echo_n "checking for _fmodf declaration... " >&6; }
55860 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55861 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55862 $as_echo_n "(cached) " >&6
55863 else
55864
55865
55866 ac_ext=cpp
55867 ac_cpp='$CXXCPP $CPPFLAGS'
55868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55871
55872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55873 /* end confdefs.h. */
55874 #include <math.h>
55875 int
55876 main ()
55877 {
55878 _fmodf(0, 0);
55879 ;
55880 return 0;
55881 }
55882 _ACEOF
55883 if ac_fn_cxx_try_compile "$LINENO"; then :
55884 glibcxx_cv_func__fmodf_use=yes
55885 else
55886 glibcxx_cv_func__fmodf_use=no
55887 fi
55888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55889 ac_ext=c
55890 ac_cpp='$CPP $CPPFLAGS'
55891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55894
55895
55896 fi
55897
55898 fi
55899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55900 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55901
55902 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55903 for ac_func in _fmodf
55904 do :
55905 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55906 if test "x$ac_cv_func__fmodf" = x""yes; then :
55907 cat >>confdefs.h <<_ACEOF
55908 #define HAVE__FMODF 1
55909 _ACEOF
55910
55911 fi
55912 done
55913
55914 fi
55915 fi
55916
55917
55918
55919
55920
55921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55922 $as_echo_n "checking for frexpf declaration... " >&6; }
55923 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55924 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55925 $as_echo_n "(cached) " >&6
55926 else
55927
55928
55929 ac_ext=cpp
55930 ac_cpp='$CXXCPP $CPPFLAGS'
55931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55934
55935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55936 /* end confdefs.h. */
55937 #include <math.h>
55938 int
55939 main ()
55940 {
55941 frexpf(0, 0);
55942 ;
55943 return 0;
55944 }
55945 _ACEOF
55946 if ac_fn_cxx_try_compile "$LINENO"; then :
55947 glibcxx_cv_func_frexpf_use=yes
55948 else
55949 glibcxx_cv_func_frexpf_use=no
55950 fi
55951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55952 ac_ext=c
55953 ac_cpp='$CPP $CPPFLAGS'
55954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55957
55958
55959 fi
55960
55961 fi
55962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55963 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55964
55965 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55966 for ac_func in frexpf
55967 do :
55968 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55969 if test "x$ac_cv_func_frexpf" = x""yes; then :
55970 cat >>confdefs.h <<_ACEOF
55971 #define HAVE_FREXPF 1
55972 _ACEOF
55973
55974 fi
55975 done
55976
55977 else
55978
55979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55980 $as_echo_n "checking for _frexpf declaration... " >&6; }
55981 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55982 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55983 $as_echo_n "(cached) " >&6
55984 else
55985
55986
55987 ac_ext=cpp
55988 ac_cpp='$CXXCPP $CPPFLAGS'
55989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55992
55993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55994 /* end confdefs.h. */
55995 #include <math.h>
55996 int
55997 main ()
55998 {
55999 _frexpf(0, 0);
56000 ;
56001 return 0;
56002 }
56003 _ACEOF
56004 if ac_fn_cxx_try_compile "$LINENO"; then :
56005 glibcxx_cv_func__frexpf_use=yes
56006 else
56007 glibcxx_cv_func__frexpf_use=no
56008 fi
56009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56010 ac_ext=c
56011 ac_cpp='$CPP $CPPFLAGS'
56012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56015
56016
56017 fi
56018
56019 fi
56020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56021 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56022
56023 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56024 for ac_func in _frexpf
56025 do :
56026 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56027 if test "x$ac_cv_func__frexpf" = x""yes; then :
56028 cat >>confdefs.h <<_ACEOF
56029 #define HAVE__FREXPF 1
56030 _ACEOF
56031
56032 fi
56033 done
56034
56035 fi
56036 fi
56037
56038
56039
56040
56041
56042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56043 $as_echo_n "checking for hypotf declaration... " >&6; }
56044 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56045 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56046 $as_echo_n "(cached) " >&6
56047 else
56048
56049
56050 ac_ext=cpp
56051 ac_cpp='$CXXCPP $CPPFLAGS'
56052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56055
56056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56057 /* end confdefs.h. */
56058 #include <math.h>
56059 int
56060 main ()
56061 {
56062 hypotf(0, 0);
56063 ;
56064 return 0;
56065 }
56066 _ACEOF
56067 if ac_fn_cxx_try_compile "$LINENO"; then :
56068 glibcxx_cv_func_hypotf_use=yes
56069 else
56070 glibcxx_cv_func_hypotf_use=no
56071 fi
56072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56073 ac_ext=c
56074 ac_cpp='$CPP $CPPFLAGS'
56075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56078
56079
56080 fi
56081
56082 fi
56083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56084 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56085
56086 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56087 for ac_func in hypotf
56088 do :
56089 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56090 if test "x$ac_cv_func_hypotf" = x""yes; then :
56091 cat >>confdefs.h <<_ACEOF
56092 #define HAVE_HYPOTF 1
56093 _ACEOF
56094
56095 fi
56096 done
56097
56098 else
56099
56100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56101 $as_echo_n "checking for _hypotf declaration... " >&6; }
56102 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56103 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56104 $as_echo_n "(cached) " >&6
56105 else
56106
56107
56108 ac_ext=cpp
56109 ac_cpp='$CXXCPP $CPPFLAGS'
56110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56113
56114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56115 /* end confdefs.h. */
56116 #include <math.h>
56117 int
56118 main ()
56119 {
56120 _hypotf(0, 0);
56121 ;
56122 return 0;
56123 }
56124 _ACEOF
56125 if ac_fn_cxx_try_compile "$LINENO"; then :
56126 glibcxx_cv_func__hypotf_use=yes
56127 else
56128 glibcxx_cv_func__hypotf_use=no
56129 fi
56130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56131 ac_ext=c
56132 ac_cpp='$CPP $CPPFLAGS'
56133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56136
56137
56138 fi
56139
56140 fi
56141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56142 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56143
56144 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56145 for ac_func in _hypotf
56146 do :
56147 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56148 if test "x$ac_cv_func__hypotf" = x""yes; then :
56149 cat >>confdefs.h <<_ACEOF
56150 #define HAVE__HYPOTF 1
56151 _ACEOF
56152
56153 fi
56154 done
56155
56156 fi
56157 fi
56158
56159
56160
56161
56162
56163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56164 $as_echo_n "checking for ldexpf declaration... " >&6; }
56165 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56166 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56167 $as_echo_n "(cached) " >&6
56168 else
56169
56170
56171 ac_ext=cpp
56172 ac_cpp='$CXXCPP $CPPFLAGS'
56173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56176
56177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56178 /* end confdefs.h. */
56179 #include <math.h>
56180 int
56181 main ()
56182 {
56183 ldexpf(0, 0);
56184 ;
56185 return 0;
56186 }
56187 _ACEOF
56188 if ac_fn_cxx_try_compile "$LINENO"; then :
56189 glibcxx_cv_func_ldexpf_use=yes
56190 else
56191 glibcxx_cv_func_ldexpf_use=no
56192 fi
56193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56194 ac_ext=c
56195 ac_cpp='$CPP $CPPFLAGS'
56196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56199
56200
56201 fi
56202
56203 fi
56204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56205 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56206
56207 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56208 for ac_func in ldexpf
56209 do :
56210 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56211 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56212 cat >>confdefs.h <<_ACEOF
56213 #define HAVE_LDEXPF 1
56214 _ACEOF
56215
56216 fi
56217 done
56218
56219 else
56220
56221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56222 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56223 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56224 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56225 $as_echo_n "(cached) " >&6
56226 else
56227
56228
56229 ac_ext=cpp
56230 ac_cpp='$CXXCPP $CPPFLAGS'
56231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56234
56235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56236 /* end confdefs.h. */
56237 #include <math.h>
56238 int
56239 main ()
56240 {
56241 _ldexpf(0, 0);
56242 ;
56243 return 0;
56244 }
56245 _ACEOF
56246 if ac_fn_cxx_try_compile "$LINENO"; then :
56247 glibcxx_cv_func__ldexpf_use=yes
56248 else
56249 glibcxx_cv_func__ldexpf_use=no
56250 fi
56251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56252 ac_ext=c
56253 ac_cpp='$CPP $CPPFLAGS'
56254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56257
56258
56259 fi
56260
56261 fi
56262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56263 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56264
56265 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56266 for ac_func in _ldexpf
56267 do :
56268 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56269 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56270 cat >>confdefs.h <<_ACEOF
56271 #define HAVE__LDEXPF 1
56272 _ACEOF
56273
56274 fi
56275 done
56276
56277 fi
56278 fi
56279
56280
56281
56282
56283
56284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56285 $as_echo_n "checking for logf declaration... " >&6; }
56286 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56287 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56288 $as_echo_n "(cached) " >&6
56289 else
56290
56291
56292 ac_ext=cpp
56293 ac_cpp='$CXXCPP $CPPFLAGS'
56294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56297
56298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56299 /* end confdefs.h. */
56300 #include <math.h>
56301 #ifdef HAVE_IEEEFP_H
56302 #include <ieeefp.h>
56303 #endif
56304
56305 int
56306 main ()
56307 {
56308 logf(0);
56309 ;
56310 return 0;
56311 }
56312 _ACEOF
56313 if ac_fn_cxx_try_compile "$LINENO"; then :
56314 glibcxx_cv_func_logf_use=yes
56315 else
56316 glibcxx_cv_func_logf_use=no
56317 fi
56318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56319 ac_ext=c
56320 ac_cpp='$CPP $CPPFLAGS'
56321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56324
56325
56326 fi
56327
56328 fi
56329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56330 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56331
56332 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56333 for ac_func in logf
56334 do :
56335 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56336 if test "x$ac_cv_func_logf" = x""yes; then :
56337 cat >>confdefs.h <<_ACEOF
56338 #define HAVE_LOGF 1
56339 _ACEOF
56340
56341 fi
56342 done
56343
56344 else
56345
56346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56347 $as_echo_n "checking for _logf declaration... " >&6; }
56348 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56349 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56350 $as_echo_n "(cached) " >&6
56351 else
56352
56353
56354 ac_ext=cpp
56355 ac_cpp='$CXXCPP $CPPFLAGS'
56356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56359
56360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56361 /* end confdefs.h. */
56362 #include <math.h>
56363 #ifdef HAVE_IEEEFP_H
56364 #include <ieeefp.h>
56365 #endif
56366
56367 int
56368 main ()
56369 {
56370 _logf(0);
56371 ;
56372 return 0;
56373 }
56374 _ACEOF
56375 if ac_fn_cxx_try_compile "$LINENO"; then :
56376 glibcxx_cv_func__logf_use=yes
56377 else
56378 glibcxx_cv_func__logf_use=no
56379 fi
56380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56381 ac_ext=c
56382 ac_cpp='$CPP $CPPFLAGS'
56383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56386
56387
56388 fi
56389
56390 fi
56391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56392 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56393
56394 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56395 for ac_func in _logf
56396 do :
56397 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56398 if test "x$ac_cv_func__logf" = x""yes; then :
56399 cat >>confdefs.h <<_ACEOF
56400 #define HAVE__LOGF 1
56401 _ACEOF
56402
56403 fi
56404 done
56405
56406 fi
56407 fi
56408
56409
56410
56411
56412
56413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56414 $as_echo_n "checking for log10f declaration... " >&6; }
56415 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56416 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56417 $as_echo_n "(cached) " >&6
56418 else
56419
56420
56421 ac_ext=cpp
56422 ac_cpp='$CXXCPP $CPPFLAGS'
56423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56426
56427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56428 /* end confdefs.h. */
56429 #include <math.h>
56430 #ifdef HAVE_IEEEFP_H
56431 #include <ieeefp.h>
56432 #endif
56433
56434 int
56435 main ()
56436 {
56437 log10f(0);
56438 ;
56439 return 0;
56440 }
56441 _ACEOF
56442 if ac_fn_cxx_try_compile "$LINENO"; then :
56443 glibcxx_cv_func_log10f_use=yes
56444 else
56445 glibcxx_cv_func_log10f_use=no
56446 fi
56447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56448 ac_ext=c
56449 ac_cpp='$CPP $CPPFLAGS'
56450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56453
56454
56455 fi
56456
56457 fi
56458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56459 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56460
56461 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56462 for ac_func in log10f
56463 do :
56464 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56465 if test "x$ac_cv_func_log10f" = x""yes; then :
56466 cat >>confdefs.h <<_ACEOF
56467 #define HAVE_LOG10F 1
56468 _ACEOF
56469
56470 fi
56471 done
56472
56473 else
56474
56475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56476 $as_echo_n "checking for _log10f declaration... " >&6; }
56477 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56478 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56479 $as_echo_n "(cached) " >&6
56480 else
56481
56482
56483 ac_ext=cpp
56484 ac_cpp='$CXXCPP $CPPFLAGS'
56485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56488
56489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56490 /* end confdefs.h. */
56491 #include <math.h>
56492 #ifdef HAVE_IEEEFP_H
56493 #include <ieeefp.h>
56494 #endif
56495
56496 int
56497 main ()
56498 {
56499 _log10f(0);
56500 ;
56501 return 0;
56502 }
56503 _ACEOF
56504 if ac_fn_cxx_try_compile "$LINENO"; then :
56505 glibcxx_cv_func__log10f_use=yes
56506 else
56507 glibcxx_cv_func__log10f_use=no
56508 fi
56509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56510 ac_ext=c
56511 ac_cpp='$CPP $CPPFLAGS'
56512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56515
56516
56517 fi
56518
56519 fi
56520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56521 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56522
56523 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56524 for ac_func in _log10f
56525 do :
56526 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56527 if test "x$ac_cv_func__log10f" = x""yes; then :
56528 cat >>confdefs.h <<_ACEOF
56529 #define HAVE__LOG10F 1
56530 _ACEOF
56531
56532 fi
56533 done
56534
56535 fi
56536 fi
56537
56538
56539
56540
56541
56542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56543 $as_echo_n "checking for modff declaration... " >&6; }
56544 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56545 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56546 $as_echo_n "(cached) " >&6
56547 else
56548
56549
56550 ac_ext=cpp
56551 ac_cpp='$CXXCPP $CPPFLAGS'
56552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56555
56556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56557 /* end confdefs.h. */
56558 #include <math.h>
56559 int
56560 main ()
56561 {
56562 modff(0, 0);
56563 ;
56564 return 0;
56565 }
56566 _ACEOF
56567 if ac_fn_cxx_try_compile "$LINENO"; then :
56568 glibcxx_cv_func_modff_use=yes
56569 else
56570 glibcxx_cv_func_modff_use=no
56571 fi
56572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56573 ac_ext=c
56574 ac_cpp='$CPP $CPPFLAGS'
56575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56578
56579
56580 fi
56581
56582 fi
56583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56584 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56585
56586 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56587 for ac_func in modff
56588 do :
56589 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56590 if test "x$ac_cv_func_modff" = x""yes; then :
56591 cat >>confdefs.h <<_ACEOF
56592 #define HAVE_MODFF 1
56593 _ACEOF
56594
56595 fi
56596 done
56597
56598 else
56599
56600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56601 $as_echo_n "checking for _modff declaration... " >&6; }
56602 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56603 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56604 $as_echo_n "(cached) " >&6
56605 else
56606
56607
56608 ac_ext=cpp
56609 ac_cpp='$CXXCPP $CPPFLAGS'
56610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56613
56614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56615 /* end confdefs.h. */
56616 #include <math.h>
56617 int
56618 main ()
56619 {
56620 _modff(0, 0);
56621 ;
56622 return 0;
56623 }
56624 _ACEOF
56625 if ac_fn_cxx_try_compile "$LINENO"; then :
56626 glibcxx_cv_func__modff_use=yes
56627 else
56628 glibcxx_cv_func__modff_use=no
56629 fi
56630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56631 ac_ext=c
56632 ac_cpp='$CPP $CPPFLAGS'
56633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56636
56637
56638 fi
56639
56640 fi
56641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56642 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56643
56644 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56645 for ac_func in _modff
56646 do :
56647 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56648 if test "x$ac_cv_func__modff" = x""yes; then :
56649 cat >>confdefs.h <<_ACEOF
56650 #define HAVE__MODFF 1
56651 _ACEOF
56652
56653 fi
56654 done
56655
56656 fi
56657 fi
56658
56659
56660
56661
56662
56663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56664 $as_echo_n "checking for modf declaration... " >&6; }
56665 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56666 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56667 $as_echo_n "(cached) " >&6
56668 else
56669
56670
56671 ac_ext=cpp
56672 ac_cpp='$CXXCPP $CPPFLAGS'
56673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56676
56677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56678 /* end confdefs.h. */
56679 #include <math.h>
56680 int
56681 main ()
56682 {
56683 modf(0, 0);
56684 ;
56685 return 0;
56686 }
56687 _ACEOF
56688 if ac_fn_cxx_try_compile "$LINENO"; then :
56689 glibcxx_cv_func_modf_use=yes
56690 else
56691 glibcxx_cv_func_modf_use=no
56692 fi
56693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56694 ac_ext=c
56695 ac_cpp='$CPP $CPPFLAGS'
56696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56699
56700
56701 fi
56702
56703 fi
56704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56705 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56706
56707 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56708 for ac_func in modf
56709 do :
56710 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56711 if test "x$ac_cv_func_modf" = x""yes; then :
56712 cat >>confdefs.h <<_ACEOF
56713 #define HAVE_MODF 1
56714 _ACEOF
56715
56716 fi
56717 done
56718
56719 else
56720
56721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56722 $as_echo_n "checking for _modf declaration... " >&6; }
56723 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56724 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56725 $as_echo_n "(cached) " >&6
56726 else
56727
56728
56729 ac_ext=cpp
56730 ac_cpp='$CXXCPP $CPPFLAGS'
56731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56734
56735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56736 /* end confdefs.h. */
56737 #include <math.h>
56738 int
56739 main ()
56740 {
56741 _modf(0, 0);
56742 ;
56743 return 0;
56744 }
56745 _ACEOF
56746 if ac_fn_cxx_try_compile "$LINENO"; then :
56747 glibcxx_cv_func__modf_use=yes
56748 else
56749 glibcxx_cv_func__modf_use=no
56750 fi
56751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56752 ac_ext=c
56753 ac_cpp='$CPP $CPPFLAGS'
56754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56757
56758
56759 fi
56760
56761 fi
56762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56763 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56764
56765 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56766 for ac_func in _modf
56767 do :
56768 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56769 if test "x$ac_cv_func__modf" = x""yes; then :
56770 cat >>confdefs.h <<_ACEOF
56771 #define HAVE__MODF 1
56772 _ACEOF
56773
56774 fi
56775 done
56776
56777 fi
56778 fi
56779
56780
56781
56782
56783
56784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56785 $as_echo_n "checking for powf declaration... " >&6; }
56786 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56787 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56788 $as_echo_n "(cached) " >&6
56789 else
56790
56791
56792 ac_ext=cpp
56793 ac_cpp='$CXXCPP $CPPFLAGS'
56794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56797
56798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56799 /* end confdefs.h. */
56800 #include <math.h>
56801 int
56802 main ()
56803 {
56804 powf(0, 0);
56805 ;
56806 return 0;
56807 }
56808 _ACEOF
56809 if ac_fn_cxx_try_compile "$LINENO"; then :
56810 glibcxx_cv_func_powf_use=yes
56811 else
56812 glibcxx_cv_func_powf_use=no
56813 fi
56814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56815 ac_ext=c
56816 ac_cpp='$CPP $CPPFLAGS'
56817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56820
56821
56822 fi
56823
56824 fi
56825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56826 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56827
56828 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56829 for ac_func in powf
56830 do :
56831 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56832 if test "x$ac_cv_func_powf" = x""yes; then :
56833 cat >>confdefs.h <<_ACEOF
56834 #define HAVE_POWF 1
56835 _ACEOF
56836
56837 fi
56838 done
56839
56840 else
56841
56842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56843 $as_echo_n "checking for _powf declaration... " >&6; }
56844 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56845 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56846 $as_echo_n "(cached) " >&6
56847 else
56848
56849
56850 ac_ext=cpp
56851 ac_cpp='$CXXCPP $CPPFLAGS'
56852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56855
56856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56857 /* end confdefs.h. */
56858 #include <math.h>
56859 int
56860 main ()
56861 {
56862 _powf(0, 0);
56863 ;
56864 return 0;
56865 }
56866 _ACEOF
56867 if ac_fn_cxx_try_compile "$LINENO"; then :
56868 glibcxx_cv_func__powf_use=yes
56869 else
56870 glibcxx_cv_func__powf_use=no
56871 fi
56872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56873 ac_ext=c
56874 ac_cpp='$CPP $CPPFLAGS'
56875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56878
56879
56880 fi
56881
56882 fi
56883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56884 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56885
56886 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56887 for ac_func in _powf
56888 do :
56889 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56890 if test "x$ac_cv_func__powf" = x""yes; then :
56891 cat >>confdefs.h <<_ACEOF
56892 #define HAVE__POWF 1
56893 _ACEOF
56894
56895 fi
56896 done
56897
56898 fi
56899 fi
56900
56901
56902
56903
56904
56905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56906 $as_echo_n "checking for sqrtf declaration... " >&6; }
56907 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56908 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56909 $as_echo_n "(cached) " >&6
56910 else
56911
56912
56913 ac_ext=cpp
56914 ac_cpp='$CXXCPP $CPPFLAGS'
56915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56918
56919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56920 /* end confdefs.h. */
56921 #include <math.h>
56922 #ifdef HAVE_IEEEFP_H
56923 #include <ieeefp.h>
56924 #endif
56925
56926 int
56927 main ()
56928 {
56929 sqrtf(0);
56930 ;
56931 return 0;
56932 }
56933 _ACEOF
56934 if ac_fn_cxx_try_compile "$LINENO"; then :
56935 glibcxx_cv_func_sqrtf_use=yes
56936 else
56937 glibcxx_cv_func_sqrtf_use=no
56938 fi
56939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56940 ac_ext=c
56941 ac_cpp='$CPP $CPPFLAGS'
56942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56945
56946
56947 fi
56948
56949 fi
56950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56951 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56952
56953 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56954 for ac_func in sqrtf
56955 do :
56956 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56957 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56958 cat >>confdefs.h <<_ACEOF
56959 #define HAVE_SQRTF 1
56960 _ACEOF
56961
56962 fi
56963 done
56964
56965 else
56966
56967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56968 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56969 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56970 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56971 $as_echo_n "(cached) " >&6
56972 else
56973
56974
56975 ac_ext=cpp
56976 ac_cpp='$CXXCPP $CPPFLAGS'
56977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56980
56981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56982 /* end confdefs.h. */
56983 #include <math.h>
56984 #ifdef HAVE_IEEEFP_H
56985 #include <ieeefp.h>
56986 #endif
56987
56988 int
56989 main ()
56990 {
56991 _sqrtf(0);
56992 ;
56993 return 0;
56994 }
56995 _ACEOF
56996 if ac_fn_cxx_try_compile "$LINENO"; then :
56997 glibcxx_cv_func__sqrtf_use=yes
56998 else
56999 glibcxx_cv_func__sqrtf_use=no
57000 fi
57001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57002 ac_ext=c
57003 ac_cpp='$CPP $CPPFLAGS'
57004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57007
57008
57009 fi
57010
57011 fi
57012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57013 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57014
57015 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57016 for ac_func in _sqrtf
57017 do :
57018 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57019 if test "x$ac_cv_func__sqrtf" = x""yes; then :
57020 cat >>confdefs.h <<_ACEOF
57021 #define HAVE__SQRTF 1
57022 _ACEOF
57023
57024 fi
57025 done
57026
57027 fi
57028 fi
57029
57030
57031
57032
57033
57034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57035 $as_echo_n "checking for sincosf declaration... " >&6; }
57036 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57037 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57038 $as_echo_n "(cached) " >&6
57039 else
57040
57041
57042 ac_ext=cpp
57043 ac_cpp='$CXXCPP $CPPFLAGS'
57044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57047
57048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57049 /* end confdefs.h. */
57050 #include <math.h>
57051 int
57052 main ()
57053 {
57054 sincosf(0, 0, 0);
57055 ;
57056 return 0;
57057 }
57058 _ACEOF
57059 if ac_fn_cxx_try_compile "$LINENO"; then :
57060 glibcxx_cv_func_sincosf_use=yes
57061 else
57062 glibcxx_cv_func_sincosf_use=no
57063 fi
57064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57065 ac_ext=c
57066 ac_cpp='$CPP $CPPFLAGS'
57067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57070
57071
57072 fi
57073
57074 fi
57075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57076 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57077
57078 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57079 for ac_func in sincosf
57080 do :
57081 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57082 if test "x$ac_cv_func_sincosf" = x""yes; then :
57083 cat >>confdefs.h <<_ACEOF
57084 #define HAVE_SINCOSF 1
57085 _ACEOF
57086
57087 fi
57088 done
57089
57090 else
57091
57092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57093 $as_echo_n "checking for _sincosf declaration... " >&6; }
57094 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57095 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57096 $as_echo_n "(cached) " >&6
57097 else
57098
57099
57100 ac_ext=cpp
57101 ac_cpp='$CXXCPP $CPPFLAGS'
57102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57105
57106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57107 /* end confdefs.h. */
57108 #include <math.h>
57109 int
57110 main ()
57111 {
57112 _sincosf(0, 0, 0);
57113 ;
57114 return 0;
57115 }
57116 _ACEOF
57117 if ac_fn_cxx_try_compile "$LINENO"; then :
57118 glibcxx_cv_func__sincosf_use=yes
57119 else
57120 glibcxx_cv_func__sincosf_use=no
57121 fi
57122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57123 ac_ext=c
57124 ac_cpp='$CPP $CPPFLAGS'
57125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57128
57129
57130 fi
57131
57132 fi
57133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57134 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57135
57136 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57137 for ac_func in _sincosf
57138 do :
57139 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57140 if test "x$ac_cv_func__sincosf" = x""yes; then :
57141 cat >>confdefs.h <<_ACEOF
57142 #define HAVE__SINCOSF 1
57143 _ACEOF
57144
57145 fi
57146 done
57147
57148 fi
57149 fi
57150
57151
57152
57153
57154
57155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57156 $as_echo_n "checking for finitef declaration... " >&6; }
57157 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57158 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57159 $as_echo_n "(cached) " >&6
57160 else
57161
57162
57163 ac_ext=cpp
57164 ac_cpp='$CXXCPP $CPPFLAGS'
57165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57168
57169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57170 /* end confdefs.h. */
57171 #include <math.h>
57172 #ifdef HAVE_IEEEFP_H
57173 #include <ieeefp.h>
57174 #endif
57175
57176 int
57177 main ()
57178 {
57179 finitef(0);
57180 ;
57181 return 0;
57182 }
57183 _ACEOF
57184 if ac_fn_cxx_try_compile "$LINENO"; then :
57185 glibcxx_cv_func_finitef_use=yes
57186 else
57187 glibcxx_cv_func_finitef_use=no
57188 fi
57189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57190 ac_ext=c
57191 ac_cpp='$CPP $CPPFLAGS'
57192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57195
57196
57197 fi
57198
57199 fi
57200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57201 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57202
57203 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57204 for ac_func in finitef
57205 do :
57206 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57207 if test "x$ac_cv_func_finitef" = x""yes; then :
57208 cat >>confdefs.h <<_ACEOF
57209 #define HAVE_FINITEF 1
57210 _ACEOF
57211
57212 fi
57213 done
57214
57215 else
57216
57217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57218 $as_echo_n "checking for _finitef declaration... " >&6; }
57219 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57220 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57221 $as_echo_n "(cached) " >&6
57222 else
57223
57224
57225 ac_ext=cpp
57226 ac_cpp='$CXXCPP $CPPFLAGS'
57227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57230
57231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57232 /* end confdefs.h. */
57233 #include <math.h>
57234 #ifdef HAVE_IEEEFP_H
57235 #include <ieeefp.h>
57236 #endif
57237
57238 int
57239 main ()
57240 {
57241 _finitef(0);
57242 ;
57243 return 0;
57244 }
57245 _ACEOF
57246 if ac_fn_cxx_try_compile "$LINENO"; then :
57247 glibcxx_cv_func__finitef_use=yes
57248 else
57249 glibcxx_cv_func__finitef_use=no
57250 fi
57251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57252 ac_ext=c
57253 ac_cpp='$CPP $CPPFLAGS'
57254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57257
57258
57259 fi
57260
57261 fi
57262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57263 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57264
57265 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57266 for ac_func in _finitef
57267 do :
57268 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57269 if test "x$ac_cv_func__finitef" = x""yes; then :
57270 cat >>confdefs.h <<_ACEOF
57271 #define HAVE__FINITEF 1
57272 _ACEOF
57273
57274 fi
57275 done
57276
57277 fi
57278 fi
57279
57280
57281
57282
57283
57284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57285 $as_echo_n "checking for long double trig functions... " >&6; }
57286 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57287 $as_echo_n "(cached) " >&6
57288 else
57289
57290
57291 ac_ext=cpp
57292 ac_cpp='$CXXCPP $CPPFLAGS'
57293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57296
57297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57298 /* end confdefs.h. */
57299 #include <math.h>
57300 int
57301 main ()
57302 {
57303 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57304 ;
57305 return 0;
57306 }
57307 _ACEOF
57308 if ac_fn_cxx_try_compile "$LINENO"; then :
57309 glibcxx_cv_func_long_double_trig_use=yes
57310 else
57311 glibcxx_cv_func_long_double_trig_use=no
57312 fi
57313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57314 ac_ext=c
57315 ac_cpp='$CPP $CPPFLAGS'
57316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57319
57320 fi
57321
57322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57323 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57324 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57325 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57326 do :
57327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57329 eval as_val=\$$as_ac_var
57330 if test "x$as_val" = x""yes; then :
57331 cat >>confdefs.h <<_ACEOF
57332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57333 _ACEOF
57334
57335 fi
57336 done
57337
57338 else
57339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57340 $as_echo_n "checking for _long double trig functions... " >&6; }
57341 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57342 $as_echo_n "(cached) " >&6
57343 else
57344
57345
57346 ac_ext=cpp
57347 ac_cpp='$CXXCPP $CPPFLAGS'
57348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57351
57352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57353 /* end confdefs.h. */
57354 #include <math.h>
57355 int
57356 main ()
57357 {
57358 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57359 ;
57360 return 0;
57361 }
57362 _ACEOF
57363 if ac_fn_cxx_try_compile "$LINENO"; then :
57364 glibcxx_cv_func__long_double_trig_use=yes
57365 else
57366 glibcxx_cv_func__long_double_trig_use=no
57367 fi
57368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57369 ac_ext=c
57370 ac_cpp='$CPP $CPPFLAGS'
57371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57374
57375 fi
57376
57377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57378 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57379 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57380 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57381 do :
57382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57384 eval as_val=\$$as_ac_var
57385 if test "x$as_val" = x""yes; then :
57386 cat >>confdefs.h <<_ACEOF
57387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57388 _ACEOF
57389
57390 fi
57391 done
57392
57393 fi
57394 fi
57395
57396
57397
57398
57399
57400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57401 $as_echo_n "checking for long double round functions... " >&6; }
57402 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57403 $as_echo_n "(cached) " >&6
57404 else
57405
57406
57407 ac_ext=cpp
57408 ac_cpp='$CXXCPP $CPPFLAGS'
57409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57412
57413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57414 /* end confdefs.h. */
57415 #include <math.h>
57416 int
57417 main ()
57418 {
57419 ceill (0); floorl (0);
57420 ;
57421 return 0;
57422 }
57423 _ACEOF
57424 if ac_fn_cxx_try_compile "$LINENO"; then :
57425 glibcxx_cv_func_long_double_round_use=yes
57426 else
57427 glibcxx_cv_func_long_double_round_use=no
57428 fi
57429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57430 ac_ext=c
57431 ac_cpp='$CPP $CPPFLAGS'
57432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57435
57436 fi
57437
57438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57439 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57440 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57441 for ac_func in ceill floorl
57442 do :
57443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57445 eval as_val=\$$as_ac_var
57446 if test "x$as_val" = x""yes; then :
57447 cat >>confdefs.h <<_ACEOF
57448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57449 _ACEOF
57450
57451 fi
57452 done
57453
57454 else
57455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57456 $as_echo_n "checking for _long double round functions... " >&6; }
57457 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57458 $as_echo_n "(cached) " >&6
57459 else
57460
57461
57462 ac_ext=cpp
57463 ac_cpp='$CXXCPP $CPPFLAGS'
57464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57467
57468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57469 /* end confdefs.h. */
57470 #include <math.h>
57471 int
57472 main ()
57473 {
57474 _ceill (0); _floorl (0);
57475 ;
57476 return 0;
57477 }
57478 _ACEOF
57479 if ac_fn_cxx_try_compile "$LINENO"; then :
57480 glibcxx_cv_func__long_double_round_use=yes
57481 else
57482 glibcxx_cv_func__long_double_round_use=no
57483 fi
57484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57485 ac_ext=c
57486 ac_cpp='$CPP $CPPFLAGS'
57487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57490
57491 fi
57492
57493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57494 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57495 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57496 for ac_func in _ceill _floorl
57497 do :
57498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57500 eval as_val=\$$as_ac_var
57501 if test "x$as_val" = x""yes; then :
57502 cat >>confdefs.h <<_ACEOF
57503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57504 _ACEOF
57505
57506 fi
57507 done
57508
57509 fi
57510 fi
57511
57512
57513
57514
57515
57516
57517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57518 $as_echo_n "checking for isnanl declaration... " >&6; }
57519 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57520 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57521 $as_echo_n "(cached) " >&6
57522 else
57523
57524
57525 ac_ext=cpp
57526 ac_cpp='$CXXCPP $CPPFLAGS'
57527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57530
57531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57532 /* end confdefs.h. */
57533 #include <math.h>
57534 #ifdef HAVE_IEEEFP_H
57535 #include <ieeefp.h>
57536 #endif
57537
57538 int
57539 main ()
57540 {
57541 isnanl(0);
57542 ;
57543 return 0;
57544 }
57545 _ACEOF
57546 if ac_fn_cxx_try_compile "$LINENO"; then :
57547 glibcxx_cv_func_isnanl_use=yes
57548 else
57549 glibcxx_cv_func_isnanl_use=no
57550 fi
57551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57552 ac_ext=c
57553 ac_cpp='$CPP $CPPFLAGS'
57554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57557
57558
57559 fi
57560
57561 fi
57562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57563 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57564
57565 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57566 for ac_func in isnanl
57567 do :
57568 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57569 if test "x$ac_cv_func_isnanl" = x""yes; then :
57570 cat >>confdefs.h <<_ACEOF
57571 #define HAVE_ISNANL 1
57572 _ACEOF
57573
57574 fi
57575 done
57576
57577 else
57578
57579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57580 $as_echo_n "checking for _isnanl declaration... " >&6; }
57581 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57582 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57583 $as_echo_n "(cached) " >&6
57584 else
57585
57586
57587 ac_ext=cpp
57588 ac_cpp='$CXXCPP $CPPFLAGS'
57589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57592
57593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57594 /* end confdefs.h. */
57595 #include <math.h>
57596 #ifdef HAVE_IEEEFP_H
57597 #include <ieeefp.h>
57598 #endif
57599
57600 int
57601 main ()
57602 {
57603 _isnanl(0);
57604 ;
57605 return 0;
57606 }
57607 _ACEOF
57608 if ac_fn_cxx_try_compile "$LINENO"; then :
57609 glibcxx_cv_func__isnanl_use=yes
57610 else
57611 glibcxx_cv_func__isnanl_use=no
57612 fi
57613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57614 ac_ext=c
57615 ac_cpp='$CPP $CPPFLAGS'
57616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57619
57620
57621 fi
57622
57623 fi
57624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57625 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57626
57627 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57628 for ac_func in _isnanl
57629 do :
57630 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57631 if test "x$ac_cv_func__isnanl" = x""yes; then :
57632 cat >>confdefs.h <<_ACEOF
57633 #define HAVE__ISNANL 1
57634 _ACEOF
57635
57636 fi
57637 done
57638
57639 fi
57640 fi
57641
57642
57643
57644
57645
57646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57647 $as_echo_n "checking for isinfl declaration... " >&6; }
57648 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57649 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57650 $as_echo_n "(cached) " >&6
57651 else
57652
57653
57654 ac_ext=cpp
57655 ac_cpp='$CXXCPP $CPPFLAGS'
57656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57659
57660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57661 /* end confdefs.h. */
57662 #include <math.h>
57663 #ifdef HAVE_IEEEFP_H
57664 #include <ieeefp.h>
57665 #endif
57666
57667 int
57668 main ()
57669 {
57670 isinfl(0);
57671 ;
57672 return 0;
57673 }
57674 _ACEOF
57675 if ac_fn_cxx_try_compile "$LINENO"; then :
57676 glibcxx_cv_func_isinfl_use=yes
57677 else
57678 glibcxx_cv_func_isinfl_use=no
57679 fi
57680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57681 ac_ext=c
57682 ac_cpp='$CPP $CPPFLAGS'
57683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57686
57687
57688 fi
57689
57690 fi
57691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57692 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57693
57694 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57695 for ac_func in isinfl
57696 do :
57697 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57698 if test "x$ac_cv_func_isinfl" = x""yes; then :
57699 cat >>confdefs.h <<_ACEOF
57700 #define HAVE_ISINFL 1
57701 _ACEOF
57702
57703 fi
57704 done
57705
57706 else
57707
57708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57709 $as_echo_n "checking for _isinfl declaration... " >&6; }
57710 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57711 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57712 $as_echo_n "(cached) " >&6
57713 else
57714
57715
57716 ac_ext=cpp
57717 ac_cpp='$CXXCPP $CPPFLAGS'
57718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57721
57722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57723 /* end confdefs.h. */
57724 #include <math.h>
57725 #ifdef HAVE_IEEEFP_H
57726 #include <ieeefp.h>
57727 #endif
57728
57729 int
57730 main ()
57731 {
57732 _isinfl(0);
57733 ;
57734 return 0;
57735 }
57736 _ACEOF
57737 if ac_fn_cxx_try_compile "$LINENO"; then :
57738 glibcxx_cv_func__isinfl_use=yes
57739 else
57740 glibcxx_cv_func__isinfl_use=no
57741 fi
57742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57743 ac_ext=c
57744 ac_cpp='$CPP $CPPFLAGS'
57745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57748
57749
57750 fi
57751
57752 fi
57753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57754 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57755
57756 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57757 for ac_func in _isinfl
57758 do :
57759 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57760 if test "x$ac_cv_func__isinfl" = x""yes; then :
57761 cat >>confdefs.h <<_ACEOF
57762 #define HAVE__ISINFL 1
57763 _ACEOF
57764
57765 fi
57766 done
57767
57768 fi
57769 fi
57770
57771
57772
57773
57774
57775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57776 $as_echo_n "checking for atan2l declaration... " >&6; }
57777 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57778 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57779 $as_echo_n "(cached) " >&6
57780 else
57781
57782
57783 ac_ext=cpp
57784 ac_cpp='$CXXCPP $CPPFLAGS'
57785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57788
57789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57790 /* end confdefs.h. */
57791 #include <math.h>
57792 int
57793 main ()
57794 {
57795 atan2l(0, 0);
57796 ;
57797 return 0;
57798 }
57799 _ACEOF
57800 if ac_fn_cxx_try_compile "$LINENO"; then :
57801 glibcxx_cv_func_atan2l_use=yes
57802 else
57803 glibcxx_cv_func_atan2l_use=no
57804 fi
57805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57806 ac_ext=c
57807 ac_cpp='$CPP $CPPFLAGS'
57808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57811
57812
57813 fi
57814
57815 fi
57816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57817 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57818
57819 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57820 for ac_func in atan2l
57821 do :
57822 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57823 if test "x$ac_cv_func_atan2l" = x""yes; then :
57824 cat >>confdefs.h <<_ACEOF
57825 #define HAVE_ATAN2L 1
57826 _ACEOF
57827
57828 fi
57829 done
57830
57831 else
57832
57833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57834 $as_echo_n "checking for _atan2l declaration... " >&6; }
57835 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57836 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57837 $as_echo_n "(cached) " >&6
57838 else
57839
57840
57841 ac_ext=cpp
57842 ac_cpp='$CXXCPP $CPPFLAGS'
57843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57846
57847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57848 /* end confdefs.h. */
57849 #include <math.h>
57850 int
57851 main ()
57852 {
57853 _atan2l(0, 0);
57854 ;
57855 return 0;
57856 }
57857 _ACEOF
57858 if ac_fn_cxx_try_compile "$LINENO"; then :
57859 glibcxx_cv_func__atan2l_use=yes
57860 else
57861 glibcxx_cv_func__atan2l_use=no
57862 fi
57863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57864 ac_ext=c
57865 ac_cpp='$CPP $CPPFLAGS'
57866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57869
57870
57871 fi
57872
57873 fi
57874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57875 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57876
57877 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57878 for ac_func in _atan2l
57879 do :
57880 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57881 if test "x$ac_cv_func__atan2l" = x""yes; then :
57882 cat >>confdefs.h <<_ACEOF
57883 #define HAVE__ATAN2L 1
57884 _ACEOF
57885
57886 fi
57887 done
57888
57889 fi
57890 fi
57891
57892
57893
57894
57895
57896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57897 $as_echo_n "checking for expl declaration... " >&6; }
57898 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57899 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57900 $as_echo_n "(cached) " >&6
57901 else
57902
57903
57904 ac_ext=cpp
57905 ac_cpp='$CXXCPP $CPPFLAGS'
57906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57909
57910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57911 /* end confdefs.h. */
57912 #include <math.h>
57913 #ifdef HAVE_IEEEFP_H
57914 #include <ieeefp.h>
57915 #endif
57916
57917 int
57918 main ()
57919 {
57920 expl(0);
57921 ;
57922 return 0;
57923 }
57924 _ACEOF
57925 if ac_fn_cxx_try_compile "$LINENO"; then :
57926 glibcxx_cv_func_expl_use=yes
57927 else
57928 glibcxx_cv_func_expl_use=no
57929 fi
57930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57931 ac_ext=c
57932 ac_cpp='$CPP $CPPFLAGS'
57933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57936
57937
57938 fi
57939
57940 fi
57941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57942 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57943
57944 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57945 for ac_func in expl
57946 do :
57947 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57948 if test "x$ac_cv_func_expl" = x""yes; then :
57949 cat >>confdefs.h <<_ACEOF
57950 #define HAVE_EXPL 1
57951 _ACEOF
57952
57953 fi
57954 done
57955
57956 else
57957
57958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57959 $as_echo_n "checking for _expl declaration... " >&6; }
57960 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57961 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57962 $as_echo_n "(cached) " >&6
57963 else
57964
57965
57966 ac_ext=cpp
57967 ac_cpp='$CXXCPP $CPPFLAGS'
57968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57971
57972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57973 /* end confdefs.h. */
57974 #include <math.h>
57975 #ifdef HAVE_IEEEFP_H
57976 #include <ieeefp.h>
57977 #endif
57978
57979 int
57980 main ()
57981 {
57982 _expl(0);
57983 ;
57984 return 0;
57985 }
57986 _ACEOF
57987 if ac_fn_cxx_try_compile "$LINENO"; then :
57988 glibcxx_cv_func__expl_use=yes
57989 else
57990 glibcxx_cv_func__expl_use=no
57991 fi
57992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57993 ac_ext=c
57994 ac_cpp='$CPP $CPPFLAGS'
57995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57998
57999
58000 fi
58001
58002 fi
58003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58004 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58005
58006 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58007 for ac_func in _expl
58008 do :
58009 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58010 if test "x$ac_cv_func__expl" = x""yes; then :
58011 cat >>confdefs.h <<_ACEOF
58012 #define HAVE__EXPL 1
58013 _ACEOF
58014
58015 fi
58016 done
58017
58018 fi
58019 fi
58020
58021
58022
58023
58024
58025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58026 $as_echo_n "checking for fabsl declaration... " >&6; }
58027 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58028 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58029 $as_echo_n "(cached) " >&6
58030 else
58031
58032
58033 ac_ext=cpp
58034 ac_cpp='$CXXCPP $CPPFLAGS'
58035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58038
58039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58040 /* end confdefs.h. */
58041 #include <math.h>
58042 #ifdef HAVE_IEEEFP_H
58043 #include <ieeefp.h>
58044 #endif
58045
58046 int
58047 main ()
58048 {
58049 fabsl(0);
58050 ;
58051 return 0;
58052 }
58053 _ACEOF
58054 if ac_fn_cxx_try_compile "$LINENO"; then :
58055 glibcxx_cv_func_fabsl_use=yes
58056 else
58057 glibcxx_cv_func_fabsl_use=no
58058 fi
58059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58060 ac_ext=c
58061 ac_cpp='$CPP $CPPFLAGS'
58062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58065
58066
58067 fi
58068
58069 fi
58070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58071 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58072
58073 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58074 for ac_func in fabsl
58075 do :
58076 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58077 if test "x$ac_cv_func_fabsl" = x""yes; then :
58078 cat >>confdefs.h <<_ACEOF
58079 #define HAVE_FABSL 1
58080 _ACEOF
58081
58082 fi
58083 done
58084
58085 else
58086
58087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58088 $as_echo_n "checking for _fabsl declaration... " >&6; }
58089 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58090 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58091 $as_echo_n "(cached) " >&6
58092 else
58093
58094
58095 ac_ext=cpp
58096 ac_cpp='$CXXCPP $CPPFLAGS'
58097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58100
58101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58102 /* end confdefs.h. */
58103 #include <math.h>
58104 #ifdef HAVE_IEEEFP_H
58105 #include <ieeefp.h>
58106 #endif
58107
58108 int
58109 main ()
58110 {
58111 _fabsl(0);
58112 ;
58113 return 0;
58114 }
58115 _ACEOF
58116 if ac_fn_cxx_try_compile "$LINENO"; then :
58117 glibcxx_cv_func__fabsl_use=yes
58118 else
58119 glibcxx_cv_func__fabsl_use=no
58120 fi
58121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58122 ac_ext=c
58123 ac_cpp='$CPP $CPPFLAGS'
58124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58127
58128
58129 fi
58130
58131 fi
58132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58133 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58134
58135 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58136 for ac_func in _fabsl
58137 do :
58138 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58139 if test "x$ac_cv_func__fabsl" = x""yes; then :
58140 cat >>confdefs.h <<_ACEOF
58141 #define HAVE__FABSL 1
58142 _ACEOF
58143
58144 fi
58145 done
58146
58147 fi
58148 fi
58149
58150
58151
58152
58153
58154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58155 $as_echo_n "checking for fmodl declaration... " >&6; }
58156 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58157 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58158 $as_echo_n "(cached) " >&6
58159 else
58160
58161
58162 ac_ext=cpp
58163 ac_cpp='$CXXCPP $CPPFLAGS'
58164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58167
58168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58169 /* end confdefs.h. */
58170 #include <math.h>
58171 int
58172 main ()
58173 {
58174 fmodl(0, 0);
58175 ;
58176 return 0;
58177 }
58178 _ACEOF
58179 if ac_fn_cxx_try_compile "$LINENO"; then :
58180 glibcxx_cv_func_fmodl_use=yes
58181 else
58182 glibcxx_cv_func_fmodl_use=no
58183 fi
58184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58185 ac_ext=c
58186 ac_cpp='$CPP $CPPFLAGS'
58187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58190
58191
58192 fi
58193
58194 fi
58195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58196 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58197
58198 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58199 for ac_func in fmodl
58200 do :
58201 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58202 if test "x$ac_cv_func_fmodl" = x""yes; then :
58203 cat >>confdefs.h <<_ACEOF
58204 #define HAVE_FMODL 1
58205 _ACEOF
58206
58207 fi
58208 done
58209
58210 else
58211
58212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58213 $as_echo_n "checking for _fmodl declaration... " >&6; }
58214 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58215 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58216 $as_echo_n "(cached) " >&6
58217 else
58218
58219
58220 ac_ext=cpp
58221 ac_cpp='$CXXCPP $CPPFLAGS'
58222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58225
58226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58227 /* end confdefs.h. */
58228 #include <math.h>
58229 int
58230 main ()
58231 {
58232 _fmodl(0, 0);
58233 ;
58234 return 0;
58235 }
58236 _ACEOF
58237 if ac_fn_cxx_try_compile "$LINENO"; then :
58238 glibcxx_cv_func__fmodl_use=yes
58239 else
58240 glibcxx_cv_func__fmodl_use=no
58241 fi
58242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58243 ac_ext=c
58244 ac_cpp='$CPP $CPPFLAGS'
58245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58248
58249
58250 fi
58251
58252 fi
58253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58254 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58255
58256 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58257 for ac_func in _fmodl
58258 do :
58259 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58260 if test "x$ac_cv_func__fmodl" = x""yes; then :
58261 cat >>confdefs.h <<_ACEOF
58262 #define HAVE__FMODL 1
58263 _ACEOF
58264
58265 fi
58266 done
58267
58268 fi
58269 fi
58270
58271
58272
58273
58274
58275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58276 $as_echo_n "checking for frexpl declaration... " >&6; }
58277 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58278 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58279 $as_echo_n "(cached) " >&6
58280 else
58281
58282
58283 ac_ext=cpp
58284 ac_cpp='$CXXCPP $CPPFLAGS'
58285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58288
58289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58290 /* end confdefs.h. */
58291 #include <math.h>
58292 int
58293 main ()
58294 {
58295 frexpl(0, 0);
58296 ;
58297 return 0;
58298 }
58299 _ACEOF
58300 if ac_fn_cxx_try_compile "$LINENO"; then :
58301 glibcxx_cv_func_frexpl_use=yes
58302 else
58303 glibcxx_cv_func_frexpl_use=no
58304 fi
58305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58306 ac_ext=c
58307 ac_cpp='$CPP $CPPFLAGS'
58308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58311
58312
58313 fi
58314
58315 fi
58316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58317 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58318
58319 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58320 for ac_func in frexpl
58321 do :
58322 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58323 if test "x$ac_cv_func_frexpl" = x""yes; then :
58324 cat >>confdefs.h <<_ACEOF
58325 #define HAVE_FREXPL 1
58326 _ACEOF
58327
58328 fi
58329 done
58330
58331 else
58332
58333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58334 $as_echo_n "checking for _frexpl declaration... " >&6; }
58335 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58336 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58337 $as_echo_n "(cached) " >&6
58338 else
58339
58340
58341 ac_ext=cpp
58342 ac_cpp='$CXXCPP $CPPFLAGS'
58343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58346
58347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58348 /* end confdefs.h. */
58349 #include <math.h>
58350 int
58351 main ()
58352 {
58353 _frexpl(0, 0);
58354 ;
58355 return 0;
58356 }
58357 _ACEOF
58358 if ac_fn_cxx_try_compile "$LINENO"; then :
58359 glibcxx_cv_func__frexpl_use=yes
58360 else
58361 glibcxx_cv_func__frexpl_use=no
58362 fi
58363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58364 ac_ext=c
58365 ac_cpp='$CPP $CPPFLAGS'
58366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58369
58370
58371 fi
58372
58373 fi
58374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58375 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58376
58377 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58378 for ac_func in _frexpl
58379 do :
58380 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58381 if test "x$ac_cv_func__frexpl" = x""yes; then :
58382 cat >>confdefs.h <<_ACEOF
58383 #define HAVE__FREXPL 1
58384 _ACEOF
58385
58386 fi
58387 done
58388
58389 fi
58390 fi
58391
58392
58393
58394
58395
58396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58397 $as_echo_n "checking for hypotl declaration... " >&6; }
58398 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58399 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58400 $as_echo_n "(cached) " >&6
58401 else
58402
58403
58404 ac_ext=cpp
58405 ac_cpp='$CXXCPP $CPPFLAGS'
58406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58409
58410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58411 /* end confdefs.h. */
58412 #include <math.h>
58413 int
58414 main ()
58415 {
58416 hypotl(0, 0);
58417 ;
58418 return 0;
58419 }
58420 _ACEOF
58421 if ac_fn_cxx_try_compile "$LINENO"; then :
58422 glibcxx_cv_func_hypotl_use=yes
58423 else
58424 glibcxx_cv_func_hypotl_use=no
58425 fi
58426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58427 ac_ext=c
58428 ac_cpp='$CPP $CPPFLAGS'
58429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58432
58433
58434 fi
58435
58436 fi
58437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58438 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58439
58440 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58441 for ac_func in hypotl
58442 do :
58443 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58444 if test "x$ac_cv_func_hypotl" = x""yes; then :
58445 cat >>confdefs.h <<_ACEOF
58446 #define HAVE_HYPOTL 1
58447 _ACEOF
58448
58449 fi
58450 done
58451
58452 else
58453
58454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58455 $as_echo_n "checking for _hypotl declaration... " >&6; }
58456 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58457 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58458 $as_echo_n "(cached) " >&6
58459 else
58460
58461
58462 ac_ext=cpp
58463 ac_cpp='$CXXCPP $CPPFLAGS'
58464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58467
58468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58469 /* end confdefs.h. */
58470 #include <math.h>
58471 int
58472 main ()
58473 {
58474 _hypotl(0, 0);
58475 ;
58476 return 0;
58477 }
58478 _ACEOF
58479 if ac_fn_cxx_try_compile "$LINENO"; then :
58480 glibcxx_cv_func__hypotl_use=yes
58481 else
58482 glibcxx_cv_func__hypotl_use=no
58483 fi
58484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58485 ac_ext=c
58486 ac_cpp='$CPP $CPPFLAGS'
58487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58490
58491
58492 fi
58493
58494 fi
58495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58496 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58497
58498 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58499 for ac_func in _hypotl
58500 do :
58501 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58502 if test "x$ac_cv_func__hypotl" = x""yes; then :
58503 cat >>confdefs.h <<_ACEOF
58504 #define HAVE__HYPOTL 1
58505 _ACEOF
58506
58507 fi
58508 done
58509
58510 fi
58511 fi
58512
58513
58514
58515
58516
58517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58518 $as_echo_n "checking for ldexpl declaration... " >&6; }
58519 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58520 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58521 $as_echo_n "(cached) " >&6
58522 else
58523
58524
58525 ac_ext=cpp
58526 ac_cpp='$CXXCPP $CPPFLAGS'
58527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58530
58531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58532 /* end confdefs.h. */
58533 #include <math.h>
58534 int
58535 main ()
58536 {
58537 ldexpl(0, 0);
58538 ;
58539 return 0;
58540 }
58541 _ACEOF
58542 if ac_fn_cxx_try_compile "$LINENO"; then :
58543 glibcxx_cv_func_ldexpl_use=yes
58544 else
58545 glibcxx_cv_func_ldexpl_use=no
58546 fi
58547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58548 ac_ext=c
58549 ac_cpp='$CPP $CPPFLAGS'
58550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58553
58554
58555 fi
58556
58557 fi
58558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58559 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58560
58561 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58562 for ac_func in ldexpl
58563 do :
58564 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58565 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58566 cat >>confdefs.h <<_ACEOF
58567 #define HAVE_LDEXPL 1
58568 _ACEOF
58569
58570 fi
58571 done
58572
58573 else
58574
58575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58576 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58577 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58578 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58579 $as_echo_n "(cached) " >&6
58580 else
58581
58582
58583 ac_ext=cpp
58584 ac_cpp='$CXXCPP $CPPFLAGS'
58585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58588
58589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58590 /* end confdefs.h. */
58591 #include <math.h>
58592 int
58593 main ()
58594 {
58595 _ldexpl(0, 0);
58596 ;
58597 return 0;
58598 }
58599 _ACEOF
58600 if ac_fn_cxx_try_compile "$LINENO"; then :
58601 glibcxx_cv_func__ldexpl_use=yes
58602 else
58603 glibcxx_cv_func__ldexpl_use=no
58604 fi
58605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58606 ac_ext=c
58607 ac_cpp='$CPP $CPPFLAGS'
58608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58611
58612
58613 fi
58614
58615 fi
58616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58617 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58618
58619 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58620 for ac_func in _ldexpl
58621 do :
58622 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58623 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58624 cat >>confdefs.h <<_ACEOF
58625 #define HAVE__LDEXPL 1
58626 _ACEOF
58627
58628 fi
58629 done
58630
58631 fi
58632 fi
58633
58634
58635
58636
58637
58638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58639 $as_echo_n "checking for logl declaration... " >&6; }
58640 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58641 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58642 $as_echo_n "(cached) " >&6
58643 else
58644
58645
58646 ac_ext=cpp
58647 ac_cpp='$CXXCPP $CPPFLAGS'
58648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58651
58652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58653 /* end confdefs.h. */
58654 #include <math.h>
58655 #ifdef HAVE_IEEEFP_H
58656 #include <ieeefp.h>
58657 #endif
58658
58659 int
58660 main ()
58661 {
58662 logl(0);
58663 ;
58664 return 0;
58665 }
58666 _ACEOF
58667 if ac_fn_cxx_try_compile "$LINENO"; then :
58668 glibcxx_cv_func_logl_use=yes
58669 else
58670 glibcxx_cv_func_logl_use=no
58671 fi
58672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58673 ac_ext=c
58674 ac_cpp='$CPP $CPPFLAGS'
58675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58678
58679
58680 fi
58681
58682 fi
58683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58684 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58685
58686 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58687 for ac_func in logl
58688 do :
58689 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58690 if test "x$ac_cv_func_logl" = x""yes; then :
58691 cat >>confdefs.h <<_ACEOF
58692 #define HAVE_LOGL 1
58693 _ACEOF
58694
58695 fi
58696 done
58697
58698 else
58699
58700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58701 $as_echo_n "checking for _logl declaration... " >&6; }
58702 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58703 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58704 $as_echo_n "(cached) " >&6
58705 else
58706
58707
58708 ac_ext=cpp
58709 ac_cpp='$CXXCPP $CPPFLAGS'
58710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58713
58714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58715 /* end confdefs.h. */
58716 #include <math.h>
58717 #ifdef HAVE_IEEEFP_H
58718 #include <ieeefp.h>
58719 #endif
58720
58721 int
58722 main ()
58723 {
58724 _logl(0);
58725 ;
58726 return 0;
58727 }
58728 _ACEOF
58729 if ac_fn_cxx_try_compile "$LINENO"; then :
58730 glibcxx_cv_func__logl_use=yes
58731 else
58732 glibcxx_cv_func__logl_use=no
58733 fi
58734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58735 ac_ext=c
58736 ac_cpp='$CPP $CPPFLAGS'
58737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58740
58741
58742 fi
58743
58744 fi
58745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58746 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58747
58748 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58749 for ac_func in _logl
58750 do :
58751 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58752 if test "x$ac_cv_func__logl" = x""yes; then :
58753 cat >>confdefs.h <<_ACEOF
58754 #define HAVE__LOGL 1
58755 _ACEOF
58756
58757 fi
58758 done
58759
58760 fi
58761 fi
58762
58763
58764
58765
58766
58767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58768 $as_echo_n "checking for log10l declaration... " >&6; }
58769 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58770 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58771 $as_echo_n "(cached) " >&6
58772 else
58773
58774
58775 ac_ext=cpp
58776 ac_cpp='$CXXCPP $CPPFLAGS'
58777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58780
58781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58782 /* end confdefs.h. */
58783 #include <math.h>
58784 #ifdef HAVE_IEEEFP_H
58785 #include <ieeefp.h>
58786 #endif
58787
58788 int
58789 main ()
58790 {
58791 log10l(0);
58792 ;
58793 return 0;
58794 }
58795 _ACEOF
58796 if ac_fn_cxx_try_compile "$LINENO"; then :
58797 glibcxx_cv_func_log10l_use=yes
58798 else
58799 glibcxx_cv_func_log10l_use=no
58800 fi
58801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58802 ac_ext=c
58803 ac_cpp='$CPP $CPPFLAGS'
58804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58807
58808
58809 fi
58810
58811 fi
58812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58813 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58814
58815 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58816 for ac_func in log10l
58817 do :
58818 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58819 if test "x$ac_cv_func_log10l" = x""yes; then :
58820 cat >>confdefs.h <<_ACEOF
58821 #define HAVE_LOG10L 1
58822 _ACEOF
58823
58824 fi
58825 done
58826
58827 else
58828
58829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58830 $as_echo_n "checking for _log10l declaration... " >&6; }
58831 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58832 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58833 $as_echo_n "(cached) " >&6
58834 else
58835
58836
58837 ac_ext=cpp
58838 ac_cpp='$CXXCPP $CPPFLAGS'
58839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58842
58843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58844 /* end confdefs.h. */
58845 #include <math.h>
58846 #ifdef HAVE_IEEEFP_H
58847 #include <ieeefp.h>
58848 #endif
58849
58850 int
58851 main ()
58852 {
58853 _log10l(0);
58854 ;
58855 return 0;
58856 }
58857 _ACEOF
58858 if ac_fn_cxx_try_compile "$LINENO"; then :
58859 glibcxx_cv_func__log10l_use=yes
58860 else
58861 glibcxx_cv_func__log10l_use=no
58862 fi
58863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58864 ac_ext=c
58865 ac_cpp='$CPP $CPPFLAGS'
58866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58869
58870
58871 fi
58872
58873 fi
58874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58875 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58876
58877 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58878 for ac_func in _log10l
58879 do :
58880 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58881 if test "x$ac_cv_func__log10l" = x""yes; then :
58882 cat >>confdefs.h <<_ACEOF
58883 #define HAVE__LOG10L 1
58884 _ACEOF
58885
58886 fi
58887 done
58888
58889 fi
58890 fi
58891
58892
58893
58894
58895
58896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58897 $as_echo_n "checking for modfl declaration... " >&6; }
58898 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58899 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58900 $as_echo_n "(cached) " >&6
58901 else
58902
58903
58904 ac_ext=cpp
58905 ac_cpp='$CXXCPP $CPPFLAGS'
58906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58909
58910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58911 /* end confdefs.h. */
58912 #include <math.h>
58913 int
58914 main ()
58915 {
58916 modfl(0, 0);
58917 ;
58918 return 0;
58919 }
58920 _ACEOF
58921 if ac_fn_cxx_try_compile "$LINENO"; then :
58922 glibcxx_cv_func_modfl_use=yes
58923 else
58924 glibcxx_cv_func_modfl_use=no
58925 fi
58926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58927 ac_ext=c
58928 ac_cpp='$CPP $CPPFLAGS'
58929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58932
58933
58934 fi
58935
58936 fi
58937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58938 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58939
58940 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58941 for ac_func in modfl
58942 do :
58943 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58944 if test "x$ac_cv_func_modfl" = x""yes; then :
58945 cat >>confdefs.h <<_ACEOF
58946 #define HAVE_MODFL 1
58947 _ACEOF
58948
58949 fi
58950 done
58951
58952 else
58953
58954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58955 $as_echo_n "checking for _modfl declaration... " >&6; }
58956 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58957 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58958 $as_echo_n "(cached) " >&6
58959 else
58960
58961
58962 ac_ext=cpp
58963 ac_cpp='$CXXCPP $CPPFLAGS'
58964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58967
58968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58969 /* end confdefs.h. */
58970 #include <math.h>
58971 int
58972 main ()
58973 {
58974 _modfl(0, 0);
58975 ;
58976 return 0;
58977 }
58978 _ACEOF
58979 if ac_fn_cxx_try_compile "$LINENO"; then :
58980 glibcxx_cv_func__modfl_use=yes
58981 else
58982 glibcxx_cv_func__modfl_use=no
58983 fi
58984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58985 ac_ext=c
58986 ac_cpp='$CPP $CPPFLAGS'
58987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58990
58991
58992 fi
58993
58994 fi
58995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58996 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58997
58998 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58999 for ac_func in _modfl
59000 do :
59001 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59002 if test "x$ac_cv_func__modfl" = x""yes; then :
59003 cat >>confdefs.h <<_ACEOF
59004 #define HAVE__MODFL 1
59005 _ACEOF
59006
59007 fi
59008 done
59009
59010 fi
59011 fi
59012
59013
59014
59015
59016
59017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59018 $as_echo_n "checking for powl declaration... " >&6; }
59019 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59020 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59021 $as_echo_n "(cached) " >&6
59022 else
59023
59024
59025 ac_ext=cpp
59026 ac_cpp='$CXXCPP $CPPFLAGS'
59027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59030
59031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59032 /* end confdefs.h. */
59033 #include <math.h>
59034 int
59035 main ()
59036 {
59037 powl(0, 0);
59038 ;
59039 return 0;
59040 }
59041 _ACEOF
59042 if ac_fn_cxx_try_compile "$LINENO"; then :
59043 glibcxx_cv_func_powl_use=yes
59044 else
59045 glibcxx_cv_func_powl_use=no
59046 fi
59047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59048 ac_ext=c
59049 ac_cpp='$CPP $CPPFLAGS'
59050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59053
59054
59055 fi
59056
59057 fi
59058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59059 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59060
59061 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59062 for ac_func in powl
59063 do :
59064 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59065 if test "x$ac_cv_func_powl" = x""yes; then :
59066 cat >>confdefs.h <<_ACEOF
59067 #define HAVE_POWL 1
59068 _ACEOF
59069
59070 fi
59071 done
59072
59073 else
59074
59075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59076 $as_echo_n "checking for _powl declaration... " >&6; }
59077 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59078 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59079 $as_echo_n "(cached) " >&6
59080 else
59081
59082
59083 ac_ext=cpp
59084 ac_cpp='$CXXCPP $CPPFLAGS'
59085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59088
59089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59090 /* end confdefs.h. */
59091 #include <math.h>
59092 int
59093 main ()
59094 {
59095 _powl(0, 0);
59096 ;
59097 return 0;
59098 }
59099 _ACEOF
59100 if ac_fn_cxx_try_compile "$LINENO"; then :
59101 glibcxx_cv_func__powl_use=yes
59102 else
59103 glibcxx_cv_func__powl_use=no
59104 fi
59105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59106 ac_ext=c
59107 ac_cpp='$CPP $CPPFLAGS'
59108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59111
59112
59113 fi
59114
59115 fi
59116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59117 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59118
59119 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59120 for ac_func in _powl
59121 do :
59122 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59123 if test "x$ac_cv_func__powl" = x""yes; then :
59124 cat >>confdefs.h <<_ACEOF
59125 #define HAVE__POWL 1
59126 _ACEOF
59127
59128 fi
59129 done
59130
59131 fi
59132 fi
59133
59134
59135
59136
59137
59138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59139 $as_echo_n "checking for sqrtl declaration... " >&6; }
59140 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59141 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59142 $as_echo_n "(cached) " >&6
59143 else
59144
59145
59146 ac_ext=cpp
59147 ac_cpp='$CXXCPP $CPPFLAGS'
59148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59151
59152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59153 /* end confdefs.h. */
59154 #include <math.h>
59155 #ifdef HAVE_IEEEFP_H
59156 #include <ieeefp.h>
59157 #endif
59158
59159 int
59160 main ()
59161 {
59162 sqrtl(0);
59163 ;
59164 return 0;
59165 }
59166 _ACEOF
59167 if ac_fn_cxx_try_compile "$LINENO"; then :
59168 glibcxx_cv_func_sqrtl_use=yes
59169 else
59170 glibcxx_cv_func_sqrtl_use=no
59171 fi
59172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59173 ac_ext=c
59174 ac_cpp='$CPP $CPPFLAGS'
59175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59178
59179
59180 fi
59181
59182 fi
59183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59184 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59185
59186 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59187 for ac_func in sqrtl
59188 do :
59189 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59190 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59191 cat >>confdefs.h <<_ACEOF
59192 #define HAVE_SQRTL 1
59193 _ACEOF
59194
59195 fi
59196 done
59197
59198 else
59199
59200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59201 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59202 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59203 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59204 $as_echo_n "(cached) " >&6
59205 else
59206
59207
59208 ac_ext=cpp
59209 ac_cpp='$CXXCPP $CPPFLAGS'
59210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59213
59214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59215 /* end confdefs.h. */
59216 #include <math.h>
59217 #ifdef HAVE_IEEEFP_H
59218 #include <ieeefp.h>
59219 #endif
59220
59221 int
59222 main ()
59223 {
59224 _sqrtl(0);
59225 ;
59226 return 0;
59227 }
59228 _ACEOF
59229 if ac_fn_cxx_try_compile "$LINENO"; then :
59230 glibcxx_cv_func__sqrtl_use=yes
59231 else
59232 glibcxx_cv_func__sqrtl_use=no
59233 fi
59234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59235 ac_ext=c
59236 ac_cpp='$CPP $CPPFLAGS'
59237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59240
59241
59242 fi
59243
59244 fi
59245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59246 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59247
59248 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59249 for ac_func in _sqrtl
59250 do :
59251 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59252 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59253 cat >>confdefs.h <<_ACEOF
59254 #define HAVE__SQRTL 1
59255 _ACEOF
59256
59257 fi
59258 done
59259
59260 fi
59261 fi
59262
59263
59264
59265
59266
59267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59268 $as_echo_n "checking for sincosl declaration... " >&6; }
59269 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59270 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59271 $as_echo_n "(cached) " >&6
59272 else
59273
59274
59275 ac_ext=cpp
59276 ac_cpp='$CXXCPP $CPPFLAGS'
59277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59280
59281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59282 /* end confdefs.h. */
59283 #include <math.h>
59284 int
59285 main ()
59286 {
59287 sincosl(0, 0, 0);
59288 ;
59289 return 0;
59290 }
59291 _ACEOF
59292 if ac_fn_cxx_try_compile "$LINENO"; then :
59293 glibcxx_cv_func_sincosl_use=yes
59294 else
59295 glibcxx_cv_func_sincosl_use=no
59296 fi
59297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59298 ac_ext=c
59299 ac_cpp='$CPP $CPPFLAGS'
59300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59303
59304
59305 fi
59306
59307 fi
59308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59309 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59310
59311 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59312 for ac_func in sincosl
59313 do :
59314 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59315 if test "x$ac_cv_func_sincosl" = x""yes; then :
59316 cat >>confdefs.h <<_ACEOF
59317 #define HAVE_SINCOSL 1
59318 _ACEOF
59319
59320 fi
59321 done
59322
59323 else
59324
59325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59326 $as_echo_n "checking for _sincosl declaration... " >&6; }
59327 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59328 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59329 $as_echo_n "(cached) " >&6
59330 else
59331
59332
59333 ac_ext=cpp
59334 ac_cpp='$CXXCPP $CPPFLAGS'
59335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59338
59339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59340 /* end confdefs.h. */
59341 #include <math.h>
59342 int
59343 main ()
59344 {
59345 _sincosl(0, 0, 0);
59346 ;
59347 return 0;
59348 }
59349 _ACEOF
59350 if ac_fn_cxx_try_compile "$LINENO"; then :
59351 glibcxx_cv_func__sincosl_use=yes
59352 else
59353 glibcxx_cv_func__sincosl_use=no
59354 fi
59355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59356 ac_ext=c
59357 ac_cpp='$CPP $CPPFLAGS'
59358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59361
59362
59363 fi
59364
59365 fi
59366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59367 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59368
59369 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59370 for ac_func in _sincosl
59371 do :
59372 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59373 if test "x$ac_cv_func__sincosl" = x""yes; then :
59374 cat >>confdefs.h <<_ACEOF
59375 #define HAVE__SINCOSL 1
59376 _ACEOF
59377
59378 fi
59379 done
59380
59381 fi
59382 fi
59383
59384
59385
59386
59387
59388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59389 $as_echo_n "checking for finitel declaration... " >&6; }
59390 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59391 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59392 $as_echo_n "(cached) " >&6
59393 else
59394
59395
59396 ac_ext=cpp
59397 ac_cpp='$CXXCPP $CPPFLAGS'
59398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59401
59402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59403 /* end confdefs.h. */
59404 #include <math.h>
59405 #ifdef HAVE_IEEEFP_H
59406 #include <ieeefp.h>
59407 #endif
59408
59409 int
59410 main ()
59411 {
59412 finitel(0);
59413 ;
59414 return 0;
59415 }
59416 _ACEOF
59417 if ac_fn_cxx_try_compile "$LINENO"; then :
59418 glibcxx_cv_func_finitel_use=yes
59419 else
59420 glibcxx_cv_func_finitel_use=no
59421 fi
59422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59423 ac_ext=c
59424 ac_cpp='$CPP $CPPFLAGS'
59425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59428
59429
59430 fi
59431
59432 fi
59433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59434 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59435
59436 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59437 for ac_func in finitel
59438 do :
59439 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59440 if test "x$ac_cv_func_finitel" = x""yes; then :
59441 cat >>confdefs.h <<_ACEOF
59442 #define HAVE_FINITEL 1
59443 _ACEOF
59444
59445 fi
59446 done
59447
59448 else
59449
59450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59451 $as_echo_n "checking for _finitel declaration... " >&6; }
59452 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59453 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59454 $as_echo_n "(cached) " >&6
59455 else
59456
59457
59458 ac_ext=cpp
59459 ac_cpp='$CXXCPP $CPPFLAGS'
59460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59463
59464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59465 /* end confdefs.h. */
59466 #include <math.h>
59467 #ifdef HAVE_IEEEFP_H
59468 #include <ieeefp.h>
59469 #endif
59470
59471 int
59472 main ()
59473 {
59474 _finitel(0);
59475 ;
59476 return 0;
59477 }
59478 _ACEOF
59479 if ac_fn_cxx_try_compile "$LINENO"; then :
59480 glibcxx_cv_func__finitel_use=yes
59481 else
59482 glibcxx_cv_func__finitel_use=no
59483 fi
59484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59485 ac_ext=c
59486 ac_cpp='$CPP $CPPFLAGS'
59487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59490
59491
59492 fi
59493
59494 fi
59495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59496 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59497
59498 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59499 for ac_func in _finitel
59500 do :
59501 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59502 if test "x$ac_cv_func__finitel" = x""yes; then :
59503 cat >>confdefs.h <<_ACEOF
59504 #define HAVE__FINITEL 1
59505 _ACEOF
59506
59507 fi
59508 done
59509
59510 fi
59511 fi
59512
59513
59514
59515
59516 LIBS="$ac_save_LIBS"
59517 CXXFLAGS="$ac_save_CXXFLAGS"
59518
59519
59520 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59521 ac_save_CXXFLAGS="$CXXFLAGS"
59522 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59523
59524
59525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59526 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59527 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59528 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59529 $as_echo_n "(cached) " >&6
59530 else
59531
59532
59533 ac_ext=cpp
59534 ac_cpp='$CXXCPP $CPPFLAGS'
59535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59538
59539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59540 /* end confdefs.h. */
59541 #include <stdlib.h>
59542 int
59543 main ()
59544 {
59545 at_quick_exit(0);
59546 ;
59547 return 0;
59548 }
59549 _ACEOF
59550 if ac_fn_cxx_try_compile "$LINENO"; then :
59551 glibcxx_cv_func_at_quick_exit_use=yes
59552 else
59553 glibcxx_cv_func_at_quick_exit_use=no
59554 fi
59555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59556 ac_ext=c
59557 ac_cpp='$CPP $CPPFLAGS'
59558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59561
59562
59563 fi
59564
59565 fi
59566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59567 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59568 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59569 for ac_func in at_quick_exit
59570 do :
59571 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59572 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59573 cat >>confdefs.h <<_ACEOF
59574 #define HAVE_AT_QUICK_EXIT 1
59575 _ACEOF
59576
59577 fi
59578 done
59579
59580 fi
59581
59582
59583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59584 $as_echo_n "checking for quick_exit declaration... " >&6; }
59585 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59586 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59587 $as_echo_n "(cached) " >&6
59588 else
59589
59590
59591 ac_ext=cpp
59592 ac_cpp='$CXXCPP $CPPFLAGS'
59593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59596
59597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59598 /* end confdefs.h. */
59599 #include <stdlib.h>
59600 int
59601 main ()
59602 {
59603 quick_exit(0);
59604 ;
59605 return 0;
59606 }
59607 _ACEOF
59608 if ac_fn_cxx_try_compile "$LINENO"; then :
59609 glibcxx_cv_func_quick_exit_use=yes
59610 else
59611 glibcxx_cv_func_quick_exit_use=no
59612 fi
59613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59614 ac_ext=c
59615 ac_cpp='$CPP $CPPFLAGS'
59616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59619
59620
59621 fi
59622
59623 fi
59624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59625 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59626 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59627 for ac_func in quick_exit
59628 do :
59629 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59630 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59631 cat >>confdefs.h <<_ACEOF
59632 #define HAVE_QUICK_EXIT 1
59633 _ACEOF
59634
59635 fi
59636 done
59637
59638 fi
59639
59640
59641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59642 $as_echo_n "checking for strtold declaration... " >&6; }
59643 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59644 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59645 $as_echo_n "(cached) " >&6
59646 else
59647
59648
59649 ac_ext=cpp
59650 ac_cpp='$CXXCPP $CPPFLAGS'
59651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59654
59655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59656 /* end confdefs.h. */
59657 #include <stdlib.h>
59658 int
59659 main ()
59660 {
59661 strtold(0, 0);
59662 ;
59663 return 0;
59664 }
59665 _ACEOF
59666 if ac_fn_cxx_try_compile "$LINENO"; then :
59667 glibcxx_cv_func_strtold_use=yes
59668 else
59669 glibcxx_cv_func_strtold_use=no
59670 fi
59671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59672 ac_ext=c
59673 ac_cpp='$CPP $CPPFLAGS'
59674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59677
59678
59679 fi
59680
59681 fi
59682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59683 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59684 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59685 for ac_func in strtold
59686 do :
59687 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59688 if test "x$ac_cv_func_strtold" = x""yes; then :
59689 cat >>confdefs.h <<_ACEOF
59690 #define HAVE_STRTOLD 1
59691 _ACEOF
59692
59693 fi
59694 done
59695
59696 fi
59697
59698
59699
59700
59701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59702 $as_echo_n "checking for strtof declaration... " >&6; }
59703 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59704 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59705 $as_echo_n "(cached) " >&6
59706 else
59707
59708
59709 ac_ext=cpp
59710 ac_cpp='$CXXCPP $CPPFLAGS'
59711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59714
59715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59716 /* end confdefs.h. */
59717 #include <stdlib.h>
59718 int
59719 main ()
59720 {
59721 strtof(0, 0);
59722 ;
59723 return 0;
59724 }
59725 _ACEOF
59726 if ac_fn_cxx_try_compile "$LINENO"; then :
59727 glibcxx_cv_func_strtof_use=yes
59728 else
59729 glibcxx_cv_func_strtof_use=no
59730 fi
59731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59732 ac_ext=c
59733 ac_cpp='$CPP $CPPFLAGS'
59734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59737
59738
59739 fi
59740
59741 fi
59742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59743 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59744 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59745 for ac_func in strtof
59746 do :
59747 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59748 if test "x$ac_cv_func_strtof" = x""yes; then :
59749 cat >>confdefs.h <<_ACEOF
59750 #define HAVE_STRTOF 1
59751 _ACEOF
59752
59753 fi
59754 done
59755
59756 fi
59757
59758
59759
59760
59761 CXXFLAGS="$ac_save_CXXFLAGS"
59762
59763 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59764
59765
59766
59767 # Check whether --enable-tls was given.
59768 if test "${enable_tls+set}" = set; then :
59769 enableval=$enable_tls;
59770 case "$enableval" in
59771 yes|no) ;;
59772 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59773 esac
59774
59775 else
59776 enable_tls=yes
59777 fi
59778
59779
59780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59781 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59782 if test "${gcc_cv_have_tls+set}" = set; then :
59783 $as_echo_n "(cached) " >&6
59784 else
59785
59786 if test "$cross_compiling" = yes; then :
59787 if test x$gcc_no_link = xyes; then
59788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59789 fi
59790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59791 /* end confdefs.h. */
59792 __thread int a; int b; int main() { return a = b; }
59793 _ACEOF
59794 if ac_fn_c_try_link "$LINENO"; then :
59795 chktls_save_LDFLAGS="$LDFLAGS"
59796 case $host in
59797 *-*-linux*)
59798 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59799 ;;
59800 esac
59801 chktls_save_CFLAGS="$CFLAGS"
59802 CFLAGS="-fPIC $CFLAGS"
59803 if test x$gcc_no_link = xyes; then
59804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59805 fi
59806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59807 /* end confdefs.h. */
59808 int f() { return 0; }
59809 _ACEOF
59810 if ac_fn_c_try_link "$LINENO"; then :
59811 if test x$gcc_no_link = xyes; then
59812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59813 fi
59814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59815 /* end confdefs.h. */
59816 __thread int a; int b; int f() { return a = b; }
59817 _ACEOF
59818 if ac_fn_c_try_link "$LINENO"; then :
59819 gcc_cv_have_tls=yes
59820 else
59821 gcc_cv_have_tls=no
59822 fi
59823 rm -f core conftest.err conftest.$ac_objext \
59824 conftest$ac_exeext conftest.$ac_ext
59825 else
59826 gcc_cv_have_tls=yes
59827 fi
59828 rm -f core conftest.err conftest.$ac_objext \
59829 conftest$ac_exeext conftest.$ac_ext
59830 CFLAGS="$chktls_save_CFLAGS"
59831 LDFLAGS="$chktls_save_LDFLAGS"
59832 else
59833 gcc_cv_have_tls=no
59834 fi
59835 rm -f core conftest.err conftest.$ac_objext \
59836 conftest$ac_exeext conftest.$ac_ext
59837
59838
59839 else
59840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59841 /* end confdefs.h. */
59842 __thread int a; int b; int main() { return a = b; }
59843 _ACEOF
59844 if ac_fn_c_try_run "$LINENO"; then :
59845 chktls_save_LDFLAGS="$LDFLAGS"
59846 LDFLAGS="-static $LDFLAGS"
59847 if test x$gcc_no_link = xyes; then
59848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59849 fi
59850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59851 /* end confdefs.h. */
59852 int main() { return 0; }
59853 _ACEOF
59854 if ac_fn_c_try_link "$LINENO"; then :
59855 if test "$cross_compiling" = yes; then :
59856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59858 as_fn_error "cannot run test program while cross compiling
59859 See \`config.log' for more details." "$LINENO" 5; }
59860 else
59861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59862 /* end confdefs.h. */
59863 __thread int a; int b; int main() { return a = b; }
59864 _ACEOF
59865 if ac_fn_c_try_run "$LINENO"; then :
59866 gcc_cv_have_tls=yes
59867 else
59868 gcc_cv_have_tls=no
59869 fi
59870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59871 conftest.$ac_objext conftest.beam conftest.$ac_ext
59872 fi
59873
59874 else
59875 gcc_cv_have_tls=yes
59876 fi
59877 rm -f core conftest.err conftest.$ac_objext \
59878 conftest$ac_exeext conftest.$ac_ext
59879 LDFLAGS="$chktls_save_LDFLAGS"
59880 if test $gcc_cv_have_tls = yes; then
59881 chktls_save_CFLAGS="$CFLAGS"
59882 thread_CFLAGS=failed
59883 for flag in '' '-pthread' '-lpthread'; do
59884 CFLAGS="$flag $chktls_save_CFLAGS"
59885 if test x$gcc_no_link = xyes; then
59886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59887 fi
59888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59889 /* end confdefs.h. */
59890 #include <pthread.h>
59891 void *g(void *d) { return NULL; }
59892 int
59893 main ()
59894 {
59895 pthread_t t; pthread_create(&t,NULL,g,NULL);
59896 ;
59897 return 0;
59898 }
59899 _ACEOF
59900 if ac_fn_c_try_link "$LINENO"; then :
59901 thread_CFLAGS="$flag"
59902 fi
59903 rm -f core conftest.err conftest.$ac_objext \
59904 conftest$ac_exeext conftest.$ac_ext
59905 if test "X$thread_CFLAGS" != Xfailed; then
59906 break
59907 fi
59908 done
59909 CFLAGS="$chktls_save_CFLAGS"
59910 if test "X$thread_CFLAGS" != Xfailed; then
59911 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59912 if test "$cross_compiling" = yes; then :
59913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59915 as_fn_error "cannot run test program while cross compiling
59916 See \`config.log' for more details." "$LINENO" 5; }
59917 else
59918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59919 /* end confdefs.h. */
59920 #include <pthread.h>
59921 __thread int a;
59922 static int *volatile a_in_other_thread;
59923 static void *
59924 thread_func (void *arg)
59925 {
59926 a_in_other_thread = &a;
59927 return (void *)0;
59928 }
59929 int
59930 main ()
59931 {
59932 pthread_t thread;
59933 void *thread_retval;
59934 int *volatile a_in_main_thread;
59935 a_in_main_thread = &a;
59936 if (pthread_create (&thread, (pthread_attr_t *)0,
59937 thread_func, (void *)0))
59938 return 0;
59939 if (pthread_join (thread, &thread_retval))
59940 return 0;
59941 return (a_in_other_thread == a_in_main_thread);
59942 ;
59943 return 0;
59944 }
59945 _ACEOF
59946 if ac_fn_c_try_run "$LINENO"; then :
59947 gcc_cv_have_tls=yes
59948 else
59949 gcc_cv_have_tls=no
59950 fi
59951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59952 conftest.$ac_objext conftest.beam conftest.$ac_ext
59953 fi
59954
59955 CFLAGS="$chktls_save_CFLAGS"
59956 fi
59957 fi
59958 else
59959 gcc_cv_have_tls=no
59960 fi
59961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59962 conftest.$ac_objext conftest.beam conftest.$ac_ext
59963 fi
59964
59965 fi
59966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59967 $as_echo "$gcc_cv_have_tls" >&6; }
59968 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59969
59970 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59971
59972 fi
59973 for ac_func in __cxa_thread_atexit_impl
59974 do :
59975 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59976 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59977 cat >>confdefs.h <<_ACEOF
59978 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59979 _ACEOF
59980
59981 fi
59982 done
59983
59984 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59985 do :
59986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59988 eval as_val=\$$as_ac_var
59989 if test "x$as_val" = x""yes; then :
59990 cat >>confdefs.h <<_ACEOF
59991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59992 _ACEOF
59993
59994 fi
59995 done
59996
59997
59998
59999
60000
60001
60002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60003 $as_echo_n "checking for iconv... " >&6; }
60004 if test "${am_cv_func_iconv+set}" = set; then :
60005 $as_echo_n "(cached) " >&6
60006 else
60007
60008 am_cv_func_iconv="no, consider installing GNU libiconv"
60009 am_cv_lib_iconv=no
60010 am_save_CPPFLAGS="$CPPFLAGS"
60011 CPPFLAGS="$CPPFLAGS $INCICONV"
60012 if test x$gcc_no_link = xyes; then
60013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60014 fi
60015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60016 /* end confdefs.h. */
60017 #include <stdlib.h>
60018 #include <iconv.h>
60019 int
60020 main ()
60021 {
60022 iconv_t cd = iconv_open("","");
60023 iconv(cd,NULL,NULL,NULL,NULL);
60024 iconv_close(cd);
60025 ;
60026 return 0;
60027 }
60028 _ACEOF
60029 if ac_fn_c_try_link "$LINENO"; then :
60030 am_cv_func_iconv=yes
60031 fi
60032 rm -f core conftest.err conftest.$ac_objext \
60033 conftest$ac_exeext conftest.$ac_ext
60034 CPPFLAGS="$am_save_CPPFLAGS"
60035
60036 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60037 for _libs in .libs _libs; do
60038 am_save_CPPFLAGS="$CPPFLAGS"
60039 am_save_LIBS="$LIBS"
60040 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60041 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60042 if test x$gcc_no_link = xyes; then
60043 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60044 fi
60045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60046 /* end confdefs.h. */
60047 #include <stdlib.h>
60048 #include <iconv.h>
60049 int
60050 main ()
60051 {
60052 iconv_t cd = iconv_open("","");
60053 iconv(cd,NULL,NULL,NULL,NULL);
60054 iconv_close(cd);
60055 ;
60056 return 0;
60057 }
60058 _ACEOF
60059 if ac_fn_c_try_link "$LINENO"; then :
60060 INCICONV="-I../libiconv/include"
60061 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60062 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60063 am_cv_lib_iconv=yes
60064 am_cv_func_iconv=yes
60065 fi
60066 rm -f core conftest.err conftest.$ac_objext \
60067 conftest$ac_exeext conftest.$ac_ext
60068 CPPFLAGS="$am_save_CPPFLAGS"
60069 LIBS="$am_save_LIBS"
60070 if test "$am_cv_func_iconv" = "yes"; then
60071 break
60072 fi
60073 done
60074 fi
60075
60076 if test "$am_cv_func_iconv" != yes; then
60077 am_save_CPPFLAGS="$CPPFLAGS"
60078 am_save_LIBS="$LIBS"
60079 CPPFLAGS="$LIBS $INCICONV"
60080 LIBS="$LIBS $LIBICONV"
60081 if test x$gcc_no_link = xyes; then
60082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60083 fi
60084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60085 /* end confdefs.h. */
60086 #include <stdlib.h>
60087 #include <iconv.h>
60088 int
60089 main ()
60090 {
60091 iconv_t cd = iconv_open("","");
60092 iconv(cd,NULL,NULL,NULL,NULL);
60093 iconv_close(cd);
60094 ;
60095 return 0;
60096 }
60097 _ACEOF
60098 if ac_fn_c_try_link "$LINENO"; then :
60099 am_cv_lib_iconv=yes
60100 am_cv_func_iconv=yes
60101 fi
60102 rm -f core conftest.err conftest.$ac_objext \
60103 conftest$ac_exeext conftest.$ac_ext
60104 CPPFLAGS="$am_save_CPPFLAGS"
60105 LIBS="$am_save_LIBS"
60106 fi
60107
60108 fi
60109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60110 $as_echo "$am_cv_func_iconv" >&6; }
60111 if test "$am_cv_func_iconv" = yes; then
60112
60113 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60114
60115 fi
60116 if test "$am_cv_lib_iconv" = yes; then
60117
60118 for element in $INCICONV; do
60119 haveit=
60120 for x in $CPPFLAGS; do
60121
60122 acl_save_prefix="$prefix"
60123 prefix="$acl_final_prefix"
60124 acl_save_exec_prefix="$exec_prefix"
60125 exec_prefix="$acl_final_exec_prefix"
60126 eval x=\"$x\"
60127 exec_prefix="$acl_save_exec_prefix"
60128 prefix="$acl_save_prefix"
60129
60130 if test "X$x" = "X$element"; then
60131 haveit=yes
60132 break
60133 fi
60134 done
60135 if test -z "$haveit"; then
60136 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60137 fi
60138 done
60139
60140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60141 $as_echo_n "checking how to link with libiconv... " >&6; }
60142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60143 $as_echo "$LIBICONV" >&6; }
60144 else
60145 LIBICONV=
60146 LTLIBICONV=
60147 fi
60148
60149
60150
60151 if test "$am_cv_func_iconv" = yes; then
60152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60153 $as_echo_n "checking for iconv declaration... " >&6; }
60154 if test "${am_cv_proto_iconv+set}" = set; then :
60155 $as_echo_n "(cached) " >&6
60156 else
60157
60158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60159 /* end confdefs.h. */
60160
60161 #include <stdlib.h>
60162 #include <iconv.h>
60163 extern
60164 #ifdef __cplusplus
60165 "C"
60166 #endif
60167 #if defined(__STDC__) || defined(__cplusplus)
60168 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60169 #else
60170 size_t iconv();
60171 #endif
60172
60173 int
60174 main ()
60175 {
60176
60177 ;
60178 return 0;
60179 }
60180 _ACEOF
60181 if ac_fn_c_try_compile "$LINENO"; then :
60182 am_cv_proto_iconv_arg1=""
60183 else
60184 am_cv_proto_iconv_arg1="const"
60185 fi
60186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60187 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);"
60188 fi
60189
60190 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60192 }$am_cv_proto_iconv" >&5
60193 $as_echo "${ac_t:-
60194 }$am_cv_proto_iconv" >&6; }
60195
60196 cat >>confdefs.h <<_ACEOF
60197 #define ICONV_CONST $am_cv_proto_iconv_arg1
60198 _ACEOF
60199
60200 fi
60201
60202 ;;
60203 *-mingw32*)
60204
60205 # If we're not using GNU ld, then there's no point in even trying these
60206 # tests. Check for that first. We should have already tested for gld
60207 # by now (in libtool), but require it now just to be safe...
60208 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60209 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60210
60211
60212
60213 # The name set by libtool depends on the version of libtool. Shame on us
60214 # for depending on an impl detail, but c'est la vie. Older versions used
60215 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60216 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60217 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60218 # set (hence we're using an older libtool), then set it.
60219 if test x${with_gnu_ld+set} != xset; then
60220 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60221 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60222 with_gnu_ld=no
60223 else
60224 with_gnu_ld=$ac_cv_prog_gnu_ld
60225 fi
60226 fi
60227
60228 # Start by getting the version number. I think the libtool test already
60229 # does some of this, but throws away the result.
60230 glibcxx_ld_is_gold=no
60231 if test x"$with_gnu_ld" = x"yes"; then
60232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60233 $as_echo_n "checking for ld version... " >&6; }
60234
60235 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60236 glibcxx_ld_is_gold=yes
60237 fi
60238 ldver=`$LD --version 2>/dev/null |
60239 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'`
60240
60241 glibcxx_gnu_ld_version=`echo $ldver | \
60242 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60244 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60245 fi
60246
60247 # Set --gc-sections.
60248 glibcxx_have_gc_sections=no
60249 if test "$glibcxx_ld_is_gold" = "yes"; then
60250 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60251 glibcxx_have_gc_sections=yes
60252 fi
60253 else
60254 glibcxx_gcsections_min_ld=21602
60255 if test x"$with_gnu_ld" = x"yes" &&
60256 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60257 glibcxx_have_gc_sections=yes
60258 fi
60259 fi
60260 if test "$glibcxx_have_gc_sections" = "yes"; then
60261 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60262 # NB: This flag only works reliably after 2.16.1. Configure tests
60263 # for this are difficult, so hard wire a value that should work.
60264
60265 ac_test_CFLAGS="${CFLAGS+set}"
60266 ac_save_CFLAGS="$CFLAGS"
60267 CFLAGS='-Wl,--gc-sections'
60268
60269 # Check for -Wl,--gc-sections
60270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60271 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60272 if test x$gcc_no_link = xyes; then
60273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60274 fi
60275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60276 /* end confdefs.h. */
60277 int one(void) { return 1; }
60278 int two(void) { return 2; }
60279
60280 int
60281 main ()
60282 {
60283 two();
60284 ;
60285 return 0;
60286 }
60287 _ACEOF
60288 if ac_fn_c_try_link "$LINENO"; then :
60289 ac_gcsections=yes
60290 else
60291 ac_gcsections=no
60292 fi
60293 rm -f core conftest.err conftest.$ac_objext \
60294 conftest$ac_exeext conftest.$ac_ext
60295 if test "$ac_gcsections" = "yes"; then
60296 rm -f conftest.c
60297 touch conftest.c
60298 if $CC -c conftest.c; then
60299 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60300 grep "Warning: gc-sections option ignored" > /dev/null; then
60301 ac_gcsections=no
60302 fi
60303 fi
60304 rm -f conftest.c conftest.o conftest
60305 fi
60306 if test "$ac_gcsections" = "yes"; then
60307 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60308 fi
60309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60310 $as_echo "$ac_gcsections" >&6; }
60311
60312 if test "$ac_test_CFLAGS" = set; then
60313 CFLAGS="$ac_save_CFLAGS"
60314 else
60315 # this is the suspicious part
60316 CFLAGS=''
60317 fi
60318 fi
60319
60320 # Set -z,relro.
60321 # Note this is only for shared objects.
60322 ac_ld_relro=no
60323 if test x"$with_gnu_ld" = x"yes"; then
60324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60325 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60326 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60327 if test -n "$cxx_z_relo"; then
60328 OPT_LDFLAGS="-Wl,-z,relro"
60329 ac_ld_relro=yes
60330 fi
60331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60332 $as_echo "$ac_ld_relro" >&6; }
60333 fi
60334
60335 # Set linker optimization flags.
60336 if test x"$with_gnu_ld" = x"yes"; then
60337 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60338 fi
60339
60340
60341
60342
60343
60344 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60345 ac_save_CXXFLAGS="$CXXFLAGS"
60346 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60347
60348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60349 $as_echo_n "checking for sin in -lm... " >&6; }
60350 if test "${ac_cv_lib_m_sin+set}" = set; then :
60351 $as_echo_n "(cached) " >&6
60352 else
60353 ac_check_lib_save_LIBS=$LIBS
60354 LIBS="-lm $LIBS"
60355 if test x$gcc_no_link = xyes; then
60356 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60357 fi
60358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60359 /* end confdefs.h. */
60360
60361 /* Override any GCC internal prototype to avoid an error.
60362 Use char because int might match the return type of a GCC
60363 builtin and then its argument prototype would still apply. */
60364 #ifdef __cplusplus
60365 extern "C"
60366 #endif
60367 char sin ();
60368 int
60369 main ()
60370 {
60371 return sin ();
60372 ;
60373 return 0;
60374 }
60375 _ACEOF
60376 if ac_fn_c_try_link "$LINENO"; then :
60377 ac_cv_lib_m_sin=yes
60378 else
60379 ac_cv_lib_m_sin=no
60380 fi
60381 rm -f core conftest.err conftest.$ac_objext \
60382 conftest$ac_exeext conftest.$ac_ext
60383 LIBS=$ac_check_lib_save_LIBS
60384 fi
60385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60386 $as_echo "$ac_cv_lib_m_sin" >&6; }
60387 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60388 libm="-lm"
60389 fi
60390
60391 ac_save_LIBS="$LIBS"
60392 LIBS="$LIBS $libm"
60393
60394
60395
60396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60397 $as_echo_n "checking for isinf declaration... " >&6; }
60398 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60399 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60400 $as_echo_n "(cached) " >&6
60401 else
60402
60403
60404 ac_ext=cpp
60405 ac_cpp='$CXXCPP $CPPFLAGS'
60406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60409
60410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60411 /* end confdefs.h. */
60412 #include <math.h>
60413 #ifdef HAVE_IEEEFP_H
60414 #include <ieeefp.h>
60415 #endif
60416
60417 int
60418 main ()
60419 {
60420 isinf(0);
60421 ;
60422 return 0;
60423 }
60424 _ACEOF
60425 if ac_fn_cxx_try_compile "$LINENO"; then :
60426 glibcxx_cv_func_isinf_use=yes
60427 else
60428 glibcxx_cv_func_isinf_use=no
60429 fi
60430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60431 ac_ext=c
60432 ac_cpp='$CPP $CPPFLAGS'
60433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60436
60437
60438 fi
60439
60440 fi
60441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60442 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60443
60444 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60445 for ac_func in isinf
60446 do :
60447 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60448 if test "x$ac_cv_func_isinf" = x""yes; then :
60449 cat >>confdefs.h <<_ACEOF
60450 #define HAVE_ISINF 1
60451 _ACEOF
60452
60453 fi
60454 done
60455
60456 else
60457
60458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60459 $as_echo_n "checking for _isinf declaration... " >&6; }
60460 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60461 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60462 $as_echo_n "(cached) " >&6
60463 else
60464
60465
60466 ac_ext=cpp
60467 ac_cpp='$CXXCPP $CPPFLAGS'
60468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60471
60472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60473 /* end confdefs.h. */
60474 #include <math.h>
60475 #ifdef HAVE_IEEEFP_H
60476 #include <ieeefp.h>
60477 #endif
60478
60479 int
60480 main ()
60481 {
60482 _isinf(0);
60483 ;
60484 return 0;
60485 }
60486 _ACEOF
60487 if ac_fn_cxx_try_compile "$LINENO"; then :
60488 glibcxx_cv_func__isinf_use=yes
60489 else
60490 glibcxx_cv_func__isinf_use=no
60491 fi
60492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60493 ac_ext=c
60494 ac_cpp='$CPP $CPPFLAGS'
60495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60498
60499
60500 fi
60501
60502 fi
60503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60504 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60505
60506 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60507 for ac_func in _isinf
60508 do :
60509 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60510 if test "x$ac_cv_func__isinf" = x""yes; then :
60511 cat >>confdefs.h <<_ACEOF
60512 #define HAVE__ISINF 1
60513 _ACEOF
60514
60515 fi
60516 done
60517
60518 fi
60519 fi
60520
60521
60522
60523
60524
60525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60526 $as_echo_n "checking for isnan declaration... " >&6; }
60527 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60528 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60529 $as_echo_n "(cached) " >&6
60530 else
60531
60532
60533 ac_ext=cpp
60534 ac_cpp='$CXXCPP $CPPFLAGS'
60535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60538
60539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60540 /* end confdefs.h. */
60541 #include <math.h>
60542 #ifdef HAVE_IEEEFP_H
60543 #include <ieeefp.h>
60544 #endif
60545
60546 int
60547 main ()
60548 {
60549 isnan(0);
60550 ;
60551 return 0;
60552 }
60553 _ACEOF
60554 if ac_fn_cxx_try_compile "$LINENO"; then :
60555 glibcxx_cv_func_isnan_use=yes
60556 else
60557 glibcxx_cv_func_isnan_use=no
60558 fi
60559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60560 ac_ext=c
60561 ac_cpp='$CPP $CPPFLAGS'
60562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60565
60566
60567 fi
60568
60569 fi
60570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60571 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60572
60573 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60574 for ac_func in isnan
60575 do :
60576 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60577 if test "x$ac_cv_func_isnan" = x""yes; then :
60578 cat >>confdefs.h <<_ACEOF
60579 #define HAVE_ISNAN 1
60580 _ACEOF
60581
60582 fi
60583 done
60584
60585 else
60586
60587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60588 $as_echo_n "checking for _isnan declaration... " >&6; }
60589 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60590 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60591 $as_echo_n "(cached) " >&6
60592 else
60593
60594
60595 ac_ext=cpp
60596 ac_cpp='$CXXCPP $CPPFLAGS'
60597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60600
60601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60602 /* end confdefs.h. */
60603 #include <math.h>
60604 #ifdef HAVE_IEEEFP_H
60605 #include <ieeefp.h>
60606 #endif
60607
60608 int
60609 main ()
60610 {
60611 _isnan(0);
60612 ;
60613 return 0;
60614 }
60615 _ACEOF
60616 if ac_fn_cxx_try_compile "$LINENO"; then :
60617 glibcxx_cv_func__isnan_use=yes
60618 else
60619 glibcxx_cv_func__isnan_use=no
60620 fi
60621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60622 ac_ext=c
60623 ac_cpp='$CPP $CPPFLAGS'
60624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60627
60628
60629 fi
60630
60631 fi
60632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60633 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60634
60635 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60636 for ac_func in _isnan
60637 do :
60638 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60639 if test "x$ac_cv_func__isnan" = x""yes; then :
60640 cat >>confdefs.h <<_ACEOF
60641 #define HAVE__ISNAN 1
60642 _ACEOF
60643
60644 fi
60645 done
60646
60647 fi
60648 fi
60649
60650
60651
60652
60653
60654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60655 $as_echo_n "checking for finite declaration... " >&6; }
60656 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60657 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60658 $as_echo_n "(cached) " >&6
60659 else
60660
60661
60662 ac_ext=cpp
60663 ac_cpp='$CXXCPP $CPPFLAGS'
60664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60667
60668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60669 /* end confdefs.h. */
60670 #include <math.h>
60671 #ifdef HAVE_IEEEFP_H
60672 #include <ieeefp.h>
60673 #endif
60674
60675 int
60676 main ()
60677 {
60678 finite(0);
60679 ;
60680 return 0;
60681 }
60682 _ACEOF
60683 if ac_fn_cxx_try_compile "$LINENO"; then :
60684 glibcxx_cv_func_finite_use=yes
60685 else
60686 glibcxx_cv_func_finite_use=no
60687 fi
60688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60689 ac_ext=c
60690 ac_cpp='$CPP $CPPFLAGS'
60691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60694
60695
60696 fi
60697
60698 fi
60699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60700 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60701
60702 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60703 for ac_func in finite
60704 do :
60705 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60706 if test "x$ac_cv_func_finite" = x""yes; then :
60707 cat >>confdefs.h <<_ACEOF
60708 #define HAVE_FINITE 1
60709 _ACEOF
60710
60711 fi
60712 done
60713
60714 else
60715
60716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60717 $as_echo_n "checking for _finite declaration... " >&6; }
60718 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60719 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60720 $as_echo_n "(cached) " >&6
60721 else
60722
60723
60724 ac_ext=cpp
60725 ac_cpp='$CXXCPP $CPPFLAGS'
60726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60729
60730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60731 /* end confdefs.h. */
60732 #include <math.h>
60733 #ifdef HAVE_IEEEFP_H
60734 #include <ieeefp.h>
60735 #endif
60736
60737 int
60738 main ()
60739 {
60740 _finite(0);
60741 ;
60742 return 0;
60743 }
60744 _ACEOF
60745 if ac_fn_cxx_try_compile "$LINENO"; then :
60746 glibcxx_cv_func__finite_use=yes
60747 else
60748 glibcxx_cv_func__finite_use=no
60749 fi
60750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60751 ac_ext=c
60752 ac_cpp='$CPP $CPPFLAGS'
60753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60756
60757
60758 fi
60759
60760 fi
60761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60762 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60763
60764 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60765 for ac_func in _finite
60766 do :
60767 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60768 if test "x$ac_cv_func__finite" = x""yes; then :
60769 cat >>confdefs.h <<_ACEOF
60770 #define HAVE__FINITE 1
60771 _ACEOF
60772
60773 fi
60774 done
60775
60776 fi
60777 fi
60778
60779
60780
60781
60782
60783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60784 $as_echo_n "checking for sincos declaration... " >&6; }
60785 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60786 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60787 $as_echo_n "(cached) " >&6
60788 else
60789
60790
60791 ac_ext=cpp
60792 ac_cpp='$CXXCPP $CPPFLAGS'
60793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60796
60797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60798 /* end confdefs.h. */
60799 #include <math.h>
60800 int
60801 main ()
60802 {
60803 sincos(0, 0, 0);
60804 ;
60805 return 0;
60806 }
60807 _ACEOF
60808 if ac_fn_cxx_try_compile "$LINENO"; then :
60809 glibcxx_cv_func_sincos_use=yes
60810 else
60811 glibcxx_cv_func_sincos_use=no
60812 fi
60813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60814 ac_ext=c
60815 ac_cpp='$CPP $CPPFLAGS'
60816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60819
60820
60821 fi
60822
60823 fi
60824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60825 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60826
60827 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60828 for ac_func in sincos
60829 do :
60830 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60831 if test "x$ac_cv_func_sincos" = x""yes; then :
60832 cat >>confdefs.h <<_ACEOF
60833 #define HAVE_SINCOS 1
60834 _ACEOF
60835
60836 fi
60837 done
60838
60839 else
60840
60841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60842 $as_echo_n "checking for _sincos declaration... " >&6; }
60843 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60844 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60845 $as_echo_n "(cached) " >&6
60846 else
60847
60848
60849 ac_ext=cpp
60850 ac_cpp='$CXXCPP $CPPFLAGS'
60851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60854
60855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60856 /* end confdefs.h. */
60857 #include <math.h>
60858 int
60859 main ()
60860 {
60861 _sincos(0, 0, 0);
60862 ;
60863 return 0;
60864 }
60865 _ACEOF
60866 if ac_fn_cxx_try_compile "$LINENO"; then :
60867 glibcxx_cv_func__sincos_use=yes
60868 else
60869 glibcxx_cv_func__sincos_use=no
60870 fi
60871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60872 ac_ext=c
60873 ac_cpp='$CPP $CPPFLAGS'
60874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60877
60878
60879 fi
60880
60881 fi
60882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60883 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60884
60885 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60886 for ac_func in _sincos
60887 do :
60888 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60889 if test "x$ac_cv_func__sincos" = x""yes; then :
60890 cat >>confdefs.h <<_ACEOF
60891 #define HAVE__SINCOS 1
60892 _ACEOF
60893
60894 fi
60895 done
60896
60897 fi
60898 fi
60899
60900
60901
60902
60903
60904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60905 $as_echo_n "checking for fpclass declaration... " >&6; }
60906 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60907 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60908 $as_echo_n "(cached) " >&6
60909 else
60910
60911
60912 ac_ext=cpp
60913 ac_cpp='$CXXCPP $CPPFLAGS'
60914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60917
60918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60919 /* end confdefs.h. */
60920 #include <math.h>
60921 #ifdef HAVE_IEEEFP_H
60922 #include <ieeefp.h>
60923 #endif
60924
60925 int
60926 main ()
60927 {
60928 fpclass(0);
60929 ;
60930 return 0;
60931 }
60932 _ACEOF
60933 if ac_fn_cxx_try_compile "$LINENO"; then :
60934 glibcxx_cv_func_fpclass_use=yes
60935 else
60936 glibcxx_cv_func_fpclass_use=no
60937 fi
60938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60939 ac_ext=c
60940 ac_cpp='$CPP $CPPFLAGS'
60941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60944
60945
60946 fi
60947
60948 fi
60949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60950 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60951
60952 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60953 for ac_func in fpclass
60954 do :
60955 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60956 if test "x$ac_cv_func_fpclass" = x""yes; then :
60957 cat >>confdefs.h <<_ACEOF
60958 #define HAVE_FPCLASS 1
60959 _ACEOF
60960
60961 fi
60962 done
60963
60964 else
60965
60966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60967 $as_echo_n "checking for _fpclass declaration... " >&6; }
60968 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60969 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60970 $as_echo_n "(cached) " >&6
60971 else
60972
60973
60974 ac_ext=cpp
60975 ac_cpp='$CXXCPP $CPPFLAGS'
60976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60979
60980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60981 /* end confdefs.h. */
60982 #include <math.h>
60983 #ifdef HAVE_IEEEFP_H
60984 #include <ieeefp.h>
60985 #endif
60986
60987 int
60988 main ()
60989 {
60990 _fpclass(0);
60991 ;
60992 return 0;
60993 }
60994 _ACEOF
60995 if ac_fn_cxx_try_compile "$LINENO"; then :
60996 glibcxx_cv_func__fpclass_use=yes
60997 else
60998 glibcxx_cv_func__fpclass_use=no
60999 fi
61000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61001 ac_ext=c
61002 ac_cpp='$CPP $CPPFLAGS'
61003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61006
61007
61008 fi
61009
61010 fi
61011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61012 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61013
61014 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61015 for ac_func in _fpclass
61016 do :
61017 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61018 if test "x$ac_cv_func__fpclass" = x""yes; then :
61019 cat >>confdefs.h <<_ACEOF
61020 #define HAVE__FPCLASS 1
61021 _ACEOF
61022
61023 fi
61024 done
61025
61026 fi
61027 fi
61028
61029
61030
61031
61032
61033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61034 $as_echo_n "checking for qfpclass declaration... " >&6; }
61035 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61036 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61037 $as_echo_n "(cached) " >&6
61038 else
61039
61040
61041 ac_ext=cpp
61042 ac_cpp='$CXXCPP $CPPFLAGS'
61043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61046
61047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61048 /* end confdefs.h. */
61049 #include <math.h>
61050 #ifdef HAVE_IEEEFP_H
61051 #include <ieeefp.h>
61052 #endif
61053
61054 int
61055 main ()
61056 {
61057 qfpclass(0);
61058 ;
61059 return 0;
61060 }
61061 _ACEOF
61062 if ac_fn_cxx_try_compile "$LINENO"; then :
61063 glibcxx_cv_func_qfpclass_use=yes
61064 else
61065 glibcxx_cv_func_qfpclass_use=no
61066 fi
61067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61068 ac_ext=c
61069 ac_cpp='$CPP $CPPFLAGS'
61070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61073
61074
61075 fi
61076
61077 fi
61078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61079 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61080
61081 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61082 for ac_func in qfpclass
61083 do :
61084 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61085 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61086 cat >>confdefs.h <<_ACEOF
61087 #define HAVE_QFPCLASS 1
61088 _ACEOF
61089
61090 fi
61091 done
61092
61093 else
61094
61095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61096 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61097 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61098 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61099 $as_echo_n "(cached) " >&6
61100 else
61101
61102
61103 ac_ext=cpp
61104 ac_cpp='$CXXCPP $CPPFLAGS'
61105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61108
61109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61110 /* end confdefs.h. */
61111 #include <math.h>
61112 #ifdef HAVE_IEEEFP_H
61113 #include <ieeefp.h>
61114 #endif
61115
61116 int
61117 main ()
61118 {
61119 _qfpclass(0);
61120 ;
61121 return 0;
61122 }
61123 _ACEOF
61124 if ac_fn_cxx_try_compile "$LINENO"; then :
61125 glibcxx_cv_func__qfpclass_use=yes
61126 else
61127 glibcxx_cv_func__qfpclass_use=no
61128 fi
61129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61130 ac_ext=c
61131 ac_cpp='$CPP $CPPFLAGS'
61132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61135
61136
61137 fi
61138
61139 fi
61140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61141 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61142
61143 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61144 for ac_func in _qfpclass
61145 do :
61146 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61147 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61148 cat >>confdefs.h <<_ACEOF
61149 #define HAVE__QFPCLASS 1
61150 _ACEOF
61151
61152 fi
61153 done
61154
61155 fi
61156 fi
61157
61158
61159
61160
61161
61162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61163 $as_echo_n "checking for hypot declaration... " >&6; }
61164 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61165 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61166 $as_echo_n "(cached) " >&6
61167 else
61168
61169
61170 ac_ext=cpp
61171 ac_cpp='$CXXCPP $CPPFLAGS'
61172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61175
61176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61177 /* end confdefs.h. */
61178 #include <math.h>
61179 int
61180 main ()
61181 {
61182 hypot(0, 0);
61183 ;
61184 return 0;
61185 }
61186 _ACEOF
61187 if ac_fn_cxx_try_compile "$LINENO"; then :
61188 glibcxx_cv_func_hypot_use=yes
61189 else
61190 glibcxx_cv_func_hypot_use=no
61191 fi
61192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61193 ac_ext=c
61194 ac_cpp='$CPP $CPPFLAGS'
61195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61198
61199
61200 fi
61201
61202 fi
61203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61204 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61205
61206 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61207 for ac_func in hypot
61208 do :
61209 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61210 if test "x$ac_cv_func_hypot" = x""yes; then :
61211 cat >>confdefs.h <<_ACEOF
61212 #define HAVE_HYPOT 1
61213 _ACEOF
61214
61215 fi
61216 done
61217
61218 else
61219
61220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61221 $as_echo_n "checking for _hypot declaration... " >&6; }
61222 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61223 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61224 $as_echo_n "(cached) " >&6
61225 else
61226
61227
61228 ac_ext=cpp
61229 ac_cpp='$CXXCPP $CPPFLAGS'
61230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61233
61234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61235 /* end confdefs.h. */
61236 #include <math.h>
61237 int
61238 main ()
61239 {
61240 _hypot(0, 0);
61241 ;
61242 return 0;
61243 }
61244 _ACEOF
61245 if ac_fn_cxx_try_compile "$LINENO"; then :
61246 glibcxx_cv_func__hypot_use=yes
61247 else
61248 glibcxx_cv_func__hypot_use=no
61249 fi
61250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61251 ac_ext=c
61252 ac_cpp='$CPP $CPPFLAGS'
61253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61256
61257
61258 fi
61259
61260 fi
61261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61262 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61263
61264 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61265 for ac_func in _hypot
61266 do :
61267 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61268 if test "x$ac_cv_func__hypot" = x""yes; then :
61269 cat >>confdefs.h <<_ACEOF
61270 #define HAVE__HYPOT 1
61271 _ACEOF
61272
61273 fi
61274 done
61275
61276 fi
61277 fi
61278
61279
61280
61281
61282
61283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61284 $as_echo_n "checking for float trig functions... " >&6; }
61285 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61286 $as_echo_n "(cached) " >&6
61287 else
61288
61289
61290 ac_ext=cpp
61291 ac_cpp='$CXXCPP $CPPFLAGS'
61292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61295
61296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61297 /* end confdefs.h. */
61298 #include <math.h>
61299 int
61300 main ()
61301 {
61302 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61303 ;
61304 return 0;
61305 }
61306 _ACEOF
61307 if ac_fn_cxx_try_compile "$LINENO"; then :
61308 glibcxx_cv_func_float_trig_use=yes
61309 else
61310 glibcxx_cv_func_float_trig_use=no
61311 fi
61312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61313 ac_ext=c
61314 ac_cpp='$CPP $CPPFLAGS'
61315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61318
61319 fi
61320
61321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61322 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61323 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61324 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61325 do :
61326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61328 eval as_val=\$$as_ac_var
61329 if test "x$as_val" = x""yes; then :
61330 cat >>confdefs.h <<_ACEOF
61331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61332 _ACEOF
61333
61334 fi
61335 done
61336
61337 else
61338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61339 $as_echo_n "checking for _float trig functions... " >&6; }
61340 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61341 $as_echo_n "(cached) " >&6
61342 else
61343
61344
61345 ac_ext=cpp
61346 ac_cpp='$CXXCPP $CPPFLAGS'
61347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61350
61351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61352 /* end confdefs.h. */
61353 #include <math.h>
61354 int
61355 main ()
61356 {
61357 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61358 ;
61359 return 0;
61360 }
61361 _ACEOF
61362 if ac_fn_cxx_try_compile "$LINENO"; then :
61363 glibcxx_cv_func__float_trig_use=yes
61364 else
61365 glibcxx_cv_func__float_trig_use=no
61366 fi
61367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61368 ac_ext=c
61369 ac_cpp='$CPP $CPPFLAGS'
61370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61373
61374 fi
61375
61376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61377 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61378 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61379 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61380 do :
61381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61383 eval as_val=\$$as_ac_var
61384 if test "x$as_val" = x""yes; then :
61385 cat >>confdefs.h <<_ACEOF
61386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61387 _ACEOF
61388
61389 fi
61390 done
61391
61392 fi
61393 fi
61394
61395
61396
61397
61398
61399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61400 $as_echo_n "checking for float round functions... " >&6; }
61401 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61402 $as_echo_n "(cached) " >&6
61403 else
61404
61405
61406 ac_ext=cpp
61407 ac_cpp='$CXXCPP $CPPFLAGS'
61408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61411
61412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61413 /* end confdefs.h. */
61414 #include <math.h>
61415 int
61416 main ()
61417 {
61418 ceilf (0); floorf (0);
61419 ;
61420 return 0;
61421 }
61422 _ACEOF
61423 if ac_fn_cxx_try_compile "$LINENO"; then :
61424 glibcxx_cv_func_float_round_use=yes
61425 else
61426 glibcxx_cv_func_float_round_use=no
61427 fi
61428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61429 ac_ext=c
61430 ac_cpp='$CPP $CPPFLAGS'
61431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61434
61435 fi
61436
61437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61438 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61439 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61440 for ac_func in ceilf floorf
61441 do :
61442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61444 eval as_val=\$$as_ac_var
61445 if test "x$as_val" = x""yes; then :
61446 cat >>confdefs.h <<_ACEOF
61447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61448 _ACEOF
61449
61450 fi
61451 done
61452
61453 else
61454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61455 $as_echo_n "checking for _float round functions... " >&6; }
61456 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61457 $as_echo_n "(cached) " >&6
61458 else
61459
61460
61461 ac_ext=cpp
61462 ac_cpp='$CXXCPP $CPPFLAGS'
61463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61466
61467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61468 /* end confdefs.h. */
61469 #include <math.h>
61470 int
61471 main ()
61472 {
61473 _ceilf (0); _floorf (0);
61474 ;
61475 return 0;
61476 }
61477 _ACEOF
61478 if ac_fn_cxx_try_compile "$LINENO"; then :
61479 glibcxx_cv_func__float_round_use=yes
61480 else
61481 glibcxx_cv_func__float_round_use=no
61482 fi
61483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61484 ac_ext=c
61485 ac_cpp='$CPP $CPPFLAGS'
61486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61489
61490 fi
61491
61492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61493 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61494 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61495 for ac_func in _ceilf _floorf
61496 do :
61497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61499 eval as_val=\$$as_ac_var
61500 if test "x$as_val" = x""yes; then :
61501 cat >>confdefs.h <<_ACEOF
61502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61503 _ACEOF
61504
61505 fi
61506 done
61507
61508 fi
61509 fi
61510
61511
61512
61513
61514
61515
61516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61517 $as_echo_n "checking for expf declaration... " >&6; }
61518 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61519 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61520 $as_echo_n "(cached) " >&6
61521 else
61522
61523
61524 ac_ext=cpp
61525 ac_cpp='$CXXCPP $CPPFLAGS'
61526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61529
61530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61531 /* end confdefs.h. */
61532 #include <math.h>
61533 #ifdef HAVE_IEEEFP_H
61534 #include <ieeefp.h>
61535 #endif
61536
61537 int
61538 main ()
61539 {
61540 expf(0);
61541 ;
61542 return 0;
61543 }
61544 _ACEOF
61545 if ac_fn_cxx_try_compile "$LINENO"; then :
61546 glibcxx_cv_func_expf_use=yes
61547 else
61548 glibcxx_cv_func_expf_use=no
61549 fi
61550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61551 ac_ext=c
61552 ac_cpp='$CPP $CPPFLAGS'
61553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61556
61557
61558 fi
61559
61560 fi
61561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61562 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61563
61564 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61565 for ac_func in expf
61566 do :
61567 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61568 if test "x$ac_cv_func_expf" = x""yes; then :
61569 cat >>confdefs.h <<_ACEOF
61570 #define HAVE_EXPF 1
61571 _ACEOF
61572
61573 fi
61574 done
61575
61576 else
61577
61578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61579 $as_echo_n "checking for _expf declaration... " >&6; }
61580 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61581 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61582 $as_echo_n "(cached) " >&6
61583 else
61584
61585
61586 ac_ext=cpp
61587 ac_cpp='$CXXCPP $CPPFLAGS'
61588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61591
61592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61593 /* end confdefs.h. */
61594 #include <math.h>
61595 #ifdef HAVE_IEEEFP_H
61596 #include <ieeefp.h>
61597 #endif
61598
61599 int
61600 main ()
61601 {
61602 _expf(0);
61603 ;
61604 return 0;
61605 }
61606 _ACEOF
61607 if ac_fn_cxx_try_compile "$LINENO"; then :
61608 glibcxx_cv_func__expf_use=yes
61609 else
61610 glibcxx_cv_func__expf_use=no
61611 fi
61612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61613 ac_ext=c
61614 ac_cpp='$CPP $CPPFLAGS'
61615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61618
61619
61620 fi
61621
61622 fi
61623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61624 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61625
61626 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61627 for ac_func in _expf
61628 do :
61629 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61630 if test "x$ac_cv_func__expf" = x""yes; then :
61631 cat >>confdefs.h <<_ACEOF
61632 #define HAVE__EXPF 1
61633 _ACEOF
61634
61635 fi
61636 done
61637
61638 fi
61639 fi
61640
61641
61642
61643
61644
61645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61646 $as_echo_n "checking for isnanf declaration... " >&6; }
61647 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61648 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61649 $as_echo_n "(cached) " >&6
61650 else
61651
61652
61653 ac_ext=cpp
61654 ac_cpp='$CXXCPP $CPPFLAGS'
61655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61658
61659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61660 /* end confdefs.h. */
61661 #include <math.h>
61662 #ifdef HAVE_IEEEFP_H
61663 #include <ieeefp.h>
61664 #endif
61665
61666 int
61667 main ()
61668 {
61669 isnanf(0);
61670 ;
61671 return 0;
61672 }
61673 _ACEOF
61674 if ac_fn_cxx_try_compile "$LINENO"; then :
61675 glibcxx_cv_func_isnanf_use=yes
61676 else
61677 glibcxx_cv_func_isnanf_use=no
61678 fi
61679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61680 ac_ext=c
61681 ac_cpp='$CPP $CPPFLAGS'
61682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61685
61686
61687 fi
61688
61689 fi
61690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61691 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61692
61693 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61694 for ac_func in isnanf
61695 do :
61696 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61697 if test "x$ac_cv_func_isnanf" = x""yes; then :
61698 cat >>confdefs.h <<_ACEOF
61699 #define HAVE_ISNANF 1
61700 _ACEOF
61701
61702 fi
61703 done
61704
61705 else
61706
61707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61708 $as_echo_n "checking for _isnanf declaration... " >&6; }
61709 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61710 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61711 $as_echo_n "(cached) " >&6
61712 else
61713
61714
61715 ac_ext=cpp
61716 ac_cpp='$CXXCPP $CPPFLAGS'
61717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61720
61721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61722 /* end confdefs.h. */
61723 #include <math.h>
61724 #ifdef HAVE_IEEEFP_H
61725 #include <ieeefp.h>
61726 #endif
61727
61728 int
61729 main ()
61730 {
61731 _isnanf(0);
61732 ;
61733 return 0;
61734 }
61735 _ACEOF
61736 if ac_fn_cxx_try_compile "$LINENO"; then :
61737 glibcxx_cv_func__isnanf_use=yes
61738 else
61739 glibcxx_cv_func__isnanf_use=no
61740 fi
61741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61742 ac_ext=c
61743 ac_cpp='$CPP $CPPFLAGS'
61744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61747
61748
61749 fi
61750
61751 fi
61752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61753 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61754
61755 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61756 for ac_func in _isnanf
61757 do :
61758 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61759 if test "x$ac_cv_func__isnanf" = x""yes; then :
61760 cat >>confdefs.h <<_ACEOF
61761 #define HAVE__ISNANF 1
61762 _ACEOF
61763
61764 fi
61765 done
61766
61767 fi
61768 fi
61769
61770
61771
61772
61773
61774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61775 $as_echo_n "checking for isinff declaration... " >&6; }
61776 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61777 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61778 $as_echo_n "(cached) " >&6
61779 else
61780
61781
61782 ac_ext=cpp
61783 ac_cpp='$CXXCPP $CPPFLAGS'
61784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61787
61788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61789 /* end confdefs.h. */
61790 #include <math.h>
61791 #ifdef HAVE_IEEEFP_H
61792 #include <ieeefp.h>
61793 #endif
61794
61795 int
61796 main ()
61797 {
61798 isinff(0);
61799 ;
61800 return 0;
61801 }
61802 _ACEOF
61803 if ac_fn_cxx_try_compile "$LINENO"; then :
61804 glibcxx_cv_func_isinff_use=yes
61805 else
61806 glibcxx_cv_func_isinff_use=no
61807 fi
61808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61809 ac_ext=c
61810 ac_cpp='$CPP $CPPFLAGS'
61811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61814
61815
61816 fi
61817
61818 fi
61819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61820 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61821
61822 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61823 for ac_func in isinff
61824 do :
61825 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61826 if test "x$ac_cv_func_isinff" = x""yes; then :
61827 cat >>confdefs.h <<_ACEOF
61828 #define HAVE_ISINFF 1
61829 _ACEOF
61830
61831 fi
61832 done
61833
61834 else
61835
61836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61837 $as_echo_n "checking for _isinff declaration... " >&6; }
61838 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61839 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61840 $as_echo_n "(cached) " >&6
61841 else
61842
61843
61844 ac_ext=cpp
61845 ac_cpp='$CXXCPP $CPPFLAGS'
61846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61849
61850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61851 /* end confdefs.h. */
61852 #include <math.h>
61853 #ifdef HAVE_IEEEFP_H
61854 #include <ieeefp.h>
61855 #endif
61856
61857 int
61858 main ()
61859 {
61860 _isinff(0);
61861 ;
61862 return 0;
61863 }
61864 _ACEOF
61865 if ac_fn_cxx_try_compile "$LINENO"; then :
61866 glibcxx_cv_func__isinff_use=yes
61867 else
61868 glibcxx_cv_func__isinff_use=no
61869 fi
61870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61871 ac_ext=c
61872 ac_cpp='$CPP $CPPFLAGS'
61873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61876
61877
61878 fi
61879
61880 fi
61881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61882 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61883
61884 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61885 for ac_func in _isinff
61886 do :
61887 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61888 if test "x$ac_cv_func__isinff" = x""yes; then :
61889 cat >>confdefs.h <<_ACEOF
61890 #define HAVE__ISINFF 1
61891 _ACEOF
61892
61893 fi
61894 done
61895
61896 fi
61897 fi
61898
61899
61900
61901
61902
61903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61904 $as_echo_n "checking for atan2f declaration... " >&6; }
61905 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61906 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61907 $as_echo_n "(cached) " >&6
61908 else
61909
61910
61911 ac_ext=cpp
61912 ac_cpp='$CXXCPP $CPPFLAGS'
61913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61916
61917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61918 /* end confdefs.h. */
61919 #include <math.h>
61920 int
61921 main ()
61922 {
61923 atan2f(0, 0);
61924 ;
61925 return 0;
61926 }
61927 _ACEOF
61928 if ac_fn_cxx_try_compile "$LINENO"; then :
61929 glibcxx_cv_func_atan2f_use=yes
61930 else
61931 glibcxx_cv_func_atan2f_use=no
61932 fi
61933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61934 ac_ext=c
61935 ac_cpp='$CPP $CPPFLAGS'
61936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61939
61940
61941 fi
61942
61943 fi
61944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61945 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61946
61947 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61948 for ac_func in atan2f
61949 do :
61950 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61951 if test "x$ac_cv_func_atan2f" = x""yes; then :
61952 cat >>confdefs.h <<_ACEOF
61953 #define HAVE_ATAN2F 1
61954 _ACEOF
61955
61956 fi
61957 done
61958
61959 else
61960
61961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61962 $as_echo_n "checking for _atan2f declaration... " >&6; }
61963 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61964 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61965 $as_echo_n "(cached) " >&6
61966 else
61967
61968
61969 ac_ext=cpp
61970 ac_cpp='$CXXCPP $CPPFLAGS'
61971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61974
61975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61976 /* end confdefs.h. */
61977 #include <math.h>
61978 int
61979 main ()
61980 {
61981 _atan2f(0, 0);
61982 ;
61983 return 0;
61984 }
61985 _ACEOF
61986 if ac_fn_cxx_try_compile "$LINENO"; then :
61987 glibcxx_cv_func__atan2f_use=yes
61988 else
61989 glibcxx_cv_func__atan2f_use=no
61990 fi
61991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61992 ac_ext=c
61993 ac_cpp='$CPP $CPPFLAGS'
61994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61997
61998
61999 fi
62000
62001 fi
62002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62003 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62004
62005 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62006 for ac_func in _atan2f
62007 do :
62008 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62009 if test "x$ac_cv_func__atan2f" = x""yes; then :
62010 cat >>confdefs.h <<_ACEOF
62011 #define HAVE__ATAN2F 1
62012 _ACEOF
62013
62014 fi
62015 done
62016
62017 fi
62018 fi
62019
62020
62021
62022
62023
62024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62025 $as_echo_n "checking for fabsf declaration... " >&6; }
62026 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62027 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62028 $as_echo_n "(cached) " >&6
62029 else
62030
62031
62032 ac_ext=cpp
62033 ac_cpp='$CXXCPP $CPPFLAGS'
62034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62037
62038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62039 /* end confdefs.h. */
62040 #include <math.h>
62041 #ifdef HAVE_IEEEFP_H
62042 #include <ieeefp.h>
62043 #endif
62044
62045 int
62046 main ()
62047 {
62048 fabsf(0);
62049 ;
62050 return 0;
62051 }
62052 _ACEOF
62053 if ac_fn_cxx_try_compile "$LINENO"; then :
62054 glibcxx_cv_func_fabsf_use=yes
62055 else
62056 glibcxx_cv_func_fabsf_use=no
62057 fi
62058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62059 ac_ext=c
62060 ac_cpp='$CPP $CPPFLAGS'
62061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62064
62065
62066 fi
62067
62068 fi
62069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62070 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62071
62072 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62073 for ac_func in fabsf
62074 do :
62075 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62076 if test "x$ac_cv_func_fabsf" = x""yes; then :
62077 cat >>confdefs.h <<_ACEOF
62078 #define HAVE_FABSF 1
62079 _ACEOF
62080
62081 fi
62082 done
62083
62084 else
62085
62086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62087 $as_echo_n "checking for _fabsf declaration... " >&6; }
62088 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62089 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62090 $as_echo_n "(cached) " >&6
62091 else
62092
62093
62094 ac_ext=cpp
62095 ac_cpp='$CXXCPP $CPPFLAGS'
62096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62099
62100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62101 /* end confdefs.h. */
62102 #include <math.h>
62103 #ifdef HAVE_IEEEFP_H
62104 #include <ieeefp.h>
62105 #endif
62106
62107 int
62108 main ()
62109 {
62110 _fabsf(0);
62111 ;
62112 return 0;
62113 }
62114 _ACEOF
62115 if ac_fn_cxx_try_compile "$LINENO"; then :
62116 glibcxx_cv_func__fabsf_use=yes
62117 else
62118 glibcxx_cv_func__fabsf_use=no
62119 fi
62120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62121 ac_ext=c
62122 ac_cpp='$CPP $CPPFLAGS'
62123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62126
62127
62128 fi
62129
62130 fi
62131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62132 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62133
62134 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62135 for ac_func in _fabsf
62136 do :
62137 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62138 if test "x$ac_cv_func__fabsf" = x""yes; then :
62139 cat >>confdefs.h <<_ACEOF
62140 #define HAVE__FABSF 1
62141 _ACEOF
62142
62143 fi
62144 done
62145
62146 fi
62147 fi
62148
62149
62150
62151
62152
62153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62154 $as_echo_n "checking for fmodf declaration... " >&6; }
62155 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62156 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62157 $as_echo_n "(cached) " >&6
62158 else
62159
62160
62161 ac_ext=cpp
62162 ac_cpp='$CXXCPP $CPPFLAGS'
62163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62166
62167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62168 /* end confdefs.h. */
62169 #include <math.h>
62170 int
62171 main ()
62172 {
62173 fmodf(0, 0);
62174 ;
62175 return 0;
62176 }
62177 _ACEOF
62178 if ac_fn_cxx_try_compile "$LINENO"; then :
62179 glibcxx_cv_func_fmodf_use=yes
62180 else
62181 glibcxx_cv_func_fmodf_use=no
62182 fi
62183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62184 ac_ext=c
62185 ac_cpp='$CPP $CPPFLAGS'
62186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62189
62190
62191 fi
62192
62193 fi
62194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62195 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62196
62197 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62198 for ac_func in fmodf
62199 do :
62200 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62201 if test "x$ac_cv_func_fmodf" = x""yes; then :
62202 cat >>confdefs.h <<_ACEOF
62203 #define HAVE_FMODF 1
62204 _ACEOF
62205
62206 fi
62207 done
62208
62209 else
62210
62211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62212 $as_echo_n "checking for _fmodf declaration... " >&6; }
62213 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62214 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62215 $as_echo_n "(cached) " >&6
62216 else
62217
62218
62219 ac_ext=cpp
62220 ac_cpp='$CXXCPP $CPPFLAGS'
62221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62224
62225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62226 /* end confdefs.h. */
62227 #include <math.h>
62228 int
62229 main ()
62230 {
62231 _fmodf(0, 0);
62232 ;
62233 return 0;
62234 }
62235 _ACEOF
62236 if ac_fn_cxx_try_compile "$LINENO"; then :
62237 glibcxx_cv_func__fmodf_use=yes
62238 else
62239 glibcxx_cv_func__fmodf_use=no
62240 fi
62241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62242 ac_ext=c
62243 ac_cpp='$CPP $CPPFLAGS'
62244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62247
62248
62249 fi
62250
62251 fi
62252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62253 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62254
62255 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62256 for ac_func in _fmodf
62257 do :
62258 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62259 if test "x$ac_cv_func__fmodf" = x""yes; then :
62260 cat >>confdefs.h <<_ACEOF
62261 #define HAVE__FMODF 1
62262 _ACEOF
62263
62264 fi
62265 done
62266
62267 fi
62268 fi
62269
62270
62271
62272
62273
62274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62275 $as_echo_n "checking for frexpf declaration... " >&6; }
62276 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62277 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62278 $as_echo_n "(cached) " >&6
62279 else
62280
62281
62282 ac_ext=cpp
62283 ac_cpp='$CXXCPP $CPPFLAGS'
62284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62287
62288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62289 /* end confdefs.h. */
62290 #include <math.h>
62291 int
62292 main ()
62293 {
62294 frexpf(0, 0);
62295 ;
62296 return 0;
62297 }
62298 _ACEOF
62299 if ac_fn_cxx_try_compile "$LINENO"; then :
62300 glibcxx_cv_func_frexpf_use=yes
62301 else
62302 glibcxx_cv_func_frexpf_use=no
62303 fi
62304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62305 ac_ext=c
62306 ac_cpp='$CPP $CPPFLAGS'
62307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62310
62311
62312 fi
62313
62314 fi
62315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62316 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62317
62318 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62319 for ac_func in frexpf
62320 do :
62321 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62322 if test "x$ac_cv_func_frexpf" = x""yes; then :
62323 cat >>confdefs.h <<_ACEOF
62324 #define HAVE_FREXPF 1
62325 _ACEOF
62326
62327 fi
62328 done
62329
62330 else
62331
62332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62333 $as_echo_n "checking for _frexpf declaration... " >&6; }
62334 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62335 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62336 $as_echo_n "(cached) " >&6
62337 else
62338
62339
62340 ac_ext=cpp
62341 ac_cpp='$CXXCPP $CPPFLAGS'
62342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62345
62346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62347 /* end confdefs.h. */
62348 #include <math.h>
62349 int
62350 main ()
62351 {
62352 _frexpf(0, 0);
62353 ;
62354 return 0;
62355 }
62356 _ACEOF
62357 if ac_fn_cxx_try_compile "$LINENO"; then :
62358 glibcxx_cv_func__frexpf_use=yes
62359 else
62360 glibcxx_cv_func__frexpf_use=no
62361 fi
62362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62363 ac_ext=c
62364 ac_cpp='$CPP $CPPFLAGS'
62365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62368
62369
62370 fi
62371
62372 fi
62373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62374 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62375
62376 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62377 for ac_func in _frexpf
62378 do :
62379 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62380 if test "x$ac_cv_func__frexpf" = x""yes; then :
62381 cat >>confdefs.h <<_ACEOF
62382 #define HAVE__FREXPF 1
62383 _ACEOF
62384
62385 fi
62386 done
62387
62388 fi
62389 fi
62390
62391
62392
62393
62394
62395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62396 $as_echo_n "checking for hypotf declaration... " >&6; }
62397 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62398 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62399 $as_echo_n "(cached) " >&6
62400 else
62401
62402
62403 ac_ext=cpp
62404 ac_cpp='$CXXCPP $CPPFLAGS'
62405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62408
62409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62410 /* end confdefs.h. */
62411 #include <math.h>
62412 int
62413 main ()
62414 {
62415 hypotf(0, 0);
62416 ;
62417 return 0;
62418 }
62419 _ACEOF
62420 if ac_fn_cxx_try_compile "$LINENO"; then :
62421 glibcxx_cv_func_hypotf_use=yes
62422 else
62423 glibcxx_cv_func_hypotf_use=no
62424 fi
62425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62426 ac_ext=c
62427 ac_cpp='$CPP $CPPFLAGS'
62428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62431
62432
62433 fi
62434
62435 fi
62436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62437 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62438
62439 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62440 for ac_func in hypotf
62441 do :
62442 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62443 if test "x$ac_cv_func_hypotf" = x""yes; then :
62444 cat >>confdefs.h <<_ACEOF
62445 #define HAVE_HYPOTF 1
62446 _ACEOF
62447
62448 fi
62449 done
62450
62451 else
62452
62453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62454 $as_echo_n "checking for _hypotf declaration... " >&6; }
62455 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62456 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62457 $as_echo_n "(cached) " >&6
62458 else
62459
62460
62461 ac_ext=cpp
62462 ac_cpp='$CXXCPP $CPPFLAGS'
62463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62466
62467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62468 /* end confdefs.h. */
62469 #include <math.h>
62470 int
62471 main ()
62472 {
62473 _hypotf(0, 0);
62474 ;
62475 return 0;
62476 }
62477 _ACEOF
62478 if ac_fn_cxx_try_compile "$LINENO"; then :
62479 glibcxx_cv_func__hypotf_use=yes
62480 else
62481 glibcxx_cv_func__hypotf_use=no
62482 fi
62483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62484 ac_ext=c
62485 ac_cpp='$CPP $CPPFLAGS'
62486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62489
62490
62491 fi
62492
62493 fi
62494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62495 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62496
62497 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62498 for ac_func in _hypotf
62499 do :
62500 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62501 if test "x$ac_cv_func__hypotf" = x""yes; then :
62502 cat >>confdefs.h <<_ACEOF
62503 #define HAVE__HYPOTF 1
62504 _ACEOF
62505
62506 fi
62507 done
62508
62509 fi
62510 fi
62511
62512
62513
62514
62515
62516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62517 $as_echo_n "checking for ldexpf declaration... " >&6; }
62518 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62519 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62520 $as_echo_n "(cached) " >&6
62521 else
62522
62523
62524 ac_ext=cpp
62525 ac_cpp='$CXXCPP $CPPFLAGS'
62526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62529
62530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62531 /* end confdefs.h. */
62532 #include <math.h>
62533 int
62534 main ()
62535 {
62536 ldexpf(0, 0);
62537 ;
62538 return 0;
62539 }
62540 _ACEOF
62541 if ac_fn_cxx_try_compile "$LINENO"; then :
62542 glibcxx_cv_func_ldexpf_use=yes
62543 else
62544 glibcxx_cv_func_ldexpf_use=no
62545 fi
62546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62547 ac_ext=c
62548 ac_cpp='$CPP $CPPFLAGS'
62549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62552
62553
62554 fi
62555
62556 fi
62557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62558 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62559
62560 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62561 for ac_func in ldexpf
62562 do :
62563 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62564 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62565 cat >>confdefs.h <<_ACEOF
62566 #define HAVE_LDEXPF 1
62567 _ACEOF
62568
62569 fi
62570 done
62571
62572 else
62573
62574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62575 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62576 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62577 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62578 $as_echo_n "(cached) " >&6
62579 else
62580
62581
62582 ac_ext=cpp
62583 ac_cpp='$CXXCPP $CPPFLAGS'
62584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62587
62588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62589 /* end confdefs.h. */
62590 #include <math.h>
62591 int
62592 main ()
62593 {
62594 _ldexpf(0, 0);
62595 ;
62596 return 0;
62597 }
62598 _ACEOF
62599 if ac_fn_cxx_try_compile "$LINENO"; then :
62600 glibcxx_cv_func__ldexpf_use=yes
62601 else
62602 glibcxx_cv_func__ldexpf_use=no
62603 fi
62604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62605 ac_ext=c
62606 ac_cpp='$CPP $CPPFLAGS'
62607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62610
62611
62612 fi
62613
62614 fi
62615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62616 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62617
62618 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62619 for ac_func in _ldexpf
62620 do :
62621 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62622 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62623 cat >>confdefs.h <<_ACEOF
62624 #define HAVE__LDEXPF 1
62625 _ACEOF
62626
62627 fi
62628 done
62629
62630 fi
62631 fi
62632
62633
62634
62635
62636
62637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62638 $as_echo_n "checking for logf declaration... " >&6; }
62639 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62640 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62641 $as_echo_n "(cached) " >&6
62642 else
62643
62644
62645 ac_ext=cpp
62646 ac_cpp='$CXXCPP $CPPFLAGS'
62647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62650
62651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62652 /* end confdefs.h. */
62653 #include <math.h>
62654 #ifdef HAVE_IEEEFP_H
62655 #include <ieeefp.h>
62656 #endif
62657
62658 int
62659 main ()
62660 {
62661 logf(0);
62662 ;
62663 return 0;
62664 }
62665 _ACEOF
62666 if ac_fn_cxx_try_compile "$LINENO"; then :
62667 glibcxx_cv_func_logf_use=yes
62668 else
62669 glibcxx_cv_func_logf_use=no
62670 fi
62671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62672 ac_ext=c
62673 ac_cpp='$CPP $CPPFLAGS'
62674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62677
62678
62679 fi
62680
62681 fi
62682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62683 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62684
62685 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62686 for ac_func in logf
62687 do :
62688 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62689 if test "x$ac_cv_func_logf" = x""yes; then :
62690 cat >>confdefs.h <<_ACEOF
62691 #define HAVE_LOGF 1
62692 _ACEOF
62693
62694 fi
62695 done
62696
62697 else
62698
62699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62700 $as_echo_n "checking for _logf declaration... " >&6; }
62701 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62702 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62703 $as_echo_n "(cached) " >&6
62704 else
62705
62706
62707 ac_ext=cpp
62708 ac_cpp='$CXXCPP $CPPFLAGS'
62709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62712
62713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62714 /* end confdefs.h. */
62715 #include <math.h>
62716 #ifdef HAVE_IEEEFP_H
62717 #include <ieeefp.h>
62718 #endif
62719
62720 int
62721 main ()
62722 {
62723 _logf(0);
62724 ;
62725 return 0;
62726 }
62727 _ACEOF
62728 if ac_fn_cxx_try_compile "$LINENO"; then :
62729 glibcxx_cv_func__logf_use=yes
62730 else
62731 glibcxx_cv_func__logf_use=no
62732 fi
62733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62734 ac_ext=c
62735 ac_cpp='$CPP $CPPFLAGS'
62736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62739
62740
62741 fi
62742
62743 fi
62744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62745 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62746
62747 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62748 for ac_func in _logf
62749 do :
62750 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62751 if test "x$ac_cv_func__logf" = x""yes; then :
62752 cat >>confdefs.h <<_ACEOF
62753 #define HAVE__LOGF 1
62754 _ACEOF
62755
62756 fi
62757 done
62758
62759 fi
62760 fi
62761
62762
62763
62764
62765
62766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62767 $as_echo_n "checking for log10f declaration... " >&6; }
62768 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62769 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62770 $as_echo_n "(cached) " >&6
62771 else
62772
62773
62774 ac_ext=cpp
62775 ac_cpp='$CXXCPP $CPPFLAGS'
62776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62779
62780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62781 /* end confdefs.h. */
62782 #include <math.h>
62783 #ifdef HAVE_IEEEFP_H
62784 #include <ieeefp.h>
62785 #endif
62786
62787 int
62788 main ()
62789 {
62790 log10f(0);
62791 ;
62792 return 0;
62793 }
62794 _ACEOF
62795 if ac_fn_cxx_try_compile "$LINENO"; then :
62796 glibcxx_cv_func_log10f_use=yes
62797 else
62798 glibcxx_cv_func_log10f_use=no
62799 fi
62800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62801 ac_ext=c
62802 ac_cpp='$CPP $CPPFLAGS'
62803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62806
62807
62808 fi
62809
62810 fi
62811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62812 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62813
62814 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62815 for ac_func in log10f
62816 do :
62817 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62818 if test "x$ac_cv_func_log10f" = x""yes; then :
62819 cat >>confdefs.h <<_ACEOF
62820 #define HAVE_LOG10F 1
62821 _ACEOF
62822
62823 fi
62824 done
62825
62826 else
62827
62828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62829 $as_echo_n "checking for _log10f declaration... " >&6; }
62830 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62831 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62832 $as_echo_n "(cached) " >&6
62833 else
62834
62835
62836 ac_ext=cpp
62837 ac_cpp='$CXXCPP $CPPFLAGS'
62838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62841
62842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62843 /* end confdefs.h. */
62844 #include <math.h>
62845 #ifdef HAVE_IEEEFP_H
62846 #include <ieeefp.h>
62847 #endif
62848
62849 int
62850 main ()
62851 {
62852 _log10f(0);
62853 ;
62854 return 0;
62855 }
62856 _ACEOF
62857 if ac_fn_cxx_try_compile "$LINENO"; then :
62858 glibcxx_cv_func__log10f_use=yes
62859 else
62860 glibcxx_cv_func__log10f_use=no
62861 fi
62862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62863 ac_ext=c
62864 ac_cpp='$CPP $CPPFLAGS'
62865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62868
62869
62870 fi
62871
62872 fi
62873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62874 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62875
62876 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62877 for ac_func in _log10f
62878 do :
62879 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62880 if test "x$ac_cv_func__log10f" = x""yes; then :
62881 cat >>confdefs.h <<_ACEOF
62882 #define HAVE__LOG10F 1
62883 _ACEOF
62884
62885 fi
62886 done
62887
62888 fi
62889 fi
62890
62891
62892
62893
62894
62895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62896 $as_echo_n "checking for modff declaration... " >&6; }
62897 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62898 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62899 $as_echo_n "(cached) " >&6
62900 else
62901
62902
62903 ac_ext=cpp
62904 ac_cpp='$CXXCPP $CPPFLAGS'
62905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62908
62909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62910 /* end confdefs.h. */
62911 #include <math.h>
62912 int
62913 main ()
62914 {
62915 modff(0, 0);
62916 ;
62917 return 0;
62918 }
62919 _ACEOF
62920 if ac_fn_cxx_try_compile "$LINENO"; then :
62921 glibcxx_cv_func_modff_use=yes
62922 else
62923 glibcxx_cv_func_modff_use=no
62924 fi
62925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62926 ac_ext=c
62927 ac_cpp='$CPP $CPPFLAGS'
62928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62931
62932
62933 fi
62934
62935 fi
62936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62937 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62938
62939 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62940 for ac_func in modff
62941 do :
62942 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62943 if test "x$ac_cv_func_modff" = x""yes; then :
62944 cat >>confdefs.h <<_ACEOF
62945 #define HAVE_MODFF 1
62946 _ACEOF
62947
62948 fi
62949 done
62950
62951 else
62952
62953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62954 $as_echo_n "checking for _modff declaration... " >&6; }
62955 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62956 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62957 $as_echo_n "(cached) " >&6
62958 else
62959
62960
62961 ac_ext=cpp
62962 ac_cpp='$CXXCPP $CPPFLAGS'
62963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62966
62967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62968 /* end confdefs.h. */
62969 #include <math.h>
62970 int
62971 main ()
62972 {
62973 _modff(0, 0);
62974 ;
62975 return 0;
62976 }
62977 _ACEOF
62978 if ac_fn_cxx_try_compile "$LINENO"; then :
62979 glibcxx_cv_func__modff_use=yes
62980 else
62981 glibcxx_cv_func__modff_use=no
62982 fi
62983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62984 ac_ext=c
62985 ac_cpp='$CPP $CPPFLAGS'
62986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62989
62990
62991 fi
62992
62993 fi
62994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62995 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62996
62997 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62998 for ac_func in _modff
62999 do :
63000 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63001 if test "x$ac_cv_func__modff" = x""yes; then :
63002 cat >>confdefs.h <<_ACEOF
63003 #define HAVE__MODFF 1
63004 _ACEOF
63005
63006 fi
63007 done
63008
63009 fi
63010 fi
63011
63012
63013
63014
63015
63016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63017 $as_echo_n "checking for modf declaration... " >&6; }
63018 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63019 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63020 $as_echo_n "(cached) " >&6
63021 else
63022
63023
63024 ac_ext=cpp
63025 ac_cpp='$CXXCPP $CPPFLAGS'
63026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63029
63030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63031 /* end confdefs.h. */
63032 #include <math.h>
63033 int
63034 main ()
63035 {
63036 modf(0, 0);
63037 ;
63038 return 0;
63039 }
63040 _ACEOF
63041 if ac_fn_cxx_try_compile "$LINENO"; then :
63042 glibcxx_cv_func_modf_use=yes
63043 else
63044 glibcxx_cv_func_modf_use=no
63045 fi
63046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63047 ac_ext=c
63048 ac_cpp='$CPP $CPPFLAGS'
63049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63052
63053
63054 fi
63055
63056 fi
63057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63058 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63059
63060 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63061 for ac_func in modf
63062 do :
63063 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63064 if test "x$ac_cv_func_modf" = x""yes; then :
63065 cat >>confdefs.h <<_ACEOF
63066 #define HAVE_MODF 1
63067 _ACEOF
63068
63069 fi
63070 done
63071
63072 else
63073
63074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63075 $as_echo_n "checking for _modf declaration... " >&6; }
63076 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63077 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63078 $as_echo_n "(cached) " >&6
63079 else
63080
63081
63082 ac_ext=cpp
63083 ac_cpp='$CXXCPP $CPPFLAGS'
63084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63087
63088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63089 /* end confdefs.h. */
63090 #include <math.h>
63091 int
63092 main ()
63093 {
63094 _modf(0, 0);
63095 ;
63096 return 0;
63097 }
63098 _ACEOF
63099 if ac_fn_cxx_try_compile "$LINENO"; then :
63100 glibcxx_cv_func__modf_use=yes
63101 else
63102 glibcxx_cv_func__modf_use=no
63103 fi
63104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63105 ac_ext=c
63106 ac_cpp='$CPP $CPPFLAGS'
63107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63110
63111
63112 fi
63113
63114 fi
63115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63116 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63117
63118 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63119 for ac_func in _modf
63120 do :
63121 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63122 if test "x$ac_cv_func__modf" = x""yes; then :
63123 cat >>confdefs.h <<_ACEOF
63124 #define HAVE__MODF 1
63125 _ACEOF
63126
63127 fi
63128 done
63129
63130 fi
63131 fi
63132
63133
63134
63135
63136
63137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63138 $as_echo_n "checking for powf declaration... " >&6; }
63139 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63140 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63141 $as_echo_n "(cached) " >&6
63142 else
63143
63144
63145 ac_ext=cpp
63146 ac_cpp='$CXXCPP $CPPFLAGS'
63147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63150
63151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63152 /* end confdefs.h. */
63153 #include <math.h>
63154 int
63155 main ()
63156 {
63157 powf(0, 0);
63158 ;
63159 return 0;
63160 }
63161 _ACEOF
63162 if ac_fn_cxx_try_compile "$LINENO"; then :
63163 glibcxx_cv_func_powf_use=yes
63164 else
63165 glibcxx_cv_func_powf_use=no
63166 fi
63167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63168 ac_ext=c
63169 ac_cpp='$CPP $CPPFLAGS'
63170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63173
63174
63175 fi
63176
63177 fi
63178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63179 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63180
63181 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63182 for ac_func in powf
63183 do :
63184 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63185 if test "x$ac_cv_func_powf" = x""yes; then :
63186 cat >>confdefs.h <<_ACEOF
63187 #define HAVE_POWF 1
63188 _ACEOF
63189
63190 fi
63191 done
63192
63193 else
63194
63195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63196 $as_echo_n "checking for _powf declaration... " >&6; }
63197 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63198 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63199 $as_echo_n "(cached) " >&6
63200 else
63201
63202
63203 ac_ext=cpp
63204 ac_cpp='$CXXCPP $CPPFLAGS'
63205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63208
63209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63210 /* end confdefs.h. */
63211 #include <math.h>
63212 int
63213 main ()
63214 {
63215 _powf(0, 0);
63216 ;
63217 return 0;
63218 }
63219 _ACEOF
63220 if ac_fn_cxx_try_compile "$LINENO"; then :
63221 glibcxx_cv_func__powf_use=yes
63222 else
63223 glibcxx_cv_func__powf_use=no
63224 fi
63225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63226 ac_ext=c
63227 ac_cpp='$CPP $CPPFLAGS'
63228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63231
63232
63233 fi
63234
63235 fi
63236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63237 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63238
63239 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63240 for ac_func in _powf
63241 do :
63242 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63243 if test "x$ac_cv_func__powf" = x""yes; then :
63244 cat >>confdefs.h <<_ACEOF
63245 #define HAVE__POWF 1
63246 _ACEOF
63247
63248 fi
63249 done
63250
63251 fi
63252 fi
63253
63254
63255
63256
63257
63258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63259 $as_echo_n "checking for sqrtf declaration... " >&6; }
63260 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63261 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63262 $as_echo_n "(cached) " >&6
63263 else
63264
63265
63266 ac_ext=cpp
63267 ac_cpp='$CXXCPP $CPPFLAGS'
63268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63271
63272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63273 /* end confdefs.h. */
63274 #include <math.h>
63275 #ifdef HAVE_IEEEFP_H
63276 #include <ieeefp.h>
63277 #endif
63278
63279 int
63280 main ()
63281 {
63282 sqrtf(0);
63283 ;
63284 return 0;
63285 }
63286 _ACEOF
63287 if ac_fn_cxx_try_compile "$LINENO"; then :
63288 glibcxx_cv_func_sqrtf_use=yes
63289 else
63290 glibcxx_cv_func_sqrtf_use=no
63291 fi
63292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63293 ac_ext=c
63294 ac_cpp='$CPP $CPPFLAGS'
63295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63298
63299
63300 fi
63301
63302 fi
63303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63304 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63305
63306 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63307 for ac_func in sqrtf
63308 do :
63309 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63310 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63311 cat >>confdefs.h <<_ACEOF
63312 #define HAVE_SQRTF 1
63313 _ACEOF
63314
63315 fi
63316 done
63317
63318 else
63319
63320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63321 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63322 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63323 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63324 $as_echo_n "(cached) " >&6
63325 else
63326
63327
63328 ac_ext=cpp
63329 ac_cpp='$CXXCPP $CPPFLAGS'
63330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63333
63334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63335 /* end confdefs.h. */
63336 #include <math.h>
63337 #ifdef HAVE_IEEEFP_H
63338 #include <ieeefp.h>
63339 #endif
63340
63341 int
63342 main ()
63343 {
63344 _sqrtf(0);
63345 ;
63346 return 0;
63347 }
63348 _ACEOF
63349 if ac_fn_cxx_try_compile "$LINENO"; then :
63350 glibcxx_cv_func__sqrtf_use=yes
63351 else
63352 glibcxx_cv_func__sqrtf_use=no
63353 fi
63354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63355 ac_ext=c
63356 ac_cpp='$CPP $CPPFLAGS'
63357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63360
63361
63362 fi
63363
63364 fi
63365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63366 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63367
63368 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63369 for ac_func in _sqrtf
63370 do :
63371 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63372 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63373 cat >>confdefs.h <<_ACEOF
63374 #define HAVE__SQRTF 1
63375 _ACEOF
63376
63377 fi
63378 done
63379
63380 fi
63381 fi
63382
63383
63384
63385
63386
63387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63388 $as_echo_n "checking for sincosf declaration... " >&6; }
63389 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63390 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63391 $as_echo_n "(cached) " >&6
63392 else
63393
63394
63395 ac_ext=cpp
63396 ac_cpp='$CXXCPP $CPPFLAGS'
63397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63400
63401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63402 /* end confdefs.h. */
63403 #include <math.h>
63404 int
63405 main ()
63406 {
63407 sincosf(0, 0, 0);
63408 ;
63409 return 0;
63410 }
63411 _ACEOF
63412 if ac_fn_cxx_try_compile "$LINENO"; then :
63413 glibcxx_cv_func_sincosf_use=yes
63414 else
63415 glibcxx_cv_func_sincosf_use=no
63416 fi
63417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63418 ac_ext=c
63419 ac_cpp='$CPP $CPPFLAGS'
63420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63423
63424
63425 fi
63426
63427 fi
63428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63429 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63430
63431 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63432 for ac_func in sincosf
63433 do :
63434 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63435 if test "x$ac_cv_func_sincosf" = x""yes; then :
63436 cat >>confdefs.h <<_ACEOF
63437 #define HAVE_SINCOSF 1
63438 _ACEOF
63439
63440 fi
63441 done
63442
63443 else
63444
63445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63446 $as_echo_n "checking for _sincosf declaration... " >&6; }
63447 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63448 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63449 $as_echo_n "(cached) " >&6
63450 else
63451
63452
63453 ac_ext=cpp
63454 ac_cpp='$CXXCPP $CPPFLAGS'
63455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63458
63459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63460 /* end confdefs.h. */
63461 #include <math.h>
63462 int
63463 main ()
63464 {
63465 _sincosf(0, 0, 0);
63466 ;
63467 return 0;
63468 }
63469 _ACEOF
63470 if ac_fn_cxx_try_compile "$LINENO"; then :
63471 glibcxx_cv_func__sincosf_use=yes
63472 else
63473 glibcxx_cv_func__sincosf_use=no
63474 fi
63475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63476 ac_ext=c
63477 ac_cpp='$CPP $CPPFLAGS'
63478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63481
63482
63483 fi
63484
63485 fi
63486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63487 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63488
63489 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63490 for ac_func in _sincosf
63491 do :
63492 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63493 if test "x$ac_cv_func__sincosf" = x""yes; then :
63494 cat >>confdefs.h <<_ACEOF
63495 #define HAVE__SINCOSF 1
63496 _ACEOF
63497
63498 fi
63499 done
63500
63501 fi
63502 fi
63503
63504
63505
63506
63507
63508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63509 $as_echo_n "checking for finitef declaration... " >&6; }
63510 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63511 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63512 $as_echo_n "(cached) " >&6
63513 else
63514
63515
63516 ac_ext=cpp
63517 ac_cpp='$CXXCPP $CPPFLAGS'
63518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63521
63522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63523 /* end confdefs.h. */
63524 #include <math.h>
63525 #ifdef HAVE_IEEEFP_H
63526 #include <ieeefp.h>
63527 #endif
63528
63529 int
63530 main ()
63531 {
63532 finitef(0);
63533 ;
63534 return 0;
63535 }
63536 _ACEOF
63537 if ac_fn_cxx_try_compile "$LINENO"; then :
63538 glibcxx_cv_func_finitef_use=yes
63539 else
63540 glibcxx_cv_func_finitef_use=no
63541 fi
63542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63543 ac_ext=c
63544 ac_cpp='$CPP $CPPFLAGS'
63545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63548
63549
63550 fi
63551
63552 fi
63553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63554 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63555
63556 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63557 for ac_func in finitef
63558 do :
63559 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63560 if test "x$ac_cv_func_finitef" = x""yes; then :
63561 cat >>confdefs.h <<_ACEOF
63562 #define HAVE_FINITEF 1
63563 _ACEOF
63564
63565 fi
63566 done
63567
63568 else
63569
63570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63571 $as_echo_n "checking for _finitef declaration... " >&6; }
63572 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63573 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63574 $as_echo_n "(cached) " >&6
63575 else
63576
63577
63578 ac_ext=cpp
63579 ac_cpp='$CXXCPP $CPPFLAGS'
63580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63583
63584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63585 /* end confdefs.h. */
63586 #include <math.h>
63587 #ifdef HAVE_IEEEFP_H
63588 #include <ieeefp.h>
63589 #endif
63590
63591 int
63592 main ()
63593 {
63594 _finitef(0);
63595 ;
63596 return 0;
63597 }
63598 _ACEOF
63599 if ac_fn_cxx_try_compile "$LINENO"; then :
63600 glibcxx_cv_func__finitef_use=yes
63601 else
63602 glibcxx_cv_func__finitef_use=no
63603 fi
63604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63605 ac_ext=c
63606 ac_cpp='$CPP $CPPFLAGS'
63607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63610
63611
63612 fi
63613
63614 fi
63615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63616 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63617
63618 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63619 for ac_func in _finitef
63620 do :
63621 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63622 if test "x$ac_cv_func__finitef" = x""yes; then :
63623 cat >>confdefs.h <<_ACEOF
63624 #define HAVE__FINITEF 1
63625 _ACEOF
63626
63627 fi
63628 done
63629
63630 fi
63631 fi
63632
63633
63634
63635
63636
63637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63638 $as_echo_n "checking for long double trig functions... " >&6; }
63639 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63640 $as_echo_n "(cached) " >&6
63641 else
63642
63643
63644 ac_ext=cpp
63645 ac_cpp='$CXXCPP $CPPFLAGS'
63646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63649
63650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63651 /* end confdefs.h. */
63652 #include <math.h>
63653 int
63654 main ()
63655 {
63656 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63657 ;
63658 return 0;
63659 }
63660 _ACEOF
63661 if ac_fn_cxx_try_compile "$LINENO"; then :
63662 glibcxx_cv_func_long_double_trig_use=yes
63663 else
63664 glibcxx_cv_func_long_double_trig_use=no
63665 fi
63666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63667 ac_ext=c
63668 ac_cpp='$CPP $CPPFLAGS'
63669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63672
63673 fi
63674
63675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63676 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63677 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63678 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63679 do :
63680 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63681 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63682 eval as_val=\$$as_ac_var
63683 if test "x$as_val" = x""yes; then :
63684 cat >>confdefs.h <<_ACEOF
63685 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63686 _ACEOF
63687
63688 fi
63689 done
63690
63691 else
63692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63693 $as_echo_n "checking for _long double trig functions... " >&6; }
63694 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63695 $as_echo_n "(cached) " >&6
63696 else
63697
63698
63699 ac_ext=cpp
63700 ac_cpp='$CXXCPP $CPPFLAGS'
63701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63704
63705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63706 /* end confdefs.h. */
63707 #include <math.h>
63708 int
63709 main ()
63710 {
63711 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63712 ;
63713 return 0;
63714 }
63715 _ACEOF
63716 if ac_fn_cxx_try_compile "$LINENO"; then :
63717 glibcxx_cv_func__long_double_trig_use=yes
63718 else
63719 glibcxx_cv_func__long_double_trig_use=no
63720 fi
63721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63722 ac_ext=c
63723 ac_cpp='$CPP $CPPFLAGS'
63724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63727
63728 fi
63729
63730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63731 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63732 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63733 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63734 do :
63735 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63736 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63737 eval as_val=\$$as_ac_var
63738 if test "x$as_val" = x""yes; then :
63739 cat >>confdefs.h <<_ACEOF
63740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63741 _ACEOF
63742
63743 fi
63744 done
63745
63746 fi
63747 fi
63748
63749
63750
63751
63752
63753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63754 $as_echo_n "checking for long double round functions... " >&6; }
63755 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63756 $as_echo_n "(cached) " >&6
63757 else
63758
63759
63760 ac_ext=cpp
63761 ac_cpp='$CXXCPP $CPPFLAGS'
63762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63765
63766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63767 /* end confdefs.h. */
63768 #include <math.h>
63769 int
63770 main ()
63771 {
63772 ceill (0); floorl (0);
63773 ;
63774 return 0;
63775 }
63776 _ACEOF
63777 if ac_fn_cxx_try_compile "$LINENO"; then :
63778 glibcxx_cv_func_long_double_round_use=yes
63779 else
63780 glibcxx_cv_func_long_double_round_use=no
63781 fi
63782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63783 ac_ext=c
63784 ac_cpp='$CPP $CPPFLAGS'
63785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63788
63789 fi
63790
63791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63792 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63793 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63794 for ac_func in ceill floorl
63795 do :
63796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63798 eval as_val=\$$as_ac_var
63799 if test "x$as_val" = x""yes; then :
63800 cat >>confdefs.h <<_ACEOF
63801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63802 _ACEOF
63803
63804 fi
63805 done
63806
63807 else
63808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63809 $as_echo_n "checking for _long double round functions... " >&6; }
63810 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63811 $as_echo_n "(cached) " >&6
63812 else
63813
63814
63815 ac_ext=cpp
63816 ac_cpp='$CXXCPP $CPPFLAGS'
63817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63820
63821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63822 /* end confdefs.h. */
63823 #include <math.h>
63824 int
63825 main ()
63826 {
63827 _ceill (0); _floorl (0);
63828 ;
63829 return 0;
63830 }
63831 _ACEOF
63832 if ac_fn_cxx_try_compile "$LINENO"; then :
63833 glibcxx_cv_func__long_double_round_use=yes
63834 else
63835 glibcxx_cv_func__long_double_round_use=no
63836 fi
63837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63838 ac_ext=c
63839 ac_cpp='$CPP $CPPFLAGS'
63840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63843
63844 fi
63845
63846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63847 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63848 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63849 for ac_func in _ceill _floorl
63850 do :
63851 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63852 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63853 eval as_val=\$$as_ac_var
63854 if test "x$as_val" = x""yes; then :
63855 cat >>confdefs.h <<_ACEOF
63856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63857 _ACEOF
63858
63859 fi
63860 done
63861
63862 fi
63863 fi
63864
63865
63866
63867
63868
63869
63870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63871 $as_echo_n "checking for isnanl declaration... " >&6; }
63872 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63873 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63874 $as_echo_n "(cached) " >&6
63875 else
63876
63877
63878 ac_ext=cpp
63879 ac_cpp='$CXXCPP $CPPFLAGS'
63880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63883
63884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63885 /* end confdefs.h. */
63886 #include <math.h>
63887 #ifdef HAVE_IEEEFP_H
63888 #include <ieeefp.h>
63889 #endif
63890
63891 int
63892 main ()
63893 {
63894 isnanl(0);
63895 ;
63896 return 0;
63897 }
63898 _ACEOF
63899 if ac_fn_cxx_try_compile "$LINENO"; then :
63900 glibcxx_cv_func_isnanl_use=yes
63901 else
63902 glibcxx_cv_func_isnanl_use=no
63903 fi
63904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63905 ac_ext=c
63906 ac_cpp='$CPP $CPPFLAGS'
63907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63910
63911
63912 fi
63913
63914 fi
63915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63916 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63917
63918 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63919 for ac_func in isnanl
63920 do :
63921 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63922 if test "x$ac_cv_func_isnanl" = x""yes; then :
63923 cat >>confdefs.h <<_ACEOF
63924 #define HAVE_ISNANL 1
63925 _ACEOF
63926
63927 fi
63928 done
63929
63930 else
63931
63932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63933 $as_echo_n "checking for _isnanl declaration... " >&6; }
63934 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63935 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63936 $as_echo_n "(cached) " >&6
63937 else
63938
63939
63940 ac_ext=cpp
63941 ac_cpp='$CXXCPP $CPPFLAGS'
63942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63945
63946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63947 /* end confdefs.h. */
63948 #include <math.h>
63949 #ifdef HAVE_IEEEFP_H
63950 #include <ieeefp.h>
63951 #endif
63952
63953 int
63954 main ()
63955 {
63956 _isnanl(0);
63957 ;
63958 return 0;
63959 }
63960 _ACEOF
63961 if ac_fn_cxx_try_compile "$LINENO"; then :
63962 glibcxx_cv_func__isnanl_use=yes
63963 else
63964 glibcxx_cv_func__isnanl_use=no
63965 fi
63966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63967 ac_ext=c
63968 ac_cpp='$CPP $CPPFLAGS'
63969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63972
63973
63974 fi
63975
63976 fi
63977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63978 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63979
63980 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63981 for ac_func in _isnanl
63982 do :
63983 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63984 if test "x$ac_cv_func__isnanl" = x""yes; then :
63985 cat >>confdefs.h <<_ACEOF
63986 #define HAVE__ISNANL 1
63987 _ACEOF
63988
63989 fi
63990 done
63991
63992 fi
63993 fi
63994
63995
63996
63997
63998
63999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64000 $as_echo_n "checking for isinfl declaration... " >&6; }
64001 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64002 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
64003 $as_echo_n "(cached) " >&6
64004 else
64005
64006
64007 ac_ext=cpp
64008 ac_cpp='$CXXCPP $CPPFLAGS'
64009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64012
64013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64014 /* end confdefs.h. */
64015 #include <math.h>
64016 #ifdef HAVE_IEEEFP_H
64017 #include <ieeefp.h>
64018 #endif
64019
64020 int
64021 main ()
64022 {
64023 isinfl(0);
64024 ;
64025 return 0;
64026 }
64027 _ACEOF
64028 if ac_fn_cxx_try_compile "$LINENO"; then :
64029 glibcxx_cv_func_isinfl_use=yes
64030 else
64031 glibcxx_cv_func_isinfl_use=no
64032 fi
64033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64034 ac_ext=c
64035 ac_cpp='$CPP $CPPFLAGS'
64036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64039
64040
64041 fi
64042
64043 fi
64044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64045 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64046
64047 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64048 for ac_func in isinfl
64049 do :
64050 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64051 if test "x$ac_cv_func_isinfl" = x""yes; then :
64052 cat >>confdefs.h <<_ACEOF
64053 #define HAVE_ISINFL 1
64054 _ACEOF
64055
64056 fi
64057 done
64058
64059 else
64060
64061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64062 $as_echo_n "checking for _isinfl declaration... " >&6; }
64063 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64064 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64065 $as_echo_n "(cached) " >&6
64066 else
64067
64068
64069 ac_ext=cpp
64070 ac_cpp='$CXXCPP $CPPFLAGS'
64071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64074
64075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64076 /* end confdefs.h. */
64077 #include <math.h>
64078 #ifdef HAVE_IEEEFP_H
64079 #include <ieeefp.h>
64080 #endif
64081
64082 int
64083 main ()
64084 {
64085 _isinfl(0);
64086 ;
64087 return 0;
64088 }
64089 _ACEOF
64090 if ac_fn_cxx_try_compile "$LINENO"; then :
64091 glibcxx_cv_func__isinfl_use=yes
64092 else
64093 glibcxx_cv_func__isinfl_use=no
64094 fi
64095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64096 ac_ext=c
64097 ac_cpp='$CPP $CPPFLAGS'
64098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64101
64102
64103 fi
64104
64105 fi
64106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64107 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64108
64109 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64110 for ac_func in _isinfl
64111 do :
64112 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64113 if test "x$ac_cv_func__isinfl" = x""yes; then :
64114 cat >>confdefs.h <<_ACEOF
64115 #define HAVE__ISINFL 1
64116 _ACEOF
64117
64118 fi
64119 done
64120
64121 fi
64122 fi
64123
64124
64125
64126
64127
64128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64129 $as_echo_n "checking for atan2l declaration... " >&6; }
64130 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64131 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64132 $as_echo_n "(cached) " >&6
64133 else
64134
64135
64136 ac_ext=cpp
64137 ac_cpp='$CXXCPP $CPPFLAGS'
64138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64141
64142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64143 /* end confdefs.h. */
64144 #include <math.h>
64145 int
64146 main ()
64147 {
64148 atan2l(0, 0);
64149 ;
64150 return 0;
64151 }
64152 _ACEOF
64153 if ac_fn_cxx_try_compile "$LINENO"; then :
64154 glibcxx_cv_func_atan2l_use=yes
64155 else
64156 glibcxx_cv_func_atan2l_use=no
64157 fi
64158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64159 ac_ext=c
64160 ac_cpp='$CPP $CPPFLAGS'
64161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64164
64165
64166 fi
64167
64168 fi
64169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64170 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64171
64172 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64173 for ac_func in atan2l
64174 do :
64175 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64176 if test "x$ac_cv_func_atan2l" = x""yes; then :
64177 cat >>confdefs.h <<_ACEOF
64178 #define HAVE_ATAN2L 1
64179 _ACEOF
64180
64181 fi
64182 done
64183
64184 else
64185
64186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64187 $as_echo_n "checking for _atan2l declaration... " >&6; }
64188 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64189 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64190 $as_echo_n "(cached) " >&6
64191 else
64192
64193
64194 ac_ext=cpp
64195 ac_cpp='$CXXCPP $CPPFLAGS'
64196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64199
64200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64201 /* end confdefs.h. */
64202 #include <math.h>
64203 int
64204 main ()
64205 {
64206 _atan2l(0, 0);
64207 ;
64208 return 0;
64209 }
64210 _ACEOF
64211 if ac_fn_cxx_try_compile "$LINENO"; then :
64212 glibcxx_cv_func__atan2l_use=yes
64213 else
64214 glibcxx_cv_func__atan2l_use=no
64215 fi
64216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64217 ac_ext=c
64218 ac_cpp='$CPP $CPPFLAGS'
64219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64222
64223
64224 fi
64225
64226 fi
64227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64228 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64229
64230 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64231 for ac_func in _atan2l
64232 do :
64233 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64234 if test "x$ac_cv_func__atan2l" = x""yes; then :
64235 cat >>confdefs.h <<_ACEOF
64236 #define HAVE__ATAN2L 1
64237 _ACEOF
64238
64239 fi
64240 done
64241
64242 fi
64243 fi
64244
64245
64246
64247
64248
64249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64250 $as_echo_n "checking for expl declaration... " >&6; }
64251 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64252 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64253 $as_echo_n "(cached) " >&6
64254 else
64255
64256
64257 ac_ext=cpp
64258 ac_cpp='$CXXCPP $CPPFLAGS'
64259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64262
64263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64264 /* end confdefs.h. */
64265 #include <math.h>
64266 #ifdef HAVE_IEEEFP_H
64267 #include <ieeefp.h>
64268 #endif
64269
64270 int
64271 main ()
64272 {
64273 expl(0);
64274 ;
64275 return 0;
64276 }
64277 _ACEOF
64278 if ac_fn_cxx_try_compile "$LINENO"; then :
64279 glibcxx_cv_func_expl_use=yes
64280 else
64281 glibcxx_cv_func_expl_use=no
64282 fi
64283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64284 ac_ext=c
64285 ac_cpp='$CPP $CPPFLAGS'
64286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64289
64290
64291 fi
64292
64293 fi
64294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64295 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64296
64297 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64298 for ac_func in expl
64299 do :
64300 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64301 if test "x$ac_cv_func_expl" = x""yes; then :
64302 cat >>confdefs.h <<_ACEOF
64303 #define HAVE_EXPL 1
64304 _ACEOF
64305
64306 fi
64307 done
64308
64309 else
64310
64311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64312 $as_echo_n "checking for _expl declaration... " >&6; }
64313 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64314 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64315 $as_echo_n "(cached) " >&6
64316 else
64317
64318
64319 ac_ext=cpp
64320 ac_cpp='$CXXCPP $CPPFLAGS'
64321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64324
64325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64326 /* end confdefs.h. */
64327 #include <math.h>
64328 #ifdef HAVE_IEEEFP_H
64329 #include <ieeefp.h>
64330 #endif
64331
64332 int
64333 main ()
64334 {
64335 _expl(0);
64336 ;
64337 return 0;
64338 }
64339 _ACEOF
64340 if ac_fn_cxx_try_compile "$LINENO"; then :
64341 glibcxx_cv_func__expl_use=yes
64342 else
64343 glibcxx_cv_func__expl_use=no
64344 fi
64345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64346 ac_ext=c
64347 ac_cpp='$CPP $CPPFLAGS'
64348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64351
64352
64353 fi
64354
64355 fi
64356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64357 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64358
64359 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64360 for ac_func in _expl
64361 do :
64362 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64363 if test "x$ac_cv_func__expl" = x""yes; then :
64364 cat >>confdefs.h <<_ACEOF
64365 #define HAVE__EXPL 1
64366 _ACEOF
64367
64368 fi
64369 done
64370
64371 fi
64372 fi
64373
64374
64375
64376
64377
64378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64379 $as_echo_n "checking for fabsl declaration... " >&6; }
64380 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64381 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64382 $as_echo_n "(cached) " >&6
64383 else
64384
64385
64386 ac_ext=cpp
64387 ac_cpp='$CXXCPP $CPPFLAGS'
64388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64391
64392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64393 /* end confdefs.h. */
64394 #include <math.h>
64395 #ifdef HAVE_IEEEFP_H
64396 #include <ieeefp.h>
64397 #endif
64398
64399 int
64400 main ()
64401 {
64402 fabsl(0);
64403 ;
64404 return 0;
64405 }
64406 _ACEOF
64407 if ac_fn_cxx_try_compile "$LINENO"; then :
64408 glibcxx_cv_func_fabsl_use=yes
64409 else
64410 glibcxx_cv_func_fabsl_use=no
64411 fi
64412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64413 ac_ext=c
64414 ac_cpp='$CPP $CPPFLAGS'
64415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64418
64419
64420 fi
64421
64422 fi
64423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64424 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64425
64426 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64427 for ac_func in fabsl
64428 do :
64429 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64430 if test "x$ac_cv_func_fabsl" = x""yes; then :
64431 cat >>confdefs.h <<_ACEOF
64432 #define HAVE_FABSL 1
64433 _ACEOF
64434
64435 fi
64436 done
64437
64438 else
64439
64440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64441 $as_echo_n "checking for _fabsl declaration... " >&6; }
64442 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64443 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64444 $as_echo_n "(cached) " >&6
64445 else
64446
64447
64448 ac_ext=cpp
64449 ac_cpp='$CXXCPP $CPPFLAGS'
64450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64453
64454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64455 /* end confdefs.h. */
64456 #include <math.h>
64457 #ifdef HAVE_IEEEFP_H
64458 #include <ieeefp.h>
64459 #endif
64460
64461 int
64462 main ()
64463 {
64464 _fabsl(0);
64465 ;
64466 return 0;
64467 }
64468 _ACEOF
64469 if ac_fn_cxx_try_compile "$LINENO"; then :
64470 glibcxx_cv_func__fabsl_use=yes
64471 else
64472 glibcxx_cv_func__fabsl_use=no
64473 fi
64474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64475 ac_ext=c
64476 ac_cpp='$CPP $CPPFLAGS'
64477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64480
64481
64482 fi
64483
64484 fi
64485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64486 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64487
64488 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64489 for ac_func in _fabsl
64490 do :
64491 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64492 if test "x$ac_cv_func__fabsl" = x""yes; then :
64493 cat >>confdefs.h <<_ACEOF
64494 #define HAVE__FABSL 1
64495 _ACEOF
64496
64497 fi
64498 done
64499
64500 fi
64501 fi
64502
64503
64504
64505
64506
64507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64508 $as_echo_n "checking for fmodl declaration... " >&6; }
64509 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64510 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64511 $as_echo_n "(cached) " >&6
64512 else
64513
64514
64515 ac_ext=cpp
64516 ac_cpp='$CXXCPP $CPPFLAGS'
64517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64520
64521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64522 /* end confdefs.h. */
64523 #include <math.h>
64524 int
64525 main ()
64526 {
64527 fmodl(0, 0);
64528 ;
64529 return 0;
64530 }
64531 _ACEOF
64532 if ac_fn_cxx_try_compile "$LINENO"; then :
64533 glibcxx_cv_func_fmodl_use=yes
64534 else
64535 glibcxx_cv_func_fmodl_use=no
64536 fi
64537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64538 ac_ext=c
64539 ac_cpp='$CPP $CPPFLAGS'
64540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64543
64544
64545 fi
64546
64547 fi
64548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64549 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64550
64551 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64552 for ac_func in fmodl
64553 do :
64554 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64555 if test "x$ac_cv_func_fmodl" = x""yes; then :
64556 cat >>confdefs.h <<_ACEOF
64557 #define HAVE_FMODL 1
64558 _ACEOF
64559
64560 fi
64561 done
64562
64563 else
64564
64565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64566 $as_echo_n "checking for _fmodl declaration... " >&6; }
64567 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64568 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64569 $as_echo_n "(cached) " >&6
64570 else
64571
64572
64573 ac_ext=cpp
64574 ac_cpp='$CXXCPP $CPPFLAGS'
64575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64578
64579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64580 /* end confdefs.h. */
64581 #include <math.h>
64582 int
64583 main ()
64584 {
64585 _fmodl(0, 0);
64586 ;
64587 return 0;
64588 }
64589 _ACEOF
64590 if ac_fn_cxx_try_compile "$LINENO"; then :
64591 glibcxx_cv_func__fmodl_use=yes
64592 else
64593 glibcxx_cv_func__fmodl_use=no
64594 fi
64595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64596 ac_ext=c
64597 ac_cpp='$CPP $CPPFLAGS'
64598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64601
64602
64603 fi
64604
64605 fi
64606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64607 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64608
64609 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64610 for ac_func in _fmodl
64611 do :
64612 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64613 if test "x$ac_cv_func__fmodl" = x""yes; then :
64614 cat >>confdefs.h <<_ACEOF
64615 #define HAVE__FMODL 1
64616 _ACEOF
64617
64618 fi
64619 done
64620
64621 fi
64622 fi
64623
64624
64625
64626
64627
64628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64629 $as_echo_n "checking for frexpl declaration... " >&6; }
64630 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64631 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64632 $as_echo_n "(cached) " >&6
64633 else
64634
64635
64636 ac_ext=cpp
64637 ac_cpp='$CXXCPP $CPPFLAGS'
64638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64641
64642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64643 /* end confdefs.h. */
64644 #include <math.h>
64645 int
64646 main ()
64647 {
64648 frexpl(0, 0);
64649 ;
64650 return 0;
64651 }
64652 _ACEOF
64653 if ac_fn_cxx_try_compile "$LINENO"; then :
64654 glibcxx_cv_func_frexpl_use=yes
64655 else
64656 glibcxx_cv_func_frexpl_use=no
64657 fi
64658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64659 ac_ext=c
64660 ac_cpp='$CPP $CPPFLAGS'
64661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64664
64665
64666 fi
64667
64668 fi
64669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64670 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64671
64672 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64673 for ac_func in frexpl
64674 do :
64675 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64676 if test "x$ac_cv_func_frexpl" = x""yes; then :
64677 cat >>confdefs.h <<_ACEOF
64678 #define HAVE_FREXPL 1
64679 _ACEOF
64680
64681 fi
64682 done
64683
64684 else
64685
64686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64687 $as_echo_n "checking for _frexpl declaration... " >&6; }
64688 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64689 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64690 $as_echo_n "(cached) " >&6
64691 else
64692
64693
64694 ac_ext=cpp
64695 ac_cpp='$CXXCPP $CPPFLAGS'
64696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64699
64700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64701 /* end confdefs.h. */
64702 #include <math.h>
64703 int
64704 main ()
64705 {
64706 _frexpl(0, 0);
64707 ;
64708 return 0;
64709 }
64710 _ACEOF
64711 if ac_fn_cxx_try_compile "$LINENO"; then :
64712 glibcxx_cv_func__frexpl_use=yes
64713 else
64714 glibcxx_cv_func__frexpl_use=no
64715 fi
64716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64717 ac_ext=c
64718 ac_cpp='$CPP $CPPFLAGS'
64719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64722
64723
64724 fi
64725
64726 fi
64727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64728 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64729
64730 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64731 for ac_func in _frexpl
64732 do :
64733 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64734 if test "x$ac_cv_func__frexpl" = x""yes; then :
64735 cat >>confdefs.h <<_ACEOF
64736 #define HAVE__FREXPL 1
64737 _ACEOF
64738
64739 fi
64740 done
64741
64742 fi
64743 fi
64744
64745
64746
64747
64748
64749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64750 $as_echo_n "checking for hypotl declaration... " >&6; }
64751 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64752 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64753 $as_echo_n "(cached) " >&6
64754 else
64755
64756
64757 ac_ext=cpp
64758 ac_cpp='$CXXCPP $CPPFLAGS'
64759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64762
64763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64764 /* end confdefs.h. */
64765 #include <math.h>
64766 int
64767 main ()
64768 {
64769 hypotl(0, 0);
64770 ;
64771 return 0;
64772 }
64773 _ACEOF
64774 if ac_fn_cxx_try_compile "$LINENO"; then :
64775 glibcxx_cv_func_hypotl_use=yes
64776 else
64777 glibcxx_cv_func_hypotl_use=no
64778 fi
64779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64780 ac_ext=c
64781 ac_cpp='$CPP $CPPFLAGS'
64782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64785
64786
64787 fi
64788
64789 fi
64790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64791 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64792
64793 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64794 for ac_func in hypotl
64795 do :
64796 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64797 if test "x$ac_cv_func_hypotl" = x""yes; then :
64798 cat >>confdefs.h <<_ACEOF
64799 #define HAVE_HYPOTL 1
64800 _ACEOF
64801
64802 fi
64803 done
64804
64805 else
64806
64807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64808 $as_echo_n "checking for _hypotl declaration... " >&6; }
64809 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64810 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64811 $as_echo_n "(cached) " >&6
64812 else
64813
64814
64815 ac_ext=cpp
64816 ac_cpp='$CXXCPP $CPPFLAGS'
64817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64820
64821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64822 /* end confdefs.h. */
64823 #include <math.h>
64824 int
64825 main ()
64826 {
64827 _hypotl(0, 0);
64828 ;
64829 return 0;
64830 }
64831 _ACEOF
64832 if ac_fn_cxx_try_compile "$LINENO"; then :
64833 glibcxx_cv_func__hypotl_use=yes
64834 else
64835 glibcxx_cv_func__hypotl_use=no
64836 fi
64837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64838 ac_ext=c
64839 ac_cpp='$CPP $CPPFLAGS'
64840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64843
64844
64845 fi
64846
64847 fi
64848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64849 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64850
64851 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64852 for ac_func in _hypotl
64853 do :
64854 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64855 if test "x$ac_cv_func__hypotl" = x""yes; then :
64856 cat >>confdefs.h <<_ACEOF
64857 #define HAVE__HYPOTL 1
64858 _ACEOF
64859
64860 fi
64861 done
64862
64863 fi
64864 fi
64865
64866
64867
64868
64869
64870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64871 $as_echo_n "checking for ldexpl declaration... " >&6; }
64872 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64873 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64874 $as_echo_n "(cached) " >&6
64875 else
64876
64877
64878 ac_ext=cpp
64879 ac_cpp='$CXXCPP $CPPFLAGS'
64880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64883
64884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64885 /* end confdefs.h. */
64886 #include <math.h>
64887 int
64888 main ()
64889 {
64890 ldexpl(0, 0);
64891 ;
64892 return 0;
64893 }
64894 _ACEOF
64895 if ac_fn_cxx_try_compile "$LINENO"; then :
64896 glibcxx_cv_func_ldexpl_use=yes
64897 else
64898 glibcxx_cv_func_ldexpl_use=no
64899 fi
64900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64901 ac_ext=c
64902 ac_cpp='$CPP $CPPFLAGS'
64903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64906
64907
64908 fi
64909
64910 fi
64911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64912 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64913
64914 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64915 for ac_func in ldexpl
64916 do :
64917 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64918 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64919 cat >>confdefs.h <<_ACEOF
64920 #define HAVE_LDEXPL 1
64921 _ACEOF
64922
64923 fi
64924 done
64925
64926 else
64927
64928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64929 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64930 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64931 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64932 $as_echo_n "(cached) " >&6
64933 else
64934
64935
64936 ac_ext=cpp
64937 ac_cpp='$CXXCPP $CPPFLAGS'
64938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64941
64942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64943 /* end confdefs.h. */
64944 #include <math.h>
64945 int
64946 main ()
64947 {
64948 _ldexpl(0, 0);
64949 ;
64950 return 0;
64951 }
64952 _ACEOF
64953 if ac_fn_cxx_try_compile "$LINENO"; then :
64954 glibcxx_cv_func__ldexpl_use=yes
64955 else
64956 glibcxx_cv_func__ldexpl_use=no
64957 fi
64958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64959 ac_ext=c
64960 ac_cpp='$CPP $CPPFLAGS'
64961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64964
64965
64966 fi
64967
64968 fi
64969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64970 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64971
64972 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64973 for ac_func in _ldexpl
64974 do :
64975 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64976 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64977 cat >>confdefs.h <<_ACEOF
64978 #define HAVE__LDEXPL 1
64979 _ACEOF
64980
64981 fi
64982 done
64983
64984 fi
64985 fi
64986
64987
64988
64989
64990
64991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64992 $as_echo_n "checking for logl declaration... " >&6; }
64993 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64994 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64995 $as_echo_n "(cached) " >&6
64996 else
64997
64998
64999 ac_ext=cpp
65000 ac_cpp='$CXXCPP $CPPFLAGS'
65001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65004
65005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65006 /* end confdefs.h. */
65007 #include <math.h>
65008 #ifdef HAVE_IEEEFP_H
65009 #include <ieeefp.h>
65010 #endif
65011
65012 int
65013 main ()
65014 {
65015 logl(0);
65016 ;
65017 return 0;
65018 }
65019 _ACEOF
65020 if ac_fn_cxx_try_compile "$LINENO"; then :
65021 glibcxx_cv_func_logl_use=yes
65022 else
65023 glibcxx_cv_func_logl_use=no
65024 fi
65025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65026 ac_ext=c
65027 ac_cpp='$CPP $CPPFLAGS'
65028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65031
65032
65033 fi
65034
65035 fi
65036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65037 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65038
65039 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65040 for ac_func in logl
65041 do :
65042 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65043 if test "x$ac_cv_func_logl" = x""yes; then :
65044 cat >>confdefs.h <<_ACEOF
65045 #define HAVE_LOGL 1
65046 _ACEOF
65047
65048 fi
65049 done
65050
65051 else
65052
65053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65054 $as_echo_n "checking for _logl declaration... " >&6; }
65055 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65056 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65057 $as_echo_n "(cached) " >&6
65058 else
65059
65060
65061 ac_ext=cpp
65062 ac_cpp='$CXXCPP $CPPFLAGS'
65063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65066
65067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65068 /* end confdefs.h. */
65069 #include <math.h>
65070 #ifdef HAVE_IEEEFP_H
65071 #include <ieeefp.h>
65072 #endif
65073
65074 int
65075 main ()
65076 {
65077 _logl(0);
65078 ;
65079 return 0;
65080 }
65081 _ACEOF
65082 if ac_fn_cxx_try_compile "$LINENO"; then :
65083 glibcxx_cv_func__logl_use=yes
65084 else
65085 glibcxx_cv_func__logl_use=no
65086 fi
65087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65088 ac_ext=c
65089 ac_cpp='$CPP $CPPFLAGS'
65090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65093
65094
65095 fi
65096
65097 fi
65098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65099 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65100
65101 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65102 for ac_func in _logl
65103 do :
65104 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65105 if test "x$ac_cv_func__logl" = x""yes; then :
65106 cat >>confdefs.h <<_ACEOF
65107 #define HAVE__LOGL 1
65108 _ACEOF
65109
65110 fi
65111 done
65112
65113 fi
65114 fi
65115
65116
65117
65118
65119
65120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65121 $as_echo_n "checking for log10l declaration... " >&6; }
65122 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65123 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65124 $as_echo_n "(cached) " >&6
65125 else
65126
65127
65128 ac_ext=cpp
65129 ac_cpp='$CXXCPP $CPPFLAGS'
65130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65133
65134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65135 /* end confdefs.h. */
65136 #include <math.h>
65137 #ifdef HAVE_IEEEFP_H
65138 #include <ieeefp.h>
65139 #endif
65140
65141 int
65142 main ()
65143 {
65144 log10l(0);
65145 ;
65146 return 0;
65147 }
65148 _ACEOF
65149 if ac_fn_cxx_try_compile "$LINENO"; then :
65150 glibcxx_cv_func_log10l_use=yes
65151 else
65152 glibcxx_cv_func_log10l_use=no
65153 fi
65154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65155 ac_ext=c
65156 ac_cpp='$CPP $CPPFLAGS'
65157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65160
65161
65162 fi
65163
65164 fi
65165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65166 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65167
65168 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65169 for ac_func in log10l
65170 do :
65171 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65172 if test "x$ac_cv_func_log10l" = x""yes; then :
65173 cat >>confdefs.h <<_ACEOF
65174 #define HAVE_LOG10L 1
65175 _ACEOF
65176
65177 fi
65178 done
65179
65180 else
65181
65182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65183 $as_echo_n "checking for _log10l declaration... " >&6; }
65184 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65185 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65186 $as_echo_n "(cached) " >&6
65187 else
65188
65189
65190 ac_ext=cpp
65191 ac_cpp='$CXXCPP $CPPFLAGS'
65192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65195
65196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65197 /* end confdefs.h. */
65198 #include <math.h>
65199 #ifdef HAVE_IEEEFP_H
65200 #include <ieeefp.h>
65201 #endif
65202
65203 int
65204 main ()
65205 {
65206 _log10l(0);
65207 ;
65208 return 0;
65209 }
65210 _ACEOF
65211 if ac_fn_cxx_try_compile "$LINENO"; then :
65212 glibcxx_cv_func__log10l_use=yes
65213 else
65214 glibcxx_cv_func__log10l_use=no
65215 fi
65216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65217 ac_ext=c
65218 ac_cpp='$CPP $CPPFLAGS'
65219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65222
65223
65224 fi
65225
65226 fi
65227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65228 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65229
65230 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65231 for ac_func in _log10l
65232 do :
65233 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65234 if test "x$ac_cv_func__log10l" = x""yes; then :
65235 cat >>confdefs.h <<_ACEOF
65236 #define HAVE__LOG10L 1
65237 _ACEOF
65238
65239 fi
65240 done
65241
65242 fi
65243 fi
65244
65245
65246
65247
65248
65249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65250 $as_echo_n "checking for modfl declaration... " >&6; }
65251 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65252 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65253 $as_echo_n "(cached) " >&6
65254 else
65255
65256
65257 ac_ext=cpp
65258 ac_cpp='$CXXCPP $CPPFLAGS'
65259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65262
65263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65264 /* end confdefs.h. */
65265 #include <math.h>
65266 int
65267 main ()
65268 {
65269 modfl(0, 0);
65270 ;
65271 return 0;
65272 }
65273 _ACEOF
65274 if ac_fn_cxx_try_compile "$LINENO"; then :
65275 glibcxx_cv_func_modfl_use=yes
65276 else
65277 glibcxx_cv_func_modfl_use=no
65278 fi
65279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65280 ac_ext=c
65281 ac_cpp='$CPP $CPPFLAGS'
65282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65285
65286
65287 fi
65288
65289 fi
65290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65291 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65292
65293 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65294 for ac_func in modfl
65295 do :
65296 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65297 if test "x$ac_cv_func_modfl" = x""yes; then :
65298 cat >>confdefs.h <<_ACEOF
65299 #define HAVE_MODFL 1
65300 _ACEOF
65301
65302 fi
65303 done
65304
65305 else
65306
65307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65308 $as_echo_n "checking for _modfl declaration... " >&6; }
65309 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65310 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65311 $as_echo_n "(cached) " >&6
65312 else
65313
65314
65315 ac_ext=cpp
65316 ac_cpp='$CXXCPP $CPPFLAGS'
65317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65320
65321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65322 /* end confdefs.h. */
65323 #include <math.h>
65324 int
65325 main ()
65326 {
65327 _modfl(0, 0);
65328 ;
65329 return 0;
65330 }
65331 _ACEOF
65332 if ac_fn_cxx_try_compile "$LINENO"; then :
65333 glibcxx_cv_func__modfl_use=yes
65334 else
65335 glibcxx_cv_func__modfl_use=no
65336 fi
65337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65338 ac_ext=c
65339 ac_cpp='$CPP $CPPFLAGS'
65340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65343
65344
65345 fi
65346
65347 fi
65348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65349 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65350
65351 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65352 for ac_func in _modfl
65353 do :
65354 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65355 if test "x$ac_cv_func__modfl" = x""yes; then :
65356 cat >>confdefs.h <<_ACEOF
65357 #define HAVE__MODFL 1
65358 _ACEOF
65359
65360 fi
65361 done
65362
65363 fi
65364 fi
65365
65366
65367
65368
65369
65370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65371 $as_echo_n "checking for powl declaration... " >&6; }
65372 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65373 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65374 $as_echo_n "(cached) " >&6
65375 else
65376
65377
65378 ac_ext=cpp
65379 ac_cpp='$CXXCPP $CPPFLAGS'
65380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65383
65384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65385 /* end confdefs.h. */
65386 #include <math.h>
65387 int
65388 main ()
65389 {
65390 powl(0, 0);
65391 ;
65392 return 0;
65393 }
65394 _ACEOF
65395 if ac_fn_cxx_try_compile "$LINENO"; then :
65396 glibcxx_cv_func_powl_use=yes
65397 else
65398 glibcxx_cv_func_powl_use=no
65399 fi
65400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65401 ac_ext=c
65402 ac_cpp='$CPP $CPPFLAGS'
65403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65406
65407
65408 fi
65409
65410 fi
65411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65412 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65413
65414 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65415 for ac_func in powl
65416 do :
65417 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65418 if test "x$ac_cv_func_powl" = x""yes; then :
65419 cat >>confdefs.h <<_ACEOF
65420 #define HAVE_POWL 1
65421 _ACEOF
65422
65423 fi
65424 done
65425
65426 else
65427
65428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65429 $as_echo_n "checking for _powl declaration... " >&6; }
65430 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65431 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65432 $as_echo_n "(cached) " >&6
65433 else
65434
65435
65436 ac_ext=cpp
65437 ac_cpp='$CXXCPP $CPPFLAGS'
65438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65441
65442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65443 /* end confdefs.h. */
65444 #include <math.h>
65445 int
65446 main ()
65447 {
65448 _powl(0, 0);
65449 ;
65450 return 0;
65451 }
65452 _ACEOF
65453 if ac_fn_cxx_try_compile "$LINENO"; then :
65454 glibcxx_cv_func__powl_use=yes
65455 else
65456 glibcxx_cv_func__powl_use=no
65457 fi
65458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65459 ac_ext=c
65460 ac_cpp='$CPP $CPPFLAGS'
65461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65464
65465
65466 fi
65467
65468 fi
65469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65470 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65471
65472 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65473 for ac_func in _powl
65474 do :
65475 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65476 if test "x$ac_cv_func__powl" = x""yes; then :
65477 cat >>confdefs.h <<_ACEOF
65478 #define HAVE__POWL 1
65479 _ACEOF
65480
65481 fi
65482 done
65483
65484 fi
65485 fi
65486
65487
65488
65489
65490
65491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65492 $as_echo_n "checking for sqrtl declaration... " >&6; }
65493 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65494 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65495 $as_echo_n "(cached) " >&6
65496 else
65497
65498
65499 ac_ext=cpp
65500 ac_cpp='$CXXCPP $CPPFLAGS'
65501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65504
65505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65506 /* end confdefs.h. */
65507 #include <math.h>
65508 #ifdef HAVE_IEEEFP_H
65509 #include <ieeefp.h>
65510 #endif
65511
65512 int
65513 main ()
65514 {
65515 sqrtl(0);
65516 ;
65517 return 0;
65518 }
65519 _ACEOF
65520 if ac_fn_cxx_try_compile "$LINENO"; then :
65521 glibcxx_cv_func_sqrtl_use=yes
65522 else
65523 glibcxx_cv_func_sqrtl_use=no
65524 fi
65525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65526 ac_ext=c
65527 ac_cpp='$CPP $CPPFLAGS'
65528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65531
65532
65533 fi
65534
65535 fi
65536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65537 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65538
65539 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65540 for ac_func in sqrtl
65541 do :
65542 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65543 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65544 cat >>confdefs.h <<_ACEOF
65545 #define HAVE_SQRTL 1
65546 _ACEOF
65547
65548 fi
65549 done
65550
65551 else
65552
65553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65554 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65555 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65556 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65557 $as_echo_n "(cached) " >&6
65558 else
65559
65560
65561 ac_ext=cpp
65562 ac_cpp='$CXXCPP $CPPFLAGS'
65563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65566
65567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65568 /* end confdefs.h. */
65569 #include <math.h>
65570 #ifdef HAVE_IEEEFP_H
65571 #include <ieeefp.h>
65572 #endif
65573
65574 int
65575 main ()
65576 {
65577 _sqrtl(0);
65578 ;
65579 return 0;
65580 }
65581 _ACEOF
65582 if ac_fn_cxx_try_compile "$LINENO"; then :
65583 glibcxx_cv_func__sqrtl_use=yes
65584 else
65585 glibcxx_cv_func__sqrtl_use=no
65586 fi
65587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65588 ac_ext=c
65589 ac_cpp='$CPP $CPPFLAGS'
65590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65593
65594
65595 fi
65596
65597 fi
65598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65599 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65600
65601 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65602 for ac_func in _sqrtl
65603 do :
65604 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65605 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65606 cat >>confdefs.h <<_ACEOF
65607 #define HAVE__SQRTL 1
65608 _ACEOF
65609
65610 fi
65611 done
65612
65613 fi
65614 fi
65615
65616
65617
65618
65619
65620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65621 $as_echo_n "checking for sincosl declaration... " >&6; }
65622 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65623 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65624 $as_echo_n "(cached) " >&6
65625 else
65626
65627
65628 ac_ext=cpp
65629 ac_cpp='$CXXCPP $CPPFLAGS'
65630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65633
65634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65635 /* end confdefs.h. */
65636 #include <math.h>
65637 int
65638 main ()
65639 {
65640 sincosl(0, 0, 0);
65641 ;
65642 return 0;
65643 }
65644 _ACEOF
65645 if ac_fn_cxx_try_compile "$LINENO"; then :
65646 glibcxx_cv_func_sincosl_use=yes
65647 else
65648 glibcxx_cv_func_sincosl_use=no
65649 fi
65650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65651 ac_ext=c
65652 ac_cpp='$CPP $CPPFLAGS'
65653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65656
65657
65658 fi
65659
65660 fi
65661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65662 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65663
65664 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65665 for ac_func in sincosl
65666 do :
65667 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65668 if test "x$ac_cv_func_sincosl" = x""yes; then :
65669 cat >>confdefs.h <<_ACEOF
65670 #define HAVE_SINCOSL 1
65671 _ACEOF
65672
65673 fi
65674 done
65675
65676 else
65677
65678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65679 $as_echo_n "checking for _sincosl declaration... " >&6; }
65680 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65681 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65682 $as_echo_n "(cached) " >&6
65683 else
65684
65685
65686 ac_ext=cpp
65687 ac_cpp='$CXXCPP $CPPFLAGS'
65688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65691
65692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65693 /* end confdefs.h. */
65694 #include <math.h>
65695 int
65696 main ()
65697 {
65698 _sincosl(0, 0, 0);
65699 ;
65700 return 0;
65701 }
65702 _ACEOF
65703 if ac_fn_cxx_try_compile "$LINENO"; then :
65704 glibcxx_cv_func__sincosl_use=yes
65705 else
65706 glibcxx_cv_func__sincosl_use=no
65707 fi
65708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65709 ac_ext=c
65710 ac_cpp='$CPP $CPPFLAGS'
65711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65714
65715
65716 fi
65717
65718 fi
65719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65720 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65721
65722 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65723 for ac_func in _sincosl
65724 do :
65725 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65726 if test "x$ac_cv_func__sincosl" = x""yes; then :
65727 cat >>confdefs.h <<_ACEOF
65728 #define HAVE__SINCOSL 1
65729 _ACEOF
65730
65731 fi
65732 done
65733
65734 fi
65735 fi
65736
65737
65738
65739
65740
65741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65742 $as_echo_n "checking for finitel declaration... " >&6; }
65743 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65744 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65745 $as_echo_n "(cached) " >&6
65746 else
65747
65748
65749 ac_ext=cpp
65750 ac_cpp='$CXXCPP $CPPFLAGS'
65751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65754
65755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65756 /* end confdefs.h. */
65757 #include <math.h>
65758 #ifdef HAVE_IEEEFP_H
65759 #include <ieeefp.h>
65760 #endif
65761
65762 int
65763 main ()
65764 {
65765 finitel(0);
65766 ;
65767 return 0;
65768 }
65769 _ACEOF
65770 if ac_fn_cxx_try_compile "$LINENO"; then :
65771 glibcxx_cv_func_finitel_use=yes
65772 else
65773 glibcxx_cv_func_finitel_use=no
65774 fi
65775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65776 ac_ext=c
65777 ac_cpp='$CPP $CPPFLAGS'
65778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65781
65782
65783 fi
65784
65785 fi
65786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65787 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65788
65789 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65790 for ac_func in finitel
65791 do :
65792 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65793 if test "x$ac_cv_func_finitel" = x""yes; then :
65794 cat >>confdefs.h <<_ACEOF
65795 #define HAVE_FINITEL 1
65796 _ACEOF
65797
65798 fi
65799 done
65800
65801 else
65802
65803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65804 $as_echo_n "checking for _finitel declaration... " >&6; }
65805 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65806 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65807 $as_echo_n "(cached) " >&6
65808 else
65809
65810
65811 ac_ext=cpp
65812 ac_cpp='$CXXCPP $CPPFLAGS'
65813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65816
65817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65818 /* end confdefs.h. */
65819 #include <math.h>
65820 #ifdef HAVE_IEEEFP_H
65821 #include <ieeefp.h>
65822 #endif
65823
65824 int
65825 main ()
65826 {
65827 _finitel(0);
65828 ;
65829 return 0;
65830 }
65831 _ACEOF
65832 if ac_fn_cxx_try_compile "$LINENO"; then :
65833 glibcxx_cv_func__finitel_use=yes
65834 else
65835 glibcxx_cv_func__finitel_use=no
65836 fi
65837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65838 ac_ext=c
65839 ac_cpp='$CPP $CPPFLAGS'
65840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65843
65844
65845 fi
65846
65847 fi
65848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65849 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65850
65851 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65852 for ac_func in _finitel
65853 do :
65854 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65855 if test "x$ac_cv_func__finitel" = x""yes; then :
65856 cat >>confdefs.h <<_ACEOF
65857 #define HAVE__FINITEL 1
65858 _ACEOF
65859
65860 fi
65861 done
65862
65863 fi
65864 fi
65865
65866
65867
65868
65869 LIBS="$ac_save_LIBS"
65870 CXXFLAGS="$ac_save_CXXFLAGS"
65871
65872
65873 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65874 ac_save_CXXFLAGS="$CXXFLAGS"
65875 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65876
65877
65878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65879 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65880 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65881 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65882 $as_echo_n "(cached) " >&6
65883 else
65884
65885
65886 ac_ext=cpp
65887 ac_cpp='$CXXCPP $CPPFLAGS'
65888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65891
65892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65893 /* end confdefs.h. */
65894 #include <stdlib.h>
65895 int
65896 main ()
65897 {
65898 at_quick_exit(0);
65899 ;
65900 return 0;
65901 }
65902 _ACEOF
65903 if ac_fn_cxx_try_compile "$LINENO"; then :
65904 glibcxx_cv_func_at_quick_exit_use=yes
65905 else
65906 glibcxx_cv_func_at_quick_exit_use=no
65907 fi
65908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65909 ac_ext=c
65910 ac_cpp='$CPP $CPPFLAGS'
65911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65914
65915
65916 fi
65917
65918 fi
65919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65920 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65921 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65922 for ac_func in at_quick_exit
65923 do :
65924 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65925 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65926 cat >>confdefs.h <<_ACEOF
65927 #define HAVE_AT_QUICK_EXIT 1
65928 _ACEOF
65929
65930 fi
65931 done
65932
65933 fi
65934
65935
65936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65937 $as_echo_n "checking for quick_exit declaration... " >&6; }
65938 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65939 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65940 $as_echo_n "(cached) " >&6
65941 else
65942
65943
65944 ac_ext=cpp
65945 ac_cpp='$CXXCPP $CPPFLAGS'
65946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65949
65950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65951 /* end confdefs.h. */
65952 #include <stdlib.h>
65953 int
65954 main ()
65955 {
65956 quick_exit(0);
65957 ;
65958 return 0;
65959 }
65960 _ACEOF
65961 if ac_fn_cxx_try_compile "$LINENO"; then :
65962 glibcxx_cv_func_quick_exit_use=yes
65963 else
65964 glibcxx_cv_func_quick_exit_use=no
65965 fi
65966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65967 ac_ext=c
65968 ac_cpp='$CPP $CPPFLAGS'
65969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65972
65973
65974 fi
65975
65976 fi
65977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65978 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65979 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65980 for ac_func in quick_exit
65981 do :
65982 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65983 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65984 cat >>confdefs.h <<_ACEOF
65985 #define HAVE_QUICK_EXIT 1
65986 _ACEOF
65987
65988 fi
65989 done
65990
65991 fi
65992
65993
65994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65995 $as_echo_n "checking for strtold declaration... " >&6; }
65996 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65997 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65998 $as_echo_n "(cached) " >&6
65999 else
66000
66001
66002 ac_ext=cpp
66003 ac_cpp='$CXXCPP $CPPFLAGS'
66004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66007
66008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66009 /* end confdefs.h. */
66010 #include <stdlib.h>
66011 int
66012 main ()
66013 {
66014 strtold(0, 0);
66015 ;
66016 return 0;
66017 }
66018 _ACEOF
66019 if ac_fn_cxx_try_compile "$LINENO"; then :
66020 glibcxx_cv_func_strtold_use=yes
66021 else
66022 glibcxx_cv_func_strtold_use=no
66023 fi
66024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66025 ac_ext=c
66026 ac_cpp='$CPP $CPPFLAGS'
66027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66030
66031
66032 fi
66033
66034 fi
66035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66036 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66037 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66038 for ac_func in strtold
66039 do :
66040 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66041 if test "x$ac_cv_func_strtold" = x""yes; then :
66042 cat >>confdefs.h <<_ACEOF
66043 #define HAVE_STRTOLD 1
66044 _ACEOF
66045
66046 fi
66047 done
66048
66049 fi
66050
66051
66052
66053
66054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66055 $as_echo_n "checking for strtof declaration... " >&6; }
66056 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66057 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66058 $as_echo_n "(cached) " >&6
66059 else
66060
66061
66062 ac_ext=cpp
66063 ac_cpp='$CXXCPP $CPPFLAGS'
66064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66067
66068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66069 /* end confdefs.h. */
66070 #include <stdlib.h>
66071 int
66072 main ()
66073 {
66074 strtof(0, 0);
66075 ;
66076 return 0;
66077 }
66078 _ACEOF
66079 if ac_fn_cxx_try_compile "$LINENO"; then :
66080 glibcxx_cv_func_strtof_use=yes
66081 else
66082 glibcxx_cv_func_strtof_use=no
66083 fi
66084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66085 ac_ext=c
66086 ac_cpp='$CPP $CPPFLAGS'
66087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66090
66091
66092 fi
66093
66094 fi
66095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66096 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66097 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66098 for ac_func in strtof
66099 do :
66100 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66101 if test "x$ac_cv_func_strtof" = x""yes; then :
66102 cat >>confdefs.h <<_ACEOF
66103 #define HAVE_STRTOF 1
66104 _ACEOF
66105
66106 fi
66107 done
66108
66109 fi
66110
66111
66112
66113
66114 CXXFLAGS="$ac_save_CXXFLAGS"
66115
66116 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66117 do :
66118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66120 eval as_val=\$$as_ac_var
66121 if test "x$as_val" = x""yes; then :
66122 cat >>confdefs.h <<_ACEOF
66123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66124 _ACEOF
66125
66126 fi
66127 done
66128
66129 ;;
66130 *-netbsd*)
66131 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66132
66133
66134 # If we're not using GNU ld, then there's no point in even trying these
66135 # tests. Check for that first. We should have already tested for gld
66136 # by now (in libtool), but require it now just to be safe...
66137 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66138 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66139
66140
66141
66142 # The name set by libtool depends on the version of libtool. Shame on us
66143 # for depending on an impl detail, but c'est la vie. Older versions used
66144 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66145 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66146 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66147 # set (hence we're using an older libtool), then set it.
66148 if test x${with_gnu_ld+set} != xset; then
66149 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66150 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66151 with_gnu_ld=no
66152 else
66153 with_gnu_ld=$ac_cv_prog_gnu_ld
66154 fi
66155 fi
66156
66157 # Start by getting the version number. I think the libtool test already
66158 # does some of this, but throws away the result.
66159 glibcxx_ld_is_gold=no
66160 if test x"$with_gnu_ld" = x"yes"; then
66161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66162 $as_echo_n "checking for ld version... " >&6; }
66163
66164 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66165 glibcxx_ld_is_gold=yes
66166 fi
66167 ldver=`$LD --version 2>/dev/null |
66168 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'`
66169
66170 glibcxx_gnu_ld_version=`echo $ldver | \
66171 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66173 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66174 fi
66175
66176 # Set --gc-sections.
66177 glibcxx_have_gc_sections=no
66178 if test "$glibcxx_ld_is_gold" = "yes"; then
66179 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66180 glibcxx_have_gc_sections=yes
66181 fi
66182 else
66183 glibcxx_gcsections_min_ld=21602
66184 if test x"$with_gnu_ld" = x"yes" &&
66185 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66186 glibcxx_have_gc_sections=yes
66187 fi
66188 fi
66189 if test "$glibcxx_have_gc_sections" = "yes"; then
66190 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66191 # NB: This flag only works reliably after 2.16.1. Configure tests
66192 # for this are difficult, so hard wire a value that should work.
66193
66194 ac_test_CFLAGS="${CFLAGS+set}"
66195 ac_save_CFLAGS="$CFLAGS"
66196 CFLAGS='-Wl,--gc-sections'
66197
66198 # Check for -Wl,--gc-sections
66199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66200 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66201 if test x$gcc_no_link = xyes; then
66202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66203 fi
66204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66205 /* end confdefs.h. */
66206 int one(void) { return 1; }
66207 int two(void) { return 2; }
66208
66209 int
66210 main ()
66211 {
66212 two();
66213 ;
66214 return 0;
66215 }
66216 _ACEOF
66217 if ac_fn_c_try_link "$LINENO"; then :
66218 ac_gcsections=yes
66219 else
66220 ac_gcsections=no
66221 fi
66222 rm -f core conftest.err conftest.$ac_objext \
66223 conftest$ac_exeext conftest.$ac_ext
66224 if test "$ac_gcsections" = "yes"; then
66225 rm -f conftest.c
66226 touch conftest.c
66227 if $CC -c conftest.c; then
66228 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66229 grep "Warning: gc-sections option ignored" > /dev/null; then
66230 ac_gcsections=no
66231 fi
66232 fi
66233 rm -f conftest.c conftest.o conftest
66234 fi
66235 if test "$ac_gcsections" = "yes"; then
66236 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66237 fi
66238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66239 $as_echo "$ac_gcsections" >&6; }
66240
66241 if test "$ac_test_CFLAGS" = set; then
66242 CFLAGS="$ac_save_CFLAGS"
66243 else
66244 # this is the suspicious part
66245 CFLAGS=''
66246 fi
66247 fi
66248
66249 # Set -z,relro.
66250 # Note this is only for shared objects.
66251 ac_ld_relro=no
66252 if test x"$with_gnu_ld" = x"yes"; then
66253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66254 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66255 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66256 if test -n "$cxx_z_relo"; then
66257 OPT_LDFLAGS="-Wl,-z,relro"
66258 ac_ld_relro=yes
66259 fi
66260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66261 $as_echo "$ac_ld_relro" >&6; }
66262 fi
66263
66264 # Set linker optimization flags.
66265 if test x"$with_gnu_ld" = x"yes"; then
66266 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66267 fi
66268
66269
66270
66271
66272 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66273
66274 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66275
66276 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66277
66278 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66279
66280 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66281
66282 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66283
66284 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66285
66286 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66287
66288 if test x"long_double_math_on_this_cpu" = x"yes"; then
66289 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66290
66291 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66292
66293 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66294
66295 fi
66296 ;;
66297 *-qnx6.1* | *-qnx6.2*)
66298 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66299
66300
66301 # If we're not using GNU ld, then there's no point in even trying these
66302 # tests. Check for that first. We should have already tested for gld
66303 # by now (in libtool), but require it now just to be safe...
66304 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66305 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66306
66307
66308
66309 # The name set by libtool depends on the version of libtool. Shame on us
66310 # for depending on an impl detail, but c'est la vie. Older versions used
66311 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66312 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66313 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66314 # set (hence we're using an older libtool), then set it.
66315 if test x${with_gnu_ld+set} != xset; then
66316 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66317 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66318 with_gnu_ld=no
66319 else
66320 with_gnu_ld=$ac_cv_prog_gnu_ld
66321 fi
66322 fi
66323
66324 # Start by getting the version number. I think the libtool test already
66325 # does some of this, but throws away the result.
66326 glibcxx_ld_is_gold=no
66327 if test x"$with_gnu_ld" = x"yes"; then
66328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66329 $as_echo_n "checking for ld version... " >&6; }
66330
66331 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66332 glibcxx_ld_is_gold=yes
66333 fi
66334 ldver=`$LD --version 2>/dev/null |
66335 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'`
66336
66337 glibcxx_gnu_ld_version=`echo $ldver | \
66338 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66340 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66341 fi
66342
66343 # Set --gc-sections.
66344 glibcxx_have_gc_sections=no
66345 if test "$glibcxx_ld_is_gold" = "yes"; then
66346 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66347 glibcxx_have_gc_sections=yes
66348 fi
66349 else
66350 glibcxx_gcsections_min_ld=21602
66351 if test x"$with_gnu_ld" = x"yes" &&
66352 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66353 glibcxx_have_gc_sections=yes
66354 fi
66355 fi
66356 if test "$glibcxx_have_gc_sections" = "yes"; then
66357 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66358 # NB: This flag only works reliably after 2.16.1. Configure tests
66359 # for this are difficult, so hard wire a value that should work.
66360
66361 ac_test_CFLAGS="${CFLAGS+set}"
66362 ac_save_CFLAGS="$CFLAGS"
66363 CFLAGS='-Wl,--gc-sections'
66364
66365 # Check for -Wl,--gc-sections
66366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66367 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66368 if test x$gcc_no_link = xyes; then
66369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66370 fi
66371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66372 /* end confdefs.h. */
66373 int one(void) { return 1; }
66374 int two(void) { return 2; }
66375
66376 int
66377 main ()
66378 {
66379 two();
66380 ;
66381 return 0;
66382 }
66383 _ACEOF
66384 if ac_fn_c_try_link "$LINENO"; then :
66385 ac_gcsections=yes
66386 else
66387 ac_gcsections=no
66388 fi
66389 rm -f core conftest.err conftest.$ac_objext \
66390 conftest$ac_exeext conftest.$ac_ext
66391 if test "$ac_gcsections" = "yes"; then
66392 rm -f conftest.c
66393 touch conftest.c
66394 if $CC -c conftest.c; then
66395 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66396 grep "Warning: gc-sections option ignored" > /dev/null; then
66397 ac_gcsections=no
66398 fi
66399 fi
66400 rm -f conftest.c conftest.o conftest
66401 fi
66402 if test "$ac_gcsections" = "yes"; then
66403 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66404 fi
66405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66406 $as_echo "$ac_gcsections" >&6; }
66407
66408 if test "$ac_test_CFLAGS" = set; then
66409 CFLAGS="$ac_save_CFLAGS"
66410 else
66411 # this is the suspicious part
66412 CFLAGS=''
66413 fi
66414 fi
66415
66416 # Set -z,relro.
66417 # Note this is only for shared objects.
66418 ac_ld_relro=no
66419 if test x"$with_gnu_ld" = x"yes"; then
66420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66421 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66422 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66423 if test -n "$cxx_z_relo"; then
66424 OPT_LDFLAGS="-Wl,-z,relro"
66425 ac_ld_relro=yes
66426 fi
66427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66428 $as_echo "$ac_ld_relro" >&6; }
66429 fi
66430
66431 # Set linker optimization flags.
66432 if test x"$with_gnu_ld" = x"yes"; then
66433 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66434 fi
66435
66436
66437
66438
66439 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66440
66441 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66442
66443 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66444
66445 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66446
66447 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66448
66449 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66450
66451 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66452
66453 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66454
66455 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66456
66457 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66458
66459 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66460
66461 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66462
66463 ;;
66464 *-rtems*)
66465
66466 # All these tests are for C++; save the language and the compiler flags.
66467 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66468 # found in GLIBCXX_CONFIGURE.
66469
66470 ac_ext=cpp
66471 ac_cpp='$CXXCPP $CPPFLAGS'
66472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66475
66476 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66477 ac_save_CXXFLAGS="$CXXFLAGS"
66478
66479 # Check for maintainer-mode bits.
66480 if test x"$USE_MAINTAINER_MODE" = xno; then
66481 WERROR=''
66482 else
66483 WERROR='-Werror'
66484 fi
66485
66486 # Check for -ffunction-sections -fdata-sections
66487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66488 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66489 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66491 /* end confdefs.h. */
66492 int foo; void bar() { };
66493 int
66494 main ()
66495 {
66496
66497 ;
66498 return 0;
66499 }
66500 _ACEOF
66501 if ac_fn_cxx_try_compile "$LINENO"; then :
66502 ac_fdsections=yes
66503 else
66504 ac_fdsections=no
66505 fi
66506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66507 if test "$ac_test_CXXFLAGS" = set; then
66508 CXXFLAGS="$ac_save_CXXFLAGS"
66509 else
66510 # this is the suspicious part
66511 CXXFLAGS=''
66512 fi
66513 if test x"$ac_fdsections" = x"yes"; then
66514 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66515 fi
66516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66517 $as_echo "$ac_fdsections" >&6; }
66518
66519 ac_ext=c
66520 ac_cpp='$CPP $CPPFLAGS'
66521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66524
66525
66526
66527
66528
66529 # If we're not using GNU ld, then there's no point in even trying these
66530 # tests. Check for that first. We should have already tested for gld
66531 # by now (in libtool), but require it now just to be safe...
66532 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66533 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66534
66535
66536
66537 # The name set by libtool depends on the version of libtool. Shame on us
66538 # for depending on an impl detail, but c'est la vie. Older versions used
66539 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66540 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66541 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66542 # set (hence we're using an older libtool), then set it.
66543 if test x${with_gnu_ld+set} != xset; then
66544 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66545 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66546 with_gnu_ld=no
66547 else
66548 with_gnu_ld=$ac_cv_prog_gnu_ld
66549 fi
66550 fi
66551
66552 # Start by getting the version number. I think the libtool test already
66553 # does some of this, but throws away the result.
66554 glibcxx_ld_is_gold=no
66555 if test x"$with_gnu_ld" = x"yes"; then
66556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66557 $as_echo_n "checking for ld version... " >&6; }
66558
66559 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66560 glibcxx_ld_is_gold=yes
66561 fi
66562 ldver=`$LD --version 2>/dev/null |
66563 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'`
66564
66565 glibcxx_gnu_ld_version=`echo $ldver | \
66566 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66568 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66569 fi
66570
66571 # Set --gc-sections.
66572 glibcxx_have_gc_sections=no
66573 if test "$glibcxx_ld_is_gold" = "yes"; then
66574 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66575 glibcxx_have_gc_sections=yes
66576 fi
66577 else
66578 glibcxx_gcsections_min_ld=21602
66579 if test x"$with_gnu_ld" = x"yes" &&
66580 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66581 glibcxx_have_gc_sections=yes
66582 fi
66583 fi
66584 if test "$glibcxx_have_gc_sections" = "yes"; then
66585 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66586 # NB: This flag only works reliably after 2.16.1. Configure tests
66587 # for this are difficult, so hard wire a value that should work.
66588
66589 ac_test_CFLAGS="${CFLAGS+set}"
66590 ac_save_CFLAGS="$CFLAGS"
66591 CFLAGS='-Wl,--gc-sections'
66592
66593 # Check for -Wl,--gc-sections
66594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66595 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66596 if test x$gcc_no_link = xyes; then
66597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66598 fi
66599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66600 /* end confdefs.h. */
66601 int one(void) { return 1; }
66602 int two(void) { return 2; }
66603
66604 int
66605 main ()
66606 {
66607 two();
66608 ;
66609 return 0;
66610 }
66611 _ACEOF
66612 if ac_fn_c_try_link "$LINENO"; then :
66613 ac_gcsections=yes
66614 else
66615 ac_gcsections=no
66616 fi
66617 rm -f core conftest.err conftest.$ac_objext \
66618 conftest$ac_exeext conftest.$ac_ext
66619 if test "$ac_gcsections" = "yes"; then
66620 rm -f conftest.c
66621 touch conftest.c
66622 if $CC -c conftest.c; then
66623 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66624 grep "Warning: gc-sections option ignored" > /dev/null; then
66625 ac_gcsections=no
66626 fi
66627 fi
66628 rm -f conftest.c conftest.o conftest
66629 fi
66630 if test "$ac_gcsections" = "yes"; then
66631 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66632 fi
66633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66634 $as_echo "$ac_gcsections" >&6; }
66635
66636 if test "$ac_test_CFLAGS" = set; then
66637 CFLAGS="$ac_save_CFLAGS"
66638 else
66639 # this is the suspicious part
66640 CFLAGS=''
66641 fi
66642 fi
66643
66644 # Set -z,relro.
66645 # Note this is only for shared objects.
66646 ac_ld_relro=no
66647 if test x"$with_gnu_ld" = x"yes"; then
66648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66649 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66650 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66651 if test -n "$cxx_z_relo"; then
66652 OPT_LDFLAGS="-Wl,-z,relro"
66653 ac_ld_relro=yes
66654 fi
66655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66656 $as_echo "$ac_ld_relro" >&6; }
66657 fi
66658
66659 # Set linker optimization flags.
66660 if test x"$with_gnu_ld" = x"yes"; then
66661 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66662 fi
66663
66664
66665
66666
66667
66668 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66669 ac_save_CXXFLAGS="$CXXFLAGS"
66670 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66671
66672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66673 $as_echo_n "checking for sin in -lm... " >&6; }
66674 if test "${ac_cv_lib_m_sin+set}" = set; then :
66675 $as_echo_n "(cached) " >&6
66676 else
66677 ac_check_lib_save_LIBS=$LIBS
66678 LIBS="-lm $LIBS"
66679 if test x$gcc_no_link = xyes; then
66680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66681 fi
66682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66683 /* end confdefs.h. */
66684
66685 /* Override any GCC internal prototype to avoid an error.
66686 Use char because int might match the return type of a GCC
66687 builtin and then its argument prototype would still apply. */
66688 #ifdef __cplusplus
66689 extern "C"
66690 #endif
66691 char sin ();
66692 int
66693 main ()
66694 {
66695 return sin ();
66696 ;
66697 return 0;
66698 }
66699 _ACEOF
66700 if ac_fn_c_try_link "$LINENO"; then :
66701 ac_cv_lib_m_sin=yes
66702 else
66703 ac_cv_lib_m_sin=no
66704 fi
66705 rm -f core conftest.err conftest.$ac_objext \
66706 conftest$ac_exeext conftest.$ac_ext
66707 LIBS=$ac_check_lib_save_LIBS
66708 fi
66709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66710 $as_echo "$ac_cv_lib_m_sin" >&6; }
66711 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66712 libm="-lm"
66713 fi
66714
66715 ac_save_LIBS="$LIBS"
66716 LIBS="$LIBS $libm"
66717
66718
66719
66720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66721 $as_echo_n "checking for isinf declaration... " >&6; }
66722 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66723 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66724 $as_echo_n "(cached) " >&6
66725 else
66726
66727
66728 ac_ext=cpp
66729 ac_cpp='$CXXCPP $CPPFLAGS'
66730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66733
66734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66735 /* end confdefs.h. */
66736 #include <math.h>
66737 #ifdef HAVE_IEEEFP_H
66738 #include <ieeefp.h>
66739 #endif
66740
66741 int
66742 main ()
66743 {
66744 isinf(0);
66745 ;
66746 return 0;
66747 }
66748 _ACEOF
66749 if ac_fn_cxx_try_compile "$LINENO"; then :
66750 glibcxx_cv_func_isinf_use=yes
66751 else
66752 glibcxx_cv_func_isinf_use=no
66753 fi
66754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66755 ac_ext=c
66756 ac_cpp='$CPP $CPPFLAGS'
66757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66760
66761
66762 fi
66763
66764 fi
66765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66766 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66767
66768 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66769 for ac_func in isinf
66770 do :
66771 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66772 if test "x$ac_cv_func_isinf" = x""yes; then :
66773 cat >>confdefs.h <<_ACEOF
66774 #define HAVE_ISINF 1
66775 _ACEOF
66776
66777 fi
66778 done
66779
66780 else
66781
66782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66783 $as_echo_n "checking for _isinf declaration... " >&6; }
66784 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66785 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66786 $as_echo_n "(cached) " >&6
66787 else
66788
66789
66790 ac_ext=cpp
66791 ac_cpp='$CXXCPP $CPPFLAGS'
66792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66795
66796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66797 /* end confdefs.h. */
66798 #include <math.h>
66799 #ifdef HAVE_IEEEFP_H
66800 #include <ieeefp.h>
66801 #endif
66802
66803 int
66804 main ()
66805 {
66806 _isinf(0);
66807 ;
66808 return 0;
66809 }
66810 _ACEOF
66811 if ac_fn_cxx_try_compile "$LINENO"; then :
66812 glibcxx_cv_func__isinf_use=yes
66813 else
66814 glibcxx_cv_func__isinf_use=no
66815 fi
66816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66817 ac_ext=c
66818 ac_cpp='$CPP $CPPFLAGS'
66819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66822
66823
66824 fi
66825
66826 fi
66827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66828 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66829
66830 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66831 for ac_func in _isinf
66832 do :
66833 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66834 if test "x$ac_cv_func__isinf" = x""yes; then :
66835 cat >>confdefs.h <<_ACEOF
66836 #define HAVE__ISINF 1
66837 _ACEOF
66838
66839 fi
66840 done
66841
66842 fi
66843 fi
66844
66845
66846
66847
66848
66849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66850 $as_echo_n "checking for isnan declaration... " >&6; }
66851 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66852 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66853 $as_echo_n "(cached) " >&6
66854 else
66855
66856
66857 ac_ext=cpp
66858 ac_cpp='$CXXCPP $CPPFLAGS'
66859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66862
66863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66864 /* end confdefs.h. */
66865 #include <math.h>
66866 #ifdef HAVE_IEEEFP_H
66867 #include <ieeefp.h>
66868 #endif
66869
66870 int
66871 main ()
66872 {
66873 isnan(0);
66874 ;
66875 return 0;
66876 }
66877 _ACEOF
66878 if ac_fn_cxx_try_compile "$LINENO"; then :
66879 glibcxx_cv_func_isnan_use=yes
66880 else
66881 glibcxx_cv_func_isnan_use=no
66882 fi
66883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66884 ac_ext=c
66885 ac_cpp='$CPP $CPPFLAGS'
66886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66889
66890
66891 fi
66892
66893 fi
66894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66895 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66896
66897 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66898 for ac_func in isnan
66899 do :
66900 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66901 if test "x$ac_cv_func_isnan" = x""yes; then :
66902 cat >>confdefs.h <<_ACEOF
66903 #define HAVE_ISNAN 1
66904 _ACEOF
66905
66906 fi
66907 done
66908
66909 else
66910
66911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66912 $as_echo_n "checking for _isnan declaration... " >&6; }
66913 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66914 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66915 $as_echo_n "(cached) " >&6
66916 else
66917
66918
66919 ac_ext=cpp
66920 ac_cpp='$CXXCPP $CPPFLAGS'
66921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66924
66925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66926 /* end confdefs.h. */
66927 #include <math.h>
66928 #ifdef HAVE_IEEEFP_H
66929 #include <ieeefp.h>
66930 #endif
66931
66932 int
66933 main ()
66934 {
66935 _isnan(0);
66936 ;
66937 return 0;
66938 }
66939 _ACEOF
66940 if ac_fn_cxx_try_compile "$LINENO"; then :
66941 glibcxx_cv_func__isnan_use=yes
66942 else
66943 glibcxx_cv_func__isnan_use=no
66944 fi
66945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66946 ac_ext=c
66947 ac_cpp='$CPP $CPPFLAGS'
66948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66951
66952
66953 fi
66954
66955 fi
66956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66957 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66958
66959 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66960 for ac_func in _isnan
66961 do :
66962 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66963 if test "x$ac_cv_func__isnan" = x""yes; then :
66964 cat >>confdefs.h <<_ACEOF
66965 #define HAVE__ISNAN 1
66966 _ACEOF
66967
66968 fi
66969 done
66970
66971 fi
66972 fi
66973
66974
66975
66976
66977
66978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66979 $as_echo_n "checking for finite declaration... " >&6; }
66980 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66981 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66982 $as_echo_n "(cached) " >&6
66983 else
66984
66985
66986 ac_ext=cpp
66987 ac_cpp='$CXXCPP $CPPFLAGS'
66988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66991
66992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66993 /* end confdefs.h. */
66994 #include <math.h>
66995 #ifdef HAVE_IEEEFP_H
66996 #include <ieeefp.h>
66997 #endif
66998
66999 int
67000 main ()
67001 {
67002 finite(0);
67003 ;
67004 return 0;
67005 }
67006 _ACEOF
67007 if ac_fn_cxx_try_compile "$LINENO"; then :
67008 glibcxx_cv_func_finite_use=yes
67009 else
67010 glibcxx_cv_func_finite_use=no
67011 fi
67012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67013 ac_ext=c
67014 ac_cpp='$CPP $CPPFLAGS'
67015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67018
67019
67020 fi
67021
67022 fi
67023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67024 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67025
67026 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67027 for ac_func in finite
67028 do :
67029 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67030 if test "x$ac_cv_func_finite" = x""yes; then :
67031 cat >>confdefs.h <<_ACEOF
67032 #define HAVE_FINITE 1
67033 _ACEOF
67034
67035 fi
67036 done
67037
67038 else
67039
67040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67041 $as_echo_n "checking for _finite declaration... " >&6; }
67042 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67043 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67044 $as_echo_n "(cached) " >&6
67045 else
67046
67047
67048 ac_ext=cpp
67049 ac_cpp='$CXXCPP $CPPFLAGS'
67050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67053
67054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67055 /* end confdefs.h. */
67056 #include <math.h>
67057 #ifdef HAVE_IEEEFP_H
67058 #include <ieeefp.h>
67059 #endif
67060
67061 int
67062 main ()
67063 {
67064 _finite(0);
67065 ;
67066 return 0;
67067 }
67068 _ACEOF
67069 if ac_fn_cxx_try_compile "$LINENO"; then :
67070 glibcxx_cv_func__finite_use=yes
67071 else
67072 glibcxx_cv_func__finite_use=no
67073 fi
67074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67075 ac_ext=c
67076 ac_cpp='$CPP $CPPFLAGS'
67077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67080
67081
67082 fi
67083
67084 fi
67085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67086 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67087
67088 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67089 for ac_func in _finite
67090 do :
67091 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67092 if test "x$ac_cv_func__finite" = x""yes; then :
67093 cat >>confdefs.h <<_ACEOF
67094 #define HAVE__FINITE 1
67095 _ACEOF
67096
67097 fi
67098 done
67099
67100 fi
67101 fi
67102
67103
67104
67105
67106
67107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67108 $as_echo_n "checking for sincos declaration... " >&6; }
67109 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67110 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67111 $as_echo_n "(cached) " >&6
67112 else
67113
67114
67115 ac_ext=cpp
67116 ac_cpp='$CXXCPP $CPPFLAGS'
67117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67120
67121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67122 /* end confdefs.h. */
67123 #include <math.h>
67124 int
67125 main ()
67126 {
67127 sincos(0, 0, 0);
67128 ;
67129 return 0;
67130 }
67131 _ACEOF
67132 if ac_fn_cxx_try_compile "$LINENO"; then :
67133 glibcxx_cv_func_sincos_use=yes
67134 else
67135 glibcxx_cv_func_sincos_use=no
67136 fi
67137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67138 ac_ext=c
67139 ac_cpp='$CPP $CPPFLAGS'
67140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67143
67144
67145 fi
67146
67147 fi
67148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67149 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67150
67151 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67152 for ac_func in sincos
67153 do :
67154 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67155 if test "x$ac_cv_func_sincos" = x""yes; then :
67156 cat >>confdefs.h <<_ACEOF
67157 #define HAVE_SINCOS 1
67158 _ACEOF
67159
67160 fi
67161 done
67162
67163 else
67164
67165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67166 $as_echo_n "checking for _sincos declaration... " >&6; }
67167 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67168 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67169 $as_echo_n "(cached) " >&6
67170 else
67171
67172
67173 ac_ext=cpp
67174 ac_cpp='$CXXCPP $CPPFLAGS'
67175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67178
67179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67180 /* end confdefs.h. */
67181 #include <math.h>
67182 int
67183 main ()
67184 {
67185 _sincos(0, 0, 0);
67186 ;
67187 return 0;
67188 }
67189 _ACEOF
67190 if ac_fn_cxx_try_compile "$LINENO"; then :
67191 glibcxx_cv_func__sincos_use=yes
67192 else
67193 glibcxx_cv_func__sincos_use=no
67194 fi
67195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67196 ac_ext=c
67197 ac_cpp='$CPP $CPPFLAGS'
67198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67201
67202
67203 fi
67204
67205 fi
67206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67207 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67208
67209 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67210 for ac_func in _sincos
67211 do :
67212 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67213 if test "x$ac_cv_func__sincos" = x""yes; then :
67214 cat >>confdefs.h <<_ACEOF
67215 #define HAVE__SINCOS 1
67216 _ACEOF
67217
67218 fi
67219 done
67220
67221 fi
67222 fi
67223
67224
67225
67226
67227
67228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67229 $as_echo_n "checking for fpclass declaration... " >&6; }
67230 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67231 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67232 $as_echo_n "(cached) " >&6
67233 else
67234
67235
67236 ac_ext=cpp
67237 ac_cpp='$CXXCPP $CPPFLAGS'
67238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67241
67242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67243 /* end confdefs.h. */
67244 #include <math.h>
67245 #ifdef HAVE_IEEEFP_H
67246 #include <ieeefp.h>
67247 #endif
67248
67249 int
67250 main ()
67251 {
67252 fpclass(0);
67253 ;
67254 return 0;
67255 }
67256 _ACEOF
67257 if ac_fn_cxx_try_compile "$LINENO"; then :
67258 glibcxx_cv_func_fpclass_use=yes
67259 else
67260 glibcxx_cv_func_fpclass_use=no
67261 fi
67262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67263 ac_ext=c
67264 ac_cpp='$CPP $CPPFLAGS'
67265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67268
67269
67270 fi
67271
67272 fi
67273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67274 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67275
67276 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67277 for ac_func in fpclass
67278 do :
67279 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67280 if test "x$ac_cv_func_fpclass" = x""yes; then :
67281 cat >>confdefs.h <<_ACEOF
67282 #define HAVE_FPCLASS 1
67283 _ACEOF
67284
67285 fi
67286 done
67287
67288 else
67289
67290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67291 $as_echo_n "checking for _fpclass declaration... " >&6; }
67292 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67293 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67294 $as_echo_n "(cached) " >&6
67295 else
67296
67297
67298 ac_ext=cpp
67299 ac_cpp='$CXXCPP $CPPFLAGS'
67300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67303
67304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67305 /* end confdefs.h. */
67306 #include <math.h>
67307 #ifdef HAVE_IEEEFP_H
67308 #include <ieeefp.h>
67309 #endif
67310
67311 int
67312 main ()
67313 {
67314 _fpclass(0);
67315 ;
67316 return 0;
67317 }
67318 _ACEOF
67319 if ac_fn_cxx_try_compile "$LINENO"; then :
67320 glibcxx_cv_func__fpclass_use=yes
67321 else
67322 glibcxx_cv_func__fpclass_use=no
67323 fi
67324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67325 ac_ext=c
67326 ac_cpp='$CPP $CPPFLAGS'
67327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67330
67331
67332 fi
67333
67334 fi
67335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67336 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67337
67338 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67339 for ac_func in _fpclass
67340 do :
67341 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67342 if test "x$ac_cv_func__fpclass" = x""yes; then :
67343 cat >>confdefs.h <<_ACEOF
67344 #define HAVE__FPCLASS 1
67345 _ACEOF
67346
67347 fi
67348 done
67349
67350 fi
67351 fi
67352
67353
67354
67355
67356
67357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67358 $as_echo_n "checking for qfpclass declaration... " >&6; }
67359 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67360 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67361 $as_echo_n "(cached) " >&6
67362 else
67363
67364
67365 ac_ext=cpp
67366 ac_cpp='$CXXCPP $CPPFLAGS'
67367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67370
67371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67372 /* end confdefs.h. */
67373 #include <math.h>
67374 #ifdef HAVE_IEEEFP_H
67375 #include <ieeefp.h>
67376 #endif
67377
67378 int
67379 main ()
67380 {
67381 qfpclass(0);
67382 ;
67383 return 0;
67384 }
67385 _ACEOF
67386 if ac_fn_cxx_try_compile "$LINENO"; then :
67387 glibcxx_cv_func_qfpclass_use=yes
67388 else
67389 glibcxx_cv_func_qfpclass_use=no
67390 fi
67391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67392 ac_ext=c
67393 ac_cpp='$CPP $CPPFLAGS'
67394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67397
67398
67399 fi
67400
67401 fi
67402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67403 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67404
67405 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67406 for ac_func in qfpclass
67407 do :
67408 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67409 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67410 cat >>confdefs.h <<_ACEOF
67411 #define HAVE_QFPCLASS 1
67412 _ACEOF
67413
67414 fi
67415 done
67416
67417 else
67418
67419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67420 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67421 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67422 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67423 $as_echo_n "(cached) " >&6
67424 else
67425
67426
67427 ac_ext=cpp
67428 ac_cpp='$CXXCPP $CPPFLAGS'
67429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67432
67433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67434 /* end confdefs.h. */
67435 #include <math.h>
67436 #ifdef HAVE_IEEEFP_H
67437 #include <ieeefp.h>
67438 #endif
67439
67440 int
67441 main ()
67442 {
67443 _qfpclass(0);
67444 ;
67445 return 0;
67446 }
67447 _ACEOF
67448 if ac_fn_cxx_try_compile "$LINENO"; then :
67449 glibcxx_cv_func__qfpclass_use=yes
67450 else
67451 glibcxx_cv_func__qfpclass_use=no
67452 fi
67453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67454 ac_ext=c
67455 ac_cpp='$CPP $CPPFLAGS'
67456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67459
67460
67461 fi
67462
67463 fi
67464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67465 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67466
67467 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67468 for ac_func in _qfpclass
67469 do :
67470 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67471 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67472 cat >>confdefs.h <<_ACEOF
67473 #define HAVE__QFPCLASS 1
67474 _ACEOF
67475
67476 fi
67477 done
67478
67479 fi
67480 fi
67481
67482
67483
67484
67485
67486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67487 $as_echo_n "checking for hypot declaration... " >&6; }
67488 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67489 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67490 $as_echo_n "(cached) " >&6
67491 else
67492
67493
67494 ac_ext=cpp
67495 ac_cpp='$CXXCPP $CPPFLAGS'
67496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67499
67500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67501 /* end confdefs.h. */
67502 #include <math.h>
67503 int
67504 main ()
67505 {
67506 hypot(0, 0);
67507 ;
67508 return 0;
67509 }
67510 _ACEOF
67511 if ac_fn_cxx_try_compile "$LINENO"; then :
67512 glibcxx_cv_func_hypot_use=yes
67513 else
67514 glibcxx_cv_func_hypot_use=no
67515 fi
67516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67517 ac_ext=c
67518 ac_cpp='$CPP $CPPFLAGS'
67519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67522
67523
67524 fi
67525
67526 fi
67527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67528 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67529
67530 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67531 for ac_func in hypot
67532 do :
67533 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67534 if test "x$ac_cv_func_hypot" = x""yes; then :
67535 cat >>confdefs.h <<_ACEOF
67536 #define HAVE_HYPOT 1
67537 _ACEOF
67538
67539 fi
67540 done
67541
67542 else
67543
67544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67545 $as_echo_n "checking for _hypot declaration... " >&6; }
67546 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67547 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67548 $as_echo_n "(cached) " >&6
67549 else
67550
67551
67552 ac_ext=cpp
67553 ac_cpp='$CXXCPP $CPPFLAGS'
67554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67557
67558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67559 /* end confdefs.h. */
67560 #include <math.h>
67561 int
67562 main ()
67563 {
67564 _hypot(0, 0);
67565 ;
67566 return 0;
67567 }
67568 _ACEOF
67569 if ac_fn_cxx_try_compile "$LINENO"; then :
67570 glibcxx_cv_func__hypot_use=yes
67571 else
67572 glibcxx_cv_func__hypot_use=no
67573 fi
67574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67575 ac_ext=c
67576 ac_cpp='$CPP $CPPFLAGS'
67577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67580
67581
67582 fi
67583
67584 fi
67585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67586 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67587
67588 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67589 for ac_func in _hypot
67590 do :
67591 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67592 if test "x$ac_cv_func__hypot" = x""yes; then :
67593 cat >>confdefs.h <<_ACEOF
67594 #define HAVE__HYPOT 1
67595 _ACEOF
67596
67597 fi
67598 done
67599
67600 fi
67601 fi
67602
67603
67604
67605
67606
67607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67608 $as_echo_n "checking for float trig functions... " >&6; }
67609 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67610 $as_echo_n "(cached) " >&6
67611 else
67612
67613
67614 ac_ext=cpp
67615 ac_cpp='$CXXCPP $CPPFLAGS'
67616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67619
67620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67621 /* end confdefs.h. */
67622 #include <math.h>
67623 int
67624 main ()
67625 {
67626 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67627 ;
67628 return 0;
67629 }
67630 _ACEOF
67631 if ac_fn_cxx_try_compile "$LINENO"; then :
67632 glibcxx_cv_func_float_trig_use=yes
67633 else
67634 glibcxx_cv_func_float_trig_use=no
67635 fi
67636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67637 ac_ext=c
67638 ac_cpp='$CPP $CPPFLAGS'
67639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67642
67643 fi
67644
67645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67646 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67647 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67648 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67649 do :
67650 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67651 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67652 eval as_val=\$$as_ac_var
67653 if test "x$as_val" = x""yes; then :
67654 cat >>confdefs.h <<_ACEOF
67655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67656 _ACEOF
67657
67658 fi
67659 done
67660
67661 else
67662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67663 $as_echo_n "checking for _float trig functions... " >&6; }
67664 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67665 $as_echo_n "(cached) " >&6
67666 else
67667
67668
67669 ac_ext=cpp
67670 ac_cpp='$CXXCPP $CPPFLAGS'
67671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67674
67675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67676 /* end confdefs.h. */
67677 #include <math.h>
67678 int
67679 main ()
67680 {
67681 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67682 ;
67683 return 0;
67684 }
67685 _ACEOF
67686 if ac_fn_cxx_try_compile "$LINENO"; then :
67687 glibcxx_cv_func__float_trig_use=yes
67688 else
67689 glibcxx_cv_func__float_trig_use=no
67690 fi
67691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67692 ac_ext=c
67693 ac_cpp='$CPP $CPPFLAGS'
67694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67697
67698 fi
67699
67700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67701 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67702 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67703 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67704 do :
67705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67707 eval as_val=\$$as_ac_var
67708 if test "x$as_val" = x""yes; then :
67709 cat >>confdefs.h <<_ACEOF
67710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67711 _ACEOF
67712
67713 fi
67714 done
67715
67716 fi
67717 fi
67718
67719
67720
67721
67722
67723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67724 $as_echo_n "checking for float round functions... " >&6; }
67725 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67726 $as_echo_n "(cached) " >&6
67727 else
67728
67729
67730 ac_ext=cpp
67731 ac_cpp='$CXXCPP $CPPFLAGS'
67732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67735
67736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67737 /* end confdefs.h. */
67738 #include <math.h>
67739 int
67740 main ()
67741 {
67742 ceilf (0); floorf (0);
67743 ;
67744 return 0;
67745 }
67746 _ACEOF
67747 if ac_fn_cxx_try_compile "$LINENO"; then :
67748 glibcxx_cv_func_float_round_use=yes
67749 else
67750 glibcxx_cv_func_float_round_use=no
67751 fi
67752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67753 ac_ext=c
67754 ac_cpp='$CPP $CPPFLAGS'
67755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67758
67759 fi
67760
67761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67762 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67763 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67764 for ac_func in ceilf floorf
67765 do :
67766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67768 eval as_val=\$$as_ac_var
67769 if test "x$as_val" = x""yes; then :
67770 cat >>confdefs.h <<_ACEOF
67771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67772 _ACEOF
67773
67774 fi
67775 done
67776
67777 else
67778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67779 $as_echo_n "checking for _float round functions... " >&6; }
67780 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67781 $as_echo_n "(cached) " >&6
67782 else
67783
67784
67785 ac_ext=cpp
67786 ac_cpp='$CXXCPP $CPPFLAGS'
67787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67790
67791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67792 /* end confdefs.h. */
67793 #include <math.h>
67794 int
67795 main ()
67796 {
67797 _ceilf (0); _floorf (0);
67798 ;
67799 return 0;
67800 }
67801 _ACEOF
67802 if ac_fn_cxx_try_compile "$LINENO"; then :
67803 glibcxx_cv_func__float_round_use=yes
67804 else
67805 glibcxx_cv_func__float_round_use=no
67806 fi
67807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67808 ac_ext=c
67809 ac_cpp='$CPP $CPPFLAGS'
67810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67813
67814 fi
67815
67816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67817 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67818 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67819 for ac_func in _ceilf _floorf
67820 do :
67821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67823 eval as_val=\$$as_ac_var
67824 if test "x$as_val" = x""yes; then :
67825 cat >>confdefs.h <<_ACEOF
67826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67827 _ACEOF
67828
67829 fi
67830 done
67831
67832 fi
67833 fi
67834
67835
67836
67837
67838
67839
67840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67841 $as_echo_n "checking for expf declaration... " >&6; }
67842 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67843 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67844 $as_echo_n "(cached) " >&6
67845 else
67846
67847
67848 ac_ext=cpp
67849 ac_cpp='$CXXCPP $CPPFLAGS'
67850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67853
67854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67855 /* end confdefs.h. */
67856 #include <math.h>
67857 #ifdef HAVE_IEEEFP_H
67858 #include <ieeefp.h>
67859 #endif
67860
67861 int
67862 main ()
67863 {
67864 expf(0);
67865 ;
67866 return 0;
67867 }
67868 _ACEOF
67869 if ac_fn_cxx_try_compile "$LINENO"; then :
67870 glibcxx_cv_func_expf_use=yes
67871 else
67872 glibcxx_cv_func_expf_use=no
67873 fi
67874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67875 ac_ext=c
67876 ac_cpp='$CPP $CPPFLAGS'
67877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67880
67881
67882 fi
67883
67884 fi
67885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67886 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67887
67888 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67889 for ac_func in expf
67890 do :
67891 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67892 if test "x$ac_cv_func_expf" = x""yes; then :
67893 cat >>confdefs.h <<_ACEOF
67894 #define HAVE_EXPF 1
67895 _ACEOF
67896
67897 fi
67898 done
67899
67900 else
67901
67902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67903 $as_echo_n "checking for _expf declaration... " >&6; }
67904 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67905 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67906 $as_echo_n "(cached) " >&6
67907 else
67908
67909
67910 ac_ext=cpp
67911 ac_cpp='$CXXCPP $CPPFLAGS'
67912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67915
67916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67917 /* end confdefs.h. */
67918 #include <math.h>
67919 #ifdef HAVE_IEEEFP_H
67920 #include <ieeefp.h>
67921 #endif
67922
67923 int
67924 main ()
67925 {
67926 _expf(0);
67927 ;
67928 return 0;
67929 }
67930 _ACEOF
67931 if ac_fn_cxx_try_compile "$LINENO"; then :
67932 glibcxx_cv_func__expf_use=yes
67933 else
67934 glibcxx_cv_func__expf_use=no
67935 fi
67936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67937 ac_ext=c
67938 ac_cpp='$CPP $CPPFLAGS'
67939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67942
67943
67944 fi
67945
67946 fi
67947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67948 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67949
67950 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67951 for ac_func in _expf
67952 do :
67953 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67954 if test "x$ac_cv_func__expf" = x""yes; then :
67955 cat >>confdefs.h <<_ACEOF
67956 #define HAVE__EXPF 1
67957 _ACEOF
67958
67959 fi
67960 done
67961
67962 fi
67963 fi
67964
67965
67966
67967
67968
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67970 $as_echo_n "checking for isnanf declaration... " >&6; }
67971 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67972 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67973 $as_echo_n "(cached) " >&6
67974 else
67975
67976
67977 ac_ext=cpp
67978 ac_cpp='$CXXCPP $CPPFLAGS'
67979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67982
67983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67984 /* end confdefs.h. */
67985 #include <math.h>
67986 #ifdef HAVE_IEEEFP_H
67987 #include <ieeefp.h>
67988 #endif
67989
67990 int
67991 main ()
67992 {
67993 isnanf(0);
67994 ;
67995 return 0;
67996 }
67997 _ACEOF
67998 if ac_fn_cxx_try_compile "$LINENO"; then :
67999 glibcxx_cv_func_isnanf_use=yes
68000 else
68001 glibcxx_cv_func_isnanf_use=no
68002 fi
68003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68004 ac_ext=c
68005 ac_cpp='$CPP $CPPFLAGS'
68006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68009
68010
68011 fi
68012
68013 fi
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68015 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68016
68017 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68018 for ac_func in isnanf
68019 do :
68020 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68021 if test "x$ac_cv_func_isnanf" = x""yes; then :
68022 cat >>confdefs.h <<_ACEOF
68023 #define HAVE_ISNANF 1
68024 _ACEOF
68025
68026 fi
68027 done
68028
68029 else
68030
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68032 $as_echo_n "checking for _isnanf declaration... " >&6; }
68033 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68034 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68035 $as_echo_n "(cached) " >&6
68036 else
68037
68038
68039 ac_ext=cpp
68040 ac_cpp='$CXXCPP $CPPFLAGS'
68041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68044
68045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68046 /* end confdefs.h. */
68047 #include <math.h>
68048 #ifdef HAVE_IEEEFP_H
68049 #include <ieeefp.h>
68050 #endif
68051
68052 int
68053 main ()
68054 {
68055 _isnanf(0);
68056 ;
68057 return 0;
68058 }
68059 _ACEOF
68060 if ac_fn_cxx_try_compile "$LINENO"; then :
68061 glibcxx_cv_func__isnanf_use=yes
68062 else
68063 glibcxx_cv_func__isnanf_use=no
68064 fi
68065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68066 ac_ext=c
68067 ac_cpp='$CPP $CPPFLAGS'
68068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68071
68072
68073 fi
68074
68075 fi
68076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68077 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68078
68079 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68080 for ac_func in _isnanf
68081 do :
68082 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68083 if test "x$ac_cv_func__isnanf" = x""yes; then :
68084 cat >>confdefs.h <<_ACEOF
68085 #define HAVE__ISNANF 1
68086 _ACEOF
68087
68088 fi
68089 done
68090
68091 fi
68092 fi
68093
68094
68095
68096
68097
68098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68099 $as_echo_n "checking for isinff declaration... " >&6; }
68100 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68101 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68102 $as_echo_n "(cached) " >&6
68103 else
68104
68105
68106 ac_ext=cpp
68107 ac_cpp='$CXXCPP $CPPFLAGS'
68108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68111
68112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68113 /* end confdefs.h. */
68114 #include <math.h>
68115 #ifdef HAVE_IEEEFP_H
68116 #include <ieeefp.h>
68117 #endif
68118
68119 int
68120 main ()
68121 {
68122 isinff(0);
68123 ;
68124 return 0;
68125 }
68126 _ACEOF
68127 if ac_fn_cxx_try_compile "$LINENO"; then :
68128 glibcxx_cv_func_isinff_use=yes
68129 else
68130 glibcxx_cv_func_isinff_use=no
68131 fi
68132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68133 ac_ext=c
68134 ac_cpp='$CPP $CPPFLAGS'
68135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68138
68139
68140 fi
68141
68142 fi
68143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68144 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68145
68146 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68147 for ac_func in isinff
68148 do :
68149 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68150 if test "x$ac_cv_func_isinff" = x""yes; then :
68151 cat >>confdefs.h <<_ACEOF
68152 #define HAVE_ISINFF 1
68153 _ACEOF
68154
68155 fi
68156 done
68157
68158 else
68159
68160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68161 $as_echo_n "checking for _isinff declaration... " >&6; }
68162 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68163 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68164 $as_echo_n "(cached) " >&6
68165 else
68166
68167
68168 ac_ext=cpp
68169 ac_cpp='$CXXCPP $CPPFLAGS'
68170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68173
68174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68175 /* end confdefs.h. */
68176 #include <math.h>
68177 #ifdef HAVE_IEEEFP_H
68178 #include <ieeefp.h>
68179 #endif
68180
68181 int
68182 main ()
68183 {
68184 _isinff(0);
68185 ;
68186 return 0;
68187 }
68188 _ACEOF
68189 if ac_fn_cxx_try_compile "$LINENO"; then :
68190 glibcxx_cv_func__isinff_use=yes
68191 else
68192 glibcxx_cv_func__isinff_use=no
68193 fi
68194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68195 ac_ext=c
68196 ac_cpp='$CPP $CPPFLAGS'
68197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68200
68201
68202 fi
68203
68204 fi
68205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68206 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68207
68208 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68209 for ac_func in _isinff
68210 do :
68211 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68212 if test "x$ac_cv_func__isinff" = x""yes; then :
68213 cat >>confdefs.h <<_ACEOF
68214 #define HAVE__ISINFF 1
68215 _ACEOF
68216
68217 fi
68218 done
68219
68220 fi
68221 fi
68222
68223
68224
68225
68226
68227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68228 $as_echo_n "checking for atan2f declaration... " >&6; }
68229 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68230 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68231 $as_echo_n "(cached) " >&6
68232 else
68233
68234
68235 ac_ext=cpp
68236 ac_cpp='$CXXCPP $CPPFLAGS'
68237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68240
68241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68242 /* end confdefs.h. */
68243 #include <math.h>
68244 int
68245 main ()
68246 {
68247 atan2f(0, 0);
68248 ;
68249 return 0;
68250 }
68251 _ACEOF
68252 if ac_fn_cxx_try_compile "$LINENO"; then :
68253 glibcxx_cv_func_atan2f_use=yes
68254 else
68255 glibcxx_cv_func_atan2f_use=no
68256 fi
68257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68258 ac_ext=c
68259 ac_cpp='$CPP $CPPFLAGS'
68260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68263
68264
68265 fi
68266
68267 fi
68268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68269 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68270
68271 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68272 for ac_func in atan2f
68273 do :
68274 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68275 if test "x$ac_cv_func_atan2f" = x""yes; then :
68276 cat >>confdefs.h <<_ACEOF
68277 #define HAVE_ATAN2F 1
68278 _ACEOF
68279
68280 fi
68281 done
68282
68283 else
68284
68285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68286 $as_echo_n "checking for _atan2f declaration... " >&6; }
68287 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68288 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68289 $as_echo_n "(cached) " >&6
68290 else
68291
68292
68293 ac_ext=cpp
68294 ac_cpp='$CXXCPP $CPPFLAGS'
68295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68298
68299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68300 /* end confdefs.h. */
68301 #include <math.h>
68302 int
68303 main ()
68304 {
68305 _atan2f(0, 0);
68306 ;
68307 return 0;
68308 }
68309 _ACEOF
68310 if ac_fn_cxx_try_compile "$LINENO"; then :
68311 glibcxx_cv_func__atan2f_use=yes
68312 else
68313 glibcxx_cv_func__atan2f_use=no
68314 fi
68315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68316 ac_ext=c
68317 ac_cpp='$CPP $CPPFLAGS'
68318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68321
68322
68323 fi
68324
68325 fi
68326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68327 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68328
68329 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68330 for ac_func in _atan2f
68331 do :
68332 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68333 if test "x$ac_cv_func__atan2f" = x""yes; then :
68334 cat >>confdefs.h <<_ACEOF
68335 #define HAVE__ATAN2F 1
68336 _ACEOF
68337
68338 fi
68339 done
68340
68341 fi
68342 fi
68343
68344
68345
68346
68347
68348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68349 $as_echo_n "checking for fabsf declaration... " >&6; }
68350 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68351 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68352 $as_echo_n "(cached) " >&6
68353 else
68354
68355
68356 ac_ext=cpp
68357 ac_cpp='$CXXCPP $CPPFLAGS'
68358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68361
68362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68363 /* end confdefs.h. */
68364 #include <math.h>
68365 #ifdef HAVE_IEEEFP_H
68366 #include <ieeefp.h>
68367 #endif
68368
68369 int
68370 main ()
68371 {
68372 fabsf(0);
68373 ;
68374 return 0;
68375 }
68376 _ACEOF
68377 if ac_fn_cxx_try_compile "$LINENO"; then :
68378 glibcxx_cv_func_fabsf_use=yes
68379 else
68380 glibcxx_cv_func_fabsf_use=no
68381 fi
68382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68383 ac_ext=c
68384 ac_cpp='$CPP $CPPFLAGS'
68385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68388
68389
68390 fi
68391
68392 fi
68393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68394 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68395
68396 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68397 for ac_func in fabsf
68398 do :
68399 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68400 if test "x$ac_cv_func_fabsf" = x""yes; then :
68401 cat >>confdefs.h <<_ACEOF
68402 #define HAVE_FABSF 1
68403 _ACEOF
68404
68405 fi
68406 done
68407
68408 else
68409
68410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68411 $as_echo_n "checking for _fabsf declaration... " >&6; }
68412 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68413 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68414 $as_echo_n "(cached) " >&6
68415 else
68416
68417
68418 ac_ext=cpp
68419 ac_cpp='$CXXCPP $CPPFLAGS'
68420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68423
68424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68425 /* end confdefs.h. */
68426 #include <math.h>
68427 #ifdef HAVE_IEEEFP_H
68428 #include <ieeefp.h>
68429 #endif
68430
68431 int
68432 main ()
68433 {
68434 _fabsf(0);
68435 ;
68436 return 0;
68437 }
68438 _ACEOF
68439 if ac_fn_cxx_try_compile "$LINENO"; then :
68440 glibcxx_cv_func__fabsf_use=yes
68441 else
68442 glibcxx_cv_func__fabsf_use=no
68443 fi
68444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68445 ac_ext=c
68446 ac_cpp='$CPP $CPPFLAGS'
68447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68450
68451
68452 fi
68453
68454 fi
68455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68456 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68457
68458 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68459 for ac_func in _fabsf
68460 do :
68461 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68462 if test "x$ac_cv_func__fabsf" = x""yes; then :
68463 cat >>confdefs.h <<_ACEOF
68464 #define HAVE__FABSF 1
68465 _ACEOF
68466
68467 fi
68468 done
68469
68470 fi
68471 fi
68472
68473
68474
68475
68476
68477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68478 $as_echo_n "checking for fmodf declaration... " >&6; }
68479 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68480 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68481 $as_echo_n "(cached) " >&6
68482 else
68483
68484
68485 ac_ext=cpp
68486 ac_cpp='$CXXCPP $CPPFLAGS'
68487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68490
68491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68492 /* end confdefs.h. */
68493 #include <math.h>
68494 int
68495 main ()
68496 {
68497 fmodf(0, 0);
68498 ;
68499 return 0;
68500 }
68501 _ACEOF
68502 if ac_fn_cxx_try_compile "$LINENO"; then :
68503 glibcxx_cv_func_fmodf_use=yes
68504 else
68505 glibcxx_cv_func_fmodf_use=no
68506 fi
68507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68508 ac_ext=c
68509 ac_cpp='$CPP $CPPFLAGS'
68510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68513
68514
68515 fi
68516
68517 fi
68518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68519 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68520
68521 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68522 for ac_func in fmodf
68523 do :
68524 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68525 if test "x$ac_cv_func_fmodf" = x""yes; then :
68526 cat >>confdefs.h <<_ACEOF
68527 #define HAVE_FMODF 1
68528 _ACEOF
68529
68530 fi
68531 done
68532
68533 else
68534
68535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68536 $as_echo_n "checking for _fmodf declaration... " >&6; }
68537 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68538 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68539 $as_echo_n "(cached) " >&6
68540 else
68541
68542
68543 ac_ext=cpp
68544 ac_cpp='$CXXCPP $CPPFLAGS'
68545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68548
68549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68550 /* end confdefs.h. */
68551 #include <math.h>
68552 int
68553 main ()
68554 {
68555 _fmodf(0, 0);
68556 ;
68557 return 0;
68558 }
68559 _ACEOF
68560 if ac_fn_cxx_try_compile "$LINENO"; then :
68561 glibcxx_cv_func__fmodf_use=yes
68562 else
68563 glibcxx_cv_func__fmodf_use=no
68564 fi
68565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68566 ac_ext=c
68567 ac_cpp='$CPP $CPPFLAGS'
68568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68571
68572
68573 fi
68574
68575 fi
68576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68577 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68578
68579 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68580 for ac_func in _fmodf
68581 do :
68582 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68583 if test "x$ac_cv_func__fmodf" = x""yes; then :
68584 cat >>confdefs.h <<_ACEOF
68585 #define HAVE__FMODF 1
68586 _ACEOF
68587
68588 fi
68589 done
68590
68591 fi
68592 fi
68593
68594
68595
68596
68597
68598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68599 $as_echo_n "checking for frexpf declaration... " >&6; }
68600 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68601 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68602 $as_echo_n "(cached) " >&6
68603 else
68604
68605
68606 ac_ext=cpp
68607 ac_cpp='$CXXCPP $CPPFLAGS'
68608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68611
68612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68613 /* end confdefs.h. */
68614 #include <math.h>
68615 int
68616 main ()
68617 {
68618 frexpf(0, 0);
68619 ;
68620 return 0;
68621 }
68622 _ACEOF
68623 if ac_fn_cxx_try_compile "$LINENO"; then :
68624 glibcxx_cv_func_frexpf_use=yes
68625 else
68626 glibcxx_cv_func_frexpf_use=no
68627 fi
68628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68629 ac_ext=c
68630 ac_cpp='$CPP $CPPFLAGS'
68631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68634
68635
68636 fi
68637
68638 fi
68639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68640 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68641
68642 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68643 for ac_func in frexpf
68644 do :
68645 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68646 if test "x$ac_cv_func_frexpf" = x""yes; then :
68647 cat >>confdefs.h <<_ACEOF
68648 #define HAVE_FREXPF 1
68649 _ACEOF
68650
68651 fi
68652 done
68653
68654 else
68655
68656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68657 $as_echo_n "checking for _frexpf declaration... " >&6; }
68658 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68659 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68660 $as_echo_n "(cached) " >&6
68661 else
68662
68663
68664 ac_ext=cpp
68665 ac_cpp='$CXXCPP $CPPFLAGS'
68666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68669
68670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68671 /* end confdefs.h. */
68672 #include <math.h>
68673 int
68674 main ()
68675 {
68676 _frexpf(0, 0);
68677 ;
68678 return 0;
68679 }
68680 _ACEOF
68681 if ac_fn_cxx_try_compile "$LINENO"; then :
68682 glibcxx_cv_func__frexpf_use=yes
68683 else
68684 glibcxx_cv_func__frexpf_use=no
68685 fi
68686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68687 ac_ext=c
68688 ac_cpp='$CPP $CPPFLAGS'
68689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68692
68693
68694 fi
68695
68696 fi
68697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68698 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68699
68700 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68701 for ac_func in _frexpf
68702 do :
68703 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68704 if test "x$ac_cv_func__frexpf" = x""yes; then :
68705 cat >>confdefs.h <<_ACEOF
68706 #define HAVE__FREXPF 1
68707 _ACEOF
68708
68709 fi
68710 done
68711
68712 fi
68713 fi
68714
68715
68716
68717
68718
68719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68720 $as_echo_n "checking for hypotf declaration... " >&6; }
68721 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68722 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68723 $as_echo_n "(cached) " >&6
68724 else
68725
68726
68727 ac_ext=cpp
68728 ac_cpp='$CXXCPP $CPPFLAGS'
68729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68732
68733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68734 /* end confdefs.h. */
68735 #include <math.h>
68736 int
68737 main ()
68738 {
68739 hypotf(0, 0);
68740 ;
68741 return 0;
68742 }
68743 _ACEOF
68744 if ac_fn_cxx_try_compile "$LINENO"; then :
68745 glibcxx_cv_func_hypotf_use=yes
68746 else
68747 glibcxx_cv_func_hypotf_use=no
68748 fi
68749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68750 ac_ext=c
68751 ac_cpp='$CPP $CPPFLAGS'
68752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68755
68756
68757 fi
68758
68759 fi
68760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68761 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68762
68763 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68764 for ac_func in hypotf
68765 do :
68766 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68767 if test "x$ac_cv_func_hypotf" = x""yes; then :
68768 cat >>confdefs.h <<_ACEOF
68769 #define HAVE_HYPOTF 1
68770 _ACEOF
68771
68772 fi
68773 done
68774
68775 else
68776
68777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68778 $as_echo_n "checking for _hypotf declaration... " >&6; }
68779 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68780 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68781 $as_echo_n "(cached) " >&6
68782 else
68783
68784
68785 ac_ext=cpp
68786 ac_cpp='$CXXCPP $CPPFLAGS'
68787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68790
68791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68792 /* end confdefs.h. */
68793 #include <math.h>
68794 int
68795 main ()
68796 {
68797 _hypotf(0, 0);
68798 ;
68799 return 0;
68800 }
68801 _ACEOF
68802 if ac_fn_cxx_try_compile "$LINENO"; then :
68803 glibcxx_cv_func__hypotf_use=yes
68804 else
68805 glibcxx_cv_func__hypotf_use=no
68806 fi
68807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68808 ac_ext=c
68809 ac_cpp='$CPP $CPPFLAGS'
68810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68813
68814
68815 fi
68816
68817 fi
68818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68819 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68820
68821 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68822 for ac_func in _hypotf
68823 do :
68824 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68825 if test "x$ac_cv_func__hypotf" = x""yes; then :
68826 cat >>confdefs.h <<_ACEOF
68827 #define HAVE__HYPOTF 1
68828 _ACEOF
68829
68830 fi
68831 done
68832
68833 fi
68834 fi
68835
68836
68837
68838
68839
68840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68841 $as_echo_n "checking for ldexpf declaration... " >&6; }
68842 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68843 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68844 $as_echo_n "(cached) " >&6
68845 else
68846
68847
68848 ac_ext=cpp
68849 ac_cpp='$CXXCPP $CPPFLAGS'
68850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68853
68854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68855 /* end confdefs.h. */
68856 #include <math.h>
68857 int
68858 main ()
68859 {
68860 ldexpf(0, 0);
68861 ;
68862 return 0;
68863 }
68864 _ACEOF
68865 if ac_fn_cxx_try_compile "$LINENO"; then :
68866 glibcxx_cv_func_ldexpf_use=yes
68867 else
68868 glibcxx_cv_func_ldexpf_use=no
68869 fi
68870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68871 ac_ext=c
68872 ac_cpp='$CPP $CPPFLAGS'
68873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68876
68877
68878 fi
68879
68880 fi
68881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68882 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68883
68884 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68885 for ac_func in ldexpf
68886 do :
68887 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68888 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68889 cat >>confdefs.h <<_ACEOF
68890 #define HAVE_LDEXPF 1
68891 _ACEOF
68892
68893 fi
68894 done
68895
68896 else
68897
68898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68899 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68900 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68901 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68902 $as_echo_n "(cached) " >&6
68903 else
68904
68905
68906 ac_ext=cpp
68907 ac_cpp='$CXXCPP $CPPFLAGS'
68908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68911
68912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68913 /* end confdefs.h. */
68914 #include <math.h>
68915 int
68916 main ()
68917 {
68918 _ldexpf(0, 0);
68919 ;
68920 return 0;
68921 }
68922 _ACEOF
68923 if ac_fn_cxx_try_compile "$LINENO"; then :
68924 glibcxx_cv_func__ldexpf_use=yes
68925 else
68926 glibcxx_cv_func__ldexpf_use=no
68927 fi
68928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68929 ac_ext=c
68930 ac_cpp='$CPP $CPPFLAGS'
68931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68934
68935
68936 fi
68937
68938 fi
68939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68940 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68941
68942 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68943 for ac_func in _ldexpf
68944 do :
68945 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68946 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68947 cat >>confdefs.h <<_ACEOF
68948 #define HAVE__LDEXPF 1
68949 _ACEOF
68950
68951 fi
68952 done
68953
68954 fi
68955 fi
68956
68957
68958
68959
68960
68961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68962 $as_echo_n "checking for logf declaration... " >&6; }
68963 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68964 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68965 $as_echo_n "(cached) " >&6
68966 else
68967
68968
68969 ac_ext=cpp
68970 ac_cpp='$CXXCPP $CPPFLAGS'
68971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68974
68975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68976 /* end confdefs.h. */
68977 #include <math.h>
68978 #ifdef HAVE_IEEEFP_H
68979 #include <ieeefp.h>
68980 #endif
68981
68982 int
68983 main ()
68984 {
68985 logf(0);
68986 ;
68987 return 0;
68988 }
68989 _ACEOF
68990 if ac_fn_cxx_try_compile "$LINENO"; then :
68991 glibcxx_cv_func_logf_use=yes
68992 else
68993 glibcxx_cv_func_logf_use=no
68994 fi
68995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68996 ac_ext=c
68997 ac_cpp='$CPP $CPPFLAGS'
68998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69001
69002
69003 fi
69004
69005 fi
69006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69007 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69008
69009 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69010 for ac_func in logf
69011 do :
69012 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69013 if test "x$ac_cv_func_logf" = x""yes; then :
69014 cat >>confdefs.h <<_ACEOF
69015 #define HAVE_LOGF 1
69016 _ACEOF
69017
69018 fi
69019 done
69020
69021 else
69022
69023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69024 $as_echo_n "checking for _logf declaration... " >&6; }
69025 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69026 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69027 $as_echo_n "(cached) " >&6
69028 else
69029
69030
69031 ac_ext=cpp
69032 ac_cpp='$CXXCPP $CPPFLAGS'
69033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69036
69037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69038 /* end confdefs.h. */
69039 #include <math.h>
69040 #ifdef HAVE_IEEEFP_H
69041 #include <ieeefp.h>
69042 #endif
69043
69044 int
69045 main ()
69046 {
69047 _logf(0);
69048 ;
69049 return 0;
69050 }
69051 _ACEOF
69052 if ac_fn_cxx_try_compile "$LINENO"; then :
69053 glibcxx_cv_func__logf_use=yes
69054 else
69055 glibcxx_cv_func__logf_use=no
69056 fi
69057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69058 ac_ext=c
69059 ac_cpp='$CPP $CPPFLAGS'
69060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69063
69064
69065 fi
69066
69067 fi
69068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69069 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69070
69071 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69072 for ac_func in _logf
69073 do :
69074 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69075 if test "x$ac_cv_func__logf" = x""yes; then :
69076 cat >>confdefs.h <<_ACEOF
69077 #define HAVE__LOGF 1
69078 _ACEOF
69079
69080 fi
69081 done
69082
69083 fi
69084 fi
69085
69086
69087
69088
69089
69090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69091 $as_echo_n "checking for log10f declaration... " >&6; }
69092 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69093 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69094 $as_echo_n "(cached) " >&6
69095 else
69096
69097
69098 ac_ext=cpp
69099 ac_cpp='$CXXCPP $CPPFLAGS'
69100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69103
69104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69105 /* end confdefs.h. */
69106 #include <math.h>
69107 #ifdef HAVE_IEEEFP_H
69108 #include <ieeefp.h>
69109 #endif
69110
69111 int
69112 main ()
69113 {
69114 log10f(0);
69115 ;
69116 return 0;
69117 }
69118 _ACEOF
69119 if ac_fn_cxx_try_compile "$LINENO"; then :
69120 glibcxx_cv_func_log10f_use=yes
69121 else
69122 glibcxx_cv_func_log10f_use=no
69123 fi
69124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69125 ac_ext=c
69126 ac_cpp='$CPP $CPPFLAGS'
69127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69130
69131
69132 fi
69133
69134 fi
69135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69136 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69137
69138 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69139 for ac_func in log10f
69140 do :
69141 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69142 if test "x$ac_cv_func_log10f" = x""yes; then :
69143 cat >>confdefs.h <<_ACEOF
69144 #define HAVE_LOG10F 1
69145 _ACEOF
69146
69147 fi
69148 done
69149
69150 else
69151
69152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69153 $as_echo_n "checking for _log10f declaration... " >&6; }
69154 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69155 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69156 $as_echo_n "(cached) " >&6
69157 else
69158
69159
69160 ac_ext=cpp
69161 ac_cpp='$CXXCPP $CPPFLAGS'
69162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69165
69166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69167 /* end confdefs.h. */
69168 #include <math.h>
69169 #ifdef HAVE_IEEEFP_H
69170 #include <ieeefp.h>
69171 #endif
69172
69173 int
69174 main ()
69175 {
69176 _log10f(0);
69177 ;
69178 return 0;
69179 }
69180 _ACEOF
69181 if ac_fn_cxx_try_compile "$LINENO"; then :
69182 glibcxx_cv_func__log10f_use=yes
69183 else
69184 glibcxx_cv_func__log10f_use=no
69185 fi
69186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69187 ac_ext=c
69188 ac_cpp='$CPP $CPPFLAGS'
69189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69192
69193
69194 fi
69195
69196 fi
69197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69198 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69199
69200 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69201 for ac_func in _log10f
69202 do :
69203 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69204 if test "x$ac_cv_func__log10f" = x""yes; then :
69205 cat >>confdefs.h <<_ACEOF
69206 #define HAVE__LOG10F 1
69207 _ACEOF
69208
69209 fi
69210 done
69211
69212 fi
69213 fi
69214
69215
69216
69217
69218
69219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69220 $as_echo_n "checking for modff declaration... " >&6; }
69221 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69222 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69223 $as_echo_n "(cached) " >&6
69224 else
69225
69226
69227 ac_ext=cpp
69228 ac_cpp='$CXXCPP $CPPFLAGS'
69229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69232
69233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69234 /* end confdefs.h. */
69235 #include <math.h>
69236 int
69237 main ()
69238 {
69239 modff(0, 0);
69240 ;
69241 return 0;
69242 }
69243 _ACEOF
69244 if ac_fn_cxx_try_compile "$LINENO"; then :
69245 glibcxx_cv_func_modff_use=yes
69246 else
69247 glibcxx_cv_func_modff_use=no
69248 fi
69249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69250 ac_ext=c
69251 ac_cpp='$CPP $CPPFLAGS'
69252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69255
69256
69257 fi
69258
69259 fi
69260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69261 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69262
69263 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69264 for ac_func in modff
69265 do :
69266 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69267 if test "x$ac_cv_func_modff" = x""yes; then :
69268 cat >>confdefs.h <<_ACEOF
69269 #define HAVE_MODFF 1
69270 _ACEOF
69271
69272 fi
69273 done
69274
69275 else
69276
69277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69278 $as_echo_n "checking for _modff declaration... " >&6; }
69279 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69280 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69281 $as_echo_n "(cached) " >&6
69282 else
69283
69284
69285 ac_ext=cpp
69286 ac_cpp='$CXXCPP $CPPFLAGS'
69287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69290
69291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69292 /* end confdefs.h. */
69293 #include <math.h>
69294 int
69295 main ()
69296 {
69297 _modff(0, 0);
69298 ;
69299 return 0;
69300 }
69301 _ACEOF
69302 if ac_fn_cxx_try_compile "$LINENO"; then :
69303 glibcxx_cv_func__modff_use=yes
69304 else
69305 glibcxx_cv_func__modff_use=no
69306 fi
69307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69308 ac_ext=c
69309 ac_cpp='$CPP $CPPFLAGS'
69310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69313
69314
69315 fi
69316
69317 fi
69318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69319 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69320
69321 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69322 for ac_func in _modff
69323 do :
69324 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69325 if test "x$ac_cv_func__modff" = x""yes; then :
69326 cat >>confdefs.h <<_ACEOF
69327 #define HAVE__MODFF 1
69328 _ACEOF
69329
69330 fi
69331 done
69332
69333 fi
69334 fi
69335
69336
69337
69338
69339
69340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69341 $as_echo_n "checking for modf declaration... " >&6; }
69342 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69343 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69344 $as_echo_n "(cached) " >&6
69345 else
69346
69347
69348 ac_ext=cpp
69349 ac_cpp='$CXXCPP $CPPFLAGS'
69350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69353
69354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69355 /* end confdefs.h. */
69356 #include <math.h>
69357 int
69358 main ()
69359 {
69360 modf(0, 0);
69361 ;
69362 return 0;
69363 }
69364 _ACEOF
69365 if ac_fn_cxx_try_compile "$LINENO"; then :
69366 glibcxx_cv_func_modf_use=yes
69367 else
69368 glibcxx_cv_func_modf_use=no
69369 fi
69370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69371 ac_ext=c
69372 ac_cpp='$CPP $CPPFLAGS'
69373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69376
69377
69378 fi
69379
69380 fi
69381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69382 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69383
69384 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69385 for ac_func in modf
69386 do :
69387 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69388 if test "x$ac_cv_func_modf" = x""yes; then :
69389 cat >>confdefs.h <<_ACEOF
69390 #define HAVE_MODF 1
69391 _ACEOF
69392
69393 fi
69394 done
69395
69396 else
69397
69398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69399 $as_echo_n "checking for _modf declaration... " >&6; }
69400 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69401 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69402 $as_echo_n "(cached) " >&6
69403 else
69404
69405
69406 ac_ext=cpp
69407 ac_cpp='$CXXCPP $CPPFLAGS'
69408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69411
69412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69413 /* end confdefs.h. */
69414 #include <math.h>
69415 int
69416 main ()
69417 {
69418 _modf(0, 0);
69419 ;
69420 return 0;
69421 }
69422 _ACEOF
69423 if ac_fn_cxx_try_compile "$LINENO"; then :
69424 glibcxx_cv_func__modf_use=yes
69425 else
69426 glibcxx_cv_func__modf_use=no
69427 fi
69428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69429 ac_ext=c
69430 ac_cpp='$CPP $CPPFLAGS'
69431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69434
69435
69436 fi
69437
69438 fi
69439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69440 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69441
69442 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69443 for ac_func in _modf
69444 do :
69445 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69446 if test "x$ac_cv_func__modf" = x""yes; then :
69447 cat >>confdefs.h <<_ACEOF
69448 #define HAVE__MODF 1
69449 _ACEOF
69450
69451 fi
69452 done
69453
69454 fi
69455 fi
69456
69457
69458
69459
69460
69461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69462 $as_echo_n "checking for powf declaration... " >&6; }
69463 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69464 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69465 $as_echo_n "(cached) " >&6
69466 else
69467
69468
69469 ac_ext=cpp
69470 ac_cpp='$CXXCPP $CPPFLAGS'
69471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69474
69475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69476 /* end confdefs.h. */
69477 #include <math.h>
69478 int
69479 main ()
69480 {
69481 powf(0, 0);
69482 ;
69483 return 0;
69484 }
69485 _ACEOF
69486 if ac_fn_cxx_try_compile "$LINENO"; then :
69487 glibcxx_cv_func_powf_use=yes
69488 else
69489 glibcxx_cv_func_powf_use=no
69490 fi
69491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69492 ac_ext=c
69493 ac_cpp='$CPP $CPPFLAGS'
69494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69497
69498
69499 fi
69500
69501 fi
69502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69503 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69504
69505 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69506 for ac_func in powf
69507 do :
69508 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69509 if test "x$ac_cv_func_powf" = x""yes; then :
69510 cat >>confdefs.h <<_ACEOF
69511 #define HAVE_POWF 1
69512 _ACEOF
69513
69514 fi
69515 done
69516
69517 else
69518
69519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69520 $as_echo_n "checking for _powf declaration... " >&6; }
69521 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69522 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69523 $as_echo_n "(cached) " >&6
69524 else
69525
69526
69527 ac_ext=cpp
69528 ac_cpp='$CXXCPP $CPPFLAGS'
69529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69532
69533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69534 /* end confdefs.h. */
69535 #include <math.h>
69536 int
69537 main ()
69538 {
69539 _powf(0, 0);
69540 ;
69541 return 0;
69542 }
69543 _ACEOF
69544 if ac_fn_cxx_try_compile "$LINENO"; then :
69545 glibcxx_cv_func__powf_use=yes
69546 else
69547 glibcxx_cv_func__powf_use=no
69548 fi
69549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69550 ac_ext=c
69551 ac_cpp='$CPP $CPPFLAGS'
69552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69555
69556
69557 fi
69558
69559 fi
69560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69561 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69562
69563 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69564 for ac_func in _powf
69565 do :
69566 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69567 if test "x$ac_cv_func__powf" = x""yes; then :
69568 cat >>confdefs.h <<_ACEOF
69569 #define HAVE__POWF 1
69570 _ACEOF
69571
69572 fi
69573 done
69574
69575 fi
69576 fi
69577
69578
69579
69580
69581
69582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69583 $as_echo_n "checking for sqrtf declaration... " >&6; }
69584 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69585 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69586 $as_echo_n "(cached) " >&6
69587 else
69588
69589
69590 ac_ext=cpp
69591 ac_cpp='$CXXCPP $CPPFLAGS'
69592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69595
69596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69597 /* end confdefs.h. */
69598 #include <math.h>
69599 #ifdef HAVE_IEEEFP_H
69600 #include <ieeefp.h>
69601 #endif
69602
69603 int
69604 main ()
69605 {
69606 sqrtf(0);
69607 ;
69608 return 0;
69609 }
69610 _ACEOF
69611 if ac_fn_cxx_try_compile "$LINENO"; then :
69612 glibcxx_cv_func_sqrtf_use=yes
69613 else
69614 glibcxx_cv_func_sqrtf_use=no
69615 fi
69616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69617 ac_ext=c
69618 ac_cpp='$CPP $CPPFLAGS'
69619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69622
69623
69624 fi
69625
69626 fi
69627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69628 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69629
69630 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69631 for ac_func in sqrtf
69632 do :
69633 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69634 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69635 cat >>confdefs.h <<_ACEOF
69636 #define HAVE_SQRTF 1
69637 _ACEOF
69638
69639 fi
69640 done
69641
69642 else
69643
69644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69645 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69646 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69647 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69648 $as_echo_n "(cached) " >&6
69649 else
69650
69651
69652 ac_ext=cpp
69653 ac_cpp='$CXXCPP $CPPFLAGS'
69654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69657
69658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69659 /* end confdefs.h. */
69660 #include <math.h>
69661 #ifdef HAVE_IEEEFP_H
69662 #include <ieeefp.h>
69663 #endif
69664
69665 int
69666 main ()
69667 {
69668 _sqrtf(0);
69669 ;
69670 return 0;
69671 }
69672 _ACEOF
69673 if ac_fn_cxx_try_compile "$LINENO"; then :
69674 glibcxx_cv_func__sqrtf_use=yes
69675 else
69676 glibcxx_cv_func__sqrtf_use=no
69677 fi
69678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69679 ac_ext=c
69680 ac_cpp='$CPP $CPPFLAGS'
69681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69684
69685
69686 fi
69687
69688 fi
69689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69690 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69691
69692 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69693 for ac_func in _sqrtf
69694 do :
69695 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69696 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69697 cat >>confdefs.h <<_ACEOF
69698 #define HAVE__SQRTF 1
69699 _ACEOF
69700
69701 fi
69702 done
69703
69704 fi
69705 fi
69706
69707
69708
69709
69710
69711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69712 $as_echo_n "checking for sincosf declaration... " >&6; }
69713 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69714 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69715 $as_echo_n "(cached) " >&6
69716 else
69717
69718
69719 ac_ext=cpp
69720 ac_cpp='$CXXCPP $CPPFLAGS'
69721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69724
69725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69726 /* end confdefs.h. */
69727 #include <math.h>
69728 int
69729 main ()
69730 {
69731 sincosf(0, 0, 0);
69732 ;
69733 return 0;
69734 }
69735 _ACEOF
69736 if ac_fn_cxx_try_compile "$LINENO"; then :
69737 glibcxx_cv_func_sincosf_use=yes
69738 else
69739 glibcxx_cv_func_sincosf_use=no
69740 fi
69741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69742 ac_ext=c
69743 ac_cpp='$CPP $CPPFLAGS'
69744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69747
69748
69749 fi
69750
69751 fi
69752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69753 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69754
69755 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69756 for ac_func in sincosf
69757 do :
69758 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69759 if test "x$ac_cv_func_sincosf" = x""yes; then :
69760 cat >>confdefs.h <<_ACEOF
69761 #define HAVE_SINCOSF 1
69762 _ACEOF
69763
69764 fi
69765 done
69766
69767 else
69768
69769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69770 $as_echo_n "checking for _sincosf declaration... " >&6; }
69771 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69772 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69773 $as_echo_n "(cached) " >&6
69774 else
69775
69776
69777 ac_ext=cpp
69778 ac_cpp='$CXXCPP $CPPFLAGS'
69779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69782
69783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69784 /* end confdefs.h. */
69785 #include <math.h>
69786 int
69787 main ()
69788 {
69789 _sincosf(0, 0, 0);
69790 ;
69791 return 0;
69792 }
69793 _ACEOF
69794 if ac_fn_cxx_try_compile "$LINENO"; then :
69795 glibcxx_cv_func__sincosf_use=yes
69796 else
69797 glibcxx_cv_func__sincosf_use=no
69798 fi
69799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69800 ac_ext=c
69801 ac_cpp='$CPP $CPPFLAGS'
69802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69805
69806
69807 fi
69808
69809 fi
69810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69811 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69812
69813 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69814 for ac_func in _sincosf
69815 do :
69816 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69817 if test "x$ac_cv_func__sincosf" = x""yes; then :
69818 cat >>confdefs.h <<_ACEOF
69819 #define HAVE__SINCOSF 1
69820 _ACEOF
69821
69822 fi
69823 done
69824
69825 fi
69826 fi
69827
69828
69829
69830
69831
69832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69833 $as_echo_n "checking for finitef declaration... " >&6; }
69834 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69835 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69836 $as_echo_n "(cached) " >&6
69837 else
69838
69839
69840 ac_ext=cpp
69841 ac_cpp='$CXXCPP $CPPFLAGS'
69842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69845
69846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69847 /* end confdefs.h. */
69848 #include <math.h>
69849 #ifdef HAVE_IEEEFP_H
69850 #include <ieeefp.h>
69851 #endif
69852
69853 int
69854 main ()
69855 {
69856 finitef(0);
69857 ;
69858 return 0;
69859 }
69860 _ACEOF
69861 if ac_fn_cxx_try_compile "$LINENO"; then :
69862 glibcxx_cv_func_finitef_use=yes
69863 else
69864 glibcxx_cv_func_finitef_use=no
69865 fi
69866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69867 ac_ext=c
69868 ac_cpp='$CPP $CPPFLAGS'
69869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69872
69873
69874 fi
69875
69876 fi
69877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69878 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69879
69880 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69881 for ac_func in finitef
69882 do :
69883 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69884 if test "x$ac_cv_func_finitef" = x""yes; then :
69885 cat >>confdefs.h <<_ACEOF
69886 #define HAVE_FINITEF 1
69887 _ACEOF
69888
69889 fi
69890 done
69891
69892 else
69893
69894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69895 $as_echo_n "checking for _finitef declaration... " >&6; }
69896 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69897 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69898 $as_echo_n "(cached) " >&6
69899 else
69900
69901
69902 ac_ext=cpp
69903 ac_cpp='$CXXCPP $CPPFLAGS'
69904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69907
69908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69909 /* end confdefs.h. */
69910 #include <math.h>
69911 #ifdef HAVE_IEEEFP_H
69912 #include <ieeefp.h>
69913 #endif
69914
69915 int
69916 main ()
69917 {
69918 _finitef(0);
69919 ;
69920 return 0;
69921 }
69922 _ACEOF
69923 if ac_fn_cxx_try_compile "$LINENO"; then :
69924 glibcxx_cv_func__finitef_use=yes
69925 else
69926 glibcxx_cv_func__finitef_use=no
69927 fi
69928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69929 ac_ext=c
69930 ac_cpp='$CPP $CPPFLAGS'
69931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69934
69935
69936 fi
69937
69938 fi
69939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69940 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69941
69942 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69943 for ac_func in _finitef
69944 do :
69945 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69946 if test "x$ac_cv_func__finitef" = x""yes; then :
69947 cat >>confdefs.h <<_ACEOF
69948 #define HAVE__FINITEF 1
69949 _ACEOF
69950
69951 fi
69952 done
69953
69954 fi
69955 fi
69956
69957
69958
69959
69960
69961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69962 $as_echo_n "checking for long double trig functions... " >&6; }
69963 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69964 $as_echo_n "(cached) " >&6
69965 else
69966
69967
69968 ac_ext=cpp
69969 ac_cpp='$CXXCPP $CPPFLAGS'
69970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69973
69974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69975 /* end confdefs.h. */
69976 #include <math.h>
69977 int
69978 main ()
69979 {
69980 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69981 ;
69982 return 0;
69983 }
69984 _ACEOF
69985 if ac_fn_cxx_try_compile "$LINENO"; then :
69986 glibcxx_cv_func_long_double_trig_use=yes
69987 else
69988 glibcxx_cv_func_long_double_trig_use=no
69989 fi
69990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69991 ac_ext=c
69992 ac_cpp='$CPP $CPPFLAGS'
69993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69996
69997 fi
69998
69999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70000 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70001 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70002 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70003 do :
70004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70006 eval as_val=\$$as_ac_var
70007 if test "x$as_val" = x""yes; then :
70008 cat >>confdefs.h <<_ACEOF
70009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70010 _ACEOF
70011
70012 fi
70013 done
70014
70015 else
70016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70017 $as_echo_n "checking for _long double trig functions... " >&6; }
70018 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
70019 $as_echo_n "(cached) " >&6
70020 else
70021
70022
70023 ac_ext=cpp
70024 ac_cpp='$CXXCPP $CPPFLAGS'
70025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70028
70029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70030 /* end confdefs.h. */
70031 #include <math.h>
70032 int
70033 main ()
70034 {
70035 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70036 ;
70037 return 0;
70038 }
70039 _ACEOF
70040 if ac_fn_cxx_try_compile "$LINENO"; then :
70041 glibcxx_cv_func__long_double_trig_use=yes
70042 else
70043 glibcxx_cv_func__long_double_trig_use=no
70044 fi
70045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70046 ac_ext=c
70047 ac_cpp='$CPP $CPPFLAGS'
70048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70051
70052 fi
70053
70054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70055 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70056 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70057 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70058 do :
70059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70061 eval as_val=\$$as_ac_var
70062 if test "x$as_val" = x""yes; then :
70063 cat >>confdefs.h <<_ACEOF
70064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70065 _ACEOF
70066
70067 fi
70068 done
70069
70070 fi
70071 fi
70072
70073
70074
70075
70076
70077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70078 $as_echo_n "checking for long double round functions... " >&6; }
70079 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70080 $as_echo_n "(cached) " >&6
70081 else
70082
70083
70084 ac_ext=cpp
70085 ac_cpp='$CXXCPP $CPPFLAGS'
70086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70089
70090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70091 /* end confdefs.h. */
70092 #include <math.h>
70093 int
70094 main ()
70095 {
70096 ceill (0); floorl (0);
70097 ;
70098 return 0;
70099 }
70100 _ACEOF
70101 if ac_fn_cxx_try_compile "$LINENO"; then :
70102 glibcxx_cv_func_long_double_round_use=yes
70103 else
70104 glibcxx_cv_func_long_double_round_use=no
70105 fi
70106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70107 ac_ext=c
70108 ac_cpp='$CPP $CPPFLAGS'
70109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70112
70113 fi
70114
70115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70116 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70117 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70118 for ac_func in ceill floorl
70119 do :
70120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70122 eval as_val=\$$as_ac_var
70123 if test "x$as_val" = x""yes; then :
70124 cat >>confdefs.h <<_ACEOF
70125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70126 _ACEOF
70127
70128 fi
70129 done
70130
70131 else
70132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70133 $as_echo_n "checking for _long double round functions... " >&6; }
70134 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70135 $as_echo_n "(cached) " >&6
70136 else
70137
70138
70139 ac_ext=cpp
70140 ac_cpp='$CXXCPP $CPPFLAGS'
70141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70144
70145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70146 /* end confdefs.h. */
70147 #include <math.h>
70148 int
70149 main ()
70150 {
70151 _ceill (0); _floorl (0);
70152 ;
70153 return 0;
70154 }
70155 _ACEOF
70156 if ac_fn_cxx_try_compile "$LINENO"; then :
70157 glibcxx_cv_func__long_double_round_use=yes
70158 else
70159 glibcxx_cv_func__long_double_round_use=no
70160 fi
70161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70162 ac_ext=c
70163 ac_cpp='$CPP $CPPFLAGS'
70164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70167
70168 fi
70169
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70171 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70172 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70173 for ac_func in _ceill _floorl
70174 do :
70175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70177 eval as_val=\$$as_ac_var
70178 if test "x$as_val" = x""yes; then :
70179 cat >>confdefs.h <<_ACEOF
70180 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70181 _ACEOF
70182
70183 fi
70184 done
70185
70186 fi
70187 fi
70188
70189
70190
70191
70192
70193
70194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70195 $as_echo_n "checking for isnanl declaration... " >&6; }
70196 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70197 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70198 $as_echo_n "(cached) " >&6
70199 else
70200
70201
70202 ac_ext=cpp
70203 ac_cpp='$CXXCPP $CPPFLAGS'
70204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70207
70208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70209 /* end confdefs.h. */
70210 #include <math.h>
70211 #ifdef HAVE_IEEEFP_H
70212 #include <ieeefp.h>
70213 #endif
70214
70215 int
70216 main ()
70217 {
70218 isnanl(0);
70219 ;
70220 return 0;
70221 }
70222 _ACEOF
70223 if ac_fn_cxx_try_compile "$LINENO"; then :
70224 glibcxx_cv_func_isnanl_use=yes
70225 else
70226 glibcxx_cv_func_isnanl_use=no
70227 fi
70228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70229 ac_ext=c
70230 ac_cpp='$CPP $CPPFLAGS'
70231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70234
70235
70236 fi
70237
70238 fi
70239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70240 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70241
70242 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70243 for ac_func in isnanl
70244 do :
70245 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70246 if test "x$ac_cv_func_isnanl" = x""yes; then :
70247 cat >>confdefs.h <<_ACEOF
70248 #define HAVE_ISNANL 1
70249 _ACEOF
70250
70251 fi
70252 done
70253
70254 else
70255
70256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70257 $as_echo_n "checking for _isnanl declaration... " >&6; }
70258 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70259 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70260 $as_echo_n "(cached) " >&6
70261 else
70262
70263
70264 ac_ext=cpp
70265 ac_cpp='$CXXCPP $CPPFLAGS'
70266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70269
70270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70271 /* end confdefs.h. */
70272 #include <math.h>
70273 #ifdef HAVE_IEEEFP_H
70274 #include <ieeefp.h>
70275 #endif
70276
70277 int
70278 main ()
70279 {
70280 _isnanl(0);
70281 ;
70282 return 0;
70283 }
70284 _ACEOF
70285 if ac_fn_cxx_try_compile "$LINENO"; then :
70286 glibcxx_cv_func__isnanl_use=yes
70287 else
70288 glibcxx_cv_func__isnanl_use=no
70289 fi
70290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70291 ac_ext=c
70292 ac_cpp='$CPP $CPPFLAGS'
70293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70296
70297
70298 fi
70299
70300 fi
70301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70302 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70303
70304 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70305 for ac_func in _isnanl
70306 do :
70307 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70308 if test "x$ac_cv_func__isnanl" = x""yes; then :
70309 cat >>confdefs.h <<_ACEOF
70310 #define HAVE__ISNANL 1
70311 _ACEOF
70312
70313 fi
70314 done
70315
70316 fi
70317 fi
70318
70319
70320
70321
70322
70323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70324 $as_echo_n "checking for isinfl declaration... " >&6; }
70325 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70326 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70327 $as_echo_n "(cached) " >&6
70328 else
70329
70330
70331 ac_ext=cpp
70332 ac_cpp='$CXXCPP $CPPFLAGS'
70333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70336
70337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70338 /* end confdefs.h. */
70339 #include <math.h>
70340 #ifdef HAVE_IEEEFP_H
70341 #include <ieeefp.h>
70342 #endif
70343
70344 int
70345 main ()
70346 {
70347 isinfl(0);
70348 ;
70349 return 0;
70350 }
70351 _ACEOF
70352 if ac_fn_cxx_try_compile "$LINENO"; then :
70353 glibcxx_cv_func_isinfl_use=yes
70354 else
70355 glibcxx_cv_func_isinfl_use=no
70356 fi
70357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70358 ac_ext=c
70359 ac_cpp='$CPP $CPPFLAGS'
70360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70363
70364
70365 fi
70366
70367 fi
70368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70369 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70370
70371 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70372 for ac_func in isinfl
70373 do :
70374 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70375 if test "x$ac_cv_func_isinfl" = x""yes; then :
70376 cat >>confdefs.h <<_ACEOF
70377 #define HAVE_ISINFL 1
70378 _ACEOF
70379
70380 fi
70381 done
70382
70383 else
70384
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70386 $as_echo_n "checking for _isinfl declaration... " >&6; }
70387 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70388 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70389 $as_echo_n "(cached) " >&6
70390 else
70391
70392
70393 ac_ext=cpp
70394 ac_cpp='$CXXCPP $CPPFLAGS'
70395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70398
70399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70400 /* end confdefs.h. */
70401 #include <math.h>
70402 #ifdef HAVE_IEEEFP_H
70403 #include <ieeefp.h>
70404 #endif
70405
70406 int
70407 main ()
70408 {
70409 _isinfl(0);
70410 ;
70411 return 0;
70412 }
70413 _ACEOF
70414 if ac_fn_cxx_try_compile "$LINENO"; then :
70415 glibcxx_cv_func__isinfl_use=yes
70416 else
70417 glibcxx_cv_func__isinfl_use=no
70418 fi
70419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70420 ac_ext=c
70421 ac_cpp='$CPP $CPPFLAGS'
70422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70425
70426
70427 fi
70428
70429 fi
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70431 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70432
70433 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70434 for ac_func in _isinfl
70435 do :
70436 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70437 if test "x$ac_cv_func__isinfl" = x""yes; then :
70438 cat >>confdefs.h <<_ACEOF
70439 #define HAVE__ISINFL 1
70440 _ACEOF
70441
70442 fi
70443 done
70444
70445 fi
70446 fi
70447
70448
70449
70450
70451
70452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70453 $as_echo_n "checking for atan2l declaration... " >&6; }
70454 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70455 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70456 $as_echo_n "(cached) " >&6
70457 else
70458
70459
70460 ac_ext=cpp
70461 ac_cpp='$CXXCPP $CPPFLAGS'
70462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70465
70466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70467 /* end confdefs.h. */
70468 #include <math.h>
70469 int
70470 main ()
70471 {
70472 atan2l(0, 0);
70473 ;
70474 return 0;
70475 }
70476 _ACEOF
70477 if ac_fn_cxx_try_compile "$LINENO"; then :
70478 glibcxx_cv_func_atan2l_use=yes
70479 else
70480 glibcxx_cv_func_atan2l_use=no
70481 fi
70482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70483 ac_ext=c
70484 ac_cpp='$CPP $CPPFLAGS'
70485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70488
70489
70490 fi
70491
70492 fi
70493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70494 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70495
70496 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70497 for ac_func in atan2l
70498 do :
70499 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70500 if test "x$ac_cv_func_atan2l" = x""yes; then :
70501 cat >>confdefs.h <<_ACEOF
70502 #define HAVE_ATAN2L 1
70503 _ACEOF
70504
70505 fi
70506 done
70507
70508 else
70509
70510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70511 $as_echo_n "checking for _atan2l declaration... " >&6; }
70512 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70513 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70514 $as_echo_n "(cached) " >&6
70515 else
70516
70517
70518 ac_ext=cpp
70519 ac_cpp='$CXXCPP $CPPFLAGS'
70520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70523
70524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70525 /* end confdefs.h. */
70526 #include <math.h>
70527 int
70528 main ()
70529 {
70530 _atan2l(0, 0);
70531 ;
70532 return 0;
70533 }
70534 _ACEOF
70535 if ac_fn_cxx_try_compile "$LINENO"; then :
70536 glibcxx_cv_func__atan2l_use=yes
70537 else
70538 glibcxx_cv_func__atan2l_use=no
70539 fi
70540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70541 ac_ext=c
70542 ac_cpp='$CPP $CPPFLAGS'
70543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70546
70547
70548 fi
70549
70550 fi
70551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70552 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70553
70554 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70555 for ac_func in _atan2l
70556 do :
70557 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70558 if test "x$ac_cv_func__atan2l" = x""yes; then :
70559 cat >>confdefs.h <<_ACEOF
70560 #define HAVE__ATAN2L 1
70561 _ACEOF
70562
70563 fi
70564 done
70565
70566 fi
70567 fi
70568
70569
70570
70571
70572
70573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70574 $as_echo_n "checking for expl declaration... " >&6; }
70575 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70576 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70577 $as_echo_n "(cached) " >&6
70578 else
70579
70580
70581 ac_ext=cpp
70582 ac_cpp='$CXXCPP $CPPFLAGS'
70583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70586
70587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70588 /* end confdefs.h. */
70589 #include <math.h>
70590 #ifdef HAVE_IEEEFP_H
70591 #include <ieeefp.h>
70592 #endif
70593
70594 int
70595 main ()
70596 {
70597 expl(0);
70598 ;
70599 return 0;
70600 }
70601 _ACEOF
70602 if ac_fn_cxx_try_compile "$LINENO"; then :
70603 glibcxx_cv_func_expl_use=yes
70604 else
70605 glibcxx_cv_func_expl_use=no
70606 fi
70607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70608 ac_ext=c
70609 ac_cpp='$CPP $CPPFLAGS'
70610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70613
70614
70615 fi
70616
70617 fi
70618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70619 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70620
70621 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70622 for ac_func in expl
70623 do :
70624 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70625 if test "x$ac_cv_func_expl" = x""yes; then :
70626 cat >>confdefs.h <<_ACEOF
70627 #define HAVE_EXPL 1
70628 _ACEOF
70629
70630 fi
70631 done
70632
70633 else
70634
70635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70636 $as_echo_n "checking for _expl declaration... " >&6; }
70637 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70638 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70639 $as_echo_n "(cached) " >&6
70640 else
70641
70642
70643 ac_ext=cpp
70644 ac_cpp='$CXXCPP $CPPFLAGS'
70645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70648
70649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70650 /* end confdefs.h. */
70651 #include <math.h>
70652 #ifdef HAVE_IEEEFP_H
70653 #include <ieeefp.h>
70654 #endif
70655
70656 int
70657 main ()
70658 {
70659 _expl(0);
70660 ;
70661 return 0;
70662 }
70663 _ACEOF
70664 if ac_fn_cxx_try_compile "$LINENO"; then :
70665 glibcxx_cv_func__expl_use=yes
70666 else
70667 glibcxx_cv_func__expl_use=no
70668 fi
70669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70670 ac_ext=c
70671 ac_cpp='$CPP $CPPFLAGS'
70672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70675
70676
70677 fi
70678
70679 fi
70680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70681 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70682
70683 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70684 for ac_func in _expl
70685 do :
70686 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70687 if test "x$ac_cv_func__expl" = x""yes; then :
70688 cat >>confdefs.h <<_ACEOF
70689 #define HAVE__EXPL 1
70690 _ACEOF
70691
70692 fi
70693 done
70694
70695 fi
70696 fi
70697
70698
70699
70700
70701
70702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70703 $as_echo_n "checking for fabsl declaration... " >&6; }
70704 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70705 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70706 $as_echo_n "(cached) " >&6
70707 else
70708
70709
70710 ac_ext=cpp
70711 ac_cpp='$CXXCPP $CPPFLAGS'
70712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70715
70716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70717 /* end confdefs.h. */
70718 #include <math.h>
70719 #ifdef HAVE_IEEEFP_H
70720 #include <ieeefp.h>
70721 #endif
70722
70723 int
70724 main ()
70725 {
70726 fabsl(0);
70727 ;
70728 return 0;
70729 }
70730 _ACEOF
70731 if ac_fn_cxx_try_compile "$LINENO"; then :
70732 glibcxx_cv_func_fabsl_use=yes
70733 else
70734 glibcxx_cv_func_fabsl_use=no
70735 fi
70736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70737 ac_ext=c
70738 ac_cpp='$CPP $CPPFLAGS'
70739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70742
70743
70744 fi
70745
70746 fi
70747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70748 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70749
70750 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70751 for ac_func in fabsl
70752 do :
70753 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70754 if test "x$ac_cv_func_fabsl" = x""yes; then :
70755 cat >>confdefs.h <<_ACEOF
70756 #define HAVE_FABSL 1
70757 _ACEOF
70758
70759 fi
70760 done
70761
70762 else
70763
70764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70765 $as_echo_n "checking for _fabsl declaration... " >&6; }
70766 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70767 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70768 $as_echo_n "(cached) " >&6
70769 else
70770
70771
70772 ac_ext=cpp
70773 ac_cpp='$CXXCPP $CPPFLAGS'
70774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70777
70778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70779 /* end confdefs.h. */
70780 #include <math.h>
70781 #ifdef HAVE_IEEEFP_H
70782 #include <ieeefp.h>
70783 #endif
70784
70785 int
70786 main ()
70787 {
70788 _fabsl(0);
70789 ;
70790 return 0;
70791 }
70792 _ACEOF
70793 if ac_fn_cxx_try_compile "$LINENO"; then :
70794 glibcxx_cv_func__fabsl_use=yes
70795 else
70796 glibcxx_cv_func__fabsl_use=no
70797 fi
70798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70799 ac_ext=c
70800 ac_cpp='$CPP $CPPFLAGS'
70801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70804
70805
70806 fi
70807
70808 fi
70809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70810 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70811
70812 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70813 for ac_func in _fabsl
70814 do :
70815 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70816 if test "x$ac_cv_func__fabsl" = x""yes; then :
70817 cat >>confdefs.h <<_ACEOF
70818 #define HAVE__FABSL 1
70819 _ACEOF
70820
70821 fi
70822 done
70823
70824 fi
70825 fi
70826
70827
70828
70829
70830
70831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70832 $as_echo_n "checking for fmodl declaration... " >&6; }
70833 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70834 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70835 $as_echo_n "(cached) " >&6
70836 else
70837
70838
70839 ac_ext=cpp
70840 ac_cpp='$CXXCPP $CPPFLAGS'
70841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70844
70845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70846 /* end confdefs.h. */
70847 #include <math.h>
70848 int
70849 main ()
70850 {
70851 fmodl(0, 0);
70852 ;
70853 return 0;
70854 }
70855 _ACEOF
70856 if ac_fn_cxx_try_compile "$LINENO"; then :
70857 glibcxx_cv_func_fmodl_use=yes
70858 else
70859 glibcxx_cv_func_fmodl_use=no
70860 fi
70861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70862 ac_ext=c
70863 ac_cpp='$CPP $CPPFLAGS'
70864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70867
70868
70869 fi
70870
70871 fi
70872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70873 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70874
70875 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70876 for ac_func in fmodl
70877 do :
70878 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70879 if test "x$ac_cv_func_fmodl" = x""yes; then :
70880 cat >>confdefs.h <<_ACEOF
70881 #define HAVE_FMODL 1
70882 _ACEOF
70883
70884 fi
70885 done
70886
70887 else
70888
70889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70890 $as_echo_n "checking for _fmodl declaration... " >&6; }
70891 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70892 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70893 $as_echo_n "(cached) " >&6
70894 else
70895
70896
70897 ac_ext=cpp
70898 ac_cpp='$CXXCPP $CPPFLAGS'
70899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70902
70903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70904 /* end confdefs.h. */
70905 #include <math.h>
70906 int
70907 main ()
70908 {
70909 _fmodl(0, 0);
70910 ;
70911 return 0;
70912 }
70913 _ACEOF
70914 if ac_fn_cxx_try_compile "$LINENO"; then :
70915 glibcxx_cv_func__fmodl_use=yes
70916 else
70917 glibcxx_cv_func__fmodl_use=no
70918 fi
70919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70920 ac_ext=c
70921 ac_cpp='$CPP $CPPFLAGS'
70922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70925
70926
70927 fi
70928
70929 fi
70930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70931 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70932
70933 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70934 for ac_func in _fmodl
70935 do :
70936 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70937 if test "x$ac_cv_func__fmodl" = x""yes; then :
70938 cat >>confdefs.h <<_ACEOF
70939 #define HAVE__FMODL 1
70940 _ACEOF
70941
70942 fi
70943 done
70944
70945 fi
70946 fi
70947
70948
70949
70950
70951
70952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70953 $as_echo_n "checking for frexpl declaration... " >&6; }
70954 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70955 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70956 $as_echo_n "(cached) " >&6
70957 else
70958
70959
70960 ac_ext=cpp
70961 ac_cpp='$CXXCPP $CPPFLAGS'
70962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70965
70966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70967 /* end confdefs.h. */
70968 #include <math.h>
70969 int
70970 main ()
70971 {
70972 frexpl(0, 0);
70973 ;
70974 return 0;
70975 }
70976 _ACEOF
70977 if ac_fn_cxx_try_compile "$LINENO"; then :
70978 glibcxx_cv_func_frexpl_use=yes
70979 else
70980 glibcxx_cv_func_frexpl_use=no
70981 fi
70982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70983 ac_ext=c
70984 ac_cpp='$CPP $CPPFLAGS'
70985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70988
70989
70990 fi
70991
70992 fi
70993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70994 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70995
70996 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70997 for ac_func in frexpl
70998 do :
70999 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71000 if test "x$ac_cv_func_frexpl" = x""yes; then :
71001 cat >>confdefs.h <<_ACEOF
71002 #define HAVE_FREXPL 1
71003 _ACEOF
71004
71005 fi
71006 done
71007
71008 else
71009
71010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71011 $as_echo_n "checking for _frexpl declaration... " >&6; }
71012 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71013 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
71014 $as_echo_n "(cached) " >&6
71015 else
71016
71017
71018 ac_ext=cpp
71019 ac_cpp='$CXXCPP $CPPFLAGS'
71020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71023
71024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71025 /* end confdefs.h. */
71026 #include <math.h>
71027 int
71028 main ()
71029 {
71030 _frexpl(0, 0);
71031 ;
71032 return 0;
71033 }
71034 _ACEOF
71035 if ac_fn_cxx_try_compile "$LINENO"; then :
71036 glibcxx_cv_func__frexpl_use=yes
71037 else
71038 glibcxx_cv_func__frexpl_use=no
71039 fi
71040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71041 ac_ext=c
71042 ac_cpp='$CPP $CPPFLAGS'
71043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71046
71047
71048 fi
71049
71050 fi
71051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71052 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71053
71054 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71055 for ac_func in _frexpl
71056 do :
71057 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71058 if test "x$ac_cv_func__frexpl" = x""yes; then :
71059 cat >>confdefs.h <<_ACEOF
71060 #define HAVE__FREXPL 1
71061 _ACEOF
71062
71063 fi
71064 done
71065
71066 fi
71067 fi
71068
71069
71070
71071
71072
71073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71074 $as_echo_n "checking for hypotl declaration... " >&6; }
71075 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71076 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71077 $as_echo_n "(cached) " >&6
71078 else
71079
71080
71081 ac_ext=cpp
71082 ac_cpp='$CXXCPP $CPPFLAGS'
71083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71086
71087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71088 /* end confdefs.h. */
71089 #include <math.h>
71090 int
71091 main ()
71092 {
71093 hypotl(0, 0);
71094 ;
71095 return 0;
71096 }
71097 _ACEOF
71098 if ac_fn_cxx_try_compile "$LINENO"; then :
71099 glibcxx_cv_func_hypotl_use=yes
71100 else
71101 glibcxx_cv_func_hypotl_use=no
71102 fi
71103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71104 ac_ext=c
71105 ac_cpp='$CPP $CPPFLAGS'
71106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71109
71110
71111 fi
71112
71113 fi
71114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71115 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71116
71117 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71118 for ac_func in hypotl
71119 do :
71120 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71121 if test "x$ac_cv_func_hypotl" = x""yes; then :
71122 cat >>confdefs.h <<_ACEOF
71123 #define HAVE_HYPOTL 1
71124 _ACEOF
71125
71126 fi
71127 done
71128
71129 else
71130
71131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71132 $as_echo_n "checking for _hypotl declaration... " >&6; }
71133 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71134 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71135 $as_echo_n "(cached) " >&6
71136 else
71137
71138
71139 ac_ext=cpp
71140 ac_cpp='$CXXCPP $CPPFLAGS'
71141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71144
71145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71146 /* end confdefs.h. */
71147 #include <math.h>
71148 int
71149 main ()
71150 {
71151 _hypotl(0, 0);
71152 ;
71153 return 0;
71154 }
71155 _ACEOF
71156 if ac_fn_cxx_try_compile "$LINENO"; then :
71157 glibcxx_cv_func__hypotl_use=yes
71158 else
71159 glibcxx_cv_func__hypotl_use=no
71160 fi
71161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71162 ac_ext=c
71163 ac_cpp='$CPP $CPPFLAGS'
71164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71167
71168
71169 fi
71170
71171 fi
71172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71173 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71174
71175 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71176 for ac_func in _hypotl
71177 do :
71178 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71179 if test "x$ac_cv_func__hypotl" = x""yes; then :
71180 cat >>confdefs.h <<_ACEOF
71181 #define HAVE__HYPOTL 1
71182 _ACEOF
71183
71184 fi
71185 done
71186
71187 fi
71188 fi
71189
71190
71191
71192
71193
71194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71195 $as_echo_n "checking for ldexpl declaration... " >&6; }
71196 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71197 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71198 $as_echo_n "(cached) " >&6
71199 else
71200
71201
71202 ac_ext=cpp
71203 ac_cpp='$CXXCPP $CPPFLAGS'
71204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71207
71208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71209 /* end confdefs.h. */
71210 #include <math.h>
71211 int
71212 main ()
71213 {
71214 ldexpl(0, 0);
71215 ;
71216 return 0;
71217 }
71218 _ACEOF
71219 if ac_fn_cxx_try_compile "$LINENO"; then :
71220 glibcxx_cv_func_ldexpl_use=yes
71221 else
71222 glibcxx_cv_func_ldexpl_use=no
71223 fi
71224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71225 ac_ext=c
71226 ac_cpp='$CPP $CPPFLAGS'
71227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71230
71231
71232 fi
71233
71234 fi
71235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71236 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71237
71238 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71239 for ac_func in ldexpl
71240 do :
71241 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71242 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71243 cat >>confdefs.h <<_ACEOF
71244 #define HAVE_LDEXPL 1
71245 _ACEOF
71246
71247 fi
71248 done
71249
71250 else
71251
71252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71253 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71254 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71255 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71256 $as_echo_n "(cached) " >&6
71257 else
71258
71259
71260 ac_ext=cpp
71261 ac_cpp='$CXXCPP $CPPFLAGS'
71262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71265
71266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71267 /* end confdefs.h. */
71268 #include <math.h>
71269 int
71270 main ()
71271 {
71272 _ldexpl(0, 0);
71273 ;
71274 return 0;
71275 }
71276 _ACEOF
71277 if ac_fn_cxx_try_compile "$LINENO"; then :
71278 glibcxx_cv_func__ldexpl_use=yes
71279 else
71280 glibcxx_cv_func__ldexpl_use=no
71281 fi
71282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71283 ac_ext=c
71284 ac_cpp='$CPP $CPPFLAGS'
71285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71288
71289
71290 fi
71291
71292 fi
71293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71294 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71295
71296 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71297 for ac_func in _ldexpl
71298 do :
71299 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71300 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71301 cat >>confdefs.h <<_ACEOF
71302 #define HAVE__LDEXPL 1
71303 _ACEOF
71304
71305 fi
71306 done
71307
71308 fi
71309 fi
71310
71311
71312
71313
71314
71315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71316 $as_echo_n "checking for logl declaration... " >&6; }
71317 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71318 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71319 $as_echo_n "(cached) " >&6
71320 else
71321
71322
71323 ac_ext=cpp
71324 ac_cpp='$CXXCPP $CPPFLAGS'
71325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71328
71329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71330 /* end confdefs.h. */
71331 #include <math.h>
71332 #ifdef HAVE_IEEEFP_H
71333 #include <ieeefp.h>
71334 #endif
71335
71336 int
71337 main ()
71338 {
71339 logl(0);
71340 ;
71341 return 0;
71342 }
71343 _ACEOF
71344 if ac_fn_cxx_try_compile "$LINENO"; then :
71345 glibcxx_cv_func_logl_use=yes
71346 else
71347 glibcxx_cv_func_logl_use=no
71348 fi
71349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71350 ac_ext=c
71351 ac_cpp='$CPP $CPPFLAGS'
71352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71355
71356
71357 fi
71358
71359 fi
71360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71361 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71362
71363 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71364 for ac_func in logl
71365 do :
71366 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71367 if test "x$ac_cv_func_logl" = x""yes; then :
71368 cat >>confdefs.h <<_ACEOF
71369 #define HAVE_LOGL 1
71370 _ACEOF
71371
71372 fi
71373 done
71374
71375 else
71376
71377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71378 $as_echo_n "checking for _logl declaration... " >&6; }
71379 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71380 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71381 $as_echo_n "(cached) " >&6
71382 else
71383
71384
71385 ac_ext=cpp
71386 ac_cpp='$CXXCPP $CPPFLAGS'
71387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71390
71391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71392 /* end confdefs.h. */
71393 #include <math.h>
71394 #ifdef HAVE_IEEEFP_H
71395 #include <ieeefp.h>
71396 #endif
71397
71398 int
71399 main ()
71400 {
71401 _logl(0);
71402 ;
71403 return 0;
71404 }
71405 _ACEOF
71406 if ac_fn_cxx_try_compile "$LINENO"; then :
71407 glibcxx_cv_func__logl_use=yes
71408 else
71409 glibcxx_cv_func__logl_use=no
71410 fi
71411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71412 ac_ext=c
71413 ac_cpp='$CPP $CPPFLAGS'
71414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71417
71418
71419 fi
71420
71421 fi
71422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71423 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71424
71425 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71426 for ac_func in _logl
71427 do :
71428 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71429 if test "x$ac_cv_func__logl" = x""yes; then :
71430 cat >>confdefs.h <<_ACEOF
71431 #define HAVE__LOGL 1
71432 _ACEOF
71433
71434 fi
71435 done
71436
71437 fi
71438 fi
71439
71440
71441
71442
71443
71444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71445 $as_echo_n "checking for log10l declaration... " >&6; }
71446 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71447 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71448 $as_echo_n "(cached) " >&6
71449 else
71450
71451
71452 ac_ext=cpp
71453 ac_cpp='$CXXCPP $CPPFLAGS'
71454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71457
71458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71459 /* end confdefs.h. */
71460 #include <math.h>
71461 #ifdef HAVE_IEEEFP_H
71462 #include <ieeefp.h>
71463 #endif
71464
71465 int
71466 main ()
71467 {
71468 log10l(0);
71469 ;
71470 return 0;
71471 }
71472 _ACEOF
71473 if ac_fn_cxx_try_compile "$LINENO"; then :
71474 glibcxx_cv_func_log10l_use=yes
71475 else
71476 glibcxx_cv_func_log10l_use=no
71477 fi
71478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71479 ac_ext=c
71480 ac_cpp='$CPP $CPPFLAGS'
71481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71484
71485
71486 fi
71487
71488 fi
71489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71490 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71491
71492 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71493 for ac_func in log10l
71494 do :
71495 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71496 if test "x$ac_cv_func_log10l" = x""yes; then :
71497 cat >>confdefs.h <<_ACEOF
71498 #define HAVE_LOG10L 1
71499 _ACEOF
71500
71501 fi
71502 done
71503
71504 else
71505
71506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71507 $as_echo_n "checking for _log10l declaration... " >&6; }
71508 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71509 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71510 $as_echo_n "(cached) " >&6
71511 else
71512
71513
71514 ac_ext=cpp
71515 ac_cpp='$CXXCPP $CPPFLAGS'
71516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71519
71520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71521 /* end confdefs.h. */
71522 #include <math.h>
71523 #ifdef HAVE_IEEEFP_H
71524 #include <ieeefp.h>
71525 #endif
71526
71527 int
71528 main ()
71529 {
71530 _log10l(0);
71531 ;
71532 return 0;
71533 }
71534 _ACEOF
71535 if ac_fn_cxx_try_compile "$LINENO"; then :
71536 glibcxx_cv_func__log10l_use=yes
71537 else
71538 glibcxx_cv_func__log10l_use=no
71539 fi
71540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71541 ac_ext=c
71542 ac_cpp='$CPP $CPPFLAGS'
71543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71546
71547
71548 fi
71549
71550 fi
71551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71552 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71553
71554 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71555 for ac_func in _log10l
71556 do :
71557 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71558 if test "x$ac_cv_func__log10l" = x""yes; then :
71559 cat >>confdefs.h <<_ACEOF
71560 #define HAVE__LOG10L 1
71561 _ACEOF
71562
71563 fi
71564 done
71565
71566 fi
71567 fi
71568
71569
71570
71571
71572
71573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71574 $as_echo_n "checking for modfl declaration... " >&6; }
71575 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71576 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71577 $as_echo_n "(cached) " >&6
71578 else
71579
71580
71581 ac_ext=cpp
71582 ac_cpp='$CXXCPP $CPPFLAGS'
71583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71586
71587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71588 /* end confdefs.h. */
71589 #include <math.h>
71590 int
71591 main ()
71592 {
71593 modfl(0, 0);
71594 ;
71595 return 0;
71596 }
71597 _ACEOF
71598 if ac_fn_cxx_try_compile "$LINENO"; then :
71599 glibcxx_cv_func_modfl_use=yes
71600 else
71601 glibcxx_cv_func_modfl_use=no
71602 fi
71603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71604 ac_ext=c
71605 ac_cpp='$CPP $CPPFLAGS'
71606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71609
71610
71611 fi
71612
71613 fi
71614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71615 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71616
71617 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71618 for ac_func in modfl
71619 do :
71620 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71621 if test "x$ac_cv_func_modfl" = x""yes; then :
71622 cat >>confdefs.h <<_ACEOF
71623 #define HAVE_MODFL 1
71624 _ACEOF
71625
71626 fi
71627 done
71628
71629 else
71630
71631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71632 $as_echo_n "checking for _modfl declaration... " >&6; }
71633 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71634 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71635 $as_echo_n "(cached) " >&6
71636 else
71637
71638
71639 ac_ext=cpp
71640 ac_cpp='$CXXCPP $CPPFLAGS'
71641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71644
71645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71646 /* end confdefs.h. */
71647 #include <math.h>
71648 int
71649 main ()
71650 {
71651 _modfl(0, 0);
71652 ;
71653 return 0;
71654 }
71655 _ACEOF
71656 if ac_fn_cxx_try_compile "$LINENO"; then :
71657 glibcxx_cv_func__modfl_use=yes
71658 else
71659 glibcxx_cv_func__modfl_use=no
71660 fi
71661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71662 ac_ext=c
71663 ac_cpp='$CPP $CPPFLAGS'
71664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71667
71668
71669 fi
71670
71671 fi
71672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71673 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71674
71675 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71676 for ac_func in _modfl
71677 do :
71678 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71679 if test "x$ac_cv_func__modfl" = x""yes; then :
71680 cat >>confdefs.h <<_ACEOF
71681 #define HAVE__MODFL 1
71682 _ACEOF
71683
71684 fi
71685 done
71686
71687 fi
71688 fi
71689
71690
71691
71692
71693
71694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71695 $as_echo_n "checking for powl declaration... " >&6; }
71696 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71697 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71698 $as_echo_n "(cached) " >&6
71699 else
71700
71701
71702 ac_ext=cpp
71703 ac_cpp='$CXXCPP $CPPFLAGS'
71704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71707
71708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71709 /* end confdefs.h. */
71710 #include <math.h>
71711 int
71712 main ()
71713 {
71714 powl(0, 0);
71715 ;
71716 return 0;
71717 }
71718 _ACEOF
71719 if ac_fn_cxx_try_compile "$LINENO"; then :
71720 glibcxx_cv_func_powl_use=yes
71721 else
71722 glibcxx_cv_func_powl_use=no
71723 fi
71724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71725 ac_ext=c
71726 ac_cpp='$CPP $CPPFLAGS'
71727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71730
71731
71732 fi
71733
71734 fi
71735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71736 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71737
71738 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71739 for ac_func in powl
71740 do :
71741 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71742 if test "x$ac_cv_func_powl" = x""yes; then :
71743 cat >>confdefs.h <<_ACEOF
71744 #define HAVE_POWL 1
71745 _ACEOF
71746
71747 fi
71748 done
71749
71750 else
71751
71752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71753 $as_echo_n "checking for _powl declaration... " >&6; }
71754 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71755 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71756 $as_echo_n "(cached) " >&6
71757 else
71758
71759
71760 ac_ext=cpp
71761 ac_cpp='$CXXCPP $CPPFLAGS'
71762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71765
71766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71767 /* end confdefs.h. */
71768 #include <math.h>
71769 int
71770 main ()
71771 {
71772 _powl(0, 0);
71773 ;
71774 return 0;
71775 }
71776 _ACEOF
71777 if ac_fn_cxx_try_compile "$LINENO"; then :
71778 glibcxx_cv_func__powl_use=yes
71779 else
71780 glibcxx_cv_func__powl_use=no
71781 fi
71782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71783 ac_ext=c
71784 ac_cpp='$CPP $CPPFLAGS'
71785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71788
71789
71790 fi
71791
71792 fi
71793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71794 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71795
71796 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71797 for ac_func in _powl
71798 do :
71799 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71800 if test "x$ac_cv_func__powl" = x""yes; then :
71801 cat >>confdefs.h <<_ACEOF
71802 #define HAVE__POWL 1
71803 _ACEOF
71804
71805 fi
71806 done
71807
71808 fi
71809 fi
71810
71811
71812
71813
71814
71815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71816 $as_echo_n "checking for sqrtl declaration... " >&6; }
71817 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71818 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71819 $as_echo_n "(cached) " >&6
71820 else
71821
71822
71823 ac_ext=cpp
71824 ac_cpp='$CXXCPP $CPPFLAGS'
71825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71828
71829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71830 /* end confdefs.h. */
71831 #include <math.h>
71832 #ifdef HAVE_IEEEFP_H
71833 #include <ieeefp.h>
71834 #endif
71835
71836 int
71837 main ()
71838 {
71839 sqrtl(0);
71840 ;
71841 return 0;
71842 }
71843 _ACEOF
71844 if ac_fn_cxx_try_compile "$LINENO"; then :
71845 glibcxx_cv_func_sqrtl_use=yes
71846 else
71847 glibcxx_cv_func_sqrtl_use=no
71848 fi
71849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71850 ac_ext=c
71851 ac_cpp='$CPP $CPPFLAGS'
71852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71855
71856
71857 fi
71858
71859 fi
71860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71861 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71862
71863 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71864 for ac_func in sqrtl
71865 do :
71866 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71867 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71868 cat >>confdefs.h <<_ACEOF
71869 #define HAVE_SQRTL 1
71870 _ACEOF
71871
71872 fi
71873 done
71874
71875 else
71876
71877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71878 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71879 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71880 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71881 $as_echo_n "(cached) " >&6
71882 else
71883
71884
71885 ac_ext=cpp
71886 ac_cpp='$CXXCPP $CPPFLAGS'
71887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71890
71891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71892 /* end confdefs.h. */
71893 #include <math.h>
71894 #ifdef HAVE_IEEEFP_H
71895 #include <ieeefp.h>
71896 #endif
71897
71898 int
71899 main ()
71900 {
71901 _sqrtl(0);
71902 ;
71903 return 0;
71904 }
71905 _ACEOF
71906 if ac_fn_cxx_try_compile "$LINENO"; then :
71907 glibcxx_cv_func__sqrtl_use=yes
71908 else
71909 glibcxx_cv_func__sqrtl_use=no
71910 fi
71911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71912 ac_ext=c
71913 ac_cpp='$CPP $CPPFLAGS'
71914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71917
71918
71919 fi
71920
71921 fi
71922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71923 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71924
71925 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71926 for ac_func in _sqrtl
71927 do :
71928 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71929 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71930 cat >>confdefs.h <<_ACEOF
71931 #define HAVE__SQRTL 1
71932 _ACEOF
71933
71934 fi
71935 done
71936
71937 fi
71938 fi
71939
71940
71941
71942
71943
71944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71945 $as_echo_n "checking for sincosl declaration... " >&6; }
71946 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71947 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71948 $as_echo_n "(cached) " >&6
71949 else
71950
71951
71952 ac_ext=cpp
71953 ac_cpp='$CXXCPP $CPPFLAGS'
71954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71957
71958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71959 /* end confdefs.h. */
71960 #include <math.h>
71961 int
71962 main ()
71963 {
71964 sincosl(0, 0, 0);
71965 ;
71966 return 0;
71967 }
71968 _ACEOF
71969 if ac_fn_cxx_try_compile "$LINENO"; then :
71970 glibcxx_cv_func_sincosl_use=yes
71971 else
71972 glibcxx_cv_func_sincosl_use=no
71973 fi
71974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71975 ac_ext=c
71976 ac_cpp='$CPP $CPPFLAGS'
71977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71980
71981
71982 fi
71983
71984 fi
71985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71986 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71987
71988 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71989 for ac_func in sincosl
71990 do :
71991 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71992 if test "x$ac_cv_func_sincosl" = x""yes; then :
71993 cat >>confdefs.h <<_ACEOF
71994 #define HAVE_SINCOSL 1
71995 _ACEOF
71996
71997 fi
71998 done
71999
72000 else
72001
72002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72003 $as_echo_n "checking for _sincosl declaration... " >&6; }
72004 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72005 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
72006 $as_echo_n "(cached) " >&6
72007 else
72008
72009
72010 ac_ext=cpp
72011 ac_cpp='$CXXCPP $CPPFLAGS'
72012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72015
72016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72017 /* end confdefs.h. */
72018 #include <math.h>
72019 int
72020 main ()
72021 {
72022 _sincosl(0, 0, 0);
72023 ;
72024 return 0;
72025 }
72026 _ACEOF
72027 if ac_fn_cxx_try_compile "$LINENO"; then :
72028 glibcxx_cv_func__sincosl_use=yes
72029 else
72030 glibcxx_cv_func__sincosl_use=no
72031 fi
72032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72033 ac_ext=c
72034 ac_cpp='$CPP $CPPFLAGS'
72035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72038
72039
72040 fi
72041
72042 fi
72043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72044 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72045
72046 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72047 for ac_func in _sincosl
72048 do :
72049 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72050 if test "x$ac_cv_func__sincosl" = x""yes; then :
72051 cat >>confdefs.h <<_ACEOF
72052 #define HAVE__SINCOSL 1
72053 _ACEOF
72054
72055 fi
72056 done
72057
72058 fi
72059 fi
72060
72061
72062
72063
72064
72065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72066 $as_echo_n "checking for finitel declaration... " >&6; }
72067 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72068 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72069 $as_echo_n "(cached) " >&6
72070 else
72071
72072
72073 ac_ext=cpp
72074 ac_cpp='$CXXCPP $CPPFLAGS'
72075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72078
72079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72080 /* end confdefs.h. */
72081 #include <math.h>
72082 #ifdef HAVE_IEEEFP_H
72083 #include <ieeefp.h>
72084 #endif
72085
72086 int
72087 main ()
72088 {
72089 finitel(0);
72090 ;
72091 return 0;
72092 }
72093 _ACEOF
72094 if ac_fn_cxx_try_compile "$LINENO"; then :
72095 glibcxx_cv_func_finitel_use=yes
72096 else
72097 glibcxx_cv_func_finitel_use=no
72098 fi
72099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72100 ac_ext=c
72101 ac_cpp='$CPP $CPPFLAGS'
72102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72105
72106
72107 fi
72108
72109 fi
72110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72111 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72112
72113 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72114 for ac_func in finitel
72115 do :
72116 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72117 if test "x$ac_cv_func_finitel" = x""yes; then :
72118 cat >>confdefs.h <<_ACEOF
72119 #define HAVE_FINITEL 1
72120 _ACEOF
72121
72122 fi
72123 done
72124
72125 else
72126
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72128 $as_echo_n "checking for _finitel declaration... " >&6; }
72129 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72130 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72131 $as_echo_n "(cached) " >&6
72132 else
72133
72134
72135 ac_ext=cpp
72136 ac_cpp='$CXXCPP $CPPFLAGS'
72137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72140
72141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72142 /* end confdefs.h. */
72143 #include <math.h>
72144 #ifdef HAVE_IEEEFP_H
72145 #include <ieeefp.h>
72146 #endif
72147
72148 int
72149 main ()
72150 {
72151 _finitel(0);
72152 ;
72153 return 0;
72154 }
72155 _ACEOF
72156 if ac_fn_cxx_try_compile "$LINENO"; then :
72157 glibcxx_cv_func__finitel_use=yes
72158 else
72159 glibcxx_cv_func__finitel_use=no
72160 fi
72161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72162 ac_ext=c
72163 ac_cpp='$CPP $CPPFLAGS'
72164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72167
72168
72169 fi
72170
72171 fi
72172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72173 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72174
72175 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72176 for ac_func in _finitel
72177 do :
72178 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72179 if test "x$ac_cv_func__finitel" = x""yes; then :
72180 cat >>confdefs.h <<_ACEOF
72181 #define HAVE__FINITEL 1
72182 _ACEOF
72183
72184 fi
72185 done
72186
72187 fi
72188 fi
72189
72190
72191
72192
72193 LIBS="$ac_save_LIBS"
72194 CXXFLAGS="$ac_save_CXXFLAGS"
72195
72196
72197 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72198 ac_save_CXXFLAGS="$CXXFLAGS"
72199 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72200
72201
72202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72203 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72204 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72205 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72206 $as_echo_n "(cached) " >&6
72207 else
72208
72209
72210 ac_ext=cpp
72211 ac_cpp='$CXXCPP $CPPFLAGS'
72212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72215
72216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72217 /* end confdefs.h. */
72218 #include <stdlib.h>
72219 int
72220 main ()
72221 {
72222 at_quick_exit(0);
72223 ;
72224 return 0;
72225 }
72226 _ACEOF
72227 if ac_fn_cxx_try_compile "$LINENO"; then :
72228 glibcxx_cv_func_at_quick_exit_use=yes
72229 else
72230 glibcxx_cv_func_at_quick_exit_use=no
72231 fi
72232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72233 ac_ext=c
72234 ac_cpp='$CPP $CPPFLAGS'
72235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72238
72239
72240 fi
72241
72242 fi
72243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72244 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72245 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72246 for ac_func in at_quick_exit
72247 do :
72248 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72249 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72250 cat >>confdefs.h <<_ACEOF
72251 #define HAVE_AT_QUICK_EXIT 1
72252 _ACEOF
72253
72254 fi
72255 done
72256
72257 fi
72258
72259
72260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72261 $as_echo_n "checking for quick_exit declaration... " >&6; }
72262 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72263 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72264 $as_echo_n "(cached) " >&6
72265 else
72266
72267
72268 ac_ext=cpp
72269 ac_cpp='$CXXCPP $CPPFLAGS'
72270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72273
72274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72275 /* end confdefs.h. */
72276 #include <stdlib.h>
72277 int
72278 main ()
72279 {
72280 quick_exit(0);
72281 ;
72282 return 0;
72283 }
72284 _ACEOF
72285 if ac_fn_cxx_try_compile "$LINENO"; then :
72286 glibcxx_cv_func_quick_exit_use=yes
72287 else
72288 glibcxx_cv_func_quick_exit_use=no
72289 fi
72290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72291 ac_ext=c
72292 ac_cpp='$CPP $CPPFLAGS'
72293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72296
72297
72298 fi
72299
72300 fi
72301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72302 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72303 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72304 for ac_func in quick_exit
72305 do :
72306 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72307 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72308 cat >>confdefs.h <<_ACEOF
72309 #define HAVE_QUICK_EXIT 1
72310 _ACEOF
72311
72312 fi
72313 done
72314
72315 fi
72316
72317
72318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72319 $as_echo_n "checking for strtold declaration... " >&6; }
72320 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72321 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72322 $as_echo_n "(cached) " >&6
72323 else
72324
72325
72326 ac_ext=cpp
72327 ac_cpp='$CXXCPP $CPPFLAGS'
72328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72331
72332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72333 /* end confdefs.h. */
72334 #include <stdlib.h>
72335 int
72336 main ()
72337 {
72338 strtold(0, 0);
72339 ;
72340 return 0;
72341 }
72342 _ACEOF
72343 if ac_fn_cxx_try_compile "$LINENO"; then :
72344 glibcxx_cv_func_strtold_use=yes
72345 else
72346 glibcxx_cv_func_strtold_use=no
72347 fi
72348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72349 ac_ext=c
72350 ac_cpp='$CPP $CPPFLAGS'
72351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72354
72355
72356 fi
72357
72358 fi
72359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72360 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72361 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72362 for ac_func in strtold
72363 do :
72364 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72365 if test "x$ac_cv_func_strtold" = x""yes; then :
72366 cat >>confdefs.h <<_ACEOF
72367 #define HAVE_STRTOLD 1
72368 _ACEOF
72369
72370 fi
72371 done
72372
72373 fi
72374
72375
72376
72377
72378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72379 $as_echo_n "checking for strtof declaration... " >&6; }
72380 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72381 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72382 $as_echo_n "(cached) " >&6
72383 else
72384
72385
72386 ac_ext=cpp
72387 ac_cpp='$CXXCPP $CPPFLAGS'
72388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72391
72392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72393 /* end confdefs.h. */
72394 #include <stdlib.h>
72395 int
72396 main ()
72397 {
72398 strtof(0, 0);
72399 ;
72400 return 0;
72401 }
72402 _ACEOF
72403 if ac_fn_cxx_try_compile "$LINENO"; then :
72404 glibcxx_cv_func_strtof_use=yes
72405 else
72406 glibcxx_cv_func_strtof_use=no
72407 fi
72408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72409 ac_ext=c
72410 ac_cpp='$CPP $CPPFLAGS'
72411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72414
72415
72416 fi
72417
72418 fi
72419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72420 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72421 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72422 for ac_func in strtof
72423 do :
72424 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72425 if test "x$ac_cv_func_strtof" = x""yes; then :
72426 cat >>confdefs.h <<_ACEOF
72427 #define HAVE_STRTOF 1
72428 _ACEOF
72429
72430 fi
72431 done
72432
72433 fi
72434
72435
72436
72437
72438 CXXFLAGS="$ac_save_CXXFLAGS"
72439
72440 ;;
72441 *-tpf)
72442 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72443 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72444
72445 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72446
72447 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72448
72449 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72450
72451 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72452
72453 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72454
72455 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72456
72457 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72458
72459 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72460
72461 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72462
72463 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72464
72465 if test x"long_double_math_on_this_cpu" = x"yes"; then
72466 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72467
72468 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72469
72470 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72471
72472 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72473
72474 fi
72475 ;;
72476 *-*vms*)
72477 # Check for available headers.
72478 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72479
72480 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72481 ac_save_CXXFLAGS="$CXXFLAGS"
72482 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72483
72484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72485 $as_echo_n "checking for sin in -lm... " >&6; }
72486 if test "${ac_cv_lib_m_sin+set}" = set; then :
72487 $as_echo_n "(cached) " >&6
72488 else
72489 ac_check_lib_save_LIBS=$LIBS
72490 LIBS="-lm $LIBS"
72491 if test x$gcc_no_link = xyes; then
72492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72493 fi
72494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72495 /* end confdefs.h. */
72496
72497 /* Override any GCC internal prototype to avoid an error.
72498 Use char because int might match the return type of a GCC
72499 builtin and then its argument prototype would still apply. */
72500 #ifdef __cplusplus
72501 extern "C"
72502 #endif
72503 char sin ();
72504 int
72505 main ()
72506 {
72507 return sin ();
72508 ;
72509 return 0;
72510 }
72511 _ACEOF
72512 if ac_fn_c_try_link "$LINENO"; then :
72513 ac_cv_lib_m_sin=yes
72514 else
72515 ac_cv_lib_m_sin=no
72516 fi
72517 rm -f core conftest.err conftest.$ac_objext \
72518 conftest$ac_exeext conftest.$ac_ext
72519 LIBS=$ac_check_lib_save_LIBS
72520 fi
72521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72522 $as_echo "$ac_cv_lib_m_sin" >&6; }
72523 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72524 libm="-lm"
72525 fi
72526
72527 ac_save_LIBS="$LIBS"
72528 LIBS="$LIBS $libm"
72529
72530
72531
72532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72533 $as_echo_n "checking for isinf declaration... " >&6; }
72534 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72535 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72536 $as_echo_n "(cached) " >&6
72537 else
72538
72539
72540 ac_ext=cpp
72541 ac_cpp='$CXXCPP $CPPFLAGS'
72542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72545
72546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72547 /* end confdefs.h. */
72548 #include <math.h>
72549 #ifdef HAVE_IEEEFP_H
72550 #include <ieeefp.h>
72551 #endif
72552
72553 int
72554 main ()
72555 {
72556 isinf(0);
72557 ;
72558 return 0;
72559 }
72560 _ACEOF
72561 if ac_fn_cxx_try_compile "$LINENO"; then :
72562 glibcxx_cv_func_isinf_use=yes
72563 else
72564 glibcxx_cv_func_isinf_use=no
72565 fi
72566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72567 ac_ext=c
72568 ac_cpp='$CPP $CPPFLAGS'
72569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72572
72573
72574 fi
72575
72576 fi
72577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72578 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72579
72580 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72581 for ac_func in isinf
72582 do :
72583 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72584 if test "x$ac_cv_func_isinf" = x""yes; then :
72585 cat >>confdefs.h <<_ACEOF
72586 #define HAVE_ISINF 1
72587 _ACEOF
72588
72589 fi
72590 done
72591
72592 else
72593
72594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72595 $as_echo_n "checking for _isinf declaration... " >&6; }
72596 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72597 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72598 $as_echo_n "(cached) " >&6
72599 else
72600
72601
72602 ac_ext=cpp
72603 ac_cpp='$CXXCPP $CPPFLAGS'
72604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72607
72608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72609 /* end confdefs.h. */
72610 #include <math.h>
72611 #ifdef HAVE_IEEEFP_H
72612 #include <ieeefp.h>
72613 #endif
72614
72615 int
72616 main ()
72617 {
72618 _isinf(0);
72619 ;
72620 return 0;
72621 }
72622 _ACEOF
72623 if ac_fn_cxx_try_compile "$LINENO"; then :
72624 glibcxx_cv_func__isinf_use=yes
72625 else
72626 glibcxx_cv_func__isinf_use=no
72627 fi
72628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72629 ac_ext=c
72630 ac_cpp='$CPP $CPPFLAGS'
72631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72634
72635
72636 fi
72637
72638 fi
72639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72640 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72641
72642 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72643 for ac_func in _isinf
72644 do :
72645 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72646 if test "x$ac_cv_func__isinf" = x""yes; then :
72647 cat >>confdefs.h <<_ACEOF
72648 #define HAVE__ISINF 1
72649 _ACEOF
72650
72651 fi
72652 done
72653
72654 fi
72655 fi
72656
72657
72658
72659
72660
72661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72662 $as_echo_n "checking for isnan declaration... " >&6; }
72663 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72664 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72665 $as_echo_n "(cached) " >&6
72666 else
72667
72668
72669 ac_ext=cpp
72670 ac_cpp='$CXXCPP $CPPFLAGS'
72671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72674
72675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72676 /* end confdefs.h. */
72677 #include <math.h>
72678 #ifdef HAVE_IEEEFP_H
72679 #include <ieeefp.h>
72680 #endif
72681
72682 int
72683 main ()
72684 {
72685 isnan(0);
72686 ;
72687 return 0;
72688 }
72689 _ACEOF
72690 if ac_fn_cxx_try_compile "$LINENO"; then :
72691 glibcxx_cv_func_isnan_use=yes
72692 else
72693 glibcxx_cv_func_isnan_use=no
72694 fi
72695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72696 ac_ext=c
72697 ac_cpp='$CPP $CPPFLAGS'
72698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72701
72702
72703 fi
72704
72705 fi
72706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72707 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72708
72709 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72710 for ac_func in isnan
72711 do :
72712 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72713 if test "x$ac_cv_func_isnan" = x""yes; then :
72714 cat >>confdefs.h <<_ACEOF
72715 #define HAVE_ISNAN 1
72716 _ACEOF
72717
72718 fi
72719 done
72720
72721 else
72722
72723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72724 $as_echo_n "checking for _isnan declaration... " >&6; }
72725 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72726 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72727 $as_echo_n "(cached) " >&6
72728 else
72729
72730
72731 ac_ext=cpp
72732 ac_cpp='$CXXCPP $CPPFLAGS'
72733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72736
72737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72738 /* end confdefs.h. */
72739 #include <math.h>
72740 #ifdef HAVE_IEEEFP_H
72741 #include <ieeefp.h>
72742 #endif
72743
72744 int
72745 main ()
72746 {
72747 _isnan(0);
72748 ;
72749 return 0;
72750 }
72751 _ACEOF
72752 if ac_fn_cxx_try_compile "$LINENO"; then :
72753 glibcxx_cv_func__isnan_use=yes
72754 else
72755 glibcxx_cv_func__isnan_use=no
72756 fi
72757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72758 ac_ext=c
72759 ac_cpp='$CPP $CPPFLAGS'
72760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72763
72764
72765 fi
72766
72767 fi
72768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72769 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72770
72771 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72772 for ac_func in _isnan
72773 do :
72774 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72775 if test "x$ac_cv_func__isnan" = x""yes; then :
72776 cat >>confdefs.h <<_ACEOF
72777 #define HAVE__ISNAN 1
72778 _ACEOF
72779
72780 fi
72781 done
72782
72783 fi
72784 fi
72785
72786
72787
72788
72789
72790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72791 $as_echo_n "checking for finite declaration... " >&6; }
72792 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72793 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72794 $as_echo_n "(cached) " >&6
72795 else
72796
72797
72798 ac_ext=cpp
72799 ac_cpp='$CXXCPP $CPPFLAGS'
72800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72803
72804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72805 /* end confdefs.h. */
72806 #include <math.h>
72807 #ifdef HAVE_IEEEFP_H
72808 #include <ieeefp.h>
72809 #endif
72810
72811 int
72812 main ()
72813 {
72814 finite(0);
72815 ;
72816 return 0;
72817 }
72818 _ACEOF
72819 if ac_fn_cxx_try_compile "$LINENO"; then :
72820 glibcxx_cv_func_finite_use=yes
72821 else
72822 glibcxx_cv_func_finite_use=no
72823 fi
72824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72825 ac_ext=c
72826 ac_cpp='$CPP $CPPFLAGS'
72827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72830
72831
72832 fi
72833
72834 fi
72835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72836 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72837
72838 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72839 for ac_func in finite
72840 do :
72841 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72842 if test "x$ac_cv_func_finite" = x""yes; then :
72843 cat >>confdefs.h <<_ACEOF
72844 #define HAVE_FINITE 1
72845 _ACEOF
72846
72847 fi
72848 done
72849
72850 else
72851
72852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72853 $as_echo_n "checking for _finite declaration... " >&6; }
72854 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72855 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72856 $as_echo_n "(cached) " >&6
72857 else
72858
72859
72860 ac_ext=cpp
72861 ac_cpp='$CXXCPP $CPPFLAGS'
72862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72865
72866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72867 /* end confdefs.h. */
72868 #include <math.h>
72869 #ifdef HAVE_IEEEFP_H
72870 #include <ieeefp.h>
72871 #endif
72872
72873 int
72874 main ()
72875 {
72876 _finite(0);
72877 ;
72878 return 0;
72879 }
72880 _ACEOF
72881 if ac_fn_cxx_try_compile "$LINENO"; then :
72882 glibcxx_cv_func__finite_use=yes
72883 else
72884 glibcxx_cv_func__finite_use=no
72885 fi
72886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72887 ac_ext=c
72888 ac_cpp='$CPP $CPPFLAGS'
72889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72892
72893
72894 fi
72895
72896 fi
72897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72898 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72899
72900 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72901 for ac_func in _finite
72902 do :
72903 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72904 if test "x$ac_cv_func__finite" = x""yes; then :
72905 cat >>confdefs.h <<_ACEOF
72906 #define HAVE__FINITE 1
72907 _ACEOF
72908
72909 fi
72910 done
72911
72912 fi
72913 fi
72914
72915
72916
72917
72918
72919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72920 $as_echo_n "checking for sincos declaration... " >&6; }
72921 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72922 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72923 $as_echo_n "(cached) " >&6
72924 else
72925
72926
72927 ac_ext=cpp
72928 ac_cpp='$CXXCPP $CPPFLAGS'
72929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72932
72933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72934 /* end confdefs.h. */
72935 #include <math.h>
72936 int
72937 main ()
72938 {
72939 sincos(0, 0, 0);
72940 ;
72941 return 0;
72942 }
72943 _ACEOF
72944 if ac_fn_cxx_try_compile "$LINENO"; then :
72945 glibcxx_cv_func_sincos_use=yes
72946 else
72947 glibcxx_cv_func_sincos_use=no
72948 fi
72949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72950 ac_ext=c
72951 ac_cpp='$CPP $CPPFLAGS'
72952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72955
72956
72957 fi
72958
72959 fi
72960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72961 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72962
72963 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72964 for ac_func in sincos
72965 do :
72966 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72967 if test "x$ac_cv_func_sincos" = x""yes; then :
72968 cat >>confdefs.h <<_ACEOF
72969 #define HAVE_SINCOS 1
72970 _ACEOF
72971
72972 fi
72973 done
72974
72975 else
72976
72977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72978 $as_echo_n "checking for _sincos declaration... " >&6; }
72979 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72980 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72981 $as_echo_n "(cached) " >&6
72982 else
72983
72984
72985 ac_ext=cpp
72986 ac_cpp='$CXXCPP $CPPFLAGS'
72987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72990
72991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72992 /* end confdefs.h. */
72993 #include <math.h>
72994 int
72995 main ()
72996 {
72997 _sincos(0, 0, 0);
72998 ;
72999 return 0;
73000 }
73001 _ACEOF
73002 if ac_fn_cxx_try_compile "$LINENO"; then :
73003 glibcxx_cv_func__sincos_use=yes
73004 else
73005 glibcxx_cv_func__sincos_use=no
73006 fi
73007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73008 ac_ext=c
73009 ac_cpp='$CPP $CPPFLAGS'
73010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73013
73014
73015 fi
73016
73017 fi
73018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73019 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73020
73021 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73022 for ac_func in _sincos
73023 do :
73024 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73025 if test "x$ac_cv_func__sincos" = x""yes; then :
73026 cat >>confdefs.h <<_ACEOF
73027 #define HAVE__SINCOS 1
73028 _ACEOF
73029
73030 fi
73031 done
73032
73033 fi
73034 fi
73035
73036
73037
73038
73039
73040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73041 $as_echo_n "checking for fpclass declaration... " >&6; }
73042 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73043 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73044 $as_echo_n "(cached) " >&6
73045 else
73046
73047
73048 ac_ext=cpp
73049 ac_cpp='$CXXCPP $CPPFLAGS'
73050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73053
73054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73055 /* end confdefs.h. */
73056 #include <math.h>
73057 #ifdef HAVE_IEEEFP_H
73058 #include <ieeefp.h>
73059 #endif
73060
73061 int
73062 main ()
73063 {
73064 fpclass(0);
73065 ;
73066 return 0;
73067 }
73068 _ACEOF
73069 if ac_fn_cxx_try_compile "$LINENO"; then :
73070 glibcxx_cv_func_fpclass_use=yes
73071 else
73072 glibcxx_cv_func_fpclass_use=no
73073 fi
73074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73075 ac_ext=c
73076 ac_cpp='$CPP $CPPFLAGS'
73077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73080
73081
73082 fi
73083
73084 fi
73085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73086 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73087
73088 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73089 for ac_func in fpclass
73090 do :
73091 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73092 if test "x$ac_cv_func_fpclass" = x""yes; then :
73093 cat >>confdefs.h <<_ACEOF
73094 #define HAVE_FPCLASS 1
73095 _ACEOF
73096
73097 fi
73098 done
73099
73100 else
73101
73102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73103 $as_echo_n "checking for _fpclass declaration... " >&6; }
73104 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73105 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73106 $as_echo_n "(cached) " >&6
73107 else
73108
73109
73110 ac_ext=cpp
73111 ac_cpp='$CXXCPP $CPPFLAGS'
73112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73115
73116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73117 /* end confdefs.h. */
73118 #include <math.h>
73119 #ifdef HAVE_IEEEFP_H
73120 #include <ieeefp.h>
73121 #endif
73122
73123 int
73124 main ()
73125 {
73126 _fpclass(0);
73127 ;
73128 return 0;
73129 }
73130 _ACEOF
73131 if ac_fn_cxx_try_compile "$LINENO"; then :
73132 glibcxx_cv_func__fpclass_use=yes
73133 else
73134 glibcxx_cv_func__fpclass_use=no
73135 fi
73136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73137 ac_ext=c
73138 ac_cpp='$CPP $CPPFLAGS'
73139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73142
73143
73144 fi
73145
73146 fi
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73148 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73149
73150 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73151 for ac_func in _fpclass
73152 do :
73153 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73154 if test "x$ac_cv_func__fpclass" = x""yes; then :
73155 cat >>confdefs.h <<_ACEOF
73156 #define HAVE__FPCLASS 1
73157 _ACEOF
73158
73159 fi
73160 done
73161
73162 fi
73163 fi
73164
73165
73166
73167
73168
73169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73170 $as_echo_n "checking for qfpclass declaration... " >&6; }
73171 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73172 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73173 $as_echo_n "(cached) " >&6
73174 else
73175
73176
73177 ac_ext=cpp
73178 ac_cpp='$CXXCPP $CPPFLAGS'
73179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73182
73183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73184 /* end confdefs.h. */
73185 #include <math.h>
73186 #ifdef HAVE_IEEEFP_H
73187 #include <ieeefp.h>
73188 #endif
73189
73190 int
73191 main ()
73192 {
73193 qfpclass(0);
73194 ;
73195 return 0;
73196 }
73197 _ACEOF
73198 if ac_fn_cxx_try_compile "$LINENO"; then :
73199 glibcxx_cv_func_qfpclass_use=yes
73200 else
73201 glibcxx_cv_func_qfpclass_use=no
73202 fi
73203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73204 ac_ext=c
73205 ac_cpp='$CPP $CPPFLAGS'
73206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73209
73210
73211 fi
73212
73213 fi
73214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73215 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73216
73217 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73218 for ac_func in qfpclass
73219 do :
73220 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73221 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73222 cat >>confdefs.h <<_ACEOF
73223 #define HAVE_QFPCLASS 1
73224 _ACEOF
73225
73226 fi
73227 done
73228
73229 else
73230
73231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73232 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73233 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73234 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73235 $as_echo_n "(cached) " >&6
73236 else
73237
73238
73239 ac_ext=cpp
73240 ac_cpp='$CXXCPP $CPPFLAGS'
73241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73244
73245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73246 /* end confdefs.h. */
73247 #include <math.h>
73248 #ifdef HAVE_IEEEFP_H
73249 #include <ieeefp.h>
73250 #endif
73251
73252 int
73253 main ()
73254 {
73255 _qfpclass(0);
73256 ;
73257 return 0;
73258 }
73259 _ACEOF
73260 if ac_fn_cxx_try_compile "$LINENO"; then :
73261 glibcxx_cv_func__qfpclass_use=yes
73262 else
73263 glibcxx_cv_func__qfpclass_use=no
73264 fi
73265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73266 ac_ext=c
73267 ac_cpp='$CPP $CPPFLAGS'
73268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73271
73272
73273 fi
73274
73275 fi
73276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73277 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73278
73279 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73280 for ac_func in _qfpclass
73281 do :
73282 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73283 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73284 cat >>confdefs.h <<_ACEOF
73285 #define HAVE__QFPCLASS 1
73286 _ACEOF
73287
73288 fi
73289 done
73290
73291 fi
73292 fi
73293
73294
73295
73296
73297
73298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73299 $as_echo_n "checking for hypot declaration... " >&6; }
73300 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73301 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73302 $as_echo_n "(cached) " >&6
73303 else
73304
73305
73306 ac_ext=cpp
73307 ac_cpp='$CXXCPP $CPPFLAGS'
73308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73311
73312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73313 /* end confdefs.h. */
73314 #include <math.h>
73315 int
73316 main ()
73317 {
73318 hypot(0, 0);
73319 ;
73320 return 0;
73321 }
73322 _ACEOF
73323 if ac_fn_cxx_try_compile "$LINENO"; then :
73324 glibcxx_cv_func_hypot_use=yes
73325 else
73326 glibcxx_cv_func_hypot_use=no
73327 fi
73328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73329 ac_ext=c
73330 ac_cpp='$CPP $CPPFLAGS'
73331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73334
73335
73336 fi
73337
73338 fi
73339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73340 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73341
73342 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73343 for ac_func in hypot
73344 do :
73345 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73346 if test "x$ac_cv_func_hypot" = x""yes; then :
73347 cat >>confdefs.h <<_ACEOF
73348 #define HAVE_HYPOT 1
73349 _ACEOF
73350
73351 fi
73352 done
73353
73354 else
73355
73356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73357 $as_echo_n "checking for _hypot declaration... " >&6; }
73358 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73359 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73360 $as_echo_n "(cached) " >&6
73361 else
73362
73363
73364 ac_ext=cpp
73365 ac_cpp='$CXXCPP $CPPFLAGS'
73366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73369
73370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73371 /* end confdefs.h. */
73372 #include <math.h>
73373 int
73374 main ()
73375 {
73376 _hypot(0, 0);
73377 ;
73378 return 0;
73379 }
73380 _ACEOF
73381 if ac_fn_cxx_try_compile "$LINENO"; then :
73382 glibcxx_cv_func__hypot_use=yes
73383 else
73384 glibcxx_cv_func__hypot_use=no
73385 fi
73386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73387 ac_ext=c
73388 ac_cpp='$CPP $CPPFLAGS'
73389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73392
73393
73394 fi
73395
73396 fi
73397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73398 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73399
73400 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73401 for ac_func in _hypot
73402 do :
73403 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73404 if test "x$ac_cv_func__hypot" = x""yes; then :
73405 cat >>confdefs.h <<_ACEOF
73406 #define HAVE__HYPOT 1
73407 _ACEOF
73408
73409 fi
73410 done
73411
73412 fi
73413 fi
73414
73415
73416
73417
73418
73419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73420 $as_echo_n "checking for float trig functions... " >&6; }
73421 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73422 $as_echo_n "(cached) " >&6
73423 else
73424
73425
73426 ac_ext=cpp
73427 ac_cpp='$CXXCPP $CPPFLAGS'
73428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73431
73432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73433 /* end confdefs.h. */
73434 #include <math.h>
73435 int
73436 main ()
73437 {
73438 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73439 ;
73440 return 0;
73441 }
73442 _ACEOF
73443 if ac_fn_cxx_try_compile "$LINENO"; then :
73444 glibcxx_cv_func_float_trig_use=yes
73445 else
73446 glibcxx_cv_func_float_trig_use=no
73447 fi
73448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73449 ac_ext=c
73450 ac_cpp='$CPP $CPPFLAGS'
73451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73454
73455 fi
73456
73457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73458 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73459 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73460 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73461 do :
73462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73464 eval as_val=\$$as_ac_var
73465 if test "x$as_val" = x""yes; then :
73466 cat >>confdefs.h <<_ACEOF
73467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73468 _ACEOF
73469
73470 fi
73471 done
73472
73473 else
73474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73475 $as_echo_n "checking for _float trig functions... " >&6; }
73476 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73477 $as_echo_n "(cached) " >&6
73478 else
73479
73480
73481 ac_ext=cpp
73482 ac_cpp='$CXXCPP $CPPFLAGS'
73483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73486
73487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73488 /* end confdefs.h. */
73489 #include <math.h>
73490 int
73491 main ()
73492 {
73493 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73494 ;
73495 return 0;
73496 }
73497 _ACEOF
73498 if ac_fn_cxx_try_compile "$LINENO"; then :
73499 glibcxx_cv_func__float_trig_use=yes
73500 else
73501 glibcxx_cv_func__float_trig_use=no
73502 fi
73503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73504 ac_ext=c
73505 ac_cpp='$CPP $CPPFLAGS'
73506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73509
73510 fi
73511
73512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73513 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73514 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73515 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73516 do :
73517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73519 eval as_val=\$$as_ac_var
73520 if test "x$as_val" = x""yes; then :
73521 cat >>confdefs.h <<_ACEOF
73522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73523 _ACEOF
73524
73525 fi
73526 done
73527
73528 fi
73529 fi
73530
73531
73532
73533
73534
73535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73536 $as_echo_n "checking for float round functions... " >&6; }
73537 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73538 $as_echo_n "(cached) " >&6
73539 else
73540
73541
73542 ac_ext=cpp
73543 ac_cpp='$CXXCPP $CPPFLAGS'
73544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73547
73548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73549 /* end confdefs.h. */
73550 #include <math.h>
73551 int
73552 main ()
73553 {
73554 ceilf (0); floorf (0);
73555 ;
73556 return 0;
73557 }
73558 _ACEOF
73559 if ac_fn_cxx_try_compile "$LINENO"; then :
73560 glibcxx_cv_func_float_round_use=yes
73561 else
73562 glibcxx_cv_func_float_round_use=no
73563 fi
73564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73565 ac_ext=c
73566 ac_cpp='$CPP $CPPFLAGS'
73567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73570
73571 fi
73572
73573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73574 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73575 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73576 for ac_func in ceilf floorf
73577 do :
73578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73580 eval as_val=\$$as_ac_var
73581 if test "x$as_val" = x""yes; then :
73582 cat >>confdefs.h <<_ACEOF
73583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73584 _ACEOF
73585
73586 fi
73587 done
73588
73589 else
73590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73591 $as_echo_n "checking for _float round functions... " >&6; }
73592 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73593 $as_echo_n "(cached) " >&6
73594 else
73595
73596
73597 ac_ext=cpp
73598 ac_cpp='$CXXCPP $CPPFLAGS'
73599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73602
73603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73604 /* end confdefs.h. */
73605 #include <math.h>
73606 int
73607 main ()
73608 {
73609 _ceilf (0); _floorf (0);
73610 ;
73611 return 0;
73612 }
73613 _ACEOF
73614 if ac_fn_cxx_try_compile "$LINENO"; then :
73615 glibcxx_cv_func__float_round_use=yes
73616 else
73617 glibcxx_cv_func__float_round_use=no
73618 fi
73619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73620 ac_ext=c
73621 ac_cpp='$CPP $CPPFLAGS'
73622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73625
73626 fi
73627
73628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73629 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73630 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73631 for ac_func in _ceilf _floorf
73632 do :
73633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73635 eval as_val=\$$as_ac_var
73636 if test "x$as_val" = x""yes; then :
73637 cat >>confdefs.h <<_ACEOF
73638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73639 _ACEOF
73640
73641 fi
73642 done
73643
73644 fi
73645 fi
73646
73647
73648
73649
73650
73651
73652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73653 $as_echo_n "checking for expf declaration... " >&6; }
73654 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73655 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73656 $as_echo_n "(cached) " >&6
73657 else
73658
73659
73660 ac_ext=cpp
73661 ac_cpp='$CXXCPP $CPPFLAGS'
73662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73665
73666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73667 /* end confdefs.h. */
73668 #include <math.h>
73669 #ifdef HAVE_IEEEFP_H
73670 #include <ieeefp.h>
73671 #endif
73672
73673 int
73674 main ()
73675 {
73676 expf(0);
73677 ;
73678 return 0;
73679 }
73680 _ACEOF
73681 if ac_fn_cxx_try_compile "$LINENO"; then :
73682 glibcxx_cv_func_expf_use=yes
73683 else
73684 glibcxx_cv_func_expf_use=no
73685 fi
73686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73687 ac_ext=c
73688 ac_cpp='$CPP $CPPFLAGS'
73689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73692
73693
73694 fi
73695
73696 fi
73697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73698 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73699
73700 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73701 for ac_func in expf
73702 do :
73703 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73704 if test "x$ac_cv_func_expf" = x""yes; then :
73705 cat >>confdefs.h <<_ACEOF
73706 #define HAVE_EXPF 1
73707 _ACEOF
73708
73709 fi
73710 done
73711
73712 else
73713
73714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73715 $as_echo_n "checking for _expf declaration... " >&6; }
73716 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73717 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73718 $as_echo_n "(cached) " >&6
73719 else
73720
73721
73722 ac_ext=cpp
73723 ac_cpp='$CXXCPP $CPPFLAGS'
73724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73727
73728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73729 /* end confdefs.h. */
73730 #include <math.h>
73731 #ifdef HAVE_IEEEFP_H
73732 #include <ieeefp.h>
73733 #endif
73734
73735 int
73736 main ()
73737 {
73738 _expf(0);
73739 ;
73740 return 0;
73741 }
73742 _ACEOF
73743 if ac_fn_cxx_try_compile "$LINENO"; then :
73744 glibcxx_cv_func__expf_use=yes
73745 else
73746 glibcxx_cv_func__expf_use=no
73747 fi
73748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73749 ac_ext=c
73750 ac_cpp='$CPP $CPPFLAGS'
73751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73754
73755
73756 fi
73757
73758 fi
73759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73760 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73761
73762 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73763 for ac_func in _expf
73764 do :
73765 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73766 if test "x$ac_cv_func__expf" = x""yes; then :
73767 cat >>confdefs.h <<_ACEOF
73768 #define HAVE__EXPF 1
73769 _ACEOF
73770
73771 fi
73772 done
73773
73774 fi
73775 fi
73776
73777
73778
73779
73780
73781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73782 $as_echo_n "checking for isnanf declaration... " >&6; }
73783 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73784 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73785 $as_echo_n "(cached) " >&6
73786 else
73787
73788
73789 ac_ext=cpp
73790 ac_cpp='$CXXCPP $CPPFLAGS'
73791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73794
73795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73796 /* end confdefs.h. */
73797 #include <math.h>
73798 #ifdef HAVE_IEEEFP_H
73799 #include <ieeefp.h>
73800 #endif
73801
73802 int
73803 main ()
73804 {
73805 isnanf(0);
73806 ;
73807 return 0;
73808 }
73809 _ACEOF
73810 if ac_fn_cxx_try_compile "$LINENO"; then :
73811 glibcxx_cv_func_isnanf_use=yes
73812 else
73813 glibcxx_cv_func_isnanf_use=no
73814 fi
73815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73816 ac_ext=c
73817 ac_cpp='$CPP $CPPFLAGS'
73818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73821
73822
73823 fi
73824
73825 fi
73826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73827 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73828
73829 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73830 for ac_func in isnanf
73831 do :
73832 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73833 if test "x$ac_cv_func_isnanf" = x""yes; then :
73834 cat >>confdefs.h <<_ACEOF
73835 #define HAVE_ISNANF 1
73836 _ACEOF
73837
73838 fi
73839 done
73840
73841 else
73842
73843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73844 $as_echo_n "checking for _isnanf declaration... " >&6; }
73845 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73846 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73847 $as_echo_n "(cached) " >&6
73848 else
73849
73850
73851 ac_ext=cpp
73852 ac_cpp='$CXXCPP $CPPFLAGS'
73853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73856
73857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73858 /* end confdefs.h. */
73859 #include <math.h>
73860 #ifdef HAVE_IEEEFP_H
73861 #include <ieeefp.h>
73862 #endif
73863
73864 int
73865 main ()
73866 {
73867 _isnanf(0);
73868 ;
73869 return 0;
73870 }
73871 _ACEOF
73872 if ac_fn_cxx_try_compile "$LINENO"; then :
73873 glibcxx_cv_func__isnanf_use=yes
73874 else
73875 glibcxx_cv_func__isnanf_use=no
73876 fi
73877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73878 ac_ext=c
73879 ac_cpp='$CPP $CPPFLAGS'
73880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73883
73884
73885 fi
73886
73887 fi
73888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73889 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73890
73891 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73892 for ac_func in _isnanf
73893 do :
73894 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73895 if test "x$ac_cv_func__isnanf" = x""yes; then :
73896 cat >>confdefs.h <<_ACEOF
73897 #define HAVE__ISNANF 1
73898 _ACEOF
73899
73900 fi
73901 done
73902
73903 fi
73904 fi
73905
73906
73907
73908
73909
73910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73911 $as_echo_n "checking for isinff declaration... " >&6; }
73912 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73913 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73914 $as_echo_n "(cached) " >&6
73915 else
73916
73917
73918 ac_ext=cpp
73919 ac_cpp='$CXXCPP $CPPFLAGS'
73920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73923
73924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73925 /* end confdefs.h. */
73926 #include <math.h>
73927 #ifdef HAVE_IEEEFP_H
73928 #include <ieeefp.h>
73929 #endif
73930
73931 int
73932 main ()
73933 {
73934 isinff(0);
73935 ;
73936 return 0;
73937 }
73938 _ACEOF
73939 if ac_fn_cxx_try_compile "$LINENO"; then :
73940 glibcxx_cv_func_isinff_use=yes
73941 else
73942 glibcxx_cv_func_isinff_use=no
73943 fi
73944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73945 ac_ext=c
73946 ac_cpp='$CPP $CPPFLAGS'
73947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73950
73951
73952 fi
73953
73954 fi
73955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73956 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73957
73958 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73959 for ac_func in isinff
73960 do :
73961 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73962 if test "x$ac_cv_func_isinff" = x""yes; then :
73963 cat >>confdefs.h <<_ACEOF
73964 #define HAVE_ISINFF 1
73965 _ACEOF
73966
73967 fi
73968 done
73969
73970 else
73971
73972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73973 $as_echo_n "checking for _isinff declaration... " >&6; }
73974 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73975 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73976 $as_echo_n "(cached) " >&6
73977 else
73978
73979
73980 ac_ext=cpp
73981 ac_cpp='$CXXCPP $CPPFLAGS'
73982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73985
73986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73987 /* end confdefs.h. */
73988 #include <math.h>
73989 #ifdef HAVE_IEEEFP_H
73990 #include <ieeefp.h>
73991 #endif
73992
73993 int
73994 main ()
73995 {
73996 _isinff(0);
73997 ;
73998 return 0;
73999 }
74000 _ACEOF
74001 if ac_fn_cxx_try_compile "$LINENO"; then :
74002 glibcxx_cv_func__isinff_use=yes
74003 else
74004 glibcxx_cv_func__isinff_use=no
74005 fi
74006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74007 ac_ext=c
74008 ac_cpp='$CPP $CPPFLAGS'
74009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74012
74013
74014 fi
74015
74016 fi
74017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74018 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74019
74020 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74021 for ac_func in _isinff
74022 do :
74023 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74024 if test "x$ac_cv_func__isinff" = x""yes; then :
74025 cat >>confdefs.h <<_ACEOF
74026 #define HAVE__ISINFF 1
74027 _ACEOF
74028
74029 fi
74030 done
74031
74032 fi
74033 fi
74034
74035
74036
74037
74038
74039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74040 $as_echo_n "checking for atan2f declaration... " >&6; }
74041 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74042 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74043 $as_echo_n "(cached) " >&6
74044 else
74045
74046
74047 ac_ext=cpp
74048 ac_cpp='$CXXCPP $CPPFLAGS'
74049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74052
74053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74054 /* end confdefs.h. */
74055 #include <math.h>
74056 int
74057 main ()
74058 {
74059 atan2f(0, 0);
74060 ;
74061 return 0;
74062 }
74063 _ACEOF
74064 if ac_fn_cxx_try_compile "$LINENO"; then :
74065 glibcxx_cv_func_atan2f_use=yes
74066 else
74067 glibcxx_cv_func_atan2f_use=no
74068 fi
74069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74070 ac_ext=c
74071 ac_cpp='$CPP $CPPFLAGS'
74072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74075
74076
74077 fi
74078
74079 fi
74080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74081 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74082
74083 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74084 for ac_func in atan2f
74085 do :
74086 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74087 if test "x$ac_cv_func_atan2f" = x""yes; then :
74088 cat >>confdefs.h <<_ACEOF
74089 #define HAVE_ATAN2F 1
74090 _ACEOF
74091
74092 fi
74093 done
74094
74095 else
74096
74097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74098 $as_echo_n "checking for _atan2f declaration... " >&6; }
74099 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74100 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74101 $as_echo_n "(cached) " >&6
74102 else
74103
74104
74105 ac_ext=cpp
74106 ac_cpp='$CXXCPP $CPPFLAGS'
74107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74110
74111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74112 /* end confdefs.h. */
74113 #include <math.h>
74114 int
74115 main ()
74116 {
74117 _atan2f(0, 0);
74118 ;
74119 return 0;
74120 }
74121 _ACEOF
74122 if ac_fn_cxx_try_compile "$LINENO"; then :
74123 glibcxx_cv_func__atan2f_use=yes
74124 else
74125 glibcxx_cv_func__atan2f_use=no
74126 fi
74127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74128 ac_ext=c
74129 ac_cpp='$CPP $CPPFLAGS'
74130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74133
74134
74135 fi
74136
74137 fi
74138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74139 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74140
74141 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74142 for ac_func in _atan2f
74143 do :
74144 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74145 if test "x$ac_cv_func__atan2f" = x""yes; then :
74146 cat >>confdefs.h <<_ACEOF
74147 #define HAVE__ATAN2F 1
74148 _ACEOF
74149
74150 fi
74151 done
74152
74153 fi
74154 fi
74155
74156
74157
74158
74159
74160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74161 $as_echo_n "checking for fabsf declaration... " >&6; }
74162 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74163 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74164 $as_echo_n "(cached) " >&6
74165 else
74166
74167
74168 ac_ext=cpp
74169 ac_cpp='$CXXCPP $CPPFLAGS'
74170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74173
74174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74175 /* end confdefs.h. */
74176 #include <math.h>
74177 #ifdef HAVE_IEEEFP_H
74178 #include <ieeefp.h>
74179 #endif
74180
74181 int
74182 main ()
74183 {
74184 fabsf(0);
74185 ;
74186 return 0;
74187 }
74188 _ACEOF
74189 if ac_fn_cxx_try_compile "$LINENO"; then :
74190 glibcxx_cv_func_fabsf_use=yes
74191 else
74192 glibcxx_cv_func_fabsf_use=no
74193 fi
74194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74195 ac_ext=c
74196 ac_cpp='$CPP $CPPFLAGS'
74197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74200
74201
74202 fi
74203
74204 fi
74205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74206 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74207
74208 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74209 for ac_func in fabsf
74210 do :
74211 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74212 if test "x$ac_cv_func_fabsf" = x""yes; then :
74213 cat >>confdefs.h <<_ACEOF
74214 #define HAVE_FABSF 1
74215 _ACEOF
74216
74217 fi
74218 done
74219
74220 else
74221
74222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74223 $as_echo_n "checking for _fabsf declaration... " >&6; }
74224 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74225 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74226 $as_echo_n "(cached) " >&6
74227 else
74228
74229
74230 ac_ext=cpp
74231 ac_cpp='$CXXCPP $CPPFLAGS'
74232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74235
74236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74237 /* end confdefs.h. */
74238 #include <math.h>
74239 #ifdef HAVE_IEEEFP_H
74240 #include <ieeefp.h>
74241 #endif
74242
74243 int
74244 main ()
74245 {
74246 _fabsf(0);
74247 ;
74248 return 0;
74249 }
74250 _ACEOF
74251 if ac_fn_cxx_try_compile "$LINENO"; then :
74252 glibcxx_cv_func__fabsf_use=yes
74253 else
74254 glibcxx_cv_func__fabsf_use=no
74255 fi
74256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74257 ac_ext=c
74258 ac_cpp='$CPP $CPPFLAGS'
74259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74262
74263
74264 fi
74265
74266 fi
74267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74268 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74269
74270 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74271 for ac_func in _fabsf
74272 do :
74273 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74274 if test "x$ac_cv_func__fabsf" = x""yes; then :
74275 cat >>confdefs.h <<_ACEOF
74276 #define HAVE__FABSF 1
74277 _ACEOF
74278
74279 fi
74280 done
74281
74282 fi
74283 fi
74284
74285
74286
74287
74288
74289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74290 $as_echo_n "checking for fmodf declaration... " >&6; }
74291 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74292 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74293 $as_echo_n "(cached) " >&6
74294 else
74295
74296
74297 ac_ext=cpp
74298 ac_cpp='$CXXCPP $CPPFLAGS'
74299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74302
74303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74304 /* end confdefs.h. */
74305 #include <math.h>
74306 int
74307 main ()
74308 {
74309 fmodf(0, 0);
74310 ;
74311 return 0;
74312 }
74313 _ACEOF
74314 if ac_fn_cxx_try_compile "$LINENO"; then :
74315 glibcxx_cv_func_fmodf_use=yes
74316 else
74317 glibcxx_cv_func_fmodf_use=no
74318 fi
74319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74320 ac_ext=c
74321 ac_cpp='$CPP $CPPFLAGS'
74322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74325
74326
74327 fi
74328
74329 fi
74330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74331 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74332
74333 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74334 for ac_func in fmodf
74335 do :
74336 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74337 if test "x$ac_cv_func_fmodf" = x""yes; then :
74338 cat >>confdefs.h <<_ACEOF
74339 #define HAVE_FMODF 1
74340 _ACEOF
74341
74342 fi
74343 done
74344
74345 else
74346
74347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74348 $as_echo_n "checking for _fmodf declaration... " >&6; }
74349 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74350 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74351 $as_echo_n "(cached) " >&6
74352 else
74353
74354
74355 ac_ext=cpp
74356 ac_cpp='$CXXCPP $CPPFLAGS'
74357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74360
74361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74362 /* end confdefs.h. */
74363 #include <math.h>
74364 int
74365 main ()
74366 {
74367 _fmodf(0, 0);
74368 ;
74369 return 0;
74370 }
74371 _ACEOF
74372 if ac_fn_cxx_try_compile "$LINENO"; then :
74373 glibcxx_cv_func__fmodf_use=yes
74374 else
74375 glibcxx_cv_func__fmodf_use=no
74376 fi
74377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74378 ac_ext=c
74379 ac_cpp='$CPP $CPPFLAGS'
74380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74383
74384
74385 fi
74386
74387 fi
74388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74389 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74390
74391 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74392 for ac_func in _fmodf
74393 do :
74394 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74395 if test "x$ac_cv_func__fmodf" = x""yes; then :
74396 cat >>confdefs.h <<_ACEOF
74397 #define HAVE__FMODF 1
74398 _ACEOF
74399
74400 fi
74401 done
74402
74403 fi
74404 fi
74405
74406
74407
74408
74409
74410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74411 $as_echo_n "checking for frexpf declaration... " >&6; }
74412 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74413 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74414 $as_echo_n "(cached) " >&6
74415 else
74416
74417
74418 ac_ext=cpp
74419 ac_cpp='$CXXCPP $CPPFLAGS'
74420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74423
74424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74425 /* end confdefs.h. */
74426 #include <math.h>
74427 int
74428 main ()
74429 {
74430 frexpf(0, 0);
74431 ;
74432 return 0;
74433 }
74434 _ACEOF
74435 if ac_fn_cxx_try_compile "$LINENO"; then :
74436 glibcxx_cv_func_frexpf_use=yes
74437 else
74438 glibcxx_cv_func_frexpf_use=no
74439 fi
74440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74441 ac_ext=c
74442 ac_cpp='$CPP $CPPFLAGS'
74443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74446
74447
74448 fi
74449
74450 fi
74451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74452 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74453
74454 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74455 for ac_func in frexpf
74456 do :
74457 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74458 if test "x$ac_cv_func_frexpf" = x""yes; then :
74459 cat >>confdefs.h <<_ACEOF
74460 #define HAVE_FREXPF 1
74461 _ACEOF
74462
74463 fi
74464 done
74465
74466 else
74467
74468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74469 $as_echo_n "checking for _frexpf declaration... " >&6; }
74470 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74471 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74472 $as_echo_n "(cached) " >&6
74473 else
74474
74475
74476 ac_ext=cpp
74477 ac_cpp='$CXXCPP $CPPFLAGS'
74478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74481
74482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74483 /* end confdefs.h. */
74484 #include <math.h>
74485 int
74486 main ()
74487 {
74488 _frexpf(0, 0);
74489 ;
74490 return 0;
74491 }
74492 _ACEOF
74493 if ac_fn_cxx_try_compile "$LINENO"; then :
74494 glibcxx_cv_func__frexpf_use=yes
74495 else
74496 glibcxx_cv_func__frexpf_use=no
74497 fi
74498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74499 ac_ext=c
74500 ac_cpp='$CPP $CPPFLAGS'
74501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74504
74505
74506 fi
74507
74508 fi
74509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74510 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74511
74512 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74513 for ac_func in _frexpf
74514 do :
74515 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74516 if test "x$ac_cv_func__frexpf" = x""yes; then :
74517 cat >>confdefs.h <<_ACEOF
74518 #define HAVE__FREXPF 1
74519 _ACEOF
74520
74521 fi
74522 done
74523
74524 fi
74525 fi
74526
74527
74528
74529
74530
74531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74532 $as_echo_n "checking for hypotf declaration... " >&6; }
74533 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74534 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74535 $as_echo_n "(cached) " >&6
74536 else
74537
74538
74539 ac_ext=cpp
74540 ac_cpp='$CXXCPP $CPPFLAGS'
74541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74544
74545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74546 /* end confdefs.h. */
74547 #include <math.h>
74548 int
74549 main ()
74550 {
74551 hypotf(0, 0);
74552 ;
74553 return 0;
74554 }
74555 _ACEOF
74556 if ac_fn_cxx_try_compile "$LINENO"; then :
74557 glibcxx_cv_func_hypotf_use=yes
74558 else
74559 glibcxx_cv_func_hypotf_use=no
74560 fi
74561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74562 ac_ext=c
74563 ac_cpp='$CPP $CPPFLAGS'
74564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74567
74568
74569 fi
74570
74571 fi
74572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74573 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74574
74575 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74576 for ac_func in hypotf
74577 do :
74578 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74579 if test "x$ac_cv_func_hypotf" = x""yes; then :
74580 cat >>confdefs.h <<_ACEOF
74581 #define HAVE_HYPOTF 1
74582 _ACEOF
74583
74584 fi
74585 done
74586
74587 else
74588
74589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74590 $as_echo_n "checking for _hypotf declaration... " >&6; }
74591 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74592 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74593 $as_echo_n "(cached) " >&6
74594 else
74595
74596
74597 ac_ext=cpp
74598 ac_cpp='$CXXCPP $CPPFLAGS'
74599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74602
74603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74604 /* end confdefs.h. */
74605 #include <math.h>
74606 int
74607 main ()
74608 {
74609 _hypotf(0, 0);
74610 ;
74611 return 0;
74612 }
74613 _ACEOF
74614 if ac_fn_cxx_try_compile "$LINENO"; then :
74615 glibcxx_cv_func__hypotf_use=yes
74616 else
74617 glibcxx_cv_func__hypotf_use=no
74618 fi
74619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74620 ac_ext=c
74621 ac_cpp='$CPP $CPPFLAGS'
74622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74625
74626
74627 fi
74628
74629 fi
74630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74631 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74632
74633 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74634 for ac_func in _hypotf
74635 do :
74636 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74637 if test "x$ac_cv_func__hypotf" = x""yes; then :
74638 cat >>confdefs.h <<_ACEOF
74639 #define HAVE__HYPOTF 1
74640 _ACEOF
74641
74642 fi
74643 done
74644
74645 fi
74646 fi
74647
74648
74649
74650
74651
74652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74653 $as_echo_n "checking for ldexpf declaration... " >&6; }
74654 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74655 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74656 $as_echo_n "(cached) " >&6
74657 else
74658
74659
74660 ac_ext=cpp
74661 ac_cpp='$CXXCPP $CPPFLAGS'
74662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74665
74666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74667 /* end confdefs.h. */
74668 #include <math.h>
74669 int
74670 main ()
74671 {
74672 ldexpf(0, 0);
74673 ;
74674 return 0;
74675 }
74676 _ACEOF
74677 if ac_fn_cxx_try_compile "$LINENO"; then :
74678 glibcxx_cv_func_ldexpf_use=yes
74679 else
74680 glibcxx_cv_func_ldexpf_use=no
74681 fi
74682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74683 ac_ext=c
74684 ac_cpp='$CPP $CPPFLAGS'
74685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74688
74689
74690 fi
74691
74692 fi
74693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74694 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74695
74696 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74697 for ac_func in ldexpf
74698 do :
74699 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74700 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74701 cat >>confdefs.h <<_ACEOF
74702 #define HAVE_LDEXPF 1
74703 _ACEOF
74704
74705 fi
74706 done
74707
74708 else
74709
74710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74711 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74712 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74713 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74714 $as_echo_n "(cached) " >&6
74715 else
74716
74717
74718 ac_ext=cpp
74719 ac_cpp='$CXXCPP $CPPFLAGS'
74720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74723
74724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74725 /* end confdefs.h. */
74726 #include <math.h>
74727 int
74728 main ()
74729 {
74730 _ldexpf(0, 0);
74731 ;
74732 return 0;
74733 }
74734 _ACEOF
74735 if ac_fn_cxx_try_compile "$LINENO"; then :
74736 glibcxx_cv_func__ldexpf_use=yes
74737 else
74738 glibcxx_cv_func__ldexpf_use=no
74739 fi
74740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74741 ac_ext=c
74742 ac_cpp='$CPP $CPPFLAGS'
74743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74746
74747
74748 fi
74749
74750 fi
74751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74752 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74753
74754 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74755 for ac_func in _ldexpf
74756 do :
74757 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74758 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74759 cat >>confdefs.h <<_ACEOF
74760 #define HAVE__LDEXPF 1
74761 _ACEOF
74762
74763 fi
74764 done
74765
74766 fi
74767 fi
74768
74769
74770
74771
74772
74773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74774 $as_echo_n "checking for logf declaration... " >&6; }
74775 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74776 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74777 $as_echo_n "(cached) " >&6
74778 else
74779
74780
74781 ac_ext=cpp
74782 ac_cpp='$CXXCPP $CPPFLAGS'
74783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74786
74787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74788 /* end confdefs.h. */
74789 #include <math.h>
74790 #ifdef HAVE_IEEEFP_H
74791 #include <ieeefp.h>
74792 #endif
74793
74794 int
74795 main ()
74796 {
74797 logf(0);
74798 ;
74799 return 0;
74800 }
74801 _ACEOF
74802 if ac_fn_cxx_try_compile "$LINENO"; then :
74803 glibcxx_cv_func_logf_use=yes
74804 else
74805 glibcxx_cv_func_logf_use=no
74806 fi
74807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74808 ac_ext=c
74809 ac_cpp='$CPP $CPPFLAGS'
74810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74813
74814
74815 fi
74816
74817 fi
74818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74819 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74820
74821 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74822 for ac_func in logf
74823 do :
74824 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74825 if test "x$ac_cv_func_logf" = x""yes; then :
74826 cat >>confdefs.h <<_ACEOF
74827 #define HAVE_LOGF 1
74828 _ACEOF
74829
74830 fi
74831 done
74832
74833 else
74834
74835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74836 $as_echo_n "checking for _logf declaration... " >&6; }
74837 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74838 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74839 $as_echo_n "(cached) " >&6
74840 else
74841
74842
74843 ac_ext=cpp
74844 ac_cpp='$CXXCPP $CPPFLAGS'
74845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74848
74849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74850 /* end confdefs.h. */
74851 #include <math.h>
74852 #ifdef HAVE_IEEEFP_H
74853 #include <ieeefp.h>
74854 #endif
74855
74856 int
74857 main ()
74858 {
74859 _logf(0);
74860 ;
74861 return 0;
74862 }
74863 _ACEOF
74864 if ac_fn_cxx_try_compile "$LINENO"; then :
74865 glibcxx_cv_func__logf_use=yes
74866 else
74867 glibcxx_cv_func__logf_use=no
74868 fi
74869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74870 ac_ext=c
74871 ac_cpp='$CPP $CPPFLAGS'
74872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74875
74876
74877 fi
74878
74879 fi
74880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74881 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74882
74883 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74884 for ac_func in _logf
74885 do :
74886 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74887 if test "x$ac_cv_func__logf" = x""yes; then :
74888 cat >>confdefs.h <<_ACEOF
74889 #define HAVE__LOGF 1
74890 _ACEOF
74891
74892 fi
74893 done
74894
74895 fi
74896 fi
74897
74898
74899
74900
74901
74902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74903 $as_echo_n "checking for log10f declaration... " >&6; }
74904 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74905 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74906 $as_echo_n "(cached) " >&6
74907 else
74908
74909
74910 ac_ext=cpp
74911 ac_cpp='$CXXCPP $CPPFLAGS'
74912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74915
74916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74917 /* end confdefs.h. */
74918 #include <math.h>
74919 #ifdef HAVE_IEEEFP_H
74920 #include <ieeefp.h>
74921 #endif
74922
74923 int
74924 main ()
74925 {
74926 log10f(0);
74927 ;
74928 return 0;
74929 }
74930 _ACEOF
74931 if ac_fn_cxx_try_compile "$LINENO"; then :
74932 glibcxx_cv_func_log10f_use=yes
74933 else
74934 glibcxx_cv_func_log10f_use=no
74935 fi
74936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74937 ac_ext=c
74938 ac_cpp='$CPP $CPPFLAGS'
74939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74942
74943
74944 fi
74945
74946 fi
74947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74948 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74949
74950 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74951 for ac_func in log10f
74952 do :
74953 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74954 if test "x$ac_cv_func_log10f" = x""yes; then :
74955 cat >>confdefs.h <<_ACEOF
74956 #define HAVE_LOG10F 1
74957 _ACEOF
74958
74959 fi
74960 done
74961
74962 else
74963
74964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74965 $as_echo_n "checking for _log10f declaration... " >&6; }
74966 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74967 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74968 $as_echo_n "(cached) " >&6
74969 else
74970
74971
74972 ac_ext=cpp
74973 ac_cpp='$CXXCPP $CPPFLAGS'
74974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74977
74978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74979 /* end confdefs.h. */
74980 #include <math.h>
74981 #ifdef HAVE_IEEEFP_H
74982 #include <ieeefp.h>
74983 #endif
74984
74985 int
74986 main ()
74987 {
74988 _log10f(0);
74989 ;
74990 return 0;
74991 }
74992 _ACEOF
74993 if ac_fn_cxx_try_compile "$LINENO"; then :
74994 glibcxx_cv_func__log10f_use=yes
74995 else
74996 glibcxx_cv_func__log10f_use=no
74997 fi
74998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74999 ac_ext=c
75000 ac_cpp='$CPP $CPPFLAGS'
75001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75004
75005
75006 fi
75007
75008 fi
75009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75010 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75011
75012 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75013 for ac_func in _log10f
75014 do :
75015 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75016 if test "x$ac_cv_func__log10f" = x""yes; then :
75017 cat >>confdefs.h <<_ACEOF
75018 #define HAVE__LOG10F 1
75019 _ACEOF
75020
75021 fi
75022 done
75023
75024 fi
75025 fi
75026
75027
75028
75029
75030
75031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75032 $as_echo_n "checking for modff declaration... " >&6; }
75033 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75034 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75035 $as_echo_n "(cached) " >&6
75036 else
75037
75038
75039 ac_ext=cpp
75040 ac_cpp='$CXXCPP $CPPFLAGS'
75041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75044
75045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75046 /* end confdefs.h. */
75047 #include <math.h>
75048 int
75049 main ()
75050 {
75051 modff(0, 0);
75052 ;
75053 return 0;
75054 }
75055 _ACEOF
75056 if ac_fn_cxx_try_compile "$LINENO"; then :
75057 glibcxx_cv_func_modff_use=yes
75058 else
75059 glibcxx_cv_func_modff_use=no
75060 fi
75061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75062 ac_ext=c
75063 ac_cpp='$CPP $CPPFLAGS'
75064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75067
75068
75069 fi
75070
75071 fi
75072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75073 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75074
75075 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75076 for ac_func in modff
75077 do :
75078 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75079 if test "x$ac_cv_func_modff" = x""yes; then :
75080 cat >>confdefs.h <<_ACEOF
75081 #define HAVE_MODFF 1
75082 _ACEOF
75083
75084 fi
75085 done
75086
75087 else
75088
75089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75090 $as_echo_n "checking for _modff declaration... " >&6; }
75091 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75092 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75093 $as_echo_n "(cached) " >&6
75094 else
75095
75096
75097 ac_ext=cpp
75098 ac_cpp='$CXXCPP $CPPFLAGS'
75099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75102
75103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75104 /* end confdefs.h. */
75105 #include <math.h>
75106 int
75107 main ()
75108 {
75109 _modff(0, 0);
75110 ;
75111 return 0;
75112 }
75113 _ACEOF
75114 if ac_fn_cxx_try_compile "$LINENO"; then :
75115 glibcxx_cv_func__modff_use=yes
75116 else
75117 glibcxx_cv_func__modff_use=no
75118 fi
75119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75120 ac_ext=c
75121 ac_cpp='$CPP $CPPFLAGS'
75122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75125
75126
75127 fi
75128
75129 fi
75130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75131 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75132
75133 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75134 for ac_func in _modff
75135 do :
75136 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75137 if test "x$ac_cv_func__modff" = x""yes; then :
75138 cat >>confdefs.h <<_ACEOF
75139 #define HAVE__MODFF 1
75140 _ACEOF
75141
75142 fi
75143 done
75144
75145 fi
75146 fi
75147
75148
75149
75150
75151
75152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75153 $as_echo_n "checking for modf declaration... " >&6; }
75154 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75155 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75156 $as_echo_n "(cached) " >&6
75157 else
75158
75159
75160 ac_ext=cpp
75161 ac_cpp='$CXXCPP $CPPFLAGS'
75162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75165
75166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75167 /* end confdefs.h. */
75168 #include <math.h>
75169 int
75170 main ()
75171 {
75172 modf(0, 0);
75173 ;
75174 return 0;
75175 }
75176 _ACEOF
75177 if ac_fn_cxx_try_compile "$LINENO"; then :
75178 glibcxx_cv_func_modf_use=yes
75179 else
75180 glibcxx_cv_func_modf_use=no
75181 fi
75182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75183 ac_ext=c
75184 ac_cpp='$CPP $CPPFLAGS'
75185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75188
75189
75190 fi
75191
75192 fi
75193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75194 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75195
75196 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75197 for ac_func in modf
75198 do :
75199 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75200 if test "x$ac_cv_func_modf" = x""yes; then :
75201 cat >>confdefs.h <<_ACEOF
75202 #define HAVE_MODF 1
75203 _ACEOF
75204
75205 fi
75206 done
75207
75208 else
75209
75210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75211 $as_echo_n "checking for _modf declaration... " >&6; }
75212 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75213 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75214 $as_echo_n "(cached) " >&6
75215 else
75216
75217
75218 ac_ext=cpp
75219 ac_cpp='$CXXCPP $CPPFLAGS'
75220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75223
75224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75225 /* end confdefs.h. */
75226 #include <math.h>
75227 int
75228 main ()
75229 {
75230 _modf(0, 0);
75231 ;
75232 return 0;
75233 }
75234 _ACEOF
75235 if ac_fn_cxx_try_compile "$LINENO"; then :
75236 glibcxx_cv_func__modf_use=yes
75237 else
75238 glibcxx_cv_func__modf_use=no
75239 fi
75240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75241 ac_ext=c
75242 ac_cpp='$CPP $CPPFLAGS'
75243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75246
75247
75248 fi
75249
75250 fi
75251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75252 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75253
75254 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75255 for ac_func in _modf
75256 do :
75257 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75258 if test "x$ac_cv_func__modf" = x""yes; then :
75259 cat >>confdefs.h <<_ACEOF
75260 #define HAVE__MODF 1
75261 _ACEOF
75262
75263 fi
75264 done
75265
75266 fi
75267 fi
75268
75269
75270
75271
75272
75273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75274 $as_echo_n "checking for powf declaration... " >&6; }
75275 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75276 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75277 $as_echo_n "(cached) " >&6
75278 else
75279
75280
75281 ac_ext=cpp
75282 ac_cpp='$CXXCPP $CPPFLAGS'
75283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75286
75287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75288 /* end confdefs.h. */
75289 #include <math.h>
75290 int
75291 main ()
75292 {
75293 powf(0, 0);
75294 ;
75295 return 0;
75296 }
75297 _ACEOF
75298 if ac_fn_cxx_try_compile "$LINENO"; then :
75299 glibcxx_cv_func_powf_use=yes
75300 else
75301 glibcxx_cv_func_powf_use=no
75302 fi
75303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75304 ac_ext=c
75305 ac_cpp='$CPP $CPPFLAGS'
75306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75309
75310
75311 fi
75312
75313 fi
75314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75315 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75316
75317 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75318 for ac_func in powf
75319 do :
75320 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75321 if test "x$ac_cv_func_powf" = x""yes; then :
75322 cat >>confdefs.h <<_ACEOF
75323 #define HAVE_POWF 1
75324 _ACEOF
75325
75326 fi
75327 done
75328
75329 else
75330
75331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75332 $as_echo_n "checking for _powf declaration... " >&6; }
75333 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75334 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75335 $as_echo_n "(cached) " >&6
75336 else
75337
75338
75339 ac_ext=cpp
75340 ac_cpp='$CXXCPP $CPPFLAGS'
75341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75344
75345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75346 /* end confdefs.h. */
75347 #include <math.h>
75348 int
75349 main ()
75350 {
75351 _powf(0, 0);
75352 ;
75353 return 0;
75354 }
75355 _ACEOF
75356 if ac_fn_cxx_try_compile "$LINENO"; then :
75357 glibcxx_cv_func__powf_use=yes
75358 else
75359 glibcxx_cv_func__powf_use=no
75360 fi
75361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75362 ac_ext=c
75363 ac_cpp='$CPP $CPPFLAGS'
75364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75367
75368
75369 fi
75370
75371 fi
75372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75373 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75374
75375 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75376 for ac_func in _powf
75377 do :
75378 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75379 if test "x$ac_cv_func__powf" = x""yes; then :
75380 cat >>confdefs.h <<_ACEOF
75381 #define HAVE__POWF 1
75382 _ACEOF
75383
75384 fi
75385 done
75386
75387 fi
75388 fi
75389
75390
75391
75392
75393
75394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75395 $as_echo_n "checking for sqrtf declaration... " >&6; }
75396 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75397 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75398 $as_echo_n "(cached) " >&6
75399 else
75400
75401
75402 ac_ext=cpp
75403 ac_cpp='$CXXCPP $CPPFLAGS'
75404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75407
75408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75409 /* end confdefs.h. */
75410 #include <math.h>
75411 #ifdef HAVE_IEEEFP_H
75412 #include <ieeefp.h>
75413 #endif
75414
75415 int
75416 main ()
75417 {
75418 sqrtf(0);
75419 ;
75420 return 0;
75421 }
75422 _ACEOF
75423 if ac_fn_cxx_try_compile "$LINENO"; then :
75424 glibcxx_cv_func_sqrtf_use=yes
75425 else
75426 glibcxx_cv_func_sqrtf_use=no
75427 fi
75428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75429 ac_ext=c
75430 ac_cpp='$CPP $CPPFLAGS'
75431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75434
75435
75436 fi
75437
75438 fi
75439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75440 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75441
75442 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75443 for ac_func in sqrtf
75444 do :
75445 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75446 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75447 cat >>confdefs.h <<_ACEOF
75448 #define HAVE_SQRTF 1
75449 _ACEOF
75450
75451 fi
75452 done
75453
75454 else
75455
75456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75457 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75458 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75459 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75460 $as_echo_n "(cached) " >&6
75461 else
75462
75463
75464 ac_ext=cpp
75465 ac_cpp='$CXXCPP $CPPFLAGS'
75466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75469
75470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75471 /* end confdefs.h. */
75472 #include <math.h>
75473 #ifdef HAVE_IEEEFP_H
75474 #include <ieeefp.h>
75475 #endif
75476
75477 int
75478 main ()
75479 {
75480 _sqrtf(0);
75481 ;
75482 return 0;
75483 }
75484 _ACEOF
75485 if ac_fn_cxx_try_compile "$LINENO"; then :
75486 glibcxx_cv_func__sqrtf_use=yes
75487 else
75488 glibcxx_cv_func__sqrtf_use=no
75489 fi
75490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75491 ac_ext=c
75492 ac_cpp='$CPP $CPPFLAGS'
75493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75496
75497
75498 fi
75499
75500 fi
75501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75502 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75503
75504 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75505 for ac_func in _sqrtf
75506 do :
75507 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75508 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75509 cat >>confdefs.h <<_ACEOF
75510 #define HAVE__SQRTF 1
75511 _ACEOF
75512
75513 fi
75514 done
75515
75516 fi
75517 fi
75518
75519
75520
75521
75522
75523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75524 $as_echo_n "checking for sincosf declaration... " >&6; }
75525 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75526 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75527 $as_echo_n "(cached) " >&6
75528 else
75529
75530
75531 ac_ext=cpp
75532 ac_cpp='$CXXCPP $CPPFLAGS'
75533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75536
75537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75538 /* end confdefs.h. */
75539 #include <math.h>
75540 int
75541 main ()
75542 {
75543 sincosf(0, 0, 0);
75544 ;
75545 return 0;
75546 }
75547 _ACEOF
75548 if ac_fn_cxx_try_compile "$LINENO"; then :
75549 glibcxx_cv_func_sincosf_use=yes
75550 else
75551 glibcxx_cv_func_sincosf_use=no
75552 fi
75553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75554 ac_ext=c
75555 ac_cpp='$CPP $CPPFLAGS'
75556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75559
75560
75561 fi
75562
75563 fi
75564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75565 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75566
75567 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75568 for ac_func in sincosf
75569 do :
75570 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75571 if test "x$ac_cv_func_sincosf" = x""yes; then :
75572 cat >>confdefs.h <<_ACEOF
75573 #define HAVE_SINCOSF 1
75574 _ACEOF
75575
75576 fi
75577 done
75578
75579 else
75580
75581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75582 $as_echo_n "checking for _sincosf declaration... " >&6; }
75583 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75584 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75585 $as_echo_n "(cached) " >&6
75586 else
75587
75588
75589 ac_ext=cpp
75590 ac_cpp='$CXXCPP $CPPFLAGS'
75591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75594
75595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75596 /* end confdefs.h. */
75597 #include <math.h>
75598 int
75599 main ()
75600 {
75601 _sincosf(0, 0, 0);
75602 ;
75603 return 0;
75604 }
75605 _ACEOF
75606 if ac_fn_cxx_try_compile "$LINENO"; then :
75607 glibcxx_cv_func__sincosf_use=yes
75608 else
75609 glibcxx_cv_func__sincosf_use=no
75610 fi
75611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75612 ac_ext=c
75613 ac_cpp='$CPP $CPPFLAGS'
75614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75617
75618
75619 fi
75620
75621 fi
75622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75623 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75624
75625 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75626 for ac_func in _sincosf
75627 do :
75628 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75629 if test "x$ac_cv_func__sincosf" = x""yes; then :
75630 cat >>confdefs.h <<_ACEOF
75631 #define HAVE__SINCOSF 1
75632 _ACEOF
75633
75634 fi
75635 done
75636
75637 fi
75638 fi
75639
75640
75641
75642
75643
75644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75645 $as_echo_n "checking for finitef declaration... " >&6; }
75646 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75647 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75648 $as_echo_n "(cached) " >&6
75649 else
75650
75651
75652 ac_ext=cpp
75653 ac_cpp='$CXXCPP $CPPFLAGS'
75654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75657
75658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75659 /* end confdefs.h. */
75660 #include <math.h>
75661 #ifdef HAVE_IEEEFP_H
75662 #include <ieeefp.h>
75663 #endif
75664
75665 int
75666 main ()
75667 {
75668 finitef(0);
75669 ;
75670 return 0;
75671 }
75672 _ACEOF
75673 if ac_fn_cxx_try_compile "$LINENO"; then :
75674 glibcxx_cv_func_finitef_use=yes
75675 else
75676 glibcxx_cv_func_finitef_use=no
75677 fi
75678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75679 ac_ext=c
75680 ac_cpp='$CPP $CPPFLAGS'
75681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75684
75685
75686 fi
75687
75688 fi
75689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75690 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75691
75692 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75693 for ac_func in finitef
75694 do :
75695 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75696 if test "x$ac_cv_func_finitef" = x""yes; then :
75697 cat >>confdefs.h <<_ACEOF
75698 #define HAVE_FINITEF 1
75699 _ACEOF
75700
75701 fi
75702 done
75703
75704 else
75705
75706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75707 $as_echo_n "checking for _finitef declaration... " >&6; }
75708 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75709 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75710 $as_echo_n "(cached) " >&6
75711 else
75712
75713
75714 ac_ext=cpp
75715 ac_cpp='$CXXCPP $CPPFLAGS'
75716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75719
75720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75721 /* end confdefs.h. */
75722 #include <math.h>
75723 #ifdef HAVE_IEEEFP_H
75724 #include <ieeefp.h>
75725 #endif
75726
75727 int
75728 main ()
75729 {
75730 _finitef(0);
75731 ;
75732 return 0;
75733 }
75734 _ACEOF
75735 if ac_fn_cxx_try_compile "$LINENO"; then :
75736 glibcxx_cv_func__finitef_use=yes
75737 else
75738 glibcxx_cv_func__finitef_use=no
75739 fi
75740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75741 ac_ext=c
75742 ac_cpp='$CPP $CPPFLAGS'
75743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75746
75747
75748 fi
75749
75750 fi
75751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75752 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75753
75754 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75755 for ac_func in _finitef
75756 do :
75757 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75758 if test "x$ac_cv_func__finitef" = x""yes; then :
75759 cat >>confdefs.h <<_ACEOF
75760 #define HAVE__FINITEF 1
75761 _ACEOF
75762
75763 fi
75764 done
75765
75766 fi
75767 fi
75768
75769
75770
75771
75772
75773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75774 $as_echo_n "checking for long double trig functions... " >&6; }
75775 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75776 $as_echo_n "(cached) " >&6
75777 else
75778
75779
75780 ac_ext=cpp
75781 ac_cpp='$CXXCPP $CPPFLAGS'
75782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75785
75786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75787 /* end confdefs.h. */
75788 #include <math.h>
75789 int
75790 main ()
75791 {
75792 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75793 ;
75794 return 0;
75795 }
75796 _ACEOF
75797 if ac_fn_cxx_try_compile "$LINENO"; then :
75798 glibcxx_cv_func_long_double_trig_use=yes
75799 else
75800 glibcxx_cv_func_long_double_trig_use=no
75801 fi
75802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75803 ac_ext=c
75804 ac_cpp='$CPP $CPPFLAGS'
75805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75808
75809 fi
75810
75811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75812 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75813 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75814 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75815 do :
75816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75818 eval as_val=\$$as_ac_var
75819 if test "x$as_val" = x""yes; then :
75820 cat >>confdefs.h <<_ACEOF
75821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75822 _ACEOF
75823
75824 fi
75825 done
75826
75827 else
75828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75829 $as_echo_n "checking for _long double trig functions... " >&6; }
75830 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75831 $as_echo_n "(cached) " >&6
75832 else
75833
75834
75835 ac_ext=cpp
75836 ac_cpp='$CXXCPP $CPPFLAGS'
75837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75840
75841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75842 /* end confdefs.h. */
75843 #include <math.h>
75844 int
75845 main ()
75846 {
75847 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75848 ;
75849 return 0;
75850 }
75851 _ACEOF
75852 if ac_fn_cxx_try_compile "$LINENO"; then :
75853 glibcxx_cv_func__long_double_trig_use=yes
75854 else
75855 glibcxx_cv_func__long_double_trig_use=no
75856 fi
75857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75858 ac_ext=c
75859 ac_cpp='$CPP $CPPFLAGS'
75860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75863
75864 fi
75865
75866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75867 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75868 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75869 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75870 do :
75871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75873 eval as_val=\$$as_ac_var
75874 if test "x$as_val" = x""yes; then :
75875 cat >>confdefs.h <<_ACEOF
75876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75877 _ACEOF
75878
75879 fi
75880 done
75881
75882 fi
75883 fi
75884
75885
75886
75887
75888
75889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75890 $as_echo_n "checking for long double round functions... " >&6; }
75891 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75892 $as_echo_n "(cached) " >&6
75893 else
75894
75895
75896 ac_ext=cpp
75897 ac_cpp='$CXXCPP $CPPFLAGS'
75898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75901
75902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75903 /* end confdefs.h. */
75904 #include <math.h>
75905 int
75906 main ()
75907 {
75908 ceill (0); floorl (0);
75909 ;
75910 return 0;
75911 }
75912 _ACEOF
75913 if ac_fn_cxx_try_compile "$LINENO"; then :
75914 glibcxx_cv_func_long_double_round_use=yes
75915 else
75916 glibcxx_cv_func_long_double_round_use=no
75917 fi
75918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75919 ac_ext=c
75920 ac_cpp='$CPP $CPPFLAGS'
75921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75924
75925 fi
75926
75927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75928 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75929 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75930 for ac_func in ceill floorl
75931 do :
75932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75934 eval as_val=\$$as_ac_var
75935 if test "x$as_val" = x""yes; then :
75936 cat >>confdefs.h <<_ACEOF
75937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75938 _ACEOF
75939
75940 fi
75941 done
75942
75943 else
75944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75945 $as_echo_n "checking for _long double round functions... " >&6; }
75946 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75947 $as_echo_n "(cached) " >&6
75948 else
75949
75950
75951 ac_ext=cpp
75952 ac_cpp='$CXXCPP $CPPFLAGS'
75953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75956
75957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75958 /* end confdefs.h. */
75959 #include <math.h>
75960 int
75961 main ()
75962 {
75963 _ceill (0); _floorl (0);
75964 ;
75965 return 0;
75966 }
75967 _ACEOF
75968 if ac_fn_cxx_try_compile "$LINENO"; then :
75969 glibcxx_cv_func__long_double_round_use=yes
75970 else
75971 glibcxx_cv_func__long_double_round_use=no
75972 fi
75973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75974 ac_ext=c
75975 ac_cpp='$CPP $CPPFLAGS'
75976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75979
75980 fi
75981
75982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75983 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75984 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75985 for ac_func in _ceill _floorl
75986 do :
75987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75989 eval as_val=\$$as_ac_var
75990 if test "x$as_val" = x""yes; then :
75991 cat >>confdefs.h <<_ACEOF
75992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75993 _ACEOF
75994
75995 fi
75996 done
75997
75998 fi
75999 fi
76000
76001
76002
76003
76004
76005
76006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76007 $as_echo_n "checking for isnanl declaration... " >&6; }
76008 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76009 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76010 $as_echo_n "(cached) " >&6
76011 else
76012
76013
76014 ac_ext=cpp
76015 ac_cpp='$CXXCPP $CPPFLAGS'
76016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76019
76020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76021 /* end confdefs.h. */
76022 #include <math.h>
76023 #ifdef HAVE_IEEEFP_H
76024 #include <ieeefp.h>
76025 #endif
76026
76027 int
76028 main ()
76029 {
76030 isnanl(0);
76031 ;
76032 return 0;
76033 }
76034 _ACEOF
76035 if ac_fn_cxx_try_compile "$LINENO"; then :
76036 glibcxx_cv_func_isnanl_use=yes
76037 else
76038 glibcxx_cv_func_isnanl_use=no
76039 fi
76040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76041 ac_ext=c
76042 ac_cpp='$CPP $CPPFLAGS'
76043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76046
76047
76048 fi
76049
76050 fi
76051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76052 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76053
76054 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76055 for ac_func in isnanl
76056 do :
76057 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76058 if test "x$ac_cv_func_isnanl" = x""yes; then :
76059 cat >>confdefs.h <<_ACEOF
76060 #define HAVE_ISNANL 1
76061 _ACEOF
76062
76063 fi
76064 done
76065
76066 else
76067
76068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76069 $as_echo_n "checking for _isnanl declaration... " >&6; }
76070 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76071 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76072 $as_echo_n "(cached) " >&6
76073 else
76074
76075
76076 ac_ext=cpp
76077 ac_cpp='$CXXCPP $CPPFLAGS'
76078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76081
76082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76083 /* end confdefs.h. */
76084 #include <math.h>
76085 #ifdef HAVE_IEEEFP_H
76086 #include <ieeefp.h>
76087 #endif
76088
76089 int
76090 main ()
76091 {
76092 _isnanl(0);
76093 ;
76094 return 0;
76095 }
76096 _ACEOF
76097 if ac_fn_cxx_try_compile "$LINENO"; then :
76098 glibcxx_cv_func__isnanl_use=yes
76099 else
76100 glibcxx_cv_func__isnanl_use=no
76101 fi
76102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76103 ac_ext=c
76104 ac_cpp='$CPP $CPPFLAGS'
76105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76108
76109
76110 fi
76111
76112 fi
76113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76114 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76115
76116 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76117 for ac_func in _isnanl
76118 do :
76119 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76120 if test "x$ac_cv_func__isnanl" = x""yes; then :
76121 cat >>confdefs.h <<_ACEOF
76122 #define HAVE__ISNANL 1
76123 _ACEOF
76124
76125 fi
76126 done
76127
76128 fi
76129 fi
76130
76131
76132
76133
76134
76135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76136 $as_echo_n "checking for isinfl declaration... " >&6; }
76137 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76138 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76139 $as_echo_n "(cached) " >&6
76140 else
76141
76142
76143 ac_ext=cpp
76144 ac_cpp='$CXXCPP $CPPFLAGS'
76145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76148
76149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76150 /* end confdefs.h. */
76151 #include <math.h>
76152 #ifdef HAVE_IEEEFP_H
76153 #include <ieeefp.h>
76154 #endif
76155
76156 int
76157 main ()
76158 {
76159 isinfl(0);
76160 ;
76161 return 0;
76162 }
76163 _ACEOF
76164 if ac_fn_cxx_try_compile "$LINENO"; then :
76165 glibcxx_cv_func_isinfl_use=yes
76166 else
76167 glibcxx_cv_func_isinfl_use=no
76168 fi
76169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76170 ac_ext=c
76171 ac_cpp='$CPP $CPPFLAGS'
76172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76175
76176
76177 fi
76178
76179 fi
76180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76181 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76182
76183 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76184 for ac_func in isinfl
76185 do :
76186 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76187 if test "x$ac_cv_func_isinfl" = x""yes; then :
76188 cat >>confdefs.h <<_ACEOF
76189 #define HAVE_ISINFL 1
76190 _ACEOF
76191
76192 fi
76193 done
76194
76195 else
76196
76197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76198 $as_echo_n "checking for _isinfl declaration... " >&6; }
76199 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76200 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76201 $as_echo_n "(cached) " >&6
76202 else
76203
76204
76205 ac_ext=cpp
76206 ac_cpp='$CXXCPP $CPPFLAGS'
76207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76210
76211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76212 /* end confdefs.h. */
76213 #include <math.h>
76214 #ifdef HAVE_IEEEFP_H
76215 #include <ieeefp.h>
76216 #endif
76217
76218 int
76219 main ()
76220 {
76221 _isinfl(0);
76222 ;
76223 return 0;
76224 }
76225 _ACEOF
76226 if ac_fn_cxx_try_compile "$LINENO"; then :
76227 glibcxx_cv_func__isinfl_use=yes
76228 else
76229 glibcxx_cv_func__isinfl_use=no
76230 fi
76231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76232 ac_ext=c
76233 ac_cpp='$CPP $CPPFLAGS'
76234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76237
76238
76239 fi
76240
76241 fi
76242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76243 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76244
76245 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76246 for ac_func in _isinfl
76247 do :
76248 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76249 if test "x$ac_cv_func__isinfl" = x""yes; then :
76250 cat >>confdefs.h <<_ACEOF
76251 #define HAVE__ISINFL 1
76252 _ACEOF
76253
76254 fi
76255 done
76256
76257 fi
76258 fi
76259
76260
76261
76262
76263
76264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76265 $as_echo_n "checking for atan2l declaration... " >&6; }
76266 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76267 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76268 $as_echo_n "(cached) " >&6
76269 else
76270
76271
76272 ac_ext=cpp
76273 ac_cpp='$CXXCPP $CPPFLAGS'
76274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76277
76278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76279 /* end confdefs.h. */
76280 #include <math.h>
76281 int
76282 main ()
76283 {
76284 atan2l(0, 0);
76285 ;
76286 return 0;
76287 }
76288 _ACEOF
76289 if ac_fn_cxx_try_compile "$LINENO"; then :
76290 glibcxx_cv_func_atan2l_use=yes
76291 else
76292 glibcxx_cv_func_atan2l_use=no
76293 fi
76294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76295 ac_ext=c
76296 ac_cpp='$CPP $CPPFLAGS'
76297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76300
76301
76302 fi
76303
76304 fi
76305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76306 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76307
76308 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76309 for ac_func in atan2l
76310 do :
76311 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76312 if test "x$ac_cv_func_atan2l" = x""yes; then :
76313 cat >>confdefs.h <<_ACEOF
76314 #define HAVE_ATAN2L 1
76315 _ACEOF
76316
76317 fi
76318 done
76319
76320 else
76321
76322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76323 $as_echo_n "checking for _atan2l declaration... " >&6; }
76324 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76325 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76326 $as_echo_n "(cached) " >&6
76327 else
76328
76329
76330 ac_ext=cpp
76331 ac_cpp='$CXXCPP $CPPFLAGS'
76332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76335
76336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76337 /* end confdefs.h. */
76338 #include <math.h>
76339 int
76340 main ()
76341 {
76342 _atan2l(0, 0);
76343 ;
76344 return 0;
76345 }
76346 _ACEOF
76347 if ac_fn_cxx_try_compile "$LINENO"; then :
76348 glibcxx_cv_func__atan2l_use=yes
76349 else
76350 glibcxx_cv_func__atan2l_use=no
76351 fi
76352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76353 ac_ext=c
76354 ac_cpp='$CPP $CPPFLAGS'
76355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76358
76359
76360 fi
76361
76362 fi
76363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76364 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76365
76366 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76367 for ac_func in _atan2l
76368 do :
76369 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76370 if test "x$ac_cv_func__atan2l" = x""yes; then :
76371 cat >>confdefs.h <<_ACEOF
76372 #define HAVE__ATAN2L 1
76373 _ACEOF
76374
76375 fi
76376 done
76377
76378 fi
76379 fi
76380
76381
76382
76383
76384
76385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76386 $as_echo_n "checking for expl declaration... " >&6; }
76387 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76388 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76389 $as_echo_n "(cached) " >&6
76390 else
76391
76392
76393 ac_ext=cpp
76394 ac_cpp='$CXXCPP $CPPFLAGS'
76395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76398
76399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76400 /* end confdefs.h. */
76401 #include <math.h>
76402 #ifdef HAVE_IEEEFP_H
76403 #include <ieeefp.h>
76404 #endif
76405
76406 int
76407 main ()
76408 {
76409 expl(0);
76410 ;
76411 return 0;
76412 }
76413 _ACEOF
76414 if ac_fn_cxx_try_compile "$LINENO"; then :
76415 glibcxx_cv_func_expl_use=yes
76416 else
76417 glibcxx_cv_func_expl_use=no
76418 fi
76419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76420 ac_ext=c
76421 ac_cpp='$CPP $CPPFLAGS'
76422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76425
76426
76427 fi
76428
76429 fi
76430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76431 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76432
76433 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76434 for ac_func in expl
76435 do :
76436 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76437 if test "x$ac_cv_func_expl" = x""yes; then :
76438 cat >>confdefs.h <<_ACEOF
76439 #define HAVE_EXPL 1
76440 _ACEOF
76441
76442 fi
76443 done
76444
76445 else
76446
76447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76448 $as_echo_n "checking for _expl declaration... " >&6; }
76449 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76450 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76451 $as_echo_n "(cached) " >&6
76452 else
76453
76454
76455 ac_ext=cpp
76456 ac_cpp='$CXXCPP $CPPFLAGS'
76457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76460
76461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76462 /* end confdefs.h. */
76463 #include <math.h>
76464 #ifdef HAVE_IEEEFP_H
76465 #include <ieeefp.h>
76466 #endif
76467
76468 int
76469 main ()
76470 {
76471 _expl(0);
76472 ;
76473 return 0;
76474 }
76475 _ACEOF
76476 if ac_fn_cxx_try_compile "$LINENO"; then :
76477 glibcxx_cv_func__expl_use=yes
76478 else
76479 glibcxx_cv_func__expl_use=no
76480 fi
76481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76482 ac_ext=c
76483 ac_cpp='$CPP $CPPFLAGS'
76484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76487
76488
76489 fi
76490
76491 fi
76492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76493 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76494
76495 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76496 for ac_func in _expl
76497 do :
76498 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76499 if test "x$ac_cv_func__expl" = x""yes; then :
76500 cat >>confdefs.h <<_ACEOF
76501 #define HAVE__EXPL 1
76502 _ACEOF
76503
76504 fi
76505 done
76506
76507 fi
76508 fi
76509
76510
76511
76512
76513
76514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76515 $as_echo_n "checking for fabsl declaration... " >&6; }
76516 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76517 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76518 $as_echo_n "(cached) " >&6
76519 else
76520
76521
76522 ac_ext=cpp
76523 ac_cpp='$CXXCPP $CPPFLAGS'
76524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76527
76528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76529 /* end confdefs.h. */
76530 #include <math.h>
76531 #ifdef HAVE_IEEEFP_H
76532 #include <ieeefp.h>
76533 #endif
76534
76535 int
76536 main ()
76537 {
76538 fabsl(0);
76539 ;
76540 return 0;
76541 }
76542 _ACEOF
76543 if ac_fn_cxx_try_compile "$LINENO"; then :
76544 glibcxx_cv_func_fabsl_use=yes
76545 else
76546 glibcxx_cv_func_fabsl_use=no
76547 fi
76548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76549 ac_ext=c
76550 ac_cpp='$CPP $CPPFLAGS'
76551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76554
76555
76556 fi
76557
76558 fi
76559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76560 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76561
76562 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76563 for ac_func in fabsl
76564 do :
76565 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76566 if test "x$ac_cv_func_fabsl" = x""yes; then :
76567 cat >>confdefs.h <<_ACEOF
76568 #define HAVE_FABSL 1
76569 _ACEOF
76570
76571 fi
76572 done
76573
76574 else
76575
76576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76577 $as_echo_n "checking for _fabsl declaration... " >&6; }
76578 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76579 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76580 $as_echo_n "(cached) " >&6
76581 else
76582
76583
76584 ac_ext=cpp
76585 ac_cpp='$CXXCPP $CPPFLAGS'
76586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76589
76590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76591 /* end confdefs.h. */
76592 #include <math.h>
76593 #ifdef HAVE_IEEEFP_H
76594 #include <ieeefp.h>
76595 #endif
76596
76597 int
76598 main ()
76599 {
76600 _fabsl(0);
76601 ;
76602 return 0;
76603 }
76604 _ACEOF
76605 if ac_fn_cxx_try_compile "$LINENO"; then :
76606 glibcxx_cv_func__fabsl_use=yes
76607 else
76608 glibcxx_cv_func__fabsl_use=no
76609 fi
76610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76611 ac_ext=c
76612 ac_cpp='$CPP $CPPFLAGS'
76613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76616
76617
76618 fi
76619
76620 fi
76621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76622 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76623
76624 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76625 for ac_func in _fabsl
76626 do :
76627 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76628 if test "x$ac_cv_func__fabsl" = x""yes; then :
76629 cat >>confdefs.h <<_ACEOF
76630 #define HAVE__FABSL 1
76631 _ACEOF
76632
76633 fi
76634 done
76635
76636 fi
76637 fi
76638
76639
76640
76641
76642
76643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76644 $as_echo_n "checking for fmodl declaration... " >&6; }
76645 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76646 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76647 $as_echo_n "(cached) " >&6
76648 else
76649
76650
76651 ac_ext=cpp
76652 ac_cpp='$CXXCPP $CPPFLAGS'
76653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76656
76657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76658 /* end confdefs.h. */
76659 #include <math.h>
76660 int
76661 main ()
76662 {
76663 fmodl(0, 0);
76664 ;
76665 return 0;
76666 }
76667 _ACEOF
76668 if ac_fn_cxx_try_compile "$LINENO"; then :
76669 glibcxx_cv_func_fmodl_use=yes
76670 else
76671 glibcxx_cv_func_fmodl_use=no
76672 fi
76673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76674 ac_ext=c
76675 ac_cpp='$CPP $CPPFLAGS'
76676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76679
76680
76681 fi
76682
76683 fi
76684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76685 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76686
76687 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76688 for ac_func in fmodl
76689 do :
76690 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76691 if test "x$ac_cv_func_fmodl" = x""yes; then :
76692 cat >>confdefs.h <<_ACEOF
76693 #define HAVE_FMODL 1
76694 _ACEOF
76695
76696 fi
76697 done
76698
76699 else
76700
76701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76702 $as_echo_n "checking for _fmodl declaration... " >&6; }
76703 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76704 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76705 $as_echo_n "(cached) " >&6
76706 else
76707
76708
76709 ac_ext=cpp
76710 ac_cpp='$CXXCPP $CPPFLAGS'
76711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76714
76715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76716 /* end confdefs.h. */
76717 #include <math.h>
76718 int
76719 main ()
76720 {
76721 _fmodl(0, 0);
76722 ;
76723 return 0;
76724 }
76725 _ACEOF
76726 if ac_fn_cxx_try_compile "$LINENO"; then :
76727 glibcxx_cv_func__fmodl_use=yes
76728 else
76729 glibcxx_cv_func__fmodl_use=no
76730 fi
76731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76732 ac_ext=c
76733 ac_cpp='$CPP $CPPFLAGS'
76734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76737
76738
76739 fi
76740
76741 fi
76742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76743 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76744
76745 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76746 for ac_func in _fmodl
76747 do :
76748 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76749 if test "x$ac_cv_func__fmodl" = x""yes; then :
76750 cat >>confdefs.h <<_ACEOF
76751 #define HAVE__FMODL 1
76752 _ACEOF
76753
76754 fi
76755 done
76756
76757 fi
76758 fi
76759
76760
76761
76762
76763
76764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76765 $as_echo_n "checking for frexpl declaration... " >&6; }
76766 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76767 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76768 $as_echo_n "(cached) " >&6
76769 else
76770
76771
76772 ac_ext=cpp
76773 ac_cpp='$CXXCPP $CPPFLAGS'
76774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76777
76778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76779 /* end confdefs.h. */
76780 #include <math.h>
76781 int
76782 main ()
76783 {
76784 frexpl(0, 0);
76785 ;
76786 return 0;
76787 }
76788 _ACEOF
76789 if ac_fn_cxx_try_compile "$LINENO"; then :
76790 glibcxx_cv_func_frexpl_use=yes
76791 else
76792 glibcxx_cv_func_frexpl_use=no
76793 fi
76794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76795 ac_ext=c
76796 ac_cpp='$CPP $CPPFLAGS'
76797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76800
76801
76802 fi
76803
76804 fi
76805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76806 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76807
76808 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76809 for ac_func in frexpl
76810 do :
76811 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76812 if test "x$ac_cv_func_frexpl" = x""yes; then :
76813 cat >>confdefs.h <<_ACEOF
76814 #define HAVE_FREXPL 1
76815 _ACEOF
76816
76817 fi
76818 done
76819
76820 else
76821
76822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76823 $as_echo_n "checking for _frexpl declaration... " >&6; }
76824 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76825 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76826 $as_echo_n "(cached) " >&6
76827 else
76828
76829
76830 ac_ext=cpp
76831 ac_cpp='$CXXCPP $CPPFLAGS'
76832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76835
76836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76837 /* end confdefs.h. */
76838 #include <math.h>
76839 int
76840 main ()
76841 {
76842 _frexpl(0, 0);
76843 ;
76844 return 0;
76845 }
76846 _ACEOF
76847 if ac_fn_cxx_try_compile "$LINENO"; then :
76848 glibcxx_cv_func__frexpl_use=yes
76849 else
76850 glibcxx_cv_func__frexpl_use=no
76851 fi
76852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76853 ac_ext=c
76854 ac_cpp='$CPP $CPPFLAGS'
76855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76858
76859
76860 fi
76861
76862 fi
76863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76864 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76865
76866 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76867 for ac_func in _frexpl
76868 do :
76869 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76870 if test "x$ac_cv_func__frexpl" = x""yes; then :
76871 cat >>confdefs.h <<_ACEOF
76872 #define HAVE__FREXPL 1
76873 _ACEOF
76874
76875 fi
76876 done
76877
76878 fi
76879 fi
76880
76881
76882
76883
76884
76885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76886 $as_echo_n "checking for hypotl declaration... " >&6; }
76887 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76888 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76889 $as_echo_n "(cached) " >&6
76890 else
76891
76892
76893 ac_ext=cpp
76894 ac_cpp='$CXXCPP $CPPFLAGS'
76895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76898
76899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76900 /* end confdefs.h. */
76901 #include <math.h>
76902 int
76903 main ()
76904 {
76905 hypotl(0, 0);
76906 ;
76907 return 0;
76908 }
76909 _ACEOF
76910 if ac_fn_cxx_try_compile "$LINENO"; then :
76911 glibcxx_cv_func_hypotl_use=yes
76912 else
76913 glibcxx_cv_func_hypotl_use=no
76914 fi
76915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76916 ac_ext=c
76917 ac_cpp='$CPP $CPPFLAGS'
76918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76921
76922
76923 fi
76924
76925 fi
76926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76927 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76928
76929 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76930 for ac_func in hypotl
76931 do :
76932 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76933 if test "x$ac_cv_func_hypotl" = x""yes; then :
76934 cat >>confdefs.h <<_ACEOF
76935 #define HAVE_HYPOTL 1
76936 _ACEOF
76937
76938 fi
76939 done
76940
76941 else
76942
76943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76944 $as_echo_n "checking for _hypotl declaration... " >&6; }
76945 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76946 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76947 $as_echo_n "(cached) " >&6
76948 else
76949
76950
76951 ac_ext=cpp
76952 ac_cpp='$CXXCPP $CPPFLAGS'
76953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76956
76957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76958 /* end confdefs.h. */
76959 #include <math.h>
76960 int
76961 main ()
76962 {
76963 _hypotl(0, 0);
76964 ;
76965 return 0;
76966 }
76967 _ACEOF
76968 if ac_fn_cxx_try_compile "$LINENO"; then :
76969 glibcxx_cv_func__hypotl_use=yes
76970 else
76971 glibcxx_cv_func__hypotl_use=no
76972 fi
76973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76974 ac_ext=c
76975 ac_cpp='$CPP $CPPFLAGS'
76976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76979
76980
76981 fi
76982
76983 fi
76984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76985 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76986
76987 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76988 for ac_func in _hypotl
76989 do :
76990 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76991 if test "x$ac_cv_func__hypotl" = x""yes; then :
76992 cat >>confdefs.h <<_ACEOF
76993 #define HAVE__HYPOTL 1
76994 _ACEOF
76995
76996 fi
76997 done
76998
76999 fi
77000 fi
77001
77002
77003
77004
77005
77006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77007 $as_echo_n "checking for ldexpl declaration... " >&6; }
77008 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77009 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77010 $as_echo_n "(cached) " >&6
77011 else
77012
77013
77014 ac_ext=cpp
77015 ac_cpp='$CXXCPP $CPPFLAGS'
77016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77019
77020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77021 /* end confdefs.h. */
77022 #include <math.h>
77023 int
77024 main ()
77025 {
77026 ldexpl(0, 0);
77027 ;
77028 return 0;
77029 }
77030 _ACEOF
77031 if ac_fn_cxx_try_compile "$LINENO"; then :
77032 glibcxx_cv_func_ldexpl_use=yes
77033 else
77034 glibcxx_cv_func_ldexpl_use=no
77035 fi
77036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77037 ac_ext=c
77038 ac_cpp='$CPP $CPPFLAGS'
77039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77042
77043
77044 fi
77045
77046 fi
77047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77048 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77049
77050 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77051 for ac_func in ldexpl
77052 do :
77053 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77054 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77055 cat >>confdefs.h <<_ACEOF
77056 #define HAVE_LDEXPL 1
77057 _ACEOF
77058
77059 fi
77060 done
77061
77062 else
77063
77064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77065 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77066 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77067 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77068 $as_echo_n "(cached) " >&6
77069 else
77070
77071
77072 ac_ext=cpp
77073 ac_cpp='$CXXCPP $CPPFLAGS'
77074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77077
77078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77079 /* end confdefs.h. */
77080 #include <math.h>
77081 int
77082 main ()
77083 {
77084 _ldexpl(0, 0);
77085 ;
77086 return 0;
77087 }
77088 _ACEOF
77089 if ac_fn_cxx_try_compile "$LINENO"; then :
77090 glibcxx_cv_func__ldexpl_use=yes
77091 else
77092 glibcxx_cv_func__ldexpl_use=no
77093 fi
77094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77095 ac_ext=c
77096 ac_cpp='$CPP $CPPFLAGS'
77097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77100
77101
77102 fi
77103
77104 fi
77105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77106 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77107
77108 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77109 for ac_func in _ldexpl
77110 do :
77111 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77112 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77113 cat >>confdefs.h <<_ACEOF
77114 #define HAVE__LDEXPL 1
77115 _ACEOF
77116
77117 fi
77118 done
77119
77120 fi
77121 fi
77122
77123
77124
77125
77126
77127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77128 $as_echo_n "checking for logl declaration... " >&6; }
77129 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77130 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77131 $as_echo_n "(cached) " >&6
77132 else
77133
77134
77135 ac_ext=cpp
77136 ac_cpp='$CXXCPP $CPPFLAGS'
77137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77140
77141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77142 /* end confdefs.h. */
77143 #include <math.h>
77144 #ifdef HAVE_IEEEFP_H
77145 #include <ieeefp.h>
77146 #endif
77147
77148 int
77149 main ()
77150 {
77151 logl(0);
77152 ;
77153 return 0;
77154 }
77155 _ACEOF
77156 if ac_fn_cxx_try_compile "$LINENO"; then :
77157 glibcxx_cv_func_logl_use=yes
77158 else
77159 glibcxx_cv_func_logl_use=no
77160 fi
77161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77162 ac_ext=c
77163 ac_cpp='$CPP $CPPFLAGS'
77164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77167
77168
77169 fi
77170
77171 fi
77172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77173 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77174
77175 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77176 for ac_func in logl
77177 do :
77178 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77179 if test "x$ac_cv_func_logl" = x""yes; then :
77180 cat >>confdefs.h <<_ACEOF
77181 #define HAVE_LOGL 1
77182 _ACEOF
77183
77184 fi
77185 done
77186
77187 else
77188
77189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77190 $as_echo_n "checking for _logl declaration... " >&6; }
77191 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77192 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77193 $as_echo_n "(cached) " >&6
77194 else
77195
77196
77197 ac_ext=cpp
77198 ac_cpp='$CXXCPP $CPPFLAGS'
77199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77202
77203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77204 /* end confdefs.h. */
77205 #include <math.h>
77206 #ifdef HAVE_IEEEFP_H
77207 #include <ieeefp.h>
77208 #endif
77209
77210 int
77211 main ()
77212 {
77213 _logl(0);
77214 ;
77215 return 0;
77216 }
77217 _ACEOF
77218 if ac_fn_cxx_try_compile "$LINENO"; then :
77219 glibcxx_cv_func__logl_use=yes
77220 else
77221 glibcxx_cv_func__logl_use=no
77222 fi
77223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77224 ac_ext=c
77225 ac_cpp='$CPP $CPPFLAGS'
77226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77229
77230
77231 fi
77232
77233 fi
77234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77235 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77236
77237 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77238 for ac_func in _logl
77239 do :
77240 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77241 if test "x$ac_cv_func__logl" = x""yes; then :
77242 cat >>confdefs.h <<_ACEOF
77243 #define HAVE__LOGL 1
77244 _ACEOF
77245
77246 fi
77247 done
77248
77249 fi
77250 fi
77251
77252
77253
77254
77255
77256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77257 $as_echo_n "checking for log10l declaration... " >&6; }
77258 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77259 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77260 $as_echo_n "(cached) " >&6
77261 else
77262
77263
77264 ac_ext=cpp
77265 ac_cpp='$CXXCPP $CPPFLAGS'
77266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77269
77270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77271 /* end confdefs.h. */
77272 #include <math.h>
77273 #ifdef HAVE_IEEEFP_H
77274 #include <ieeefp.h>
77275 #endif
77276
77277 int
77278 main ()
77279 {
77280 log10l(0);
77281 ;
77282 return 0;
77283 }
77284 _ACEOF
77285 if ac_fn_cxx_try_compile "$LINENO"; then :
77286 glibcxx_cv_func_log10l_use=yes
77287 else
77288 glibcxx_cv_func_log10l_use=no
77289 fi
77290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77291 ac_ext=c
77292 ac_cpp='$CPP $CPPFLAGS'
77293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77296
77297
77298 fi
77299
77300 fi
77301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77302 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77303
77304 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77305 for ac_func in log10l
77306 do :
77307 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77308 if test "x$ac_cv_func_log10l" = x""yes; then :
77309 cat >>confdefs.h <<_ACEOF
77310 #define HAVE_LOG10L 1
77311 _ACEOF
77312
77313 fi
77314 done
77315
77316 else
77317
77318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77319 $as_echo_n "checking for _log10l declaration... " >&6; }
77320 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77321 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77322 $as_echo_n "(cached) " >&6
77323 else
77324
77325
77326 ac_ext=cpp
77327 ac_cpp='$CXXCPP $CPPFLAGS'
77328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77331
77332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77333 /* end confdefs.h. */
77334 #include <math.h>
77335 #ifdef HAVE_IEEEFP_H
77336 #include <ieeefp.h>
77337 #endif
77338
77339 int
77340 main ()
77341 {
77342 _log10l(0);
77343 ;
77344 return 0;
77345 }
77346 _ACEOF
77347 if ac_fn_cxx_try_compile "$LINENO"; then :
77348 glibcxx_cv_func__log10l_use=yes
77349 else
77350 glibcxx_cv_func__log10l_use=no
77351 fi
77352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77353 ac_ext=c
77354 ac_cpp='$CPP $CPPFLAGS'
77355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77358
77359
77360 fi
77361
77362 fi
77363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77364 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77365
77366 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77367 for ac_func in _log10l
77368 do :
77369 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77370 if test "x$ac_cv_func__log10l" = x""yes; then :
77371 cat >>confdefs.h <<_ACEOF
77372 #define HAVE__LOG10L 1
77373 _ACEOF
77374
77375 fi
77376 done
77377
77378 fi
77379 fi
77380
77381
77382
77383
77384
77385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77386 $as_echo_n "checking for modfl declaration... " >&6; }
77387 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77388 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77389 $as_echo_n "(cached) " >&6
77390 else
77391
77392
77393 ac_ext=cpp
77394 ac_cpp='$CXXCPP $CPPFLAGS'
77395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77398
77399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77400 /* end confdefs.h. */
77401 #include <math.h>
77402 int
77403 main ()
77404 {
77405 modfl(0, 0);
77406 ;
77407 return 0;
77408 }
77409 _ACEOF
77410 if ac_fn_cxx_try_compile "$LINENO"; then :
77411 glibcxx_cv_func_modfl_use=yes
77412 else
77413 glibcxx_cv_func_modfl_use=no
77414 fi
77415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77416 ac_ext=c
77417 ac_cpp='$CPP $CPPFLAGS'
77418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77421
77422
77423 fi
77424
77425 fi
77426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77427 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77428
77429 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77430 for ac_func in modfl
77431 do :
77432 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77433 if test "x$ac_cv_func_modfl" = x""yes; then :
77434 cat >>confdefs.h <<_ACEOF
77435 #define HAVE_MODFL 1
77436 _ACEOF
77437
77438 fi
77439 done
77440
77441 else
77442
77443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77444 $as_echo_n "checking for _modfl declaration... " >&6; }
77445 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77446 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77447 $as_echo_n "(cached) " >&6
77448 else
77449
77450
77451 ac_ext=cpp
77452 ac_cpp='$CXXCPP $CPPFLAGS'
77453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77456
77457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77458 /* end confdefs.h. */
77459 #include <math.h>
77460 int
77461 main ()
77462 {
77463 _modfl(0, 0);
77464 ;
77465 return 0;
77466 }
77467 _ACEOF
77468 if ac_fn_cxx_try_compile "$LINENO"; then :
77469 glibcxx_cv_func__modfl_use=yes
77470 else
77471 glibcxx_cv_func__modfl_use=no
77472 fi
77473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77474 ac_ext=c
77475 ac_cpp='$CPP $CPPFLAGS'
77476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77479
77480
77481 fi
77482
77483 fi
77484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77485 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77486
77487 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77488 for ac_func in _modfl
77489 do :
77490 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77491 if test "x$ac_cv_func__modfl" = x""yes; then :
77492 cat >>confdefs.h <<_ACEOF
77493 #define HAVE__MODFL 1
77494 _ACEOF
77495
77496 fi
77497 done
77498
77499 fi
77500 fi
77501
77502
77503
77504
77505
77506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77507 $as_echo_n "checking for powl declaration... " >&6; }
77508 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77509 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77510 $as_echo_n "(cached) " >&6
77511 else
77512
77513
77514 ac_ext=cpp
77515 ac_cpp='$CXXCPP $CPPFLAGS'
77516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77519
77520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77521 /* end confdefs.h. */
77522 #include <math.h>
77523 int
77524 main ()
77525 {
77526 powl(0, 0);
77527 ;
77528 return 0;
77529 }
77530 _ACEOF
77531 if ac_fn_cxx_try_compile "$LINENO"; then :
77532 glibcxx_cv_func_powl_use=yes
77533 else
77534 glibcxx_cv_func_powl_use=no
77535 fi
77536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77537 ac_ext=c
77538 ac_cpp='$CPP $CPPFLAGS'
77539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77542
77543
77544 fi
77545
77546 fi
77547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77548 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77549
77550 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77551 for ac_func in powl
77552 do :
77553 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77554 if test "x$ac_cv_func_powl" = x""yes; then :
77555 cat >>confdefs.h <<_ACEOF
77556 #define HAVE_POWL 1
77557 _ACEOF
77558
77559 fi
77560 done
77561
77562 else
77563
77564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77565 $as_echo_n "checking for _powl declaration... " >&6; }
77566 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77567 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77568 $as_echo_n "(cached) " >&6
77569 else
77570
77571
77572 ac_ext=cpp
77573 ac_cpp='$CXXCPP $CPPFLAGS'
77574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77577
77578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77579 /* end confdefs.h. */
77580 #include <math.h>
77581 int
77582 main ()
77583 {
77584 _powl(0, 0);
77585 ;
77586 return 0;
77587 }
77588 _ACEOF
77589 if ac_fn_cxx_try_compile "$LINENO"; then :
77590 glibcxx_cv_func__powl_use=yes
77591 else
77592 glibcxx_cv_func__powl_use=no
77593 fi
77594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77595 ac_ext=c
77596 ac_cpp='$CPP $CPPFLAGS'
77597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77600
77601
77602 fi
77603
77604 fi
77605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77606 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77607
77608 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77609 for ac_func in _powl
77610 do :
77611 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77612 if test "x$ac_cv_func__powl" = x""yes; then :
77613 cat >>confdefs.h <<_ACEOF
77614 #define HAVE__POWL 1
77615 _ACEOF
77616
77617 fi
77618 done
77619
77620 fi
77621 fi
77622
77623
77624
77625
77626
77627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77628 $as_echo_n "checking for sqrtl declaration... " >&6; }
77629 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77630 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77631 $as_echo_n "(cached) " >&6
77632 else
77633
77634
77635 ac_ext=cpp
77636 ac_cpp='$CXXCPP $CPPFLAGS'
77637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77640
77641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77642 /* end confdefs.h. */
77643 #include <math.h>
77644 #ifdef HAVE_IEEEFP_H
77645 #include <ieeefp.h>
77646 #endif
77647
77648 int
77649 main ()
77650 {
77651 sqrtl(0);
77652 ;
77653 return 0;
77654 }
77655 _ACEOF
77656 if ac_fn_cxx_try_compile "$LINENO"; then :
77657 glibcxx_cv_func_sqrtl_use=yes
77658 else
77659 glibcxx_cv_func_sqrtl_use=no
77660 fi
77661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77662 ac_ext=c
77663 ac_cpp='$CPP $CPPFLAGS'
77664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77667
77668
77669 fi
77670
77671 fi
77672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77673 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77674
77675 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77676 for ac_func in sqrtl
77677 do :
77678 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77679 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77680 cat >>confdefs.h <<_ACEOF
77681 #define HAVE_SQRTL 1
77682 _ACEOF
77683
77684 fi
77685 done
77686
77687 else
77688
77689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77690 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77691 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77692 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77693 $as_echo_n "(cached) " >&6
77694 else
77695
77696
77697 ac_ext=cpp
77698 ac_cpp='$CXXCPP $CPPFLAGS'
77699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77702
77703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77704 /* end confdefs.h. */
77705 #include <math.h>
77706 #ifdef HAVE_IEEEFP_H
77707 #include <ieeefp.h>
77708 #endif
77709
77710 int
77711 main ()
77712 {
77713 _sqrtl(0);
77714 ;
77715 return 0;
77716 }
77717 _ACEOF
77718 if ac_fn_cxx_try_compile "$LINENO"; then :
77719 glibcxx_cv_func__sqrtl_use=yes
77720 else
77721 glibcxx_cv_func__sqrtl_use=no
77722 fi
77723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77724 ac_ext=c
77725 ac_cpp='$CPP $CPPFLAGS'
77726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77729
77730
77731 fi
77732
77733 fi
77734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77735 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77736
77737 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77738 for ac_func in _sqrtl
77739 do :
77740 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77741 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77742 cat >>confdefs.h <<_ACEOF
77743 #define HAVE__SQRTL 1
77744 _ACEOF
77745
77746 fi
77747 done
77748
77749 fi
77750 fi
77751
77752
77753
77754
77755
77756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77757 $as_echo_n "checking for sincosl declaration... " >&6; }
77758 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77759 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77760 $as_echo_n "(cached) " >&6
77761 else
77762
77763
77764 ac_ext=cpp
77765 ac_cpp='$CXXCPP $CPPFLAGS'
77766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77769
77770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77771 /* end confdefs.h. */
77772 #include <math.h>
77773 int
77774 main ()
77775 {
77776 sincosl(0, 0, 0);
77777 ;
77778 return 0;
77779 }
77780 _ACEOF
77781 if ac_fn_cxx_try_compile "$LINENO"; then :
77782 glibcxx_cv_func_sincosl_use=yes
77783 else
77784 glibcxx_cv_func_sincosl_use=no
77785 fi
77786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77787 ac_ext=c
77788 ac_cpp='$CPP $CPPFLAGS'
77789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77792
77793
77794 fi
77795
77796 fi
77797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77798 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77799
77800 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77801 for ac_func in sincosl
77802 do :
77803 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77804 if test "x$ac_cv_func_sincosl" = x""yes; then :
77805 cat >>confdefs.h <<_ACEOF
77806 #define HAVE_SINCOSL 1
77807 _ACEOF
77808
77809 fi
77810 done
77811
77812 else
77813
77814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77815 $as_echo_n "checking for _sincosl declaration... " >&6; }
77816 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77817 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77818 $as_echo_n "(cached) " >&6
77819 else
77820
77821
77822 ac_ext=cpp
77823 ac_cpp='$CXXCPP $CPPFLAGS'
77824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77827
77828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77829 /* end confdefs.h. */
77830 #include <math.h>
77831 int
77832 main ()
77833 {
77834 _sincosl(0, 0, 0);
77835 ;
77836 return 0;
77837 }
77838 _ACEOF
77839 if ac_fn_cxx_try_compile "$LINENO"; then :
77840 glibcxx_cv_func__sincosl_use=yes
77841 else
77842 glibcxx_cv_func__sincosl_use=no
77843 fi
77844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77845 ac_ext=c
77846 ac_cpp='$CPP $CPPFLAGS'
77847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77850
77851
77852 fi
77853
77854 fi
77855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77856 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77857
77858 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77859 for ac_func in _sincosl
77860 do :
77861 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77862 if test "x$ac_cv_func__sincosl" = x""yes; then :
77863 cat >>confdefs.h <<_ACEOF
77864 #define HAVE__SINCOSL 1
77865 _ACEOF
77866
77867 fi
77868 done
77869
77870 fi
77871 fi
77872
77873
77874
77875
77876
77877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77878 $as_echo_n "checking for finitel declaration... " >&6; }
77879 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77880 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77881 $as_echo_n "(cached) " >&6
77882 else
77883
77884
77885 ac_ext=cpp
77886 ac_cpp='$CXXCPP $CPPFLAGS'
77887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77890
77891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77892 /* end confdefs.h. */
77893 #include <math.h>
77894 #ifdef HAVE_IEEEFP_H
77895 #include <ieeefp.h>
77896 #endif
77897
77898 int
77899 main ()
77900 {
77901 finitel(0);
77902 ;
77903 return 0;
77904 }
77905 _ACEOF
77906 if ac_fn_cxx_try_compile "$LINENO"; then :
77907 glibcxx_cv_func_finitel_use=yes
77908 else
77909 glibcxx_cv_func_finitel_use=no
77910 fi
77911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77912 ac_ext=c
77913 ac_cpp='$CPP $CPPFLAGS'
77914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77917
77918
77919 fi
77920
77921 fi
77922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77923 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77924
77925 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77926 for ac_func in finitel
77927 do :
77928 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77929 if test "x$ac_cv_func_finitel" = x""yes; then :
77930 cat >>confdefs.h <<_ACEOF
77931 #define HAVE_FINITEL 1
77932 _ACEOF
77933
77934 fi
77935 done
77936
77937 else
77938
77939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77940 $as_echo_n "checking for _finitel declaration... " >&6; }
77941 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77942 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77943 $as_echo_n "(cached) " >&6
77944 else
77945
77946
77947 ac_ext=cpp
77948 ac_cpp='$CXXCPP $CPPFLAGS'
77949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77952
77953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77954 /* end confdefs.h. */
77955 #include <math.h>
77956 #ifdef HAVE_IEEEFP_H
77957 #include <ieeefp.h>
77958 #endif
77959
77960 int
77961 main ()
77962 {
77963 _finitel(0);
77964 ;
77965 return 0;
77966 }
77967 _ACEOF
77968 if ac_fn_cxx_try_compile "$LINENO"; then :
77969 glibcxx_cv_func__finitel_use=yes
77970 else
77971 glibcxx_cv_func__finitel_use=no
77972 fi
77973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77974 ac_ext=c
77975 ac_cpp='$CPP $CPPFLAGS'
77976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77979
77980
77981 fi
77982
77983 fi
77984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77985 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77986
77987 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77988 for ac_func in _finitel
77989 do :
77990 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77991 if test "x$ac_cv_func__finitel" = x""yes; then :
77992 cat >>confdefs.h <<_ACEOF
77993 #define HAVE__FINITEL 1
77994 _ACEOF
77995
77996 fi
77997 done
77998
77999 fi
78000 fi
78001
78002
78003
78004
78005 LIBS="$ac_save_LIBS"
78006 CXXFLAGS="$ac_save_CXXFLAGS"
78007
78008
78009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78010 ac_save_CXXFLAGS="$CXXFLAGS"
78011 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78012
78013
78014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78015 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78016 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78017 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78018 $as_echo_n "(cached) " >&6
78019 else
78020
78021
78022 ac_ext=cpp
78023 ac_cpp='$CXXCPP $CPPFLAGS'
78024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78027
78028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78029 /* end confdefs.h. */
78030 #include <stdlib.h>
78031 int
78032 main ()
78033 {
78034 at_quick_exit(0);
78035 ;
78036 return 0;
78037 }
78038 _ACEOF
78039 if ac_fn_cxx_try_compile "$LINENO"; then :
78040 glibcxx_cv_func_at_quick_exit_use=yes
78041 else
78042 glibcxx_cv_func_at_quick_exit_use=no
78043 fi
78044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78045 ac_ext=c
78046 ac_cpp='$CPP $CPPFLAGS'
78047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78050
78051
78052 fi
78053
78054 fi
78055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78056 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78057 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78058 for ac_func in at_quick_exit
78059 do :
78060 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78061 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78062 cat >>confdefs.h <<_ACEOF
78063 #define HAVE_AT_QUICK_EXIT 1
78064 _ACEOF
78065
78066 fi
78067 done
78068
78069 fi
78070
78071
78072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78073 $as_echo_n "checking for quick_exit declaration... " >&6; }
78074 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78075 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78076 $as_echo_n "(cached) " >&6
78077 else
78078
78079
78080 ac_ext=cpp
78081 ac_cpp='$CXXCPP $CPPFLAGS'
78082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78085
78086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78087 /* end confdefs.h. */
78088 #include <stdlib.h>
78089 int
78090 main ()
78091 {
78092 quick_exit(0);
78093 ;
78094 return 0;
78095 }
78096 _ACEOF
78097 if ac_fn_cxx_try_compile "$LINENO"; then :
78098 glibcxx_cv_func_quick_exit_use=yes
78099 else
78100 glibcxx_cv_func_quick_exit_use=no
78101 fi
78102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78103 ac_ext=c
78104 ac_cpp='$CPP $CPPFLAGS'
78105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78108
78109
78110 fi
78111
78112 fi
78113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78114 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78115 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78116 for ac_func in quick_exit
78117 do :
78118 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78119 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78120 cat >>confdefs.h <<_ACEOF
78121 #define HAVE_QUICK_EXIT 1
78122 _ACEOF
78123
78124 fi
78125 done
78126
78127 fi
78128
78129
78130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78131 $as_echo_n "checking for strtold declaration... " >&6; }
78132 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78133 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78134 $as_echo_n "(cached) " >&6
78135 else
78136
78137
78138 ac_ext=cpp
78139 ac_cpp='$CXXCPP $CPPFLAGS'
78140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78143
78144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78145 /* end confdefs.h. */
78146 #include <stdlib.h>
78147 int
78148 main ()
78149 {
78150 strtold(0, 0);
78151 ;
78152 return 0;
78153 }
78154 _ACEOF
78155 if ac_fn_cxx_try_compile "$LINENO"; then :
78156 glibcxx_cv_func_strtold_use=yes
78157 else
78158 glibcxx_cv_func_strtold_use=no
78159 fi
78160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78161 ac_ext=c
78162 ac_cpp='$CPP $CPPFLAGS'
78163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78166
78167
78168 fi
78169
78170 fi
78171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78172 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78173 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78174 for ac_func in strtold
78175 do :
78176 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78177 if test "x$ac_cv_func_strtold" = x""yes; then :
78178 cat >>confdefs.h <<_ACEOF
78179 #define HAVE_STRTOLD 1
78180 _ACEOF
78181
78182 fi
78183 done
78184
78185 fi
78186
78187
78188
78189
78190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78191 $as_echo_n "checking for strtof declaration... " >&6; }
78192 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78193 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78194 $as_echo_n "(cached) " >&6
78195 else
78196
78197
78198 ac_ext=cpp
78199 ac_cpp='$CXXCPP $CPPFLAGS'
78200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78203
78204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78205 /* end confdefs.h. */
78206 #include <stdlib.h>
78207 int
78208 main ()
78209 {
78210 strtof(0, 0);
78211 ;
78212 return 0;
78213 }
78214 _ACEOF
78215 if ac_fn_cxx_try_compile "$LINENO"; then :
78216 glibcxx_cv_func_strtof_use=yes
78217 else
78218 glibcxx_cv_func_strtof_use=no
78219 fi
78220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78221 ac_ext=c
78222 ac_cpp='$CPP $CPPFLAGS'
78223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78226
78227
78228 fi
78229
78230 fi
78231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78232 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78233 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78234 for ac_func in strtof
78235 do :
78236 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78237 if test "x$ac_cv_func_strtof" = x""yes; then :
78238 cat >>confdefs.h <<_ACEOF
78239 #define HAVE_STRTOF 1
78240 _ACEOF
78241
78242 fi
78243 done
78244
78245 fi
78246
78247
78248
78249
78250 CXXFLAGS="$ac_save_CXXFLAGS"
78251
78252 ;;
78253 *-vxworks)
78254 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78255
78256 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78257
78258 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78259
78260 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78261
78262 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78263
78264 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78265
78266 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78267
78268 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78269
78270 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78271
78272 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78273
78274 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78275
78276 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78277
78278 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78279
78280 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78281
78282 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78283
78284 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78285
78286 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78287
78288 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78289
78290 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78291
78292 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78293
78294 ;;
78295 *)
78296 as_fn_error "No support for this host/target combination." "$LINENO" 5
78297 ;;
78298 esac
78299
78300 fi
78301
78302 # At some point, we should differentiate between architectures
78303 # like x86, which have long double versions, and alpha/powerpc/etc.,
78304 # which don't. For the time being, punt.
78305 if test x"long_double_math_on_this_cpu" = x"yes"; then
78306 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78307
78308 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78309
78310 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78311
78312 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78313
78314 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78315
78316 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78317
78318 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78319
78320 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78321
78322 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78323
78324 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78325
78326 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78327
78328 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78329
78330 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78331
78332 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78333
78334 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78335
78336 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78337
78338 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78339
78340 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78341
78342 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78343
78344 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78345
78346 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78347
78348 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78349
78350 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78351
78352 fi
78353 fi
78354
78355 # Check for _Unwind_GetIPInfo.
78356
78357
78358 # Check whether --with-system-libunwind was given.
78359 if test "${with_system_libunwind+set}" = set; then :
78360 withval=$with_system_libunwind;
78361 fi
78362
78363 # If system-libunwind was not specifically set, pick a default setting.
78364 if test x$with_system_libunwind = x; then
78365 case ${target} in
78366 ia64-*-hpux*) with_system_libunwind=yes ;;
78367 *) with_system_libunwind=no ;;
78368 esac
78369 fi
78370 # Based on system-libunwind and target, do we have ipinfo?
78371 if test x$with_system_libunwind = xyes; then
78372 case ${target} in
78373 ia64-*-*) have_unwind_getipinfo=no ;;
78374 *) have_unwind_getipinfo=yes ;;
78375 esac
78376 else
78377 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78378
78379 case ${target} in
78380 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78381 *) have_unwind_getipinfo=yes ;;
78382 esac
78383
78384 fi
78385
78386 if test x$have_unwind_getipinfo = xyes; then
78387
78388 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78389
78390 fi
78391
78392
78393 # Check whether --enable-linux-futex was given.
78394 if test "${enable_linux_futex+set}" = set; then :
78395 enableval=$enable_linux_futex;
78396 case "$enableval" in
78397 yes|no|default) ;;
78398 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78399 esac
78400
78401 else
78402 enable_linux_futex=default
78403 fi
78404
78405
78406 case "$target" in
78407 *-linux*)
78408 case "$enable_linux_futex" in
78409 default)
78410 # If headers don't have gettid/futex syscalls definition, then
78411 # default to no, otherwise there will be compile time failures.
78412 # Otherwise, default to yes. If we don't detect we are
78413 # compiled/linked against NPTL and not cross-compiling, check
78414 # if programs are run by default against NPTL and if not, issue
78415 # a warning.
78416 enable_linux_futex=no
78417 if test x$gcc_no_link = xyes; then
78418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78419 fi
78420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78421 /* end confdefs.h. */
78422 #include <sys/syscall.h>
78423 int lk;
78424 int
78425 main ()
78426 {
78427 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78428 ;
78429 return 0;
78430 }
78431 _ACEOF
78432 if ac_fn_c_try_link "$LINENO"; then :
78433 save_LIBS="$LIBS"
78434 LIBS="-lpthread $LIBS"
78435 if test x$gcc_no_link = xyes; then
78436 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78437 fi
78438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78439 /* end confdefs.h. */
78440 #ifndef _GNU_SOURCE
78441 #define _GNU_SOURCE 1
78442 #endif
78443 #include <pthread.h>
78444 pthread_t th; void *status;
78445 int
78446 main ()
78447 {
78448 pthread_tryjoin_np (th, &status);
78449 ;
78450 return 0;
78451 }
78452 _ACEOF
78453 if ac_fn_c_try_link "$LINENO"; then :
78454 enable_linux_futex=yes
78455 else
78456 if test x$cross_compiling = xno; then
78457 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78458 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78460 If so, please configure with --disable-linux-futex" >&5
78461 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78462 If so, please configure with --disable-linux-futex" >&2;}
78463 fi
78464 fi
78465 enable_linux_futex=yes
78466 fi
78467 rm -f core conftest.err conftest.$ac_objext \
78468 conftest$ac_exeext conftest.$ac_ext
78469 LIBS="$save_LIBS"
78470 fi
78471 rm -f core conftest.err conftest.$ac_objext \
78472 conftest$ac_exeext conftest.$ac_ext
78473 ;;
78474 yes)
78475 if test x$gcc_no_link = xyes; then
78476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78477 fi
78478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78479 /* end confdefs.h. */
78480 #include <sys/syscall.h>
78481 int lk;
78482 int
78483 main ()
78484 {
78485 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78486 ;
78487 return 0;
78488 }
78489 _ACEOF
78490 if ac_fn_c_try_link "$LINENO"; then :
78491
78492 else
78493 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78494 fi
78495 rm -f core conftest.err conftest.$ac_objext \
78496 conftest$ac_exeext conftest.$ac_ext
78497 ;;
78498 esac
78499 ;;
78500 *)
78501 enable_linux_futex=no
78502 ;;
78503 esac
78504 if test x$enable_linux_futex = xyes; then
78505
78506 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78507
78508 fi
78509
78510
78511
78512
78513 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78514
78515 acx_cv_header_stdint=stddef.h
78516 acx_cv_header_stdint_kind="(already complete)"
78517 for i in stdint.h $inttype_headers; do
78518 unset ac_cv_type_uintptr_t
78519 unset ac_cv_type_uintmax_t
78520 unset ac_cv_type_int_least32_t
78521 unset ac_cv_type_int_fast32_t
78522 unset ac_cv_type_uint64_t
78523 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78524 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78525 #include <$i>
78526 "
78527 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78528 acx_cv_header_stdint=$i
78529 else
78530 continue
78531 fi
78532
78533 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78534 #include <$i>
78535 "
78536 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78537
78538 else
78539 acx_cv_header_stdint_kind="(mostly complete)"
78540 fi
78541
78542 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78543 #include <$i>
78544 "
78545 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78546
78547 else
78548 acx_cv_header_stdint_kind="(mostly complete)"
78549 fi
78550
78551 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78552 #include <$i>
78553 "
78554 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78555
78556 else
78557 acx_cv_header_stdint_kind="(mostly complete)"
78558 fi
78559
78560 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78561 #include <$i>
78562 "
78563 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78564
78565 else
78566 acx_cv_header_stdint_kind="(lacks uint64_t)"
78567 fi
78568
78569 break
78570 done
78571 if test "$acx_cv_header_stdint" = stddef.h; then
78572 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78573 for i in stdint.h $inttype_headers; do
78574 unset ac_cv_type_uintptr_t
78575 unset ac_cv_type_uint32_t
78576 unset ac_cv_type_uint64_t
78577 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78578 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78579 #include <$i>
78580 "
78581 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78582 acx_cv_header_stdint=$i
78583 else
78584 continue
78585 fi
78586
78587 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78588 #include <$i>
78589 "
78590 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78591
78592 fi
78593
78594 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78595 #include <$i>
78596 "
78597 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78598
78599 fi
78600
78601 break
78602 done
78603 fi
78604 if test "$acx_cv_header_stdint" = stddef.h; then
78605 acx_cv_header_stdint_kind="(u_intXX_t style)"
78606 for i in sys/types.h $inttype_headers; do
78607 unset ac_cv_type_u_int32_t
78608 unset ac_cv_type_u_int64_t
78609 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78610 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78611 #include <$i>
78612 "
78613 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78614 acx_cv_header_stdint=$i
78615 else
78616 continue
78617 fi
78618
78619 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78620 #include <$i>
78621 "
78622 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78623
78624 fi
78625
78626 break
78627 done
78628 fi
78629 if test "$acx_cv_header_stdint" = stddef.h; then
78630 acx_cv_header_stdint_kind="(using manual detection)"
78631 fi
78632
78633 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78634 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78635 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78636 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78637 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78638
78639 # ----------------- Summarize what we found so far
78640
78641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78642 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78643
78644 case `$as_basename -- include/gstdint.h ||
78645 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78646 Xinclude/gstdint.h : 'X\(//\)$' \| \
78647 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78648 $as_echo X/include/gstdint.h |
78649 sed '/^.*\/\([^/][^/]*\)\/*$/{
78650 s//\1/
78651 q
78652 }
78653 /^X\/\(\/\/\)$/{
78654 s//\1/
78655 q
78656 }
78657 /^X\/\(\/\).*/{
78658 s//\1/
78659 q
78660 }
78661 s/.*/./; q'` in
78662 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78663 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78664 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78665 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78666 *) ;;
78667 esac
78668
78669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78670 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78671
78672 # ----------------- done included file, check C basic types --------
78673
78674 # Lacking an uintptr_t? Test size of void *
78675 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78676 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78679 # This bug is HP SR number 8606223364.
78680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78681 $as_echo_n "checking size of void *... " >&6; }
78682 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78683 $as_echo_n "(cached) " >&6
78684 else
78685 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78686
78687 else
78688 if test "$ac_cv_type_void_p" = yes; then
78689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78691 { as_fn_set_status 77
78692 as_fn_error "cannot compute sizeof (void *)
78693 See \`config.log' for more details." "$LINENO" 5; }; }
78694 else
78695 ac_cv_sizeof_void_p=0
78696 fi
78697 fi
78698
78699 fi
78700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78701 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78702
78703
78704
78705 cat >>confdefs.h <<_ACEOF
78706 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78707 _ACEOF
78708
78709 ;;
78710 esac
78711
78712 # Lacking an uint64_t? Test size of long
78713 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78714 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78717 # This bug is HP SR number 8606223364.
78718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78719 $as_echo_n "checking size of long... " >&6; }
78720 if test "${ac_cv_sizeof_long+set}" = set; then :
78721 $as_echo_n "(cached) " >&6
78722 else
78723 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78724
78725 else
78726 if test "$ac_cv_type_long" = yes; then
78727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78729 { as_fn_set_status 77
78730 as_fn_error "cannot compute sizeof (long)
78731 See \`config.log' for more details." "$LINENO" 5; }; }
78732 else
78733 ac_cv_sizeof_long=0
78734 fi
78735 fi
78736
78737 fi
78738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78739 $as_echo "$ac_cv_sizeof_long" >&6; }
78740
78741
78742
78743 cat >>confdefs.h <<_ACEOF
78744 #define SIZEOF_LONG $ac_cv_sizeof_long
78745 _ACEOF
78746
78747 ;;
78748 esac
78749
78750 if test $acx_cv_header_stdint = stddef.h; then
78751 # Lacking a good header? Test size of everything and deduce all types.
78752 # The cast to long int works around a bug in the HP C Compiler
78753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78755 # This bug is HP SR number 8606223364.
78756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78757 $as_echo_n "checking size of int... " >&6; }
78758 if test "${ac_cv_sizeof_int+set}" = set; then :
78759 $as_echo_n "(cached) " >&6
78760 else
78761 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78762
78763 else
78764 if test "$ac_cv_type_int" = yes; then
78765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78767 { as_fn_set_status 77
78768 as_fn_error "cannot compute sizeof (int)
78769 See \`config.log' for more details." "$LINENO" 5; }; }
78770 else
78771 ac_cv_sizeof_int=0
78772 fi
78773 fi
78774
78775 fi
78776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78777 $as_echo "$ac_cv_sizeof_int" >&6; }
78778
78779
78780
78781 cat >>confdefs.h <<_ACEOF
78782 #define SIZEOF_INT $ac_cv_sizeof_int
78783 _ACEOF
78784
78785
78786 # The cast to long int works around a bug in the HP C Compiler
78787 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78788 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78789 # This bug is HP SR number 8606223364.
78790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78791 $as_echo_n "checking size of short... " >&6; }
78792 if test "${ac_cv_sizeof_short+set}" = set; then :
78793 $as_echo_n "(cached) " >&6
78794 else
78795 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78796
78797 else
78798 if test "$ac_cv_type_short" = yes; then
78799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78801 { as_fn_set_status 77
78802 as_fn_error "cannot compute sizeof (short)
78803 See \`config.log' for more details." "$LINENO" 5; }; }
78804 else
78805 ac_cv_sizeof_short=0
78806 fi
78807 fi
78808
78809 fi
78810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78811 $as_echo "$ac_cv_sizeof_short" >&6; }
78812
78813
78814
78815 cat >>confdefs.h <<_ACEOF
78816 #define SIZEOF_SHORT $ac_cv_sizeof_short
78817 _ACEOF
78818
78819
78820 # The cast to long int works around a bug in the HP C Compiler
78821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78822 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78823 # This bug is HP SR number 8606223364.
78824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78825 $as_echo_n "checking size of char... " >&6; }
78826 if test "${ac_cv_sizeof_char+set}" = set; then :
78827 $as_echo_n "(cached) " >&6
78828 else
78829 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78830
78831 else
78832 if test "$ac_cv_type_char" = yes; then
78833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78835 { as_fn_set_status 77
78836 as_fn_error "cannot compute sizeof (char)
78837 See \`config.log' for more details." "$LINENO" 5; }; }
78838 else
78839 ac_cv_sizeof_char=0
78840 fi
78841 fi
78842
78843 fi
78844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78845 $as_echo "$ac_cv_sizeof_char" >&6; }
78846
78847
78848
78849 cat >>confdefs.h <<_ACEOF
78850 #define SIZEOF_CHAR $ac_cv_sizeof_char
78851 _ACEOF
78852
78853
78854
78855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78856 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78857 case "$ac_cv_sizeof_char" in
78858 1) acx_cv_type_int8_t=char ;;
78859 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78860 esac
78861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78862 $as_echo "$acx_cv_type_int8_t" >&6; }
78863
78864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78865 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78866 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78867 2:*) acx_cv_type_int16_t=int ;;
78868 *:2) acx_cv_type_int16_t=short ;;
78869 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78870 esac
78871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78872 $as_echo "$acx_cv_type_int16_t" >&6; }
78873
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78875 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78876 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78877 4:*) acx_cv_type_int32_t=int ;;
78878 *:4) acx_cv_type_int32_t=long ;;
78879 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78880 esac
78881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78882 $as_echo "$acx_cv_type_int32_t" >&6; }
78883 fi
78884
78885 # These tests are here to make the output prettier
78886
78887 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78888 case "$ac_cv_sizeof_long" in
78889 8) acx_cv_type_int64_t=long ;;
78890 esac
78891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78892 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78894 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78895 fi
78896
78897 # Now we can use the above types
78898
78899 if test "$ac_cv_type_uintptr_t" != yes; then
78900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78901 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78902 case $ac_cv_sizeof_void_p in
78903 2) acx_cv_type_intptr_t=int16_t ;;
78904 4) acx_cv_type_intptr_t=int32_t ;;
78905 8) acx_cv_type_intptr_t=int64_t ;;
78906 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78907 esac
78908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78909 $as_echo "$acx_cv_type_intptr_t" >&6; }
78910 fi
78911
78912 # ----------------- done all checks, emit header -------------
78913 ac_config_commands="$ac_config_commands include/gstdint.h"
78914
78915
78916
78917
78918
78919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78920 $as_echo_n "checking for GNU c++filt... " >&6; }
78921 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78922 $as_echo_n "(cached) " >&6
78923 else
78924 if test -z "$CXXFILT"; then
78925 ac_path_CXXFILT_found=false
78926 # Loop through the user's path and test for each of PROGNAME-LIST
78927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78928 for as_dir in $PATH
78929 do
78930 IFS=$as_save_IFS
78931 test -z "$as_dir" && as_dir=.
78932 for ac_prog in c++filt gc++filt; do
78933 for ac_exec_ext in '' $ac_executable_extensions; do
78934 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78935 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78936 # Check for GNU $ac_path_CXXFILT
78937 case `"$ac_path_CXXFILT" --version 2>&1` in
78938 *GNU*)
78939 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78940 esac
78941
78942 $ac_path_CXXFILT_found && break 3
78943 done
78944 done
78945 done
78946 IFS=$as_save_IFS
78947 if test -z "$ac_cv_path_CXXFILT"; then
78948 :
78949 fi
78950 else
78951 ac_cv_path_CXXFILT=$CXXFILT
78952 fi
78953
78954 fi
78955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78956 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78957 CXXFILT=$ac_cv_path_CXXFILT
78958
78959
78960
78961 # Check whether --enable-symvers was given.
78962 if test "${enable_symvers+set}" = set; then :
78963 enableval=$enable_symvers;
78964 case "$enableval" in
78965 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78966 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78967 esac
78968
78969 else
78970 enable_symvers=yes
78971 fi
78972
78973
78974
78975 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78976 # don't know enough about $LD to do tricks...
78977
78978 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78979 # with extern "C++" in version scripts.
78980
78981
78982 # Turn a 'yes' into a suitable default.
78983 if test x$enable_symvers = xyes ; then
78984 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78985 enable_symvers=no
78986 else
78987 if test $with_gnu_ld = yes ; then
78988 case ${target_os} in
78989 hpux*)
78990 enable_symvers=no ;;
78991 *)
78992 enable_symvers=gnu ;;
78993 esac
78994 else
78995 case ${target_os} in
78996 darwin*)
78997 enable_symvers=darwin ;;
78998 # Sun symbol versioning exists since Solaris 2.5.
78999 solaris2.[5-9]* | solaris2.1[0-9]*)
79000 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79001 # version scripts, so disable symbol versioning if none can be
79002 # found.
79003 if test -z "$ac_cv_path_CXXFILT"; then
79004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79005 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79007 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79009 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79010 enable_symvers=no
79011 else
79012 enable_symvers=sun
79013 fi
79014 ;;
79015 *)
79016 enable_symvers=no ;;
79017 esac
79018 fi
79019 fi
79020 fi
79021
79022 # Check to see if 'darwin' or 'darwin-export' can win.
79023 if test x$enable_symvers = xdarwin-export ; then
79024 enable_symvers=darwin
79025 fi
79026
79027 # Check if 'sun' was requested on non-Solaris 2 platforms.
79028 if test x$enable_symvers = xsun ; then
79029 case ${target_os} in
79030 solaris2*)
79031 # All fine.
79032 ;;
79033 *)
79034 # Unlikely to work.
79035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79036 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79038 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79040 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79041 enable_symvers=no
79042 ;;
79043 esac
79044 fi
79045
79046 # Check to see if 'gnu' can win.
79047 if test $enable_symvers = gnu ||
79048 test $enable_symvers = gnu-versioned-namespace ||
79049 test $enable_symvers = sun; then
79050 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79052 $as_echo_n "checking for shared libgcc... " >&6; }
79053 ac_save_CFLAGS="$CFLAGS"
79054 CFLAGS=' -lgcc_s'
79055 if test x$gcc_no_link = xyes; then
79056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79057 fi
79058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79059 /* end confdefs.h. */
79060
79061 int
79062 main ()
79063 {
79064 return 0;
79065 ;
79066 return 0;
79067 }
79068 _ACEOF
79069 if ac_fn_c_try_link "$LINENO"; then :
79070 glibcxx_shared_libgcc=yes
79071 else
79072 glibcxx_shared_libgcc=no
79073 fi
79074 rm -f core conftest.err conftest.$ac_objext \
79075 conftest$ac_exeext conftest.$ac_ext
79076 CFLAGS="$ac_save_CFLAGS"
79077 if test $glibcxx_shared_libgcc = no; then
79078 cat > conftest.c <<EOF
79079 int main (void) { return 0; }
79080 EOF
79081 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79082 -shared -shared-libgcc -o conftest.so \
79083 conftest.c -v 2>&1 >/dev/null \
79084 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79085 rm -f conftest.c conftest.so
79086 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79087 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79088 if test x$gcc_no_link = xyes; then
79089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79090 fi
79091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79092 /* end confdefs.h. */
79093
79094 int
79095 main ()
79096 {
79097 return 0;
79098 ;
79099 return 0;
79100 }
79101 _ACEOF
79102 if ac_fn_c_try_link "$LINENO"; then :
79103 glibcxx_shared_libgcc=yes
79104 fi
79105 rm -f core conftest.err conftest.$ac_objext \
79106 conftest$ac_exeext conftest.$ac_ext
79107 CFLAGS="$ac_save_CFLAGS"
79108 fi
79109 fi
79110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79111 $as_echo "$glibcxx_shared_libgcc" >&6; }
79112
79113 # For GNU ld, we need at least this version. The format is described in
79114 # GLIBCXX_CHECK_LINKER_FEATURES above.
79115 glibcxx_min_gnu_ld_version=21400
79116
79117 # If no shared libgcc, can't win.
79118 if test $glibcxx_shared_libgcc != yes; then
79119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79120 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79122 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79124 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79125 enable_symvers=no
79126 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79127 : All interesting versions of Sun ld support sun style symbol versioning.
79128 elif test $with_gnu_ld != yes ; then
79129 # just fail for now
79130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79131 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79133 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79135 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79136 enable_symvers=no
79137 elif test $glibcxx_ld_is_gold = yes ; then
79138 : All versions of gold support symbol versioning.
79139 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79140 # The right tools, the right setup, but too old. Fallbacks?
79141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79142 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79144 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79146 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79148 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79150 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79151 enable_symvers=no
79152 fi
79153 fi
79154
79155 # For libtool versioning info, format is CURRENT:REVISION:AGE
79156 libtool_VERSION=6:25:0
79157
79158 # Everything parsed; figure out what files and settings to use.
79159 case $enable_symvers in
79160 no)
79161 SYMVER_FILE=config/abi/pre/none.ver
79162 ;;
79163 gnu)
79164 SYMVER_FILE=config/abi/pre/gnu.ver
79165
79166 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79167
79168 ;;
79169 gnu-versioned-namespace)
79170 libtool_VERSION=8:0:0
79171 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79172
79173 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79174
79175 ;;
79176 darwin)
79177 SYMVER_FILE=config/abi/pre/gnu.ver
79178
79179 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79180
79181 ;;
79182 sun)
79183 SYMVER_FILE=config/abi/pre/gnu.ver
79184
79185 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79186
79187 ;;
79188 esac
79189
79190 if test x$enable_symvers != xno ; then
79191
79192 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79193
79194 fi
79195
79196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79197 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79198 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79199 $as_echo_n "(cached) " >&6
79200 else
79201
79202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79203 /* end confdefs.h. */
79204 void foo (void); __asm (".symver foo, bar@SYMVER");
79205 int
79206 main ()
79207 {
79208
79209 ;
79210 return 0;
79211 }
79212 _ACEOF
79213 if ac_fn_c_try_compile "$LINENO"; then :
79214 glibcxx_cv_have_as_symver_directive=yes
79215 else
79216 glibcxx_cv_have_as_symver_directive=no
79217 fi
79218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79219 fi
79220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79221 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79222 if test $glibcxx_cv_have_as_symver_directive = yes; then
79223
79224 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79225
79226 fi
79227
79228
79229
79230
79231
79232
79233
79234
79235 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79236 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79237
79238 if test $enable_symvers != no ; then
79239 case ${target_os} in
79240 # The Solaris 2 runtime linker doesn't support the GNU extension of
79241 # binding the same symbol to different versions
79242 solaris2*)
79243 ;;
79244 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79245 *)
79246
79247 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79248
79249 ;;
79250 esac
79251 fi
79252
79253 # Now, set up compatibility support, if any.
79254 # In addition, need this to deal with std::size_t mangling in
79255 # src/compatibility.cc. In a perfect world, could use
79256 # typeid(std::size_t).name()[0] to do direct substitution.
79257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79258 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79259 ac_save_CFLAGS="$CFLAGS"
79260 CFLAGS="-Werror"
79261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79262 /* end confdefs.h. */
79263
79264 int
79265 main ()
79266 {
79267 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79268 ;
79269 return 0;
79270 }
79271 _ACEOF
79272 if ac_fn_c_try_compile "$LINENO"; then :
79273 glibcxx_size_t_is_i=yes
79274 else
79275 glibcxx_size_t_is_i=no
79276 fi
79277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79278 CFLAGS=$ac_save_CFLAGS
79279 if test "$glibcxx_size_t_is_i" = yes; then
79280
79281 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79282
79283 fi
79284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79285 $as_echo "$glibcxx_size_t_is_i" >&6; }
79286
79287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79288 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79289 ac_save_CFLAGS="$CFLAGS"
79290 CFLAGS="-Werror"
79291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79292 /* end confdefs.h. */
79293
79294 int
79295 main ()
79296 {
79297 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79298 ;
79299 return 0;
79300 }
79301 _ACEOF
79302 if ac_fn_c_try_compile "$LINENO"; then :
79303 glibcxx_ptrdiff_t_is_i=yes
79304 else
79305 glibcxx_ptrdiff_t_is_i=no
79306 fi
79307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79308 CFLAGS=$ac_save_CFLAGS
79309 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79310
79311 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79312
79313 fi
79314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79315 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79316
79317
79318
79319
79320 # Check whether --enable-libstdcxx-visibility was given.
79321 if test "${enable_libstdcxx_visibility+set}" = set; then :
79322 enableval=$enable_libstdcxx_visibility;
79323 case "$enableval" in
79324 yes|no) ;;
79325 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79326 esac
79327
79328 else
79329 enable_libstdcxx_visibility=yes
79330 fi
79331
79332
79333
79334 if test x$enable_libstdcxx_visibility = xyes ; then
79335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79336 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79337 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79338 $as_echo_n "(cached) " >&6
79339 else
79340
79341 save_CFLAGS="$CFLAGS"
79342 CFLAGS="$CFLAGS -Werror"
79343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79344 /* end confdefs.h. */
79345 void __attribute__((visibility("hidden"))) foo(void) { }
79346 int
79347 main ()
79348 {
79349
79350 ;
79351 return 0;
79352 }
79353 _ACEOF
79354 if ac_fn_c_try_compile "$LINENO"; then :
79355 glibcxx_cv_have_attribute_visibility=yes
79356 else
79357 glibcxx_cv_have_attribute_visibility=no
79358 fi
79359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79360 CFLAGS="$save_CFLAGS"
79361 fi
79362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79363 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79364 if test $glibcxx_cv_have_attribute_visibility = no; then
79365 enable_libstdcxx_visibility=no
79366 fi
79367 fi
79368
79369
79370 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79371 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79372
79373
79374
79375 # Check whether --enable-libstdcxx-dual-abi was given.
79376 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79377 enableval=$enable_libstdcxx_dual_abi;
79378 case "$enableval" in
79379 yes|no) ;;
79380 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79381 esac
79382
79383 else
79384 enable_libstdcxx_dual_abi=yes
79385 fi
79386
79387
79388 if test x$enable_symvers = xgnu-versioned-namespace; then
79389 # gnu-versioned-namespace is incompatible with the dual ABI.
79390 enable_libstdcxx_dual_abi="no"
79391 fi
79392 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79393 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79394 $as_echo "$as_me: dual ABI is disabled" >&6;}
79395 default_libstdcxx_abi="gcc4-compatible"
79396 fi
79397
79398
79399
79400 if test x$enable_libstdcxx_dual_abi = xyes; then
79401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79402 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79403
79404 # Check whether --with-default-libstdcxx-abi was given.
79405 if test "${with_default_libstdcxx_abi+set}" = set; then :
79406 withval=$with_default_libstdcxx_abi; case "$withval" in
79407 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79408 new|cxx11) default_libstdcxx_abi="new" ;;
79409 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79410 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79411 esac
79412
79413 else
79414 default_libstdcxx_abi="new"
79415 fi
79416
79417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79418 $as_echo "${default_libstdcxx_abi}" >&6; }
79419 fi
79420 if test $default_libstdcxx_abi = "new"; then
79421 glibcxx_cxx11_abi=1
79422 glibcxx_cxx98_abi=0
79423 else
79424 glibcxx_cxx11_abi=0
79425 glibcxx_cxx98_abi=1
79426 fi
79427
79428
79429
79430
79431 ac_ldbl_compat=no
79432 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79433 case "$target" in
79434 powerpc*-*-linux* | \
79435 sparc*-*-linux* | \
79436 s390*-*-linux* | \
79437 alpha*-*-linux*)
79438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79439 /* end confdefs.h. */
79440
79441 int
79442 main ()
79443 {
79444
79445 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79446 #error no need for long double compatibility
79447 #endif
79448
79449 ;
79450 return 0;
79451 }
79452 _ACEOF
79453 if ac_fn_c_try_compile "$LINENO"; then :
79454 ac_ldbl_compat=yes
79455 else
79456 ac_ldbl_compat=no
79457 fi
79458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79459 if test "$ac_ldbl_compat" = yes; then
79460
79461 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79462
79463 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79464 case "$target" in
79465 powerpc*-*-linux*)
79466 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79467 esac
79468 fi
79469 esac
79470
79471
79472
79473 # Check if assembler supports disabling hardware capability support.
79474
79475 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79476
79477 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79478 # with a different meaning.
79479 case ${target_os} in
79480 solaris2*)
79481 ac_save_CFLAGS="$CFLAGS"
79482 CFLAGS="$CFLAGS -Wa,-nH"
79483
79484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79485 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79487 /* end confdefs.h. */
79488
79489 int
79490 main ()
79491 {
79492 return 0;
79493 ;
79494 return 0;
79495 }
79496 _ACEOF
79497 if ac_fn_c_try_compile "$LINENO"; then :
79498 ac_hwcap_flags=yes
79499 else
79500 ac_hwcap_flags=no
79501 fi
79502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79503 if test "$ac_hwcap_flags" = "yes"; then
79504 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79505 fi
79506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79507 $as_echo "$ac_hwcap_flags" >&6; }
79508
79509 CFLAGS="$ac_save_CFLAGS"
79510 ;;
79511 esac
79512
79513
79514
79515
79516 # Check if assembler supports rdrand opcode.
79517
79518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79519 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79520 if test "${ac_cv_x86_rdrand+set}" = set; then :
79521 $as_echo_n "(cached) " >&6
79522 else
79523
79524 ac_cv_x86_rdrand=no
79525 case "$target" in
79526 i?86-*-* | \
79527 x86_64-*-*)
79528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79529 /* end confdefs.h. */
79530
79531 int
79532 main ()
79533 {
79534 asm("rdrand %eax");
79535 ;
79536 return 0;
79537 }
79538 _ACEOF
79539 if ac_fn_c_try_compile "$LINENO"; then :
79540 ac_cv_x86_rdrand=yes
79541 else
79542 ac_cv_x86_rdrand=no
79543 fi
79544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79545 esac
79546
79547 fi
79548
79549 if test $ac_cv_x86_rdrand = yes; then
79550
79551 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79552
79553 fi
79554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79555 $as_echo "$ac_cv_x86_rdrand" >&6; }
79556
79557
79558 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79559
79560 # Do checks for resource limit functions.
79561
79562 setrlimit_have_headers=yes
79563 for ac_header in unistd.h sys/time.h sys/resource.h
79564 do :
79565 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79566 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79567 eval as_val=\$$as_ac_Header
79568 if test "x$as_val" = x""yes; then :
79569 cat >>confdefs.h <<_ACEOF
79570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79571 _ACEOF
79572
79573 else
79574 setrlimit_have_headers=no
79575 fi
79576
79577 done
79578
79579 # If don't have the headers, then we can't run the tests now, and we
79580 # won't be seeing any of these during testsuite compilation.
79581 if test $setrlimit_have_headers = yes; then
79582 # Can't do these in a loop, else the resulting syntax is wrong.
79583
79584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79585 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79587 /* end confdefs.h. */
79588 #include <unistd.h>
79589 #include <sys/time.h>
79590 #include <sys/resource.h>
79591
79592 int
79593 main ()
79594 {
79595 int f = RLIMIT_DATA ;
79596 ;
79597 return 0;
79598 }
79599 _ACEOF
79600 if ac_fn_c_try_compile "$LINENO"; then :
79601 glibcxx_mresult=1
79602 else
79603 glibcxx_mresult=0
79604 fi
79605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79606
79607 cat >>confdefs.h <<_ACEOF
79608 #define HAVE_LIMIT_DATA $glibcxx_mresult
79609 _ACEOF
79610
79611 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79613 $as_echo "$res" >&6; }
79614
79615
79616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79617 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79619 /* end confdefs.h. */
79620 #include <unistd.h>
79621 #include <sys/time.h>
79622 #include <sys/resource.h>
79623
79624 int
79625 main ()
79626 {
79627 int f = RLIMIT_RSS ;
79628 ;
79629 return 0;
79630 }
79631 _ACEOF
79632 if ac_fn_c_try_compile "$LINENO"; then :
79633 glibcxx_mresult=1
79634 else
79635 glibcxx_mresult=0
79636 fi
79637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79638
79639 cat >>confdefs.h <<_ACEOF
79640 #define HAVE_LIMIT_RSS $glibcxx_mresult
79641 _ACEOF
79642
79643 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79645 $as_echo "$res" >&6; }
79646
79647
79648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79649 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79651 /* end confdefs.h. */
79652 #include <unistd.h>
79653 #include <sys/time.h>
79654 #include <sys/resource.h>
79655
79656 int
79657 main ()
79658 {
79659 int f = RLIMIT_VMEM ;
79660 ;
79661 return 0;
79662 }
79663 _ACEOF
79664 if ac_fn_c_try_compile "$LINENO"; then :
79665 glibcxx_mresult=1
79666 else
79667 glibcxx_mresult=0
79668 fi
79669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79670
79671 cat >>confdefs.h <<_ACEOF
79672 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79673 _ACEOF
79674
79675 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79677 $as_echo "$res" >&6; }
79678
79679
79680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79681 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79683 /* end confdefs.h. */
79684 #include <unistd.h>
79685 #include <sys/time.h>
79686 #include <sys/resource.h>
79687
79688 int
79689 main ()
79690 {
79691 int f = RLIMIT_AS ;
79692 ;
79693 return 0;
79694 }
79695 _ACEOF
79696 if ac_fn_c_try_compile "$LINENO"; then :
79697 glibcxx_mresult=1
79698 else
79699 glibcxx_mresult=0
79700 fi
79701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79702
79703 cat >>confdefs.h <<_ACEOF
79704 #define HAVE_LIMIT_AS $glibcxx_mresult
79705 _ACEOF
79706
79707 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79709 $as_echo "$res" >&6; }
79710
79711
79712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79713 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79715 /* end confdefs.h. */
79716 #include <unistd.h>
79717 #include <sys/time.h>
79718 #include <sys/resource.h>
79719
79720 int
79721 main ()
79722 {
79723 int f = RLIMIT_FSIZE ;
79724 ;
79725 return 0;
79726 }
79727 _ACEOF
79728 if ac_fn_c_try_compile "$LINENO"; then :
79729 glibcxx_mresult=1
79730 else
79731 glibcxx_mresult=0
79732 fi
79733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79734
79735 cat >>confdefs.h <<_ACEOF
79736 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79737 _ACEOF
79738
79739 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79741 $as_echo "$res" >&6; }
79742
79743
79744 # Check for rlimit, setrlimit.
79745 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79746 $as_echo_n "(cached) " >&6
79747 else
79748
79749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79750 /* end confdefs.h. */
79751 #include <unistd.h>
79752 #include <sys/time.h>
79753 #include <sys/resource.h>
79754
79755 int
79756 main ()
79757 {
79758 struct rlimit r;
79759 setrlimit(0, &r);
79760 ;
79761 return 0;
79762 }
79763 _ACEOF
79764 if ac_fn_c_try_compile "$LINENO"; then :
79765 glibcxx_cv_setrlimit=yes
79766 else
79767 glibcxx_cv_setrlimit=no
79768 fi
79769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79770
79771 fi
79772
79773 fi
79774
79775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79776 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79777 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79778 ac_res_limits=yes
79779
79780 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79781
79782 else
79783 ac_res_limits=no
79784 fi
79785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79786 $as_echo "$ac_res_limits" >&6; }
79787
79788
79789 if $GLIBCXX_IS_NATIVE ; then
79790 # Look for setenv, so that extended locale tests can be performed.
79791
79792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79793 $as_echo_n "checking for setenv declaration... " >&6; }
79794 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79795 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79796 $as_echo_n "(cached) " >&6
79797 else
79798
79799
79800 ac_ext=cpp
79801 ac_cpp='$CXXCPP $CPPFLAGS'
79802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79805
79806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79807 /* end confdefs.h. */
79808 #include <stdlib.h>
79809 int
79810 main ()
79811 {
79812 setenv(0, 0, 0);
79813 ;
79814 return 0;
79815 }
79816 _ACEOF
79817 if ac_fn_cxx_try_compile "$LINENO"; then :
79818 glibcxx_cv_func_setenv_use=yes
79819 else
79820 glibcxx_cv_func_setenv_use=no
79821 fi
79822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79823 ac_ext=c
79824 ac_cpp='$CPP $CPPFLAGS'
79825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79828
79829
79830 fi
79831
79832 fi
79833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79834 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79835 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79836 for ac_func in setenv
79837 do :
79838 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79839 if test "x$ac_cv_func_setenv" = x""yes; then :
79840 cat >>confdefs.h <<_ACEOF
79841 #define HAVE_SETENV 1
79842 _ACEOF
79843
79844 fi
79845 done
79846
79847 fi
79848
79849 fi
79850
79851 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79852 test $enable_symvers != no; then
79853 case "$host" in
79854 *-*-cygwin*)
79855 enable_abi_check=no ;;
79856 *)
79857 enable_abi_check=yes ;;
79858 esac
79859 else
79860 # Only build this as native, since automake does not understand
79861 # CXX_FOR_BUILD.
79862 enable_abi_check=no
79863 fi
79864
79865 # Export file names for ABI checking.
79866 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79867
79868 baseline_subdir_switch="$abi_baseline_subdir_switch"
79869
79870
79871
79872 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79873
79874 # Check whether --enable-libstdcxx-threads was given.
79875 if test "${enable_libstdcxx_threads+set}" = set; then :
79876 enableval=$enable_libstdcxx_threads;
79877 case "$enableval" in
79878 yes|no) ;;
79879 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79880 esac
79881
79882 else
79883 enable_libstdcxx_threads=auto
79884 fi
79885
79886
79887
79888 if test x$enable_libstdcxx_threads = xauto ||
79889 test x$enable_libstdcxx_threads = xyes; then
79890
79891
79892 ac_ext=cpp
79893 ac_cpp='$CXXCPP $CPPFLAGS'
79894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79897
79898
79899 ac_save_CXXFLAGS="$CXXFLAGS"
79900 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79901 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79902
79903 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79904 case $target_thread_file in
79905 posix)
79906 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79907 esac
79908
79909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79910 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79911
79912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79913 /* end confdefs.h. */
79914 #include <unistd.h>
79915 int
79916 main ()
79917 {
79918
79919 // In case of POSIX threads check _POSIX_TIMEOUTS.
79920 #if (defined(_PTHREADS) \
79921 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79922 #error
79923 #endif
79924
79925 ;
79926 return 0;
79927 }
79928 _ACEOF
79929 if ac_fn_cxx_try_compile "$LINENO"; then :
79930 ac_gthread_use_mutex_timedlock=1
79931 else
79932 ac_gthread_use_mutex_timedlock=0
79933 fi
79934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79935
79936
79937 cat >>confdefs.h <<_ACEOF
79938 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79939 _ACEOF
79940
79941
79942 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79943 else res_mutex_timedlock=no ; fi
79944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79945 $as_echo "$res_mutex_timedlock" >&6; }
79946
79947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79948 $as_echo_n "checking for gthreads library... " >&6; }
79949
79950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79951 /* end confdefs.h. */
79952 #include "gthr.h"
79953 int
79954 main ()
79955 {
79956
79957 #ifndef __GTHREADS_CXX0X
79958 #error
79959 #endif
79960
79961 ;
79962 return 0;
79963 }
79964 _ACEOF
79965 if ac_fn_cxx_try_compile "$LINENO"; then :
79966 ac_has_gthreads=yes
79967 else
79968 ac_has_gthreads=no
79969 fi
79970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79971 else
79972 ac_has_gthreads=no
79973 fi
79974
79975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79976 $as_echo "$ac_has_gthreads" >&6; }
79977
79978 if test x"$ac_has_gthreads" = x"yes"; then
79979
79980 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79981
79982
79983 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79984 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79985 "
79986 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79987
79988 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79989
79990 fi
79991
79992 fi
79993
79994 CXXFLAGS="$ac_save_CXXFLAGS"
79995 ac_ext=c
79996 ac_cpp='$CPP $CPPFLAGS'
79997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80000
80001
80002
80003 # For Filesystem TS.
80004 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80005 do :
80006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80007 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80008 eval as_val=\$$as_ac_Header
80009 if test "x$as_val" = x""yes; then :
80010 cat >>confdefs.h <<_ACEOF
80011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80012 _ACEOF
80013
80014 fi
80015
80016 done
80017
80018
80019 # Check whether --enable-libstdcxx-filesystem-ts was given.
80020 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80021 enableval=$enable_libstdcxx_filesystem_ts;
80022 case "$enableval" in
80023 yes|no|auto) ;;
80024 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80025 esac
80026
80027 else
80028 enable_libstdcxx_filesystem_ts=auto
80029 fi
80030
80031
80032
80033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80034 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80035 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80036 enable_libstdcxx_filesystem_ts=no
80037 fi
80038 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80039 case "${target_os}" in
80040 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80041 enable_libstdcxx_filesystem_ts=yes
80042 ;;
80043 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80044 enable_libstdcxx_filesystem_ts=yes
80045 ;;
80046 rtems*)
80047 enable_libstdcxx_filesystem_ts=yes
80048 ;;
80049 solaris*)
80050 enable_libstdcxx_filesystem_ts=yes
80051 ;;
80052 *)
80053 enable_libstdcxx_filesystem_ts=no
80054 ;;
80055 esac
80056 fi
80057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80058 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80059
80060
80061
80062 ac_ext=cpp
80063 ac_cpp='$CXXCPP $CPPFLAGS'
80064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80067
80068 ac_save_CXXFLAGS="$CXXFLAGS"
80069 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80071 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80072 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80073 $as_echo_n "(cached) " >&6
80074 else
80075 if test x$gcc_no_link = xyes; then
80076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80077 /* end confdefs.h. */
80078 #include <dirent.h>
80079 int
80080 main ()
80081 {
80082
80083 struct dirent d;
80084 if (sizeof d.d_type) return 0;
80085
80086 ;
80087 return 0;
80088 }
80089 _ACEOF
80090 if ac_fn_cxx_try_compile "$LINENO"; then :
80091 glibcxx_cv_dirent_d_type=yes
80092 else
80093 glibcxx_cv_dirent_d_type=no
80094 fi
80095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80096 else
80097 if test x$gcc_no_link = xyes; then
80098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80099 fi
80100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80101 /* end confdefs.h. */
80102 #include <dirent.h>
80103 int
80104 main ()
80105 {
80106
80107 struct dirent d;
80108 if (sizeof d.d_type) return 0;
80109
80110 ;
80111 return 0;
80112 }
80113 _ACEOF
80114 if ac_fn_cxx_try_link "$LINENO"; then :
80115 glibcxx_cv_dirent_d_type=yes
80116 else
80117 glibcxx_cv_dirent_d_type=no
80118 fi
80119 rm -f core conftest.err conftest.$ac_objext \
80120 conftest$ac_exeext conftest.$ac_ext
80121 fi
80122
80123 fi
80124
80125 if test $glibcxx_cv_dirent_d_type = yes; then
80126
80127 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80128
80129 fi
80130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80131 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80133 $as_echo_n "checking for realpath... " >&6; }
80134 if test "${glibcxx_cv_realpath+set}" = set; then :
80135 $as_echo_n "(cached) " >&6
80136 else
80137 if test x$gcc_no_link = xyes; then
80138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80139 /* end confdefs.h. */
80140
80141 #include <limits.h>
80142 #include <stdlib.h>
80143 #include <unistd.h>
80144
80145 int
80146 main ()
80147 {
80148
80149 #if _XOPEN_VERSION < 500
80150 #error
80151 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80152 char *tmp = realpath((const char*)NULL, (char*)NULL);
80153 #else
80154 #error
80155 #endif
80156
80157 ;
80158 return 0;
80159 }
80160 _ACEOF
80161 if ac_fn_cxx_try_compile "$LINENO"; then :
80162 glibcxx_cv_realpath=yes
80163 else
80164 glibcxx_cv_realpath=no
80165 fi
80166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80167 else
80168 if test x$gcc_no_link = xyes; then
80169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80170 fi
80171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80172 /* end confdefs.h. */
80173
80174 #include <limits.h>
80175 #include <stdlib.h>
80176 #include <unistd.h>
80177
80178 int
80179 main ()
80180 {
80181
80182 #if _XOPEN_VERSION < 500
80183 #error
80184 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80185 char *tmp = realpath((const char*)NULL, (char*)NULL);
80186 #else
80187 #error
80188 #endif
80189
80190 ;
80191 return 0;
80192 }
80193 _ACEOF
80194 if ac_fn_cxx_try_link "$LINENO"; then :
80195 glibcxx_cv_realpath=yes
80196 else
80197 glibcxx_cv_realpath=no
80198 fi
80199 rm -f core conftest.err conftest.$ac_objext \
80200 conftest$ac_exeext conftest.$ac_ext
80201 fi
80202
80203 fi
80204
80205 if test $glibcxx_cv_realpath = yes; then
80206
80207 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80208
80209 fi
80210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80211 $as_echo "$glibcxx_cv_realpath" >&6; }
80212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80213 $as_echo_n "checking for utimensat... " >&6; }
80214 if test "${glibcxx_cv_utimensat+set}" = set; then :
80215 $as_echo_n "(cached) " >&6
80216 else
80217 if test x$gcc_no_link = xyes; then
80218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80219 /* end confdefs.h. */
80220
80221 #include <fcntl.h>
80222 #include <sys/stat.h>
80223
80224 int
80225 main ()
80226 {
80227
80228 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80229 int i = utimensat(AT_FDCWD, "path", ts, 0);
80230
80231 ;
80232 return 0;
80233 }
80234 _ACEOF
80235 if ac_fn_cxx_try_compile "$LINENO"; then :
80236 glibcxx_cv_utimensat=yes
80237 else
80238 glibcxx_cv_utimensat=no
80239 fi
80240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80241 else
80242 if test x$gcc_no_link = xyes; then
80243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80244 fi
80245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80246 /* end confdefs.h. */
80247
80248 #include <fcntl.h>
80249 #include <sys/stat.h>
80250
80251 int
80252 main ()
80253 {
80254
80255 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80256 int i = utimensat(AT_FDCWD, "path", ts, 0);
80257
80258 ;
80259 return 0;
80260 }
80261 _ACEOF
80262 if ac_fn_cxx_try_link "$LINENO"; then :
80263 glibcxx_cv_utimensat=yes
80264 else
80265 glibcxx_cv_utimensat=no
80266 fi
80267 rm -f core conftest.err conftest.$ac_objext \
80268 conftest$ac_exeext conftest.$ac_ext
80269 fi
80270
80271 fi
80272
80273 if test $glibcxx_cv_utimensat = yes; then
80274
80275 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80276
80277 fi
80278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80279 $as_echo "$glibcxx_cv_utimensat" >&6; }
80280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80281 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80282 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80283 $as_echo_n "(cached) " >&6
80284 else
80285 if test x$gcc_no_link = xyes; then
80286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80287 /* end confdefs.h. */
80288 #include <sys/stat.h>
80289 int
80290 main ()
80291 {
80292
80293 struct stat st;
80294 return st.st_mtim.tv_nsec;
80295
80296 ;
80297 return 0;
80298 }
80299 _ACEOF
80300 if ac_fn_cxx_try_compile "$LINENO"; then :
80301 glibcxx_cv_st_mtim=yes
80302 else
80303 glibcxx_cv_st_mtim=no
80304 fi
80305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80306 else
80307 if test x$gcc_no_link = xyes; then
80308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80309 fi
80310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80311 /* end confdefs.h. */
80312 #include <sys/stat.h>
80313 int
80314 main ()
80315 {
80316
80317 struct stat st;
80318 return st.st_mtim.tv_nsec;
80319
80320 ;
80321 return 0;
80322 }
80323 _ACEOF
80324 if ac_fn_cxx_try_link "$LINENO"; then :
80325 glibcxx_cv_st_mtim=yes
80326 else
80327 glibcxx_cv_st_mtim=no
80328 fi
80329 rm -f core conftest.err conftest.$ac_objext \
80330 conftest$ac_exeext conftest.$ac_ext
80331 fi
80332
80333 fi
80334
80335 if test $glibcxx_cv_st_mtim = yes; then
80336
80337 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80338
80339 fi
80340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80341 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80343 $as_echo_n "checking for fchmod... " >&6; }
80344 if test "${glibcxx_cv_fchmod+set}" = set; then :
80345 $as_echo_n "(cached) " >&6
80346 else
80347 if test x$gcc_no_link = xyes; then
80348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80349 /* end confdefs.h. */
80350 #include <sys/stat.h>
80351 int
80352 main ()
80353 {
80354 fchmod(1, S_IWUSR);
80355 ;
80356 return 0;
80357 }
80358 _ACEOF
80359 if ac_fn_cxx_try_compile "$LINENO"; then :
80360 glibcxx_cv_fchmod=yes
80361 else
80362 glibcxx_cv_fchmod=no
80363 fi
80364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80365 else
80366 if test x$gcc_no_link = xyes; then
80367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80368 fi
80369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80370 /* end confdefs.h. */
80371 #include <sys/stat.h>
80372 int
80373 main ()
80374 {
80375 fchmod(1, S_IWUSR);
80376 ;
80377 return 0;
80378 }
80379 _ACEOF
80380 if ac_fn_cxx_try_link "$LINENO"; then :
80381 glibcxx_cv_fchmod=yes
80382 else
80383 glibcxx_cv_fchmod=no
80384 fi
80385 rm -f core conftest.err conftest.$ac_objext \
80386 conftest$ac_exeext conftest.$ac_ext
80387 fi
80388
80389 fi
80390
80391 if test $glibcxx_cv_fchmod = yes; then
80392
80393 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80394
80395 fi
80396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80397 $as_echo "$glibcxx_cv_fchmod" >&6; }
80398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80399 $as_echo_n "checking for fchmodat... " >&6; }
80400 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80401 $as_echo_n "(cached) " >&6
80402 else
80403 if test x$gcc_no_link = xyes; then
80404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80405 /* end confdefs.h. */
80406
80407 #include <fcntl.h>
80408 #include <sys/stat.h>
80409
80410 int
80411 main ()
80412 {
80413 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80414 ;
80415 return 0;
80416 }
80417 _ACEOF
80418 if ac_fn_cxx_try_compile "$LINENO"; then :
80419 glibcxx_cv_fchmodat=yes
80420 else
80421 glibcxx_cv_fchmodat=no
80422 fi
80423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80424 else
80425 if test x$gcc_no_link = xyes; then
80426 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80427 fi
80428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80429 /* end confdefs.h. */
80430
80431 #include <fcntl.h>
80432 #include <sys/stat.h>
80433
80434 int
80435 main ()
80436 {
80437 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80438 ;
80439 return 0;
80440 }
80441 _ACEOF
80442 if ac_fn_cxx_try_link "$LINENO"; then :
80443 glibcxx_cv_fchmodat=yes
80444 else
80445 glibcxx_cv_fchmodat=no
80446 fi
80447 rm -f core conftest.err conftest.$ac_objext \
80448 conftest$ac_exeext conftest.$ac_ext
80449 fi
80450
80451 fi
80452
80453 if test $glibcxx_cv_fchmodat = yes; then
80454
80455 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80456
80457 fi
80458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80459 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80461 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80462 if test "${glibcxx_cv_sendfile+set}" = set; then :
80463 $as_echo_n "(cached) " >&6
80464 else
80465 case "${target_os}" in
80466 gnu* | linux* | solaris*)
80467 if test x$gcc_no_link = xyes; then
80468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80469 /* end confdefs.h. */
80470 #include <sys/sendfile.h>
80471 int
80472 main ()
80473 {
80474 sendfile(1, 2, (off_t*)0, sizeof 1);
80475 ;
80476 return 0;
80477 }
80478 _ACEOF
80479 if ac_fn_cxx_try_compile "$LINENO"; then :
80480 glibcxx_cv_sendfile=yes
80481 else
80482 glibcxx_cv_sendfile=no
80483 fi
80484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80485 else
80486 if test x$gcc_no_link = xyes; then
80487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80488 fi
80489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80490 /* end confdefs.h. */
80491 #include <sys/sendfile.h>
80492 int
80493 main ()
80494 {
80495 sendfile(1, 2, (off_t*)0, sizeof 1);
80496 ;
80497 return 0;
80498 }
80499 _ACEOF
80500 if ac_fn_cxx_try_link "$LINENO"; then :
80501 glibcxx_cv_sendfile=yes
80502 else
80503 glibcxx_cv_sendfile=no
80504 fi
80505 rm -f core conftest.err conftest.$ac_objext \
80506 conftest$ac_exeext conftest.$ac_ext
80507 fi
80508 ;;
80509 *)
80510 glibcxx_cv_sendfile=no
80511 ;;
80512 esac
80513
80514 fi
80515
80516 if test $glibcxx_cv_sendfile = yes; then
80517
80518 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80519
80520 fi
80521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80522 $as_echo "$glibcxx_cv_sendfile" >&6; }
80523 CXXFLAGS="$ac_save_CXXFLAGS"
80524 ac_ext=c
80525 ac_cpp='$CPP $CPPFLAGS'
80526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80529
80530
80531
80532 # For Transactional Memory TS
80533
80534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80535 $as_echo_n "checking how size_t is mangled... " >&6; }
80536 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80537 $as_echo_n "(cached) " >&6
80538 else
80539
80540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80541 /* end confdefs.h. */
80542
80543 int
80544 main ()
80545 {
80546 extern __SIZE_TYPE__ x; extern unsigned long x;
80547 ;
80548 return 0;
80549 }
80550 _ACEOF
80551 if ac_fn_c_try_compile "$LINENO"; then :
80552 glibcxx_cv_size_t_mangling=m
80553 else
80554
80555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80556 /* end confdefs.h. */
80557
80558 int
80559 main ()
80560 {
80561 extern __SIZE_TYPE__ x; extern unsigned int x;
80562 ;
80563 return 0;
80564 }
80565 _ACEOF
80566 if ac_fn_c_try_compile "$LINENO"; then :
80567 glibcxx_cv_size_t_mangling=j
80568 else
80569
80570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80571 /* end confdefs.h. */
80572
80573 int
80574 main ()
80575 {
80576 extern __SIZE_TYPE__ x; extern unsigned long long x;
80577 ;
80578 return 0;
80579 }
80580 _ACEOF
80581 if ac_fn_c_try_compile "$LINENO"; then :
80582 glibcxx_cv_size_t_mangling=y
80583 else
80584
80585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80586 /* end confdefs.h. */
80587
80588 int
80589 main ()
80590 {
80591 extern __SIZE_TYPE__ x; extern unsigned short x;
80592 ;
80593 return 0;
80594 }
80595 _ACEOF
80596 if ac_fn_c_try_compile "$LINENO"; then :
80597 glibcxx_cv_size_t_mangling=t
80598 else
80599
80600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80601 /* end confdefs.h. */
80602
80603 int
80604 main ()
80605 {
80606 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80607 ;
80608 return 0;
80609 }
80610 _ACEOF
80611 if ac_fn_c_try_compile "$LINENO"; then :
80612 glibcxx_cv_size_t_mangling=u6uint20
80613 else
80614 glibcxx_cv_size_t_mangling=x
80615 fi
80616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80617
80618 fi
80619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80620
80621 fi
80622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80623
80624 fi
80625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80626
80627 fi
80628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80629
80630 fi
80631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80632 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80633 if test $glibcxx_cv_size_t_mangling = x; then
80634 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80635 fi
80636
80637 cat >>confdefs.h <<_ACEOF
80638 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80639 _ACEOF
80640
80641
80642
80643 # Check which release added std::exception_ptr for the target
80644
80645 if test $enable_symvers != no; then
80646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80647 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80648 case ${target} in
80649 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80650 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80651 ac_exception_ptr_since_gcc46=yes
80652 ;;
80653 *)
80654 # If the value of this macro changes then we will need to hardcode
80655 # yes/no here for additional targets based on the original value.
80656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80657 /* end confdefs.h. */
80658
80659 int
80660 main ()
80661 {
80662
80663 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80664 # error atomic int not always lock free
80665 #endif
80666
80667 ;
80668 return 0;
80669 }
80670 _ACEOF
80671 if ac_fn_c_try_compile "$LINENO"; then :
80672 ac_exception_ptr_since_gcc46=yes
80673 else
80674 ac_exception_ptr_since_gcc46=no
80675 fi
80676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80677 ;;
80678 esac
80679 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80680
80681 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80682
80683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80684 $as_echo "4.6.0" >&6; }
80685 else
80686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80687 $as_echo "7.1.0" >&6; }
80688 fi
80689 fi
80690
80691
80692 # Define documentation rules conditionally.
80693
80694 # See if makeinfo has been installed and is modern enough
80695 # that we can use it.
80696
80697 # Extract the first word of "makeinfo", so it can be a program name with args.
80698 set dummy makeinfo; ac_word=$2
80699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80700 $as_echo_n "checking for $ac_word... " >&6; }
80701 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80702 $as_echo_n "(cached) " >&6
80703 else
80704 if test -n "$MAKEINFO"; then
80705 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80706 else
80707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80708 for as_dir in $PATH
80709 do
80710 IFS=$as_save_IFS
80711 test -z "$as_dir" && as_dir=.
80712 for ac_exec_ext in '' $ac_executable_extensions; do
80713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80714 ac_cv_prog_MAKEINFO="makeinfo"
80715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80716 break 2
80717 fi
80718 done
80719 done
80720 IFS=$as_save_IFS
80721
80722 fi
80723 fi
80724 MAKEINFO=$ac_cv_prog_MAKEINFO
80725 if test -n "$MAKEINFO"; then
80726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80727 $as_echo "$MAKEINFO" >&6; }
80728 else
80729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80730 $as_echo "no" >&6; }
80731 fi
80732
80733
80734 if test -n "$MAKEINFO"; then
80735 # Found it, now check the version.
80736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80737 $as_echo_n "checking for modern makeinfo... " >&6; }
80738 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80739 $as_echo_n "(cached) " >&6
80740 else
80741 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80742 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80743
80744 case $ac_prog_version in
80745 '') gcc_cv_prog_makeinfo_modern=no;;
80746 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80747 *) gcc_cv_prog_makeinfo_modern=no;;
80748 esac
80749
80750 fi
80751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80752 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80753 else
80754 gcc_cv_prog_makeinfo_modern=no
80755 fi
80756 if test $gcc_cv_prog_makeinfo_modern = no; then
80757 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80758 fi
80759
80760 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80761 BUILD_INFO_TRUE=
80762 BUILD_INFO_FALSE='#'
80763 else
80764 BUILD_INFO_TRUE='#'
80765 BUILD_INFO_FALSE=
80766 fi
80767
80768
80769 # Check for doxygen
80770 # Extract the first word of "doxygen", so it can be a program name with args.
80771 set dummy doxygen; ac_word=$2
80772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80773 $as_echo_n "checking for $ac_word... " >&6; }
80774 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80775 $as_echo_n "(cached) " >&6
80776 else
80777 if test -n "$DOXYGEN"; then
80778 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80779 else
80780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80781 for as_dir in $PATH
80782 do
80783 IFS=$as_save_IFS
80784 test -z "$as_dir" && as_dir=.
80785 for ac_exec_ext in '' $ac_executable_extensions; do
80786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80787 ac_cv_prog_DOXYGEN="yes"
80788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80789 break 2
80790 fi
80791 done
80792 done
80793 IFS=$as_save_IFS
80794
80795 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80796 fi
80797 fi
80798 DOXYGEN=$ac_cv_prog_DOXYGEN
80799 if test -n "$DOXYGEN"; then
80800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80801 $as_echo "$DOXYGEN" >&6; }
80802 else
80803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80804 $as_echo "no" >&6; }
80805 fi
80806
80807
80808 # Extract the first word of "dot", so it can be a program name with args.
80809 set dummy dot; ac_word=$2
80810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80811 $as_echo_n "checking for $ac_word... " >&6; }
80812 if test "${ac_cv_prog_DOT+set}" = set; then :
80813 $as_echo_n "(cached) " >&6
80814 else
80815 if test -n "$DOT"; then
80816 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80817 else
80818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80819 for as_dir in $PATH
80820 do
80821 IFS=$as_save_IFS
80822 test -z "$as_dir" && as_dir=.
80823 for ac_exec_ext in '' $ac_executable_extensions; do
80824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80825 ac_cv_prog_DOT="yes"
80826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80827 break 2
80828 fi
80829 done
80830 done
80831 IFS=$as_save_IFS
80832
80833 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80834 fi
80835 fi
80836 DOT=$ac_cv_prog_DOT
80837 if test -n "$DOT"; then
80838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80839 $as_echo "$DOT" >&6; }
80840 else
80841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80842 $as_echo "no" >&6; }
80843 fi
80844
80845
80846
80847 # Check for docbook
80848 # Extract the first word of "xsltproc", so it can be a program name with args.
80849 set dummy xsltproc; ac_word=$2
80850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80851 $as_echo_n "checking for $ac_word... " >&6; }
80852 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80853 $as_echo_n "(cached) " >&6
80854 else
80855 if test -n "$XSLTPROC"; then
80856 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80857 else
80858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80859 for as_dir in $PATH
80860 do
80861 IFS=$as_save_IFS
80862 test -z "$as_dir" && as_dir=.
80863 for ac_exec_ext in '' $ac_executable_extensions; do
80864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80865 ac_cv_prog_XSLTPROC="yes"
80866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80867 break 2
80868 fi
80869 done
80870 done
80871 IFS=$as_save_IFS
80872
80873 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80874 fi
80875 fi
80876 XSLTPROC=$ac_cv_prog_XSLTPROC
80877 if test -n "$XSLTPROC"; then
80878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80879 $as_echo "$XSLTPROC" >&6; }
80880 else
80881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80882 $as_echo "no" >&6; }
80883 fi
80884
80885
80886 # Extract the first word of "xmllint", so it can be a program name with args.
80887 set dummy xmllint; ac_word=$2
80888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80889 $as_echo_n "checking for $ac_word... " >&6; }
80890 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80891 $as_echo_n "(cached) " >&6
80892 else
80893 if test -n "$XMLLINT"; then
80894 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80895 else
80896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80897 for as_dir in $PATH
80898 do
80899 IFS=$as_save_IFS
80900 test -z "$as_dir" && as_dir=.
80901 for ac_exec_ext in '' $ac_executable_extensions; do
80902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80903 ac_cv_prog_XMLLINT="yes"
80904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80905 break 2
80906 fi
80907 done
80908 done
80909 IFS=$as_save_IFS
80910
80911 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80912 fi
80913 fi
80914 XMLLINT=$ac_cv_prog_XMLLINT
80915 if test -n "$XMLLINT"; then
80916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80917 $as_echo "$XMLLINT" >&6; }
80918 else
80919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80920 $as_echo "no" >&6; }
80921 fi
80922
80923
80924
80925
80926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80927 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80928 glibcxx_stylesheets=no
80929 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
80930 glibcxx_stylesheets=yes
80931 fi
80932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80933 $as_echo "$glibcxx_stylesheets" >&6; }
80934
80935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80936 $as_echo_n "checking for local stylesheet directory... " >&6; }
80937 glibcxx_local_stylesheets=no
80938 if test x"$glibcxx_stylesheets" = x"yes"; then
80939 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80940 glibcxx_local_stylesheets=yes
80941 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80942 fi
80943 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80944 glibcxx_local_stylesheets=yes
80945 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80946 fi
80947 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80948 glibcxx_local_stylesheets=yes
80949 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80950 fi
80951 fi
80952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80953 $as_echo "$glibcxx_local_stylesheets" >&6; }
80954
80955 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80956
80957 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80958 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80959 else
80960 glibcxx_stylesheets=no
80961 fi
80962
80963 # Check for epub3 dependencies.
80964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80965 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80966 glibcxx_epub_stylesheets=no
80967 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80968 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80969 glibcxx_epub_stylesheets=yes
80970 fi
80971 fi
80972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80973 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80974 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80975 BUILD_EPUB_TRUE=
80976 BUILD_EPUB_FALSE='#'
80977 else
80978 BUILD_EPUB_TRUE='#'
80979 BUILD_EPUB_FALSE=
80980 fi
80981
80982
80983
80984
80985 # Check for xml/html dependencies.
80986 if test $ac_cv_prog_DOXYGEN = "yes" &&
80987 test $ac_cv_prog_DOT = "yes" &&
80988 test $ac_cv_prog_XSLTPROC = "yes" &&
80989 test $ac_cv_prog_XMLLINT = "yes" &&
80990 test $glibcxx_stylesheets = "yes"; then
80991 BUILD_XML_TRUE=
80992 BUILD_XML_FALSE='#'
80993 else
80994 BUILD_XML_TRUE='#'
80995 BUILD_XML_FALSE=
80996 fi
80997
80998
80999 if test $ac_cv_prog_DOXYGEN = "yes" &&
81000 test $ac_cv_prog_DOT = "yes" &&
81001 test $ac_cv_prog_XSLTPROC = "yes" &&
81002 test $ac_cv_prog_XMLLINT = "yes" &&
81003 test $glibcxx_stylesheets = "yes"; then
81004 BUILD_HTML_TRUE=
81005 BUILD_HTML_FALSE='#'
81006 else
81007 BUILD_HTML_TRUE='#'
81008 BUILD_HTML_FALSE=
81009 fi
81010
81011
81012 # Check for man dependencies.
81013 if test $ac_cv_prog_DOXYGEN = "yes" &&
81014 test $ac_cv_prog_DOT = "yes"; then
81015 BUILD_MAN_TRUE=
81016 BUILD_MAN_FALSE='#'
81017 else
81018 BUILD_MAN_TRUE='#'
81019 BUILD_MAN_FALSE=
81020 fi
81021
81022
81023 # Check for pdf dependencies.
81024 # Extract the first word of "dblatex", so it can be a program name with args.
81025 set dummy dblatex; ac_word=$2
81026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81027 $as_echo_n "checking for $ac_word... " >&6; }
81028 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81029 $as_echo_n "(cached) " >&6
81030 else
81031 if test -n "$DBLATEX"; then
81032 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81033 else
81034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81035 for as_dir in $PATH
81036 do
81037 IFS=$as_save_IFS
81038 test -z "$as_dir" && as_dir=.
81039 for ac_exec_ext in '' $ac_executable_extensions; do
81040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81041 ac_cv_prog_DBLATEX="yes"
81042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81043 break 2
81044 fi
81045 done
81046 done
81047 IFS=$as_save_IFS
81048
81049 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81050 fi
81051 fi
81052 DBLATEX=$ac_cv_prog_DBLATEX
81053 if test -n "$DBLATEX"; then
81054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81055 $as_echo "$DBLATEX" >&6; }
81056 else
81057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81058 $as_echo "no" >&6; }
81059 fi
81060
81061
81062 # Extract the first word of "pdflatex", so it can be a program name with args.
81063 set dummy pdflatex; ac_word=$2
81064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81065 $as_echo_n "checking for $ac_word... " >&6; }
81066 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81067 $as_echo_n "(cached) " >&6
81068 else
81069 if test -n "$PDFLATEX"; then
81070 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81071 else
81072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81073 for as_dir in $PATH
81074 do
81075 IFS=$as_save_IFS
81076 test -z "$as_dir" && as_dir=.
81077 for ac_exec_ext in '' $ac_executable_extensions; do
81078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81079 ac_cv_prog_PDFLATEX="yes"
81080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81081 break 2
81082 fi
81083 done
81084 done
81085 IFS=$as_save_IFS
81086
81087 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81088 fi
81089 fi
81090 PDFLATEX=$ac_cv_prog_PDFLATEX
81091 if test -n "$PDFLATEX"; then
81092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81093 $as_echo "$PDFLATEX" >&6; }
81094 else
81095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81096 $as_echo "no" >&6; }
81097 fi
81098
81099
81100 if test $ac_cv_prog_DBLATEX = "yes" &&
81101 test $ac_cv_prog_PDFLATEX = "yes"; then
81102 BUILD_PDF_TRUE=
81103 BUILD_PDF_FALSE='#'
81104 else
81105 BUILD_PDF_TRUE='#'
81106 BUILD_PDF_FALSE=
81107 fi
81108
81109
81110 case "$build" in
81111 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81112 * ) glibcxx_include_dir_notparallel=no ;;
81113 esac
81114 if test $glibcxx_include_dir_notparallel = "yes"; then
81115 INCLUDE_DIR_NOTPARALLEL_TRUE=
81116 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81117 else
81118 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81119 INCLUDE_DIR_NOTPARALLEL_FALSE=
81120 fi
81121
81122
81123 # Propagate the target-specific source directories through the build chain.
81124 ATOMICITY_SRCDIR=config/${atomicity_dir}
81125 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81126 ATOMIC_FLAGS=${atomic_flags}
81127 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81128 OS_INC_SRCDIR=config/${os_include_dir}
81129 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81130 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81131 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81132 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81133
81134
81135
81136
81137
81138
81139
81140
81141
81142
81143
81144 # Add CET specific flags if Intel CET is enabled.
81145 # Check whether --enable-cet was given.
81146 if test "${enable_cet+set}" = set; then :
81147 enableval=$enable_cet;
81148 case "$enableval" in
81149 yes|no|default) ;;
81150 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81151 esac
81152
81153 else
81154 enable_cet=default
81155 fi
81156
81157
81158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81159 $as_echo_n "checking for CET support... " >&6; }
81160
81161 case "$host" in
81162 i[34567]86-*-linux* | x86_64-*-linux*)
81163 case "$enable_cet" in
81164 default)
81165 # Check if target supports multi-byte NOPs
81166 # and if assembler supports CET insn.
81167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81168 /* end confdefs.h. */
81169
81170 int
81171 main ()
81172 {
81173
81174 #if !defined(__SSE2__)
81175 #error target does not support multi-byte NOPs
81176 #else
81177 asm ("setssbsy");
81178 #endif
81179
81180 ;
81181 return 0;
81182 }
81183 _ACEOF
81184 if ac_fn_c_try_compile "$LINENO"; then :
81185 enable_cet=yes
81186 else
81187 enable_cet=no
81188 fi
81189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81190 ;;
81191 yes)
81192 # Check if assembler supports CET.
81193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81194 /* end confdefs.h. */
81195
81196 int
81197 main ()
81198 {
81199 asm ("setssbsy");
81200 ;
81201 return 0;
81202 }
81203 _ACEOF
81204 if ac_fn_c_try_compile "$LINENO"; then :
81205
81206 else
81207 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81208 fi
81209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81210 ;;
81211 esac
81212 ;;
81213 *)
81214 enable_cet=no
81215 ;;
81216 esac
81217 if test x$enable_cet = xyes; then
81218 CET_FLAGS="-fcf-protection -mcet"
81219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81220 $as_echo "yes" >&6; }
81221 else
81222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81223 $as_echo "no" >&6; }
81224 fi
81225
81226 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81227 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81228
81229
81230
81231 # Determine cross-compile flags and AM_CONDITIONALs.
81232 #AC_SUBST(GLIBCXX_IS_NATIVE)
81233 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81234 if test $is_hosted = yes; then
81235 GLIBCXX_HOSTED_TRUE=
81236 GLIBCXX_HOSTED_FALSE='#'
81237 else
81238 GLIBCXX_HOSTED_TRUE='#'
81239 GLIBCXX_HOSTED_FALSE=
81240 fi
81241
81242
81243 if test $enable_libstdcxx_pch = yes; then
81244 GLIBCXX_BUILD_PCH_TRUE=
81245 GLIBCXX_BUILD_PCH_FALSE='#'
81246 else
81247 GLIBCXX_BUILD_PCH_TRUE='#'
81248 GLIBCXX_BUILD_PCH_FALSE=
81249 fi
81250
81251
81252 if test $enable_libstdcxx_allocator_flag = new; then
81253 ENABLE_ALLOCATOR_NEW_TRUE=
81254 ENABLE_ALLOCATOR_NEW_FALSE='#'
81255 else
81256 ENABLE_ALLOCATOR_NEW_TRUE='#'
81257 ENABLE_ALLOCATOR_NEW_FALSE=
81258 fi
81259
81260
81261 if test $enable_cheaders = c; then
81262 GLIBCXX_C_HEADERS_C_TRUE=
81263 GLIBCXX_C_HEADERS_C_FALSE='#'
81264 else
81265 GLIBCXX_C_HEADERS_C_TRUE='#'
81266 GLIBCXX_C_HEADERS_C_FALSE=
81267 fi
81268
81269
81270 if test $enable_cheaders = c_std; then
81271 GLIBCXX_C_HEADERS_C_STD_TRUE=
81272 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81273 else
81274 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81275 GLIBCXX_C_HEADERS_C_STD_FALSE=
81276 fi
81277
81278
81279 if test $enable_cheaders = c_global; then
81280 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81281 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81282 else
81283 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81284 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81285 fi
81286
81287
81288 if test $c_compatibility = yes; then
81289 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81290 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81291 else
81292 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81293 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81294 fi
81295
81296
81297 if test $enable_libstdcxx_debug = yes; then
81298 GLIBCXX_BUILD_DEBUG_TRUE=
81299 GLIBCXX_BUILD_DEBUG_FALSE='#'
81300 else
81301 GLIBCXX_BUILD_DEBUG_TRUE='#'
81302 GLIBCXX_BUILD_DEBUG_FALSE=
81303 fi
81304
81305
81306 if test $enable_extern_template = yes; then
81307 ENABLE_EXTERN_TEMPLATE_TRUE=
81308 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81309 else
81310 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81311 ENABLE_EXTERN_TEMPLATE_FALSE=
81312 fi
81313
81314
81315 if test $python_mod_dir != no; then
81316 ENABLE_PYTHONDIR_TRUE=
81317 ENABLE_PYTHONDIR_FALSE='#'
81318 else
81319 ENABLE_PYTHONDIR_TRUE='#'
81320 ENABLE_PYTHONDIR_FALSE=
81321 fi
81322
81323
81324 if test $enable_werror = yes; then
81325 ENABLE_WERROR_TRUE=
81326 ENABLE_WERROR_FALSE='#'
81327 else
81328 ENABLE_WERROR_TRUE='#'
81329 ENABLE_WERROR_FALSE=
81330 fi
81331
81332
81333 if test $enable_vtable_verify = yes; then
81334 ENABLE_VTABLE_VERIFY_TRUE=
81335 ENABLE_VTABLE_VERIFY_FALSE='#'
81336 else
81337 ENABLE_VTABLE_VERIFY_TRUE='#'
81338 ENABLE_VTABLE_VERIFY_FALSE=
81339 fi
81340
81341
81342 if test $enable_symvers != no; then
81343 ENABLE_SYMVERS_TRUE=
81344 ENABLE_SYMVERS_FALSE='#'
81345 else
81346 ENABLE_SYMVERS_TRUE='#'
81347 ENABLE_SYMVERS_FALSE=
81348 fi
81349
81350
81351 if test $enable_symvers = gnu; then
81352 ENABLE_SYMVERS_GNU_TRUE=
81353 ENABLE_SYMVERS_GNU_FALSE='#'
81354 else
81355 ENABLE_SYMVERS_GNU_TRUE='#'
81356 ENABLE_SYMVERS_GNU_FALSE=
81357 fi
81358
81359
81360 if test $enable_symvers = gnu-versioned-namespace; then
81361 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81362 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81363 else
81364 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81365 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81366 fi
81367
81368
81369 if test $enable_symvers = darwin; then
81370 ENABLE_SYMVERS_DARWIN_TRUE=
81371 ENABLE_SYMVERS_DARWIN_FALSE='#'
81372 else
81373 ENABLE_SYMVERS_DARWIN_TRUE='#'
81374 ENABLE_SYMVERS_DARWIN_FALSE=
81375 fi
81376
81377
81378 if test $enable_symvers = sun; then
81379 ENABLE_SYMVERS_SUN_TRUE=
81380 ENABLE_SYMVERS_SUN_FALSE='#'
81381 else
81382 ENABLE_SYMVERS_SUN_TRUE='#'
81383 ENABLE_SYMVERS_SUN_FALSE=
81384 fi
81385
81386
81387 if test $enable_libstdcxx_visibility = yes; then
81388 ENABLE_VISIBILITY_TRUE=
81389 ENABLE_VISIBILITY_FALSE='#'
81390 else
81391 ENABLE_VISIBILITY_TRUE='#'
81392 ENABLE_VISIBILITY_FALSE=
81393 fi
81394
81395
81396 if test $enable_libstdcxx_dual_abi = yes; then
81397 ENABLE_DUAL_ABI_TRUE=
81398 ENABLE_DUAL_ABI_FALSE='#'
81399 else
81400 ENABLE_DUAL_ABI_TRUE='#'
81401 ENABLE_DUAL_ABI_FALSE=
81402 fi
81403
81404
81405 if test $glibcxx_cxx11_abi = 1; then
81406 ENABLE_CXX11_ABI_TRUE=
81407 ENABLE_CXX11_ABI_FALSE='#'
81408 else
81409 ENABLE_CXX11_ABI_TRUE='#'
81410 ENABLE_CXX11_ABI_FALSE=
81411 fi
81412
81413
81414 if test $ac_ldbl_compat = yes; then
81415 GLIBCXX_LDBL_COMPAT_TRUE=
81416 GLIBCXX_LDBL_COMPAT_FALSE='#'
81417 else
81418 GLIBCXX_LDBL_COMPAT_TRUE='#'
81419 GLIBCXX_LDBL_COMPAT_FALSE=
81420 fi
81421
81422
81423 if test $enable_libstdcxx_filesystem_ts = yes; then
81424 ENABLE_FILESYSTEM_TS_TRUE=
81425 ENABLE_FILESYSTEM_TS_FALSE='#'
81426 else
81427 ENABLE_FILESYSTEM_TS_TRUE='#'
81428 ENABLE_FILESYSTEM_TS_FALSE=
81429 fi
81430
81431
81432
81433
81434 cat >confcache <<\_ACEOF
81435 # This file is a shell script that caches the results of configure
81436 # tests run on this system so they can be shared between configure
81437 # scripts and configure runs, see configure's option --config-cache.
81438 # It is not useful on other systems. If it contains results you don't
81439 # want to keep, you may remove or edit it.
81440 #
81441 # config.status only pays attention to the cache file if you give it
81442 # the --recheck option to rerun configure.
81443 #
81444 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81446 # following values.
81447
81448 _ACEOF
81449
81450 # The following way of writing the cache mishandles newlines in values,
81451 # but we know of no workaround that is simple, portable, and efficient.
81452 # So, we kill variables containing newlines.
81453 # Ultrix sh set writes to stderr and can't be redirected directly,
81454 # and sets the high bit in the cache file unless we assign to the vars.
81455 (
81456 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81457 eval ac_val=\$$ac_var
81458 case $ac_val in #(
81459 *${as_nl}*)
81460 case $ac_var in #(
81461 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81462 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81463 esac
81464 case $ac_var in #(
81465 _ | IFS | as_nl) ;; #(
81466 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81467 *) { eval $ac_var=; unset $ac_var;} ;;
81468 esac ;;
81469 esac
81470 done
81471
81472 (set) 2>&1 |
81473 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81474 *${as_nl}ac_space=\ *)
81475 # `set' does not quote correctly, so add quotes: double-quote
81476 # substitution turns \\\\ into \\, and sed turns \\ into \.
81477 sed -n \
81478 "s/'/'\\\\''/g;
81479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81480 ;; #(
81481 *)
81482 # `set' quotes correctly as required by POSIX, so do not add quotes.
81483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81484 ;;
81485 esac |
81486 sort
81487 ) |
81488 sed '
81489 /^ac_cv_env_/b end
81490 t clear
81491 :clear
81492 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81493 t end
81494 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81495 :end' >>confcache
81496 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81497 if test -w "$cache_file"; then
81498 test "x$cache_file" != "x/dev/null" &&
81499 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81500 $as_echo "$as_me: updating cache $cache_file" >&6;}
81501 cat confcache >$cache_file
81502 else
81503 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81504 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81505 fi
81506 fi
81507 rm -f confcache
81508
81509 if test ${multilib} = yes; then
81510 multilib_arg="--enable-multilib"
81511 else
81512 multilib_arg=
81513 fi
81514
81515 # Export all the install information.
81516
81517 glibcxx_toolexecdir=no
81518 glibcxx_toolexeclibdir=no
81519 glibcxx_prefixdir=$prefix
81520
81521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81522 $as_echo_n "checking for gxx-include-dir... " >&6; }
81523
81524 # Check whether --with-gxx-include-dir was given.
81525 if test "${with_gxx_include_dir+set}" = set; then :
81526 withval=$with_gxx_include_dir; case "$withval" in
81527 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81528 no) gxx_include_dir=no ;;
81529 *) gxx_include_dir=$withval ;;
81530 esac
81531 else
81532 gxx_include_dir=no
81533 fi
81534
81535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81536 $as_echo "$gxx_include_dir" >&6; }
81537
81538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81539 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81540 # Check whether --enable-version-specific-runtime-libs was given.
81541 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81542 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81543 yes) version_specific_libs=yes ;;
81544 no) version_specific_libs=no ;;
81545 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81546 esac
81547 else
81548 version_specific_libs=no
81549 fi
81550
81551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81552 $as_echo "$version_specific_libs" >&6; }
81553
81554 # Default case for install directory for include files.
81555 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81556 gxx_include_dir='include/c++/${gcc_version}'
81557 if test -n "$with_cross_host" &&
81558 test x"$with_cross_host" != x"no"; then
81559 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81560 else
81561 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81562 fi
81563 fi
81564
81565 # Version-specific runtime libs processing.
81566 if test $version_specific_libs = yes; then
81567 # Need the gcc compiler version to know where to install libraries
81568 # and header files if --enable-version-specific-runtime-libs option
81569 # is selected. FIXME: these variables are misnamed, there are
81570 # no executables installed in _toolexecdir or _toolexeclibdir.
81571 if test x"$gxx_include_dir" = x"no"; then
81572 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81573 fi
81574 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81575 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81576 fi
81577
81578 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81579 # Install a library built with a cross compiler in tooldir, not libdir.
81580 if test x"$glibcxx_toolexecdir" = x"no"; then
81581 if test -n "$with_cross_host" &&
81582 test x"$with_cross_host" != x"no"; then
81583 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81584 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81585 else
81586 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81587 glibcxx_toolexeclibdir='${libdir}'
81588 fi
81589 multi_os_directory=`$CXX -print-multi-os-directory`
81590 case $multi_os_directory in
81591 .) ;; # Avoid trailing /.
81592 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81593 esac
81594 fi
81595
81596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81597 $as_echo_n "checking for install location... " >&6; }
81598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81599 $as_echo "$gxx_include_dir" >&6; }
81600
81601
81602
81603
81604
81605
81606
81607 # Export all the include and flag information to Makefiles.
81608
81609 # Used for every C++ compile we perform.
81610 GLIBCXX_INCLUDES="\
81611 -I$glibcxx_builddir/include/$host_alias \
81612 -I$glibcxx_builddir/include \
81613 -I$glibcxx_srcdir/libsupc++"
81614
81615 # For Canadian crosses, pick this up too.
81616 if test $CANADIAN = yes; then
81617 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81618 fi
81619
81620 # Stuff in the actual top level. Currently only used by libsupc++ to
81621 # get unwind* headers from the libgcc dir.
81622 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81623 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81624
81625 # Now, export this to all the little Makefiles....
81626
81627
81628
81629
81630 # Optimization flags that are probably a good idea for thrill-seekers. Just
81631 # uncomment the lines below and make, everything else is ready to go...
81632 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81633 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81634
81635
81636 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81637
81638
81639
81640 # Determine what GCC version number to use in filesystem paths.
81641
81642 get_gcc_base_ver="cat"
81643
81644 # Check whether --with-gcc-major-version-only was given.
81645 if test "${with_gcc_major_version_only+set}" = set; then :
81646 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81647 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
81648 fi
81649
81650 fi
81651
81652
81653
81654
81655 ac_config_files="$ac_config_files Makefile"
81656
81657 ac_config_files="$ac_config_files scripts/testsuite_flags"
81658
81659 ac_config_files="$ac_config_files scripts/extract_symvers"
81660
81661 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81662
81663
81664 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81665 # that multilib installs will end up installed in the correct place.
81666 # The testsuite needs it for multilib-aware ABI baseline files.
81667 # To work around this not being passed down from config-ml.in ->
81668 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81669 # append it here. Only modify Makefiles that have just been created.
81670 #
81671 # Also, get rid of this simulated-VPATH thing that automake does.
81672 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81673
81674
81675 ac_config_commands="$ac_config_commands generate-headers"
81676
81677
81678 cat >confcache <<\_ACEOF
81679 # This file is a shell script that caches the results of configure
81680 # tests run on this system so they can be shared between configure
81681 # scripts and configure runs, see configure's option --config-cache.
81682 # It is not useful on other systems. If it contains results you don't
81683 # want to keep, you may remove or edit it.
81684 #
81685 # config.status only pays attention to the cache file if you give it
81686 # the --recheck option to rerun configure.
81687 #
81688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81690 # following values.
81691
81692 _ACEOF
81693
81694 # The following way of writing the cache mishandles newlines in values,
81695 # but we know of no workaround that is simple, portable, and efficient.
81696 # So, we kill variables containing newlines.
81697 # Ultrix sh set writes to stderr and can't be redirected directly,
81698 # and sets the high bit in the cache file unless we assign to the vars.
81699 (
81700 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81701 eval ac_val=\$$ac_var
81702 case $ac_val in #(
81703 *${as_nl}*)
81704 case $ac_var in #(
81705 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81707 esac
81708 case $ac_var in #(
81709 _ | IFS | as_nl) ;; #(
81710 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81711 *) { eval $ac_var=; unset $ac_var;} ;;
81712 esac ;;
81713 esac
81714 done
81715
81716 (set) 2>&1 |
81717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81718 *${as_nl}ac_space=\ *)
81719 # `set' does not quote correctly, so add quotes: double-quote
81720 # substitution turns \\\\ into \\, and sed turns \\ into \.
81721 sed -n \
81722 "s/'/'\\\\''/g;
81723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81724 ;; #(
81725 *)
81726 # `set' quotes correctly as required by POSIX, so do not add quotes.
81727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81728 ;;
81729 esac |
81730 sort
81731 ) |
81732 sed '
81733 /^ac_cv_env_/b end
81734 t clear
81735 :clear
81736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81737 t end
81738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81739 :end' >>confcache
81740 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81741 if test -w "$cache_file"; then
81742 test "x$cache_file" != "x/dev/null" &&
81743 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81744 $as_echo "$as_me: updating cache $cache_file" >&6;}
81745 cat confcache >$cache_file
81746 else
81747 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81748 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81749 fi
81750 fi
81751 rm -f confcache
81752
81753 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81754 # Let make expand exec_prefix.
81755 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81756
81757 DEFS=-DHAVE_CONFIG_H
81758
81759 ac_libobjs=
81760 ac_ltlibobjs=
81761 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81762 # 1. Remove the extension, and $U if already installed.
81763 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81764 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81765 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81766 # will be set to the directory where LIBOBJS objects are built.
81767 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81768 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81769 done
81770 LIBOBJS=$ac_libobjs
81771
81772 LTLIBOBJS=$ac_ltlibobjs
81773
81774
81775 if test -n "$EXEEXT"; then
81776 am__EXEEXT_TRUE=
81777 am__EXEEXT_FALSE='#'
81778 else
81779 am__EXEEXT_TRUE='#'
81780 am__EXEEXT_FALSE=
81781 fi
81782
81783 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81784 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81786 fi
81787 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81788 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81790 fi
81791 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81792 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81794 fi
81795 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81796 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81798 fi
81799 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81800 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81802 fi
81803 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81804 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81806 fi
81807 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81808 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81810 fi
81811 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81812 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81814 fi
81815 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81816 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81818 fi
81819 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81820 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81822 fi
81823 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81824 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81826 fi
81827 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81828 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81830 fi
81831 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81832 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81834 fi
81835 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81836 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81838 fi
81839 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81840 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81842 fi
81843 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81844 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81846 fi
81847 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81848 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81850 fi
81851 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81852 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81854 fi
81855 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81856 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81858 fi
81859 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81860 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81862 fi
81863 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81864 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81866 fi
81867 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81868 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81870 fi
81871 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81872 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81874 fi
81875 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81876 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81878 fi
81879 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81880 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81882 fi
81883 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81884 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81886 fi
81887 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81888 as_fn_error "conditional \"BUILD_XML\" was never defined.
81889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81890 fi
81891 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81892 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81894 fi
81895 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81896 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81898 fi
81899 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81900 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81902 fi
81903 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
81904 as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
81905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81906 fi
81907
81908 : ${CONFIG_STATUS=./config.status}
81909 ac_write_fail=0
81910 ac_clean_files_save=$ac_clean_files
81911 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81912 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81913 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81914 as_write_fail=0
81915 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81916 #! $SHELL
81917 # Generated by $as_me.
81918 # Run this file to recreate the current configuration.
81919 # Compiler output produced by configure, useful for debugging
81920 # configure, is in config.log if it exists.
81921
81922 debug=false
81923 ac_cs_recheck=false
81924 ac_cs_silent=false
81925
81926 SHELL=\${CONFIG_SHELL-$SHELL}
81927 export SHELL
81928 _ASEOF
81929 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81930 ## -------------------- ##
81931 ## M4sh Initialization. ##
81932 ## -------------------- ##
81933
81934 # Be more Bourne compatible
81935 DUALCASE=1; export DUALCASE # for MKS sh
81936 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81937 emulate sh
81938 NULLCMD=:
81939 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81940 # is contrary to our usage. Disable this feature.
81941 alias -g '${1+"$@"}'='"$@"'
81942 setopt NO_GLOB_SUBST
81943 else
81944 case `(set -o) 2>/dev/null` in #(
81945 *posix*) :
81946 set -o posix ;; #(
81947 *) :
81948 ;;
81949 esac
81950 fi
81951
81952
81953 as_nl='
81954 '
81955 export as_nl
81956 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81957 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81958 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81959 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81960 # Prefer a ksh shell builtin over an external printf program on Solaris,
81961 # but without wasting forks for bash or zsh.
81962 if test -z "$BASH_VERSION$ZSH_VERSION" \
81963 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81964 as_echo='print -r --'
81965 as_echo_n='print -rn --'
81966 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81967 as_echo='printf %s\n'
81968 as_echo_n='printf %s'
81969 else
81970 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81971 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81972 as_echo_n='/usr/ucb/echo -n'
81973 else
81974 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81975 as_echo_n_body='eval
81976 arg=$1;
81977 case $arg in #(
81978 *"$as_nl"*)
81979 expr "X$arg" : "X\\(.*\\)$as_nl";
81980 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81981 esac;
81982 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81983 '
81984 export as_echo_n_body
81985 as_echo_n='sh -c $as_echo_n_body as_echo'
81986 fi
81987 export as_echo_body
81988 as_echo='sh -c $as_echo_body as_echo'
81989 fi
81990
81991 # The user is always right.
81992 if test "${PATH_SEPARATOR+set}" != set; then
81993 PATH_SEPARATOR=:
81994 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81995 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81996 PATH_SEPARATOR=';'
81997 }
81998 fi
81999
82000
82001 # IFS
82002 # We need space, tab and new line, in precisely that order. Quoting is
82003 # there to prevent editors from complaining about space-tab.
82004 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82005 # splitting by setting IFS to empty value.)
82006 IFS=" "" $as_nl"
82007
82008 # Find who we are. Look in the path if we contain no directory separator.
82009 case $0 in #((
82010 *[\\/]* ) as_myself=$0 ;;
82011 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82012 for as_dir in $PATH
82013 do
82014 IFS=$as_save_IFS
82015 test -z "$as_dir" && as_dir=.
82016 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82017 done
82018 IFS=$as_save_IFS
82019
82020 ;;
82021 esac
82022 # We did not find ourselves, most probably we were run as `sh COMMAND'
82023 # in which case we are not to be found in the path.
82024 if test "x$as_myself" = x; then
82025 as_myself=$0
82026 fi
82027 if test ! -f "$as_myself"; then
82028 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82029 exit 1
82030 fi
82031
82032 # Unset variables that we do not need and which cause bugs (e.g. in
82033 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82034 # suppresses any "Segmentation fault" message there. '((' could
82035 # trigger a bug in pdksh 5.2.14.
82036 for as_var in BASH_ENV ENV MAIL MAILPATH
82037 do eval test x\${$as_var+set} = xset \
82038 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82039 done
82040 PS1='$ '
82041 PS2='> '
82042 PS4='+ '
82043
82044 # NLS nuisances.
82045 LC_ALL=C
82046 export LC_ALL
82047 LANGUAGE=C
82048 export LANGUAGE
82049
82050 # CDPATH.
82051 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82052
82053
82054 # as_fn_error ERROR [LINENO LOG_FD]
82055 # ---------------------------------
82056 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82057 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82058 # script with status $?, using 1 if that was 0.
82059 as_fn_error ()
82060 {
82061 as_status=$?; test $as_status -eq 0 && as_status=1
82062 if test "$3"; then
82063 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82064 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82065 fi
82066 $as_echo "$as_me: error: $1" >&2
82067 as_fn_exit $as_status
82068 } # as_fn_error
82069
82070
82071 # as_fn_set_status STATUS
82072 # -----------------------
82073 # Set $? to STATUS, without forking.
82074 as_fn_set_status ()
82075 {
82076 return $1
82077 } # as_fn_set_status
82078
82079 # as_fn_exit STATUS
82080 # -----------------
82081 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82082 as_fn_exit ()
82083 {
82084 set +e
82085 as_fn_set_status $1
82086 exit $1
82087 } # as_fn_exit
82088
82089 # as_fn_unset VAR
82090 # ---------------
82091 # Portably unset VAR.
82092 as_fn_unset ()
82093 {
82094 { eval $1=; unset $1;}
82095 }
82096 as_unset=as_fn_unset
82097 # as_fn_append VAR VALUE
82098 # ----------------------
82099 # Append the text in VALUE to the end of the definition contained in VAR. Take
82100 # advantage of any shell optimizations that allow amortized linear growth over
82101 # repeated appends, instead of the typical quadratic growth present in naive
82102 # implementations.
82103 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82104 eval 'as_fn_append ()
82105 {
82106 eval $1+=\$2
82107 }'
82108 else
82109 as_fn_append ()
82110 {
82111 eval $1=\$$1\$2
82112 }
82113 fi # as_fn_append
82114
82115 # as_fn_arith ARG...
82116 # ------------------
82117 # Perform arithmetic evaluation on the ARGs, and store the result in the
82118 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82119 # must be portable across $(()) and expr.
82120 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82121 eval 'as_fn_arith ()
82122 {
82123 as_val=$(( $* ))
82124 }'
82125 else
82126 as_fn_arith ()
82127 {
82128 as_val=`expr "$@" || test $? -eq 1`
82129 }
82130 fi # as_fn_arith
82131
82132
82133 if expr a : '\(a\)' >/dev/null 2>&1 &&
82134 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82135 as_expr=expr
82136 else
82137 as_expr=false
82138 fi
82139
82140 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82141 as_basename=basename
82142 else
82143 as_basename=false
82144 fi
82145
82146 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82147 as_dirname=dirname
82148 else
82149 as_dirname=false
82150 fi
82151
82152 as_me=`$as_basename -- "$0" ||
82153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82154 X"$0" : 'X\(//\)$' \| \
82155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82156 $as_echo X/"$0" |
82157 sed '/^.*\/\([^/][^/]*\)\/*$/{
82158 s//\1/
82159 q
82160 }
82161 /^X\/\(\/\/\)$/{
82162 s//\1/
82163 q
82164 }
82165 /^X\/\(\/\).*/{
82166 s//\1/
82167 q
82168 }
82169 s/.*/./; q'`
82170
82171 # Avoid depending upon Character Ranges.
82172 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82173 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82174 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82175 as_cr_digits='0123456789'
82176 as_cr_alnum=$as_cr_Letters$as_cr_digits
82177
82178 ECHO_C= ECHO_N= ECHO_T=
82179 case `echo -n x` in #(((((
82180 -n*)
82181 case `echo 'xy\c'` in
82182 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82183 xy) ECHO_C='\c';;
82184 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82185 ECHO_T=' ';;
82186 esac;;
82187 *)
82188 ECHO_N='-n';;
82189 esac
82190
82191 rm -f conf$$ conf$$.exe conf$$.file
82192 if test -d conf$$.dir; then
82193 rm -f conf$$.dir/conf$$.file
82194 else
82195 rm -f conf$$.dir
82196 mkdir conf$$.dir 2>/dev/null
82197 fi
82198 if (echo >conf$$.file) 2>/dev/null; then
82199 if ln -s conf$$.file conf$$ 2>/dev/null; then
82200 as_ln_s='ln -s'
82201 # ... but there are two gotchas:
82202 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82203 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82204 # In both cases, we have to default to `cp -p'.
82205 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82206 as_ln_s='cp -p'
82207 elif ln conf$$.file conf$$ 2>/dev/null; then
82208 as_ln_s=ln
82209 else
82210 as_ln_s='cp -p'
82211 fi
82212 else
82213 as_ln_s='cp -p'
82214 fi
82215 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82216 rmdir conf$$.dir 2>/dev/null
82217
82218
82219 # as_fn_mkdir_p
82220 # -------------
82221 # Create "$as_dir" as a directory, including parents if necessary.
82222 as_fn_mkdir_p ()
82223 {
82224
82225 case $as_dir in #(
82226 -*) as_dir=./$as_dir;;
82227 esac
82228 test -d "$as_dir" || eval $as_mkdir_p || {
82229 as_dirs=
82230 while :; do
82231 case $as_dir in #(
82232 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82233 *) as_qdir=$as_dir;;
82234 esac
82235 as_dirs="'$as_qdir' $as_dirs"
82236 as_dir=`$as_dirname -- "$as_dir" ||
82237 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82238 X"$as_dir" : 'X\(//\)[^/]' \| \
82239 X"$as_dir" : 'X\(//\)$' \| \
82240 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82241 $as_echo X"$as_dir" |
82242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82243 s//\1/
82244 q
82245 }
82246 /^X\(\/\/\)[^/].*/{
82247 s//\1/
82248 q
82249 }
82250 /^X\(\/\/\)$/{
82251 s//\1/
82252 q
82253 }
82254 /^X\(\/\).*/{
82255 s//\1/
82256 q
82257 }
82258 s/.*/./; q'`
82259 test -d "$as_dir" && break
82260 done
82261 test -z "$as_dirs" || eval "mkdir $as_dirs"
82262 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82263
82264
82265 } # as_fn_mkdir_p
82266 if mkdir -p . 2>/dev/null; then
82267 as_mkdir_p='mkdir -p "$as_dir"'
82268 else
82269 test -d ./-p && rmdir ./-p
82270 as_mkdir_p=false
82271 fi
82272
82273 if test -x / >/dev/null 2>&1; then
82274 as_test_x='test -x'
82275 else
82276 if ls -dL / >/dev/null 2>&1; then
82277 as_ls_L_option=L
82278 else
82279 as_ls_L_option=
82280 fi
82281 as_test_x='
82282 eval sh -c '\''
82283 if test -d "$1"; then
82284 test -d "$1/.";
82285 else
82286 case $1 in #(
82287 -*)set "./$1";;
82288 esac;
82289 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82290 ???[sx]*):;;*)false;;esac;fi
82291 '\'' sh
82292 '
82293 fi
82294 as_executable_p=$as_test_x
82295
82296 # Sed expression to map a string onto a valid CPP name.
82297 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82298
82299 # Sed expression to map a string onto a valid variable name.
82300 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82301
82302
82303 exec 6>&1
82304 ## ----------------------------------- ##
82305 ## Main body of $CONFIG_STATUS script. ##
82306 ## ----------------------------------- ##
82307 _ASEOF
82308 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82309
82310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82311 # Save the log message, to keep $0 and so on meaningful, and to
82312 # report actual input values of CONFIG_FILES etc. instead of their
82313 # values after options handling.
82314 ac_log="
82315 This file was extended by package-unused $as_me version-unused, which was
82316 generated by GNU Autoconf 2.64. Invocation command line was
82317
82318 CONFIG_FILES = $CONFIG_FILES
82319 CONFIG_HEADERS = $CONFIG_HEADERS
82320 CONFIG_LINKS = $CONFIG_LINKS
82321 CONFIG_COMMANDS = $CONFIG_COMMANDS
82322 $ $0 $@
82323
82324 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82325 "
82326
82327 _ACEOF
82328
82329 case $ac_config_files in *"
82330 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82331 esac
82332
82333 case $ac_config_headers in *"
82334 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82335 esac
82336
82337
82338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82339 # Files that config.status was made for.
82340 config_files="$ac_config_files"
82341 config_headers="$ac_config_headers"
82342 config_commands="$ac_config_commands"
82343
82344 _ACEOF
82345
82346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82347 ac_cs_usage="\
82348 \`$as_me' instantiates files and other configuration actions
82349 from templates according to the current configuration. Unless the files
82350 and actions are specified as TAGs, all are instantiated by default.
82351
82352 Usage: $0 [OPTION]... [TAG]...
82353
82354 -h, --help print this help, then exit
82355 -V, --version print version number and configuration settings, then exit
82356 -q, --quiet, --silent
82357 do not print progress messages
82358 -d, --debug don't remove temporary files
82359 --recheck update $as_me by reconfiguring in the same conditions
82360 --file=FILE[:TEMPLATE]
82361 instantiate the configuration file FILE
82362 --header=FILE[:TEMPLATE]
82363 instantiate the configuration header FILE
82364
82365 Configuration files:
82366 $config_files
82367
82368 Configuration headers:
82369 $config_headers
82370
82371 Configuration commands:
82372 $config_commands
82373
82374 Report bugs to the package provider."
82375
82376 _ACEOF
82377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82378 ac_cs_version="\\
82379 package-unused config.status version-unused
82380 configured by $0, generated by GNU Autoconf 2.64,
82381 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82382
82383 Copyright (C) 2009 Free Software Foundation, Inc.
82384 This config.status script is free software; the Free Software Foundation
82385 gives unlimited permission to copy, distribute and modify it."
82386
82387 ac_pwd='$ac_pwd'
82388 srcdir='$srcdir'
82389 INSTALL='$INSTALL'
82390 MKDIR_P='$MKDIR_P'
82391 AWK='$AWK'
82392 test -n "\$AWK" || AWK=awk
82393 _ACEOF
82394
82395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82396 # The default lists apply if the user does not specify any file.
82397 ac_need_defaults=:
82398 while test $# != 0
82399 do
82400 case $1 in
82401 --*=*)
82402 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82403 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82404 ac_shift=:
82405 ;;
82406 *)
82407 ac_option=$1
82408 ac_optarg=$2
82409 ac_shift=shift
82410 ;;
82411 esac
82412
82413 case $ac_option in
82414 # Handling of the options.
82415 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82416 ac_cs_recheck=: ;;
82417 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82418 $as_echo "$ac_cs_version"; exit ;;
82419 --debug | --debu | --deb | --de | --d | -d )
82420 debug=: ;;
82421 --file | --fil | --fi | --f )
82422 $ac_shift
82423 case $ac_optarg in
82424 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82425 esac
82426 as_fn_append CONFIG_FILES " '$ac_optarg'"
82427 ac_need_defaults=false;;
82428 --header | --heade | --head | --hea )
82429 $ac_shift
82430 case $ac_optarg in
82431 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82432 esac
82433 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82434 ac_need_defaults=false;;
82435 --he | --h)
82436 # Conflict between --help and --header
82437 as_fn_error "ambiguous option: \`$1'
82438 Try \`$0 --help' for more information.";;
82439 --help | --hel | -h )
82440 $as_echo "$ac_cs_usage"; exit ;;
82441 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82442 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82443 ac_cs_silent=: ;;
82444
82445 # This is an error.
82446 -*) as_fn_error "unrecognized option: \`$1'
82447 Try \`$0 --help' for more information." ;;
82448
82449 *) as_fn_append ac_config_targets " $1"
82450 ac_need_defaults=false ;;
82451
82452 esac
82453 shift
82454 done
82455
82456 ac_configure_extra_args=
82457
82458 if $ac_cs_silent; then
82459 exec 6>/dev/null
82460 ac_configure_extra_args="$ac_configure_extra_args --silent"
82461 fi
82462
82463 _ACEOF
82464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82465 if \$ac_cs_recheck; then
82466 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82467 shift
82468 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82469 CONFIG_SHELL='$SHELL'
82470 export CONFIG_SHELL
82471 exec "\$@"
82472 fi
82473
82474 _ACEOF
82475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82476 exec 5>>config.log
82477 {
82478 echo
82479 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82480 ## Running $as_me. ##
82481 _ASBOX
82482 $as_echo "$ac_log"
82483 } >&5
82484
82485 _ACEOF
82486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82487 #
82488 # INIT-COMMANDS
82489 #
82490
82491 srcdir="$srcdir"
82492 host="$host"
82493 target="$target"
82494 with_multisubdir="$with_multisubdir"
82495 with_multisrctop="$with_multisrctop"
82496 with_target_subdir="$with_target_subdir"
82497 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82498 multi_basedir="$multi_basedir"
82499 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82500 CC="$CC"
82501 CXX="$CXX"
82502 GFORTRAN="$GFORTRAN"
82503
82504
82505 # The HP-UX ksh and POSIX shell print the target directory to stdout
82506 # if CDPATH is set.
82507 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82508
82509 sed_quote_subst='$sed_quote_subst'
82510 double_quote_subst='$double_quote_subst'
82511 delay_variable_subst='$delay_variable_subst'
82512 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82513 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82514 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82515 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82516 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82517 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82518 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82519 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82520 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82521 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82522 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82523 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82524 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82525 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82526 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82527 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82528 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82529 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82530 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82531 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82532 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82533 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82534 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82535 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82536 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82537 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82538 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82539 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82540 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82541 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82542 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82543 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82544 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82545 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82546 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82547 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82548 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82549 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82550 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82551 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82552 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82553 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82554 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82555 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82556 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82557 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82558 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82559 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82560 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"`'
82561 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82562 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82563 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82564 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82565 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82566 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82567 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82568 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82569 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82570 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82571 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82572 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82573 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82574 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82575 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82576 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82577 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82578 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82579 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82580 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82581 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82582 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82583 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82584 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82585 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82586 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82587 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82588 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82589 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82590 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82591 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82592 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82593 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82594 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82595 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82596 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82597 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82598 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82599 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82600 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82601 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82602 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82603 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82604 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82605 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82606 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82607 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82608 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82609 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82610 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82611 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82612 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82613 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82614 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82615 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82616 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82617 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82618 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82619 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82620 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82621 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82622 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82623 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82624 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82625 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82626 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82627 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82628 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82629 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82630 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82631 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82632 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82633 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82634 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82635 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82636 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82637 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82638 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82639 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82640 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82641 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82642 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82643 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82644 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82645 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82646 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82647 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82648 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82649 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82650 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82651 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82652 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82653 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82654 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82655 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82656 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82657 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82658 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82659 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82660 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82661 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82662 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82663 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82664 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82665 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82666 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82667 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82668 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82669 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82670 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82671 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82672 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82673 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82674 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82675 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82676 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82677 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82678 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82679 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82680 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82681 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82682 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82683 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82684 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82685 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82686 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82687
82688 LTCC='$LTCC'
82689 LTCFLAGS='$LTCFLAGS'
82690 compiler='$compiler_DEFAULT'
82691
82692 # A function that is used when there is no print builtin or printf.
82693 func_fallback_echo ()
82694 {
82695 eval 'cat <<_LTECHO_EOF
82696 \$1
82697 _LTECHO_EOF'
82698 }
82699
82700 # Quote evaled strings.
82701 for var in SHELL \
82702 ECHO \
82703 SED \
82704 GREP \
82705 EGREP \
82706 FGREP \
82707 LD \
82708 NM \
82709 LN_S \
82710 lt_SP2NL \
82711 lt_NL2SP \
82712 reload_flag \
82713 OBJDUMP \
82714 deplibs_check_method \
82715 file_magic_cmd \
82716 AR \
82717 AR_FLAGS \
82718 STRIP \
82719 RANLIB \
82720 CC \
82721 CFLAGS \
82722 compiler \
82723 lt_cv_sys_global_symbol_pipe \
82724 lt_cv_sys_global_symbol_to_cdecl \
82725 lt_cv_sys_global_symbol_to_c_name_address \
82726 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82727 lt_prog_compiler_no_builtin_flag \
82728 lt_prog_compiler_wl \
82729 lt_prog_compiler_pic \
82730 lt_prog_compiler_static \
82731 lt_cv_prog_compiler_c_o \
82732 need_locks \
82733 DSYMUTIL \
82734 NMEDIT \
82735 LIPO \
82736 OTOOL \
82737 OTOOL64 \
82738 shrext_cmds \
82739 export_dynamic_flag_spec \
82740 whole_archive_flag_spec \
82741 compiler_needs_object \
82742 with_gnu_ld \
82743 allow_undefined_flag \
82744 no_undefined_flag \
82745 hardcode_libdir_flag_spec \
82746 hardcode_libdir_flag_spec_ld \
82747 hardcode_libdir_separator \
82748 fix_srcfile_path \
82749 exclude_expsyms \
82750 include_expsyms \
82751 file_list_spec \
82752 variables_saved_for_relink \
82753 libname_spec \
82754 library_names_spec \
82755 soname_spec \
82756 install_override_mode \
82757 finish_eval \
82758 old_striplib \
82759 striplib \
82760 compiler_lib_search_dirs \
82761 predep_objects \
82762 postdep_objects \
82763 predeps \
82764 postdeps \
82765 compiler_lib_search_path \
82766 LD_CXX \
82767 reload_flag_CXX \
82768 compiler_CXX \
82769 lt_prog_compiler_no_builtin_flag_CXX \
82770 lt_prog_compiler_wl_CXX \
82771 lt_prog_compiler_pic_CXX \
82772 lt_prog_compiler_static_CXX \
82773 lt_cv_prog_compiler_c_o_CXX \
82774 export_dynamic_flag_spec_CXX \
82775 whole_archive_flag_spec_CXX \
82776 compiler_needs_object_CXX \
82777 with_gnu_ld_CXX \
82778 allow_undefined_flag_CXX \
82779 no_undefined_flag_CXX \
82780 hardcode_libdir_flag_spec_CXX \
82781 hardcode_libdir_flag_spec_ld_CXX \
82782 hardcode_libdir_separator_CXX \
82783 fix_srcfile_path_CXX \
82784 exclude_expsyms_CXX \
82785 include_expsyms_CXX \
82786 file_list_spec_CXX \
82787 compiler_lib_search_dirs_CXX \
82788 predep_objects_CXX \
82789 postdep_objects_CXX \
82790 predeps_CXX \
82791 postdeps_CXX \
82792 compiler_lib_search_path_CXX; do
82793 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82794 *[\\\\\\\`\\"\\\$]*)
82795 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82796 ;;
82797 *)
82798 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82799 ;;
82800 esac
82801 done
82802
82803 # Double-quote double-evaled strings.
82804 for var in reload_cmds \
82805 old_postinstall_cmds \
82806 old_postuninstall_cmds \
82807 old_archive_cmds \
82808 extract_expsyms_cmds \
82809 old_archive_from_new_cmds \
82810 old_archive_from_expsyms_cmds \
82811 archive_cmds \
82812 archive_expsym_cmds \
82813 module_cmds \
82814 module_expsym_cmds \
82815 export_symbols_cmds \
82816 prelink_cmds \
82817 postinstall_cmds \
82818 postuninstall_cmds \
82819 finish_cmds \
82820 sys_lib_search_path_spec \
82821 sys_lib_dlsearch_path_spec \
82822 reload_cmds_CXX \
82823 old_archive_cmds_CXX \
82824 old_archive_from_new_cmds_CXX \
82825 old_archive_from_expsyms_cmds_CXX \
82826 archive_cmds_CXX \
82827 archive_expsym_cmds_CXX \
82828 module_cmds_CXX \
82829 module_expsym_cmds_CXX \
82830 export_symbols_cmds_CXX \
82831 prelink_cmds_CXX; do
82832 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82833 *[\\\\\\\`\\"\\\$]*)
82834 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82835 ;;
82836 *)
82837 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82838 ;;
82839 esac
82840 done
82841
82842 ac_aux_dir='$ac_aux_dir'
82843 xsi_shell='$xsi_shell'
82844 lt_shell_append='$lt_shell_append'
82845
82846 # See if we are running on zsh, and set the options which allow our
82847 # commands through without removal of \ escapes INIT.
82848 if test -n "\${ZSH_VERSION+set}" ; then
82849 setopt NO_GLOB_SUBST
82850 fi
82851
82852
82853 PACKAGE='$PACKAGE'
82854 VERSION='$VERSION'
82855 TIMESTAMP='$TIMESTAMP'
82856 RM='$RM'
82857 ofile='$ofile'
82858
82859
82860
82861
82862
82863
82864 GCC="$GCC"
82865 CC="$CC"
82866 acx_cv_header_stdint="$acx_cv_header_stdint"
82867 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82868 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82869 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82870 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82871 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82872 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82873 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82874 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82875 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82876 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82877 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82878 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82879 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82880
82881
82882 _ACEOF
82883
82884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82885
82886 # Handling of arguments.
82887 for ac_config_target in $ac_config_targets
82888 do
82889 case $ac_config_target in
82890 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82891 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82892 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82893 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82894 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82895 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82896 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82897 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82898 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82899 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82900 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82901 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82902 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82903 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82904 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82905 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82906 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82907 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82908 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82909
82910 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82911 esac
82912 done
82913
82914
82915 # If the user did not use the arguments to specify the items to instantiate,
82916 # then the envvar interface is used. Set only those that are not.
82917 # We use the long form for the default assignment because of an extremely
82918 # bizarre bug on SunOS 4.1.3.
82919 if $ac_need_defaults; then
82920 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82921 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82922 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82923 fi
82924
82925 # Have a temporary directory for convenience. Make it in the build tree
82926 # simply because there is no reason against having it here, and in addition,
82927 # creating and moving files from /tmp can sometimes cause problems.
82928 # Hook for its removal unless debugging.
82929 # Note that there is a small window in which the directory will not be cleaned:
82930 # after its creation but before its name has been assigned to `$tmp'.
82931 $debug ||
82932 {
82933 tmp=
82934 trap 'exit_status=$?
82935 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82936 ' 0
82937 trap 'as_fn_exit 1' 1 2 13 15
82938 }
82939 # Create a (secure) tmp directory for tmp files.
82940
82941 {
82942 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82943 test -n "$tmp" && test -d "$tmp"
82944 } ||
82945 {
82946 tmp=./conf$$-$RANDOM
82947 (umask 077 && mkdir "$tmp")
82948 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82949
82950 # Set up the scripts for CONFIG_FILES section.
82951 # No need to generate them if there are no CONFIG_FILES.
82952 # This happens for instance with `./config.status config.h'.
82953 if test -n "$CONFIG_FILES"; then
82954
82955
82956 ac_cr=`echo X | tr X '\015'`
82957 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82958 # But we know of no other shell where ac_cr would be empty at this
82959 # point, so we can use a bashism as a fallback.
82960 if test "x$ac_cr" = x; then
82961 eval ac_cr=\$\'\\r\'
82962 fi
82963 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82964 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82965 ac_cs_awk_cr='\r'
82966 else
82967 ac_cs_awk_cr=$ac_cr
82968 fi
82969
82970 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82971 _ACEOF
82972
82973
82974 {
82975 echo "cat >conf$$subs.awk <<_ACEOF" &&
82976 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82977 echo "_ACEOF"
82978 } >conf$$subs.sh ||
82979 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82980 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82981 ac_delim='%!_!# '
82982 for ac_last_try in false false false false false :; do
82983 . ./conf$$subs.sh ||
82984 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82985
82986 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82987 if test $ac_delim_n = $ac_delim_num; then
82988 break
82989 elif $ac_last_try; then
82990 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82991 else
82992 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82993 fi
82994 done
82995 rm -f conf$$subs.sh
82996
82997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82998 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82999 _ACEOF
83000 sed -n '
83001 h
83002 s/^/S["/; s/!.*/"]=/
83003 p
83004 g
83005 s/^[^!]*!//
83006 :repl
83007 t repl
83008 s/'"$ac_delim"'$//
83009 t delim
83010 :nl
83011 h
83012 s/\(.\{148\}\).*/\1/
83013 t more1
83014 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83015 p
83016 n
83017 b repl
83018 :more1
83019 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83020 p
83021 g
83022 s/.\{148\}//
83023 t nl
83024 :delim
83025 h
83026 s/\(.\{148\}\).*/\1/
83027 t more2
83028 s/["\\]/\\&/g; s/^/"/; s/$/"/
83029 p
83030 b
83031 :more2
83032 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83033 p
83034 g
83035 s/.\{148\}//
83036 t delim
83037 ' <conf$$subs.awk | sed '
83038 /^[^""]/{
83039 N
83040 s/\n//
83041 }
83042 ' >>$CONFIG_STATUS || ac_write_fail=1
83043 rm -f conf$$subs.awk
83044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83045 _ACAWK
83046 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83047 for (key in S) S_is_set[key] = 1
83048 FS = "\a"
83049
83050 }
83051 {
83052 line = $ 0
83053 nfields = split(line, field, "@")
83054 substed = 0
83055 len = length(field[1])
83056 for (i = 2; i < nfields; i++) {
83057 key = field[i]
83058 keylen = length(key)
83059 if (S_is_set[key]) {
83060 value = S[key]
83061 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83062 len += length(value) + length(field[++i])
83063 substed = 1
83064 } else
83065 len += 1 + keylen
83066 }
83067
83068 print line
83069 }
83070
83071 _ACAWK
83072 _ACEOF
83073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83074 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83075 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83076 else
83077 cat
83078 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83079 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83080 _ACEOF
83081
83082 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83083 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83084 # trailing colons and then remove the whole line if VPATH becomes empty
83085 # (actually we leave an empty line to preserve line numbers).
83086 if test "x$srcdir" = x.; then
83087 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83088 s/:*\$(srcdir):*/:/
83089 s/:*\${srcdir}:*/:/
83090 s/:*@srcdir@:*/:/
83091 s/^\([^=]*=[ ]*\):*/\1/
83092 s/:*$//
83093 s/^[^=]*=[ ]*$//
83094 }'
83095 fi
83096
83097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83098 fi # test -n "$CONFIG_FILES"
83099
83100 # Set up the scripts for CONFIG_HEADERS section.
83101 # No need to generate them if there are no CONFIG_HEADERS.
83102 # This happens for instance with `./config.status Makefile'.
83103 if test -n "$CONFIG_HEADERS"; then
83104 cat >"$tmp/defines.awk" <<\_ACAWK ||
83105 BEGIN {
83106 _ACEOF
83107
83108 # Transform confdefs.h into an awk script `defines.awk', embedded as
83109 # here-document in config.status, that substitutes the proper values into
83110 # config.h.in to produce config.h.
83111
83112 # Create a delimiter string that does not exist in confdefs.h, to ease
83113 # handling of long lines.
83114 ac_delim='%!_!# '
83115 for ac_last_try in false false :; do
83116 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83117 if test -z "$ac_t"; then
83118 break
83119 elif $ac_last_try; then
83120 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83121 else
83122 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83123 fi
83124 done
83125
83126 # For the awk script, D is an array of macro values keyed by name,
83127 # likewise P contains macro parameters if any. Preserve backslash
83128 # newline sequences.
83129
83130 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83131 sed -n '
83132 s/.\{148\}/&'"$ac_delim"'/g
83133 t rset
83134 :rset
83135 s/^[ ]*#[ ]*define[ ][ ]*/ /
83136 t def
83137 d
83138 :def
83139 s/\\$//
83140 t bsnl
83141 s/["\\]/\\&/g
83142 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83143 D["\1"]=" \3"/p
83144 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83145 d
83146 :bsnl
83147 s/["\\]/\\&/g
83148 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83149 D["\1"]=" \3\\\\\\n"\\/p
83150 t cont
83151 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83152 t cont
83153 d
83154 :cont
83155 n
83156 s/.\{148\}/&'"$ac_delim"'/g
83157 t clear
83158 :clear
83159 s/\\$//
83160 t bsnlc
83161 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83162 d
83163 :bsnlc
83164 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83165 b cont
83166 ' <confdefs.h | sed '
83167 s/'"$ac_delim"'/"\\\
83168 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83169
83170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83171 for (key in D) D_is_set[key] = 1
83172 FS = "\a"
83173 }
83174 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83175 line = \$ 0
83176 split(line, arg, " ")
83177 if (arg[1] == "#") {
83178 defundef = arg[2]
83179 mac1 = arg[3]
83180 } else {
83181 defundef = substr(arg[1], 2)
83182 mac1 = arg[2]
83183 }
83184 split(mac1, mac2, "(") #)
83185 macro = mac2[1]
83186 prefix = substr(line, 1, index(line, defundef) - 1)
83187 if (D_is_set[macro]) {
83188 # Preserve the white space surrounding the "#".
83189 print prefix "define", macro P[macro] D[macro]
83190 next
83191 } else {
83192 # Replace #undef with comments. This is necessary, for example,
83193 # in the case of _POSIX_SOURCE, which is predefined and required
83194 # on some systems where configure will not decide to define it.
83195 if (defundef == "undef") {
83196 print "/*", prefix defundef, macro, "*/"
83197 next
83198 }
83199 }
83200 }
83201 { print }
83202 _ACAWK
83203 _ACEOF
83204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83205 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83206 fi # test -n "$CONFIG_HEADERS"
83207
83208
83209 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83210 shift
83211 for ac_tag
83212 do
83213 case $ac_tag in
83214 :[FHLC]) ac_mode=$ac_tag; continue;;
83215 esac
83216 case $ac_mode$ac_tag in
83217 :[FHL]*:*);;
83218 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83219 :[FH]-) ac_tag=-:-;;
83220 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83221 esac
83222 ac_save_IFS=$IFS
83223 IFS=:
83224 set x $ac_tag
83225 IFS=$ac_save_IFS
83226 shift
83227 ac_file=$1
83228 shift
83229
83230 case $ac_mode in
83231 :L) ac_source=$1;;
83232 :[FH])
83233 ac_file_inputs=
83234 for ac_f
83235 do
83236 case $ac_f in
83237 -) ac_f="$tmp/stdin";;
83238 *) # Look for the file first in the build tree, then in the source tree
83239 # (if the path is not absolute). The absolute path cannot be DOS-style,
83240 # because $ac_f cannot contain `:'.
83241 test -f "$ac_f" ||
83242 case $ac_f in
83243 [\\/$]*) false;;
83244 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83245 esac ||
83246 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83247 esac
83248 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83249 as_fn_append ac_file_inputs " '$ac_f'"
83250 done
83251
83252 # Let's still pretend it is `configure' which instantiates (i.e., don't
83253 # use $as_me), people would be surprised to read:
83254 # /* config.h. Generated by config.status. */
83255 configure_input='Generated from '`
83256 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83257 `' by configure.'
83258 if test x"$ac_file" != x-; then
83259 configure_input="$ac_file. $configure_input"
83260 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83261 $as_echo "$as_me: creating $ac_file" >&6;}
83262 fi
83263 # Neutralize special characters interpreted by sed in replacement strings.
83264 case $configure_input in #(
83265 *\&* | *\|* | *\\* )
83266 ac_sed_conf_input=`$as_echo "$configure_input" |
83267 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83268 *) ac_sed_conf_input=$configure_input;;
83269 esac
83270
83271 case $ac_tag in
83272 *:-:* | *:-) cat >"$tmp/stdin" \
83273 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83274 esac
83275 ;;
83276 esac
83277
83278 ac_dir=`$as_dirname -- "$ac_file" ||
83279 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83280 X"$ac_file" : 'X\(//\)[^/]' \| \
83281 X"$ac_file" : 'X\(//\)$' \| \
83282 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83283 $as_echo X"$ac_file" |
83284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83285 s//\1/
83286 q
83287 }
83288 /^X\(\/\/\)[^/].*/{
83289 s//\1/
83290 q
83291 }
83292 /^X\(\/\/\)$/{
83293 s//\1/
83294 q
83295 }
83296 /^X\(\/\).*/{
83297 s//\1/
83298 q
83299 }
83300 s/.*/./; q'`
83301 as_dir="$ac_dir"; as_fn_mkdir_p
83302 ac_builddir=.
83303
83304 case "$ac_dir" in
83305 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83306 *)
83307 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83308 # A ".." for each directory in $ac_dir_suffix.
83309 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83310 case $ac_top_builddir_sub in
83311 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83312 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83313 esac ;;
83314 esac
83315 ac_abs_top_builddir=$ac_pwd
83316 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83317 # for backward compatibility:
83318 ac_top_builddir=$ac_top_build_prefix
83319
83320 case $srcdir in
83321 .) # We are building in place.
83322 ac_srcdir=.
83323 ac_top_srcdir=$ac_top_builddir_sub
83324 ac_abs_top_srcdir=$ac_pwd ;;
83325 [\\/]* | ?:[\\/]* ) # Absolute name.
83326 ac_srcdir=$srcdir$ac_dir_suffix;
83327 ac_top_srcdir=$srcdir
83328 ac_abs_top_srcdir=$srcdir ;;
83329 *) # Relative name.
83330 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83331 ac_top_srcdir=$ac_top_build_prefix$srcdir
83332 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83333 esac
83334 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83335
83336
83337 case $ac_mode in
83338 :F)
83339 #
83340 # CONFIG_FILE
83341 #
83342
83343 case $INSTALL in
83344 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83345 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83346 esac
83347 ac_MKDIR_P=$MKDIR_P
83348 case $MKDIR_P in
83349 [\\/$]* | ?:[\\/]* ) ;;
83350 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83351 esac
83352 _ACEOF
83353
83354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83355 # If the template does not know about datarootdir, expand it.
83356 # FIXME: This hack should be removed a few years after 2.60.
83357 ac_datarootdir_hack=; ac_datarootdir_seen=
83358 ac_sed_dataroot='
83359 /datarootdir/ {
83360 p
83361 q
83362 }
83363 /@datadir@/p
83364 /@docdir@/p
83365 /@infodir@/p
83366 /@localedir@/p
83367 /@mandir@/p'
83368 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83369 *datarootdir*) ac_datarootdir_seen=yes;;
83370 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83372 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83373 _ACEOF
83374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83375 ac_datarootdir_hack='
83376 s&@datadir@&$datadir&g
83377 s&@docdir@&$docdir&g
83378 s&@infodir@&$infodir&g
83379 s&@localedir@&$localedir&g
83380 s&@mandir@&$mandir&g
83381 s&\\\${datarootdir}&$datarootdir&g' ;;
83382 esac
83383 _ACEOF
83384
83385 # Neutralize VPATH when `$srcdir' = `.'.
83386 # Shell code in configure.ac might set extrasub.
83387 # FIXME: do we really want to maintain this feature?
83388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83389 ac_sed_extra="$ac_vpsub
83390 $extrasub
83391 _ACEOF
83392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83393 :t
83394 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83395 s|@configure_input@|$ac_sed_conf_input|;t t
83396 s&@top_builddir@&$ac_top_builddir_sub&;t t
83397 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83398 s&@srcdir@&$ac_srcdir&;t t
83399 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83400 s&@top_srcdir@&$ac_top_srcdir&;t t
83401 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83402 s&@builddir@&$ac_builddir&;t t
83403 s&@abs_builddir@&$ac_abs_builddir&;t t
83404 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83405 s&@INSTALL@&$ac_INSTALL&;t t
83406 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83407 $ac_datarootdir_hack
83408 "
83409 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83410 || as_fn_error "could not create $ac_file" "$LINENO" 5
83411
83412 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83413 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83414 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83416 which seems to be undefined. Please make sure it is defined." >&5
83417 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83418 which seems to be undefined. Please make sure it is defined." >&2;}
83419
83420 rm -f "$tmp/stdin"
83421 case $ac_file in
83422 -) cat "$tmp/out" && rm -f "$tmp/out";;
83423 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83424 esac \
83425 || as_fn_error "could not create $ac_file" "$LINENO" 5
83426 ;;
83427 :H)
83428 #
83429 # CONFIG_HEADER
83430 #
83431 if test x"$ac_file" != x-; then
83432 {
83433 $as_echo "/* $configure_input */" \
83434 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83435 } >"$tmp/config.h" \
83436 || as_fn_error "could not create $ac_file" "$LINENO" 5
83437 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83438 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83439 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83440 else
83441 rm -f "$ac_file"
83442 mv "$tmp/config.h" "$ac_file" \
83443 || as_fn_error "could not create $ac_file" "$LINENO" 5
83444 fi
83445 else
83446 $as_echo "/* $configure_input */" \
83447 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83448 || as_fn_error "could not create -" "$LINENO" 5
83449 fi
83450 # Compute "$ac_file"'s index in $config_headers.
83451 _am_arg="$ac_file"
83452 _am_stamp_count=1
83453 for _am_header in $config_headers :; do
83454 case $_am_header in
83455 $_am_arg | $_am_arg:* )
83456 break ;;
83457 * )
83458 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83459 esac
83460 done
83461 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83462 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83463 X"$_am_arg" : 'X\(//\)[^/]' \| \
83464 X"$_am_arg" : 'X\(//\)$' \| \
83465 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83466 $as_echo X"$_am_arg" |
83467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83468 s//\1/
83469 q
83470 }
83471 /^X\(\/\/\)[^/].*/{
83472 s//\1/
83473 q
83474 }
83475 /^X\(\/\/\)$/{
83476 s//\1/
83477 q
83478 }
83479 /^X\(\/\).*/{
83480 s//\1/
83481 q
83482 }
83483 s/.*/./; q'`/stamp-h$_am_stamp_count
83484 ;;
83485
83486 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83487 $as_echo "$as_me: executing $ac_file commands" >&6;}
83488 ;;
83489 esac
83490
83491
83492 case $ac_file$ac_mode in
83493 "default-1":C)
83494 # Only add multilib support code if we just rebuilt the top-level
83495 # Makefile.
83496 case " $CONFIG_FILES " in
83497 *" Makefile "*)
83498 ac_file=Makefile . ${multi_basedir}/config-ml.in
83499 ;;
83500 esac ;;
83501 "libtool":C)
83502
83503 # See if we are running on zsh, and set the options which allow our
83504 # commands through without removal of \ escapes.
83505 if test -n "${ZSH_VERSION+set}" ; then
83506 setopt NO_GLOB_SUBST
83507 fi
83508
83509 cfgfile="${ofile}T"
83510 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83511 $RM "$cfgfile"
83512
83513 cat <<_LT_EOF >> "$cfgfile"
83514 #! $SHELL
83515
83516 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83517 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83518 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83519 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83520 #
83521 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83522 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83523 # Written by Gordon Matzigkeit, 1996
83524 #
83525 # This file is part of GNU Libtool.
83526 #
83527 # GNU Libtool is free software; you can redistribute it and/or
83528 # modify it under the terms of the GNU General Public License as
83529 # published by the Free Software Foundation; either version 2 of
83530 # the License, or (at your option) any later version.
83531 #
83532 # As a special exception to the GNU General Public License,
83533 # if you distribute this file as part of a program or library that
83534 # is built using GNU Libtool, you may include this file under the
83535 # same distribution terms that you use for the rest of that program.
83536 #
83537 # GNU Libtool is distributed in the hope that it will be useful,
83538 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83539 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83540 # GNU General Public License for more details.
83541 #
83542 # You should have received a copy of the GNU General Public License
83543 # along with GNU Libtool; see the file COPYING. If not, a copy
83544 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83545 # obtained by writing to the Free Software Foundation, Inc.,
83546 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83547
83548
83549 # The names of the tagged configurations supported by this script.
83550 available_tags="CXX "
83551
83552 # ### BEGIN LIBTOOL CONFIG
83553
83554 # Which release of libtool.m4 was used?
83555 macro_version=$macro_version
83556 macro_revision=$macro_revision
83557
83558 # Whether or not to build shared libraries.
83559 build_libtool_libs=$enable_shared
83560
83561 # Whether or not to build static libraries.
83562 build_old_libs=$enable_static
83563
83564 # What type of objects to build.
83565 pic_mode=$pic_mode
83566
83567 # Whether or not to optimize for fast installation.
83568 fast_install=$enable_fast_install
83569
83570 # Shell to use when invoking shell scripts.
83571 SHELL=$lt_SHELL
83572
83573 # An echo program that protects backslashes.
83574 ECHO=$lt_ECHO
83575
83576 # The host system.
83577 host_alias=$host_alias
83578 host=$host
83579 host_os=$host_os
83580
83581 # The build system.
83582 build_alias=$build_alias
83583 build=$build
83584 build_os=$build_os
83585
83586 # A sed program that does not truncate output.
83587 SED=$lt_SED
83588
83589 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83590 Xsed="\$SED -e 1s/^X//"
83591
83592 # A grep program that handles long lines.
83593 GREP=$lt_GREP
83594
83595 # An ERE matcher.
83596 EGREP=$lt_EGREP
83597
83598 # A literal string matcher.
83599 FGREP=$lt_FGREP
83600
83601 # A BSD- or MS-compatible name lister.
83602 NM=$lt_NM
83603
83604 # Whether we need soft or hard links.
83605 LN_S=$lt_LN_S
83606
83607 # What is the maximum length of a command?
83608 max_cmd_len=$max_cmd_len
83609
83610 # Object file suffix (normally "o").
83611 objext=$ac_objext
83612
83613 # Executable file suffix (normally "").
83614 exeext=$exeext
83615
83616 # whether the shell understands "unset".
83617 lt_unset=$lt_unset
83618
83619 # turn spaces into newlines.
83620 SP2NL=$lt_lt_SP2NL
83621
83622 # turn newlines into spaces.
83623 NL2SP=$lt_lt_NL2SP
83624
83625 # An object symbol dumper.
83626 OBJDUMP=$lt_OBJDUMP
83627
83628 # Method to check whether dependent libraries are shared objects.
83629 deplibs_check_method=$lt_deplibs_check_method
83630
83631 # Command to use when deplibs_check_method == "file_magic".
83632 file_magic_cmd=$lt_file_magic_cmd
83633
83634 # The archiver.
83635 AR=$lt_AR
83636 AR_FLAGS=$lt_AR_FLAGS
83637
83638 # A symbol stripping program.
83639 STRIP=$lt_STRIP
83640
83641 # Commands used to install an old-style archive.
83642 RANLIB=$lt_RANLIB
83643 old_postinstall_cmds=$lt_old_postinstall_cmds
83644 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83645
83646 # Whether to use a lock for old archive extraction.
83647 lock_old_archive_extraction=$lock_old_archive_extraction
83648
83649 # A C compiler.
83650 LTCC=$lt_CC
83651
83652 # LTCC compiler flags.
83653 LTCFLAGS=$lt_CFLAGS
83654
83655 # Take the output of nm and produce a listing of raw symbols and C names.
83656 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83657
83658 # Transform the output of nm in a proper C declaration.
83659 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83660
83661 # Transform the output of nm in a C name address pair.
83662 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83663
83664 # Transform the output of nm in a C name address pair when lib prefix is needed.
83665 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83666
83667 # The name of the directory that contains temporary libtool files.
83668 objdir=$objdir
83669
83670 # Used to examine libraries when file_magic_cmd begins with "file".
83671 MAGIC_CMD=$MAGIC_CMD
83672
83673 # Must we lock files when doing compilation?
83674 need_locks=$lt_need_locks
83675
83676 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83677 DSYMUTIL=$lt_DSYMUTIL
83678
83679 # Tool to change global to local symbols on Mac OS X.
83680 NMEDIT=$lt_NMEDIT
83681
83682 # Tool to manipulate fat objects and archives on Mac OS X.
83683 LIPO=$lt_LIPO
83684
83685 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83686 OTOOL=$lt_OTOOL
83687
83688 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83689 OTOOL64=$lt_OTOOL64
83690
83691 # Old archive suffix (normally "a").
83692 libext=$libext
83693
83694 # Shared library suffix (normally ".so").
83695 shrext_cmds=$lt_shrext_cmds
83696
83697 # The commands to extract the exported symbol list from a shared archive.
83698 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83699
83700 # Variables whose values should be saved in libtool wrapper scripts and
83701 # restored at link time.
83702 variables_saved_for_relink=$lt_variables_saved_for_relink
83703
83704 # Do we need the "lib" prefix for modules?
83705 need_lib_prefix=$need_lib_prefix
83706
83707 # Do we need a version for libraries?
83708 need_version=$need_version
83709
83710 # Library versioning type.
83711 version_type=$version_type
83712
83713 # Shared library runtime path variable.
83714 runpath_var=$runpath_var
83715
83716 # Shared library path variable.
83717 shlibpath_var=$shlibpath_var
83718
83719 # Is shlibpath searched before the hard-coded library search path?
83720 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83721
83722 # Format of library name prefix.
83723 libname_spec=$lt_libname_spec
83724
83725 # List of archive names. First name is the real one, the rest are links.
83726 # The last name is the one that the linker finds with -lNAME
83727 library_names_spec=$lt_library_names_spec
83728
83729 # The coded name of the library, if different from the real name.
83730 soname_spec=$lt_soname_spec
83731
83732 # Permission mode override for installation of shared libraries.
83733 install_override_mode=$lt_install_override_mode
83734
83735 # Command to use after installation of a shared archive.
83736 postinstall_cmds=$lt_postinstall_cmds
83737
83738 # Command to use after uninstallation of a shared archive.
83739 postuninstall_cmds=$lt_postuninstall_cmds
83740
83741 # Commands used to finish a libtool library installation in a directory.
83742 finish_cmds=$lt_finish_cmds
83743
83744 # As "finish_cmds", except a single script fragment to be evaled but
83745 # not shown.
83746 finish_eval=$lt_finish_eval
83747
83748 # Whether we should hardcode library paths into libraries.
83749 hardcode_into_libs=$hardcode_into_libs
83750
83751 # Compile-time system search path for libraries.
83752 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83753
83754 # Run-time system search path for libraries.
83755 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83756
83757 # Whether dlopen is supported.
83758 dlopen_support=$enable_dlopen
83759
83760 # Whether dlopen of programs is supported.
83761 dlopen_self=$enable_dlopen_self
83762
83763 # Whether dlopen of statically linked programs is supported.
83764 dlopen_self_static=$enable_dlopen_self_static
83765
83766 # Commands to strip libraries.
83767 old_striplib=$lt_old_striplib
83768 striplib=$lt_striplib
83769
83770
83771 # The linker used to build libraries.
83772 LD=$lt_LD
83773
83774 # How to create reloadable object files.
83775 reload_flag=$lt_reload_flag
83776 reload_cmds=$lt_reload_cmds
83777
83778 # Commands used to build an old-style archive.
83779 old_archive_cmds=$lt_old_archive_cmds
83780
83781 # A language specific compiler.
83782 CC=$lt_compiler
83783
83784 # Is the compiler the GNU compiler?
83785 with_gcc=$GCC
83786
83787 # Compiler flag to turn off builtin functions.
83788 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83789
83790 # How to pass a linker flag through the compiler.
83791 wl=$lt_lt_prog_compiler_wl
83792
83793 # Additional compiler flags for building library objects.
83794 pic_flag=$lt_lt_prog_compiler_pic
83795
83796 # Compiler flag to prevent dynamic linking.
83797 link_static_flag=$lt_lt_prog_compiler_static
83798
83799 # Does compiler simultaneously support -c and -o options?
83800 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83801
83802 # Whether or not to add -lc for building shared libraries.
83803 build_libtool_need_lc=$archive_cmds_need_lc
83804
83805 # Whether or not to disallow shared libs when runtime libs are static.
83806 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83807
83808 # Compiler flag to allow reflexive dlopens.
83809 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83810
83811 # Compiler flag to generate shared objects directly from archives.
83812 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83813
83814 # Whether the compiler copes with passing no objects directly.
83815 compiler_needs_object=$lt_compiler_needs_object
83816
83817 # Create an old-style archive from a shared archive.
83818 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83819
83820 # Create a temporary old-style archive to link instead of a shared archive.
83821 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83822
83823 # Commands used to build a shared archive.
83824 archive_cmds=$lt_archive_cmds
83825 archive_expsym_cmds=$lt_archive_expsym_cmds
83826
83827 # Commands used to build a loadable module if different from building
83828 # a shared archive.
83829 module_cmds=$lt_module_cmds
83830 module_expsym_cmds=$lt_module_expsym_cmds
83831
83832 # Whether we are building with GNU ld or not.
83833 with_gnu_ld=$lt_with_gnu_ld
83834
83835 # Flag that allows shared libraries with undefined symbols to be built.
83836 allow_undefined_flag=$lt_allow_undefined_flag
83837
83838 # Flag that enforces no undefined symbols.
83839 no_undefined_flag=$lt_no_undefined_flag
83840
83841 # Flag to hardcode \$libdir into a binary during linking.
83842 # This must work even if \$libdir does not exist
83843 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83844
83845 # If ld is used when linking, flag to hardcode \$libdir into a binary
83846 # during linking. This must work even if \$libdir does not exist.
83847 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83848
83849 # Whether we need a single "-rpath" flag with a separated argument.
83850 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83851
83852 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83853 # DIR into the resulting binary.
83854 hardcode_direct=$hardcode_direct
83855
83856 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83857 # DIR into the resulting binary and the resulting library dependency is
83858 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83859 # library is relocated.
83860 hardcode_direct_absolute=$hardcode_direct_absolute
83861
83862 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83863 # into the resulting binary.
83864 hardcode_minus_L=$hardcode_minus_L
83865
83866 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83867 # into the resulting binary.
83868 hardcode_shlibpath_var=$hardcode_shlibpath_var
83869
83870 # Set to "yes" if building a shared library automatically hardcodes DIR
83871 # into the library and all subsequent libraries and executables linked
83872 # against it.
83873 hardcode_automatic=$hardcode_automatic
83874
83875 # Set to yes if linker adds runtime paths of dependent libraries
83876 # to runtime path list.
83877 inherit_rpath=$inherit_rpath
83878
83879 # Whether libtool must link a program against all its dependency libraries.
83880 link_all_deplibs=$link_all_deplibs
83881
83882 # Fix the shell variable \$srcfile for the compiler.
83883 fix_srcfile_path=$lt_fix_srcfile_path
83884
83885 # Set to "yes" if exported symbols are required.
83886 always_export_symbols=$always_export_symbols
83887
83888 # The commands to list exported symbols.
83889 export_symbols_cmds=$lt_export_symbols_cmds
83890
83891 # Symbols that should not be listed in the preloaded symbols.
83892 exclude_expsyms=$lt_exclude_expsyms
83893
83894 # Symbols that must always be exported.
83895 include_expsyms=$lt_include_expsyms
83896
83897 # Commands necessary for linking programs (against libraries) with templates.
83898 prelink_cmds=$lt_prelink_cmds
83899
83900 # Specify filename containing input files.
83901 file_list_spec=$lt_file_list_spec
83902
83903 # How to hardcode a shared library path into an executable.
83904 hardcode_action=$hardcode_action
83905
83906 # The directories searched by this compiler when creating a shared library.
83907 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83908
83909 # Dependencies to place before and after the objects being linked to
83910 # create a shared library.
83911 predep_objects=$lt_predep_objects
83912 postdep_objects=$lt_postdep_objects
83913 predeps=$lt_predeps
83914 postdeps=$lt_postdeps
83915
83916 # The library search path used internally by the compiler when linking
83917 # a shared library.
83918 compiler_lib_search_path=$lt_compiler_lib_search_path
83919
83920 # ### END LIBTOOL CONFIG
83921
83922 _LT_EOF
83923
83924 case $host_os in
83925 aix3*)
83926 cat <<\_LT_EOF >> "$cfgfile"
83927 # AIX sometimes has problems with the GCC collect2 program. For some
83928 # reason, if we set the COLLECT_NAMES environment variable, the problems
83929 # vanish in a puff of smoke.
83930 if test "X${COLLECT_NAMES+set}" != Xset; then
83931 COLLECT_NAMES=
83932 export COLLECT_NAMES
83933 fi
83934 _LT_EOF
83935 ;;
83936 esac
83937
83938
83939 ltmain="$ac_aux_dir/ltmain.sh"
83940
83941
83942 # We use sed instead of cat because bash on DJGPP gets confused if
83943 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83944 # text mode, it properly converts lines to CR/LF. This bash problem
83945 # is reportedly fixed, but why not run on old versions too?
83946 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83947 || (rm -f "$cfgfile"; exit 1)
83948
83949 case $xsi_shell in
83950 yes)
83951 cat << \_LT_EOF >> "$cfgfile"
83952
83953 # func_dirname file append nondir_replacement
83954 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83955 # otherwise set result to NONDIR_REPLACEMENT.
83956 func_dirname ()
83957 {
83958 case ${1} in
83959 */*) func_dirname_result="${1%/*}${2}" ;;
83960 * ) func_dirname_result="${3}" ;;
83961 esac
83962 }
83963
83964 # func_basename file
83965 func_basename ()
83966 {
83967 func_basename_result="${1##*/}"
83968 }
83969
83970 # func_dirname_and_basename file append nondir_replacement
83971 # perform func_basename and func_dirname in a single function
83972 # call:
83973 # dirname: Compute the dirname of FILE. If nonempty,
83974 # add APPEND to the result, otherwise set result
83975 # to NONDIR_REPLACEMENT.
83976 # value returned in "$func_dirname_result"
83977 # basename: Compute filename of FILE.
83978 # value retuned in "$func_basename_result"
83979 # Implementation must be kept synchronized with func_dirname
83980 # and func_basename. For efficiency, we do not delegate to
83981 # those functions but instead duplicate the functionality here.
83982 func_dirname_and_basename ()
83983 {
83984 case ${1} in
83985 */*) func_dirname_result="${1%/*}${2}" ;;
83986 * ) func_dirname_result="${3}" ;;
83987 esac
83988 func_basename_result="${1##*/}"
83989 }
83990
83991 # func_stripname prefix suffix name
83992 # strip PREFIX and SUFFIX off of NAME.
83993 # PREFIX and SUFFIX must not contain globbing or regex special
83994 # characters, hashes, percent signs, but SUFFIX may contain a leading
83995 # dot (in which case that matches only a dot).
83996 func_stripname ()
83997 {
83998 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83999 # positional parameters, so assign one to ordinary parameter first.
84000 func_stripname_result=${3}
84001 func_stripname_result=${func_stripname_result#"${1}"}
84002 func_stripname_result=${func_stripname_result%"${2}"}
84003 }
84004
84005 # func_opt_split
84006 func_opt_split ()
84007 {
84008 func_opt_split_opt=${1%%=*}
84009 func_opt_split_arg=${1#*=}
84010 }
84011
84012 # func_lo2o object
84013 func_lo2o ()
84014 {
84015 case ${1} in
84016 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84017 *) func_lo2o_result=${1} ;;
84018 esac
84019 }
84020
84021 # func_xform libobj-or-source
84022 func_xform ()
84023 {
84024 func_xform_result=${1%.*}.lo
84025 }
84026
84027 # func_arith arithmetic-term...
84028 func_arith ()
84029 {
84030 func_arith_result=$(( $* ))
84031 }
84032
84033 # func_len string
84034 # STRING may not start with a hyphen.
84035 func_len ()
84036 {
84037 func_len_result=${#1}
84038 }
84039
84040 _LT_EOF
84041 ;;
84042 *) # Bourne compatible functions.
84043 cat << \_LT_EOF >> "$cfgfile"
84044
84045 # func_dirname file append nondir_replacement
84046 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84047 # otherwise set result to NONDIR_REPLACEMENT.
84048 func_dirname ()
84049 {
84050 # Extract subdirectory from the argument.
84051 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84052 if test "X$func_dirname_result" = "X${1}"; then
84053 func_dirname_result="${3}"
84054 else
84055 func_dirname_result="$func_dirname_result${2}"
84056 fi
84057 }
84058
84059 # func_basename file
84060 func_basename ()
84061 {
84062 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84063 }
84064
84065
84066 # func_stripname prefix suffix name
84067 # strip PREFIX and SUFFIX off of NAME.
84068 # PREFIX and SUFFIX must not contain globbing or regex special
84069 # characters, hashes, percent signs, but SUFFIX may contain a leading
84070 # dot (in which case that matches only a dot).
84071 # func_strip_suffix prefix name
84072 func_stripname ()
84073 {
84074 case ${2} in
84075 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84076 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84077 esac
84078 }
84079
84080 # sed scripts:
84081 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84082 my_sed_long_arg='1s/^-[^=]*=//'
84083
84084 # func_opt_split
84085 func_opt_split ()
84086 {
84087 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84088 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84089 }
84090
84091 # func_lo2o object
84092 func_lo2o ()
84093 {
84094 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84095 }
84096
84097 # func_xform libobj-or-source
84098 func_xform ()
84099 {
84100 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84101 }
84102
84103 # func_arith arithmetic-term...
84104 func_arith ()
84105 {
84106 func_arith_result=`expr "$@"`
84107 }
84108
84109 # func_len string
84110 # STRING may not start with a hyphen.
84111 func_len ()
84112 {
84113 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84114 }
84115
84116 _LT_EOF
84117 esac
84118
84119 case $lt_shell_append in
84120 yes)
84121 cat << \_LT_EOF >> "$cfgfile"
84122
84123 # func_append var value
84124 # Append VALUE to the end of shell variable VAR.
84125 func_append ()
84126 {
84127 eval "$1+=\$2"
84128 }
84129 _LT_EOF
84130 ;;
84131 *)
84132 cat << \_LT_EOF >> "$cfgfile"
84133
84134 # func_append var value
84135 # Append VALUE to the end of shell variable VAR.
84136 func_append ()
84137 {
84138 eval "$1=\$$1\$2"
84139 }
84140
84141 _LT_EOF
84142 ;;
84143 esac
84144
84145
84146 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84147 || (rm -f "$cfgfile"; exit 1)
84148
84149 mv -f "$cfgfile" "$ofile" ||
84150 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84151 chmod +x "$ofile"
84152
84153
84154 cat <<_LT_EOF >> "$ofile"
84155
84156 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84157
84158 # The linker used to build libraries.
84159 LD=$lt_LD_CXX
84160
84161 # How to create reloadable object files.
84162 reload_flag=$lt_reload_flag_CXX
84163 reload_cmds=$lt_reload_cmds_CXX
84164
84165 # Commands used to build an old-style archive.
84166 old_archive_cmds=$lt_old_archive_cmds_CXX
84167
84168 # A language specific compiler.
84169 CC=$lt_compiler_CXX
84170
84171 # Is the compiler the GNU compiler?
84172 with_gcc=$GCC_CXX
84173
84174 # Compiler flag to turn off builtin functions.
84175 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84176
84177 # How to pass a linker flag through the compiler.
84178 wl=$lt_lt_prog_compiler_wl_CXX
84179
84180 # Additional compiler flags for building library objects.
84181 pic_flag=$lt_lt_prog_compiler_pic_CXX
84182
84183 # Compiler flag to prevent dynamic linking.
84184 link_static_flag=$lt_lt_prog_compiler_static_CXX
84185
84186 # Does compiler simultaneously support -c and -o options?
84187 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84188
84189 # Whether or not to add -lc for building shared libraries.
84190 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84191
84192 # Whether or not to disallow shared libs when runtime libs are static.
84193 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84194
84195 # Compiler flag to allow reflexive dlopens.
84196 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84197
84198 # Compiler flag to generate shared objects directly from archives.
84199 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84200
84201 # Whether the compiler copes with passing no objects directly.
84202 compiler_needs_object=$lt_compiler_needs_object_CXX
84203
84204 # Create an old-style archive from a shared archive.
84205 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84206
84207 # Create a temporary old-style archive to link instead of a shared archive.
84208 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84209
84210 # Commands used to build a shared archive.
84211 archive_cmds=$lt_archive_cmds_CXX
84212 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84213
84214 # Commands used to build a loadable module if different from building
84215 # a shared archive.
84216 module_cmds=$lt_module_cmds_CXX
84217 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84218
84219 # Whether we are building with GNU ld or not.
84220 with_gnu_ld=$lt_with_gnu_ld_CXX
84221
84222 # Flag that allows shared libraries with undefined symbols to be built.
84223 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84224
84225 # Flag that enforces no undefined symbols.
84226 no_undefined_flag=$lt_no_undefined_flag_CXX
84227
84228 # Flag to hardcode \$libdir into a binary during linking.
84229 # This must work even if \$libdir does not exist
84230 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84231
84232 # If ld is used when linking, flag to hardcode \$libdir into a binary
84233 # during linking. This must work even if \$libdir does not exist.
84234 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84235
84236 # Whether we need a single "-rpath" flag with a separated argument.
84237 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84238
84239 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84240 # DIR into the resulting binary.
84241 hardcode_direct=$hardcode_direct_CXX
84242
84243 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84244 # DIR into the resulting binary and the resulting library dependency is
84245 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84246 # library is relocated.
84247 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84248
84249 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84250 # into the resulting binary.
84251 hardcode_minus_L=$hardcode_minus_L_CXX
84252
84253 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84254 # into the resulting binary.
84255 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84256
84257 # Set to "yes" if building a shared library automatically hardcodes DIR
84258 # into the library and all subsequent libraries and executables linked
84259 # against it.
84260 hardcode_automatic=$hardcode_automatic_CXX
84261
84262 # Set to yes if linker adds runtime paths of dependent libraries
84263 # to runtime path list.
84264 inherit_rpath=$inherit_rpath_CXX
84265
84266 # Whether libtool must link a program against all its dependency libraries.
84267 link_all_deplibs=$link_all_deplibs_CXX
84268
84269 # Fix the shell variable \$srcfile for the compiler.
84270 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84271
84272 # Set to "yes" if exported symbols are required.
84273 always_export_symbols=$always_export_symbols_CXX
84274
84275 # The commands to list exported symbols.
84276 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84277
84278 # Symbols that should not be listed in the preloaded symbols.
84279 exclude_expsyms=$lt_exclude_expsyms_CXX
84280
84281 # Symbols that must always be exported.
84282 include_expsyms=$lt_include_expsyms_CXX
84283
84284 # Commands necessary for linking programs (against libraries) with templates.
84285 prelink_cmds=$lt_prelink_cmds_CXX
84286
84287 # Specify filename containing input files.
84288 file_list_spec=$lt_file_list_spec_CXX
84289
84290 # How to hardcode a shared library path into an executable.
84291 hardcode_action=$hardcode_action_CXX
84292
84293 # The directories searched by this compiler when creating a shared library.
84294 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84295
84296 # Dependencies to place before and after the objects being linked to
84297 # create a shared library.
84298 predep_objects=$lt_predep_objects_CXX
84299 postdep_objects=$lt_postdep_objects_CXX
84300 predeps=$lt_predeps_CXX
84301 postdeps=$lt_postdeps_CXX
84302
84303 # The library search path used internally by the compiler when linking
84304 # a shared library.
84305 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84306
84307 # ### END LIBTOOL TAG CONFIG: CXX
84308 _LT_EOF
84309
84310 ;;
84311 "include/gstdint.h":C)
84312 if test "$GCC" = yes; then
84313 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84314 else
84315 echo "/* generated for $CC */" > tmp-stdint.h
84316 fi
84317
84318 sed 's/^ *//' >> tmp-stdint.h <<EOF
84319
84320 #ifndef GCC_GENERATED_STDINT_H
84321 #define GCC_GENERATED_STDINT_H 1
84322
84323 #include <sys/types.h>
84324 EOF
84325
84326 if test "$acx_cv_header_stdint" != stdint.h; then
84327 echo "#include <stddef.h>" >> tmp-stdint.h
84328 fi
84329 if test "$acx_cv_header_stdint" != stddef.h; then
84330 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84331 fi
84332
84333 sed 's/^ *//' >> tmp-stdint.h <<EOF
84334 /* glibc uses these symbols as guards to prevent redefinitions. */
84335 #ifdef __int8_t_defined
84336 #define _INT8_T
84337 #define _INT16_T
84338 #define _INT32_T
84339 #endif
84340 #ifdef __uint32_t_defined
84341 #define _UINT32_T
84342 #endif
84343
84344 EOF
84345
84346 # ----------------- done header, emit basic int types -------------
84347 if test "$acx_cv_header_stdint" = stddef.h; then
84348 sed 's/^ *//' >> tmp-stdint.h <<EOF
84349
84350 #ifndef _UINT8_T
84351 #define _UINT8_T
84352 #ifndef __uint8_t_defined
84353 #define __uint8_t_defined
84354 #ifndef uint8_t
84355 typedef unsigned $acx_cv_type_int8_t uint8_t;
84356 #endif
84357 #endif
84358 #endif
84359
84360 #ifndef _UINT16_T
84361 #define _UINT16_T
84362 #ifndef __uint16_t_defined
84363 #define __uint16_t_defined
84364 #ifndef uint16_t
84365 typedef unsigned $acx_cv_type_int16_t uint16_t;
84366 #endif
84367 #endif
84368 #endif
84369
84370 #ifndef _UINT32_T
84371 #define _UINT32_T
84372 #ifndef __uint32_t_defined
84373 #define __uint32_t_defined
84374 #ifndef uint32_t
84375 typedef unsigned $acx_cv_type_int32_t uint32_t;
84376 #endif
84377 #endif
84378 #endif
84379
84380 #ifndef _INT8_T
84381 #define _INT8_T
84382 #ifndef __int8_t_defined
84383 #define __int8_t_defined
84384 #ifndef int8_t
84385 typedef $acx_cv_type_int8_t int8_t;
84386 #endif
84387 #endif
84388 #endif
84389
84390 #ifndef _INT16_T
84391 #define _INT16_T
84392 #ifndef __int16_t_defined
84393 #define __int16_t_defined
84394 #ifndef int16_t
84395 typedef $acx_cv_type_int16_t int16_t;
84396 #endif
84397 #endif
84398 #endif
84399
84400 #ifndef _INT32_T
84401 #define _INT32_T
84402 #ifndef __int32_t_defined
84403 #define __int32_t_defined
84404 #ifndef int32_t
84405 typedef $acx_cv_type_int32_t int32_t;
84406 #endif
84407 #endif
84408 #endif
84409 EOF
84410 elif test "$ac_cv_type_u_int32_t" = yes; then
84411 sed 's/^ *//' >> tmp-stdint.h <<EOF
84412
84413 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84414 #ifndef _INT8_T
84415 #define _INT8_T
84416 #endif
84417 #ifndef _INT16_T
84418 #define _INT16_T
84419 #endif
84420 #ifndef _INT32_T
84421 #define _INT32_T
84422 #endif
84423
84424 #ifndef _UINT8_T
84425 #define _UINT8_T
84426 #ifndef __uint8_t_defined
84427 #define __uint8_t_defined
84428 #ifndef uint8_t
84429 typedef u_int8_t uint8_t;
84430 #endif
84431 #endif
84432 #endif
84433
84434 #ifndef _UINT16_T
84435 #define _UINT16_T
84436 #ifndef __uint16_t_defined
84437 #define __uint16_t_defined
84438 #ifndef uint16_t
84439 typedef u_int16_t uint16_t;
84440 #endif
84441 #endif
84442 #endif
84443
84444 #ifndef _UINT32_T
84445 #define _UINT32_T
84446 #ifndef __uint32_t_defined
84447 #define __uint32_t_defined
84448 #ifndef uint32_t
84449 typedef u_int32_t uint32_t;
84450 #endif
84451 #endif
84452 #endif
84453 EOF
84454 else
84455 sed 's/^ *//' >> tmp-stdint.h <<EOF
84456
84457 /* Some systems have guard macros to prevent redefinitions, define them. */
84458 #ifndef _INT8_T
84459 #define _INT8_T
84460 #endif
84461 #ifndef _INT16_T
84462 #define _INT16_T
84463 #endif
84464 #ifndef _INT32_T
84465 #define _INT32_T
84466 #endif
84467 #ifndef _UINT8_T
84468 #define _UINT8_T
84469 #endif
84470 #ifndef _UINT16_T
84471 #define _UINT16_T
84472 #endif
84473 #ifndef _UINT32_T
84474 #define _UINT32_T
84475 #endif
84476 EOF
84477 fi
84478
84479 # ------------- done basic int types, emit int64_t types ------------
84480 if test "$ac_cv_type_uint64_t" = yes; then
84481 sed 's/^ *//' >> tmp-stdint.h <<EOF
84482
84483 /* system headers have good uint64_t and int64_t */
84484 #ifndef _INT64_T
84485 #define _INT64_T
84486 #endif
84487 #ifndef _UINT64_T
84488 #define _UINT64_T
84489 #endif
84490 EOF
84491 elif test "$ac_cv_type_u_int64_t" = yes; then
84492 sed 's/^ *//' >> tmp-stdint.h <<EOF
84493
84494 /* system headers have an u_int64_t (and int64_t) */
84495 #ifndef _INT64_T
84496 #define _INT64_T
84497 #endif
84498 #ifndef _UINT64_T
84499 #define _UINT64_T
84500 #ifndef __uint64_t_defined
84501 #define __uint64_t_defined
84502 #ifndef uint64_t
84503 typedef u_int64_t uint64_t;
84504 #endif
84505 #endif
84506 #endif
84507 EOF
84508 elif test -n "$acx_cv_type_int64_t"; then
84509 sed 's/^ *//' >> tmp-stdint.h <<EOF
84510
84511 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84512 #ifndef _INT64_T
84513 #define _INT64_T
84514 #ifndef int64_t
84515 typedef $acx_cv_type_int64_t int64_t;
84516 #endif
84517 #endif
84518 #ifndef _UINT64_T
84519 #define _UINT64_T
84520 #ifndef __uint64_t_defined
84521 #define __uint64_t_defined
84522 #ifndef uint64_t
84523 typedef unsigned $acx_cv_type_int64_t uint64_t;
84524 #endif
84525 #endif
84526 #endif
84527 EOF
84528 else
84529 sed 's/^ *//' >> tmp-stdint.h <<EOF
84530
84531 /* some common heuristics for int64_t, using compiler-specific tests */
84532 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84533 #ifndef _INT64_T
84534 #define _INT64_T
84535 #ifndef __int64_t_defined
84536 #ifndef int64_t
84537 typedef long long int64_t;
84538 #endif
84539 #endif
84540 #endif
84541 #ifndef _UINT64_T
84542 #define _UINT64_T
84543 #ifndef uint64_t
84544 typedef unsigned long long uint64_t;
84545 #endif
84546 #endif
84547
84548 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84549 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84550 does not implement __extension__. But that compiler doesn't define
84551 __GNUC_MINOR__. */
84552 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84553 # define __extension__
84554 # endif
84555
84556 # ifndef _INT64_T
84557 # define _INT64_T
84558 # ifndef int64_t
84559 __extension__ typedef long long int64_t;
84560 # endif
84561 # endif
84562 # ifndef _UINT64_T
84563 # define _UINT64_T
84564 # ifndef uint64_t
84565 __extension__ typedef unsigned long long uint64_t;
84566 # endif
84567 # endif
84568
84569 #elif !defined __STRICT_ANSI__
84570 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84571
84572 # ifndef _INT64_T
84573 # define _INT64_T
84574 # ifndef int64_t
84575 typedef __int64 int64_t;
84576 # endif
84577 # endif
84578 # ifndef _UINT64_T
84579 # define _UINT64_T
84580 # ifndef uint64_t
84581 typedef unsigned __int64 uint64_t;
84582 # endif
84583 # endif
84584 # endif /* compiler */
84585
84586 #endif /* ANSI version */
84587 EOF
84588 fi
84589
84590 # ------------- done int64_t types, emit intptr types ------------
84591 if test "$ac_cv_type_uintptr_t" != yes; then
84592 sed 's/^ *//' >> tmp-stdint.h <<EOF
84593
84594 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84595 #ifndef __uintptr_t_defined
84596 #ifndef uintptr_t
84597 typedef u$acx_cv_type_intptr_t uintptr_t;
84598 #endif
84599 #endif
84600 #ifndef __intptr_t_defined
84601 #ifndef intptr_t
84602 typedef $acx_cv_type_intptr_t intptr_t;
84603 #endif
84604 #endif
84605 EOF
84606 fi
84607
84608 # ------------- done intptr types, emit int_least types ------------
84609 if test "$ac_cv_type_int_least32_t" != yes; then
84610 sed 's/^ *//' >> tmp-stdint.h <<EOF
84611
84612 /* Define int_least types */
84613 typedef int8_t int_least8_t;
84614 typedef int16_t int_least16_t;
84615 typedef int32_t int_least32_t;
84616 #ifdef _INT64_T
84617 typedef int64_t int_least64_t;
84618 #endif
84619
84620 typedef uint8_t uint_least8_t;
84621 typedef uint16_t uint_least16_t;
84622 typedef uint32_t uint_least32_t;
84623 #ifdef _UINT64_T
84624 typedef uint64_t uint_least64_t;
84625 #endif
84626 EOF
84627 fi
84628
84629 # ------------- done intptr types, emit int_fast types ------------
84630 if test "$ac_cv_type_int_fast32_t" != yes; then
84631 sed 's/^ *//' >> tmp-stdint.h <<EOF
84632
84633 /* Define int_fast types. short is often slow */
84634 typedef int8_t int_fast8_t;
84635 typedef int int_fast16_t;
84636 typedef int32_t int_fast32_t;
84637 #ifdef _INT64_T
84638 typedef int64_t int_fast64_t;
84639 #endif
84640
84641 typedef uint8_t uint_fast8_t;
84642 typedef unsigned int uint_fast16_t;
84643 typedef uint32_t uint_fast32_t;
84644 #ifdef _UINT64_T
84645 typedef uint64_t uint_fast64_t;
84646 #endif
84647 EOF
84648 fi
84649
84650 if test "$ac_cv_type_uintmax_t" != yes; then
84651 sed 's/^ *//' >> tmp-stdint.h <<EOF
84652
84653 /* Define intmax based on what we found */
84654 #ifndef intmax_t
84655 #ifdef _INT64_T
84656 typedef int64_t intmax_t;
84657 #else
84658 typedef long intmax_t;
84659 #endif
84660 #endif
84661 #ifndef uintmax_t
84662 #ifdef _UINT64_T
84663 typedef uint64_t uintmax_t;
84664 #else
84665 typedef unsigned long uintmax_t;
84666 #endif
84667 #endif
84668 EOF
84669 fi
84670
84671 sed 's/^ *//' >> tmp-stdint.h <<EOF
84672
84673 #endif /* GCC_GENERATED_STDINT_H */
84674 EOF
84675
84676 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84677 rm -f tmp-stdint.h
84678 else
84679 mv -f tmp-stdint.h include/gstdint.h
84680 fi
84681
84682 ;;
84683 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84684 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84685 "include/Makefile":F) cat > vpsed$$ << \_EOF
84686 s!`test -f '$<' || echo '$(srcdir)/'`!!
84687 _EOF
84688 sed -f vpsed$$ $ac_file > tmp$$
84689 mv tmp$$ $ac_file
84690 rm vpsed$$
84691 echo 'MULTISUBDIR =' >> $ac_file
84692 ml_norecursion=yes
84693 . ${multi_basedir}/config-ml.in
84694 { ml_norecursion=; unset ml_norecursion;}
84695 ;;
84696 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84697 s!`test -f '$<' || echo '$(srcdir)/'`!!
84698 _EOF
84699 sed -f vpsed$$ $ac_file > tmp$$
84700 mv tmp$$ $ac_file
84701 rm vpsed$$
84702 echo 'MULTISUBDIR =' >> $ac_file
84703 ml_norecursion=yes
84704 . ${multi_basedir}/config-ml.in
84705 { ml_norecursion=; unset ml_norecursion;}
84706 ;;
84707 "src/Makefile":F) cat > vpsed$$ << \_EOF
84708 s!`test -f '$<' || echo '$(srcdir)/'`!!
84709 _EOF
84710 sed -f vpsed$$ $ac_file > tmp$$
84711 mv tmp$$ $ac_file
84712 rm vpsed$$
84713 echo 'MULTISUBDIR =' >> $ac_file
84714 ml_norecursion=yes
84715 . ${multi_basedir}/config-ml.in
84716 { ml_norecursion=; unset ml_norecursion;}
84717 ;;
84718 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84719 s!`test -f '$<' || echo '$(srcdir)/'`!!
84720 _EOF
84721 sed -f vpsed$$ $ac_file > tmp$$
84722 mv tmp$$ $ac_file
84723 rm vpsed$$
84724 echo 'MULTISUBDIR =' >> $ac_file
84725 ml_norecursion=yes
84726 . ${multi_basedir}/config-ml.in
84727 { ml_norecursion=; unset ml_norecursion;}
84728 ;;
84729 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84730 s!`test -f '$<' || echo '$(srcdir)/'`!!
84731 _EOF
84732 sed -f vpsed$$ $ac_file > tmp$$
84733 mv tmp$$ $ac_file
84734 rm vpsed$$
84735 echo 'MULTISUBDIR =' >> $ac_file
84736 ml_norecursion=yes
84737 . ${multi_basedir}/config-ml.in
84738 { ml_norecursion=; unset ml_norecursion;}
84739 ;;
84740 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84741 s!`test -f '$<' || echo '$(srcdir)/'`!!
84742 _EOF
84743 sed -f vpsed$$ $ac_file > tmp$$
84744 mv tmp$$ $ac_file
84745 rm vpsed$$
84746 echo 'MULTISUBDIR =' >> $ac_file
84747 ml_norecursion=yes
84748 . ${multi_basedir}/config-ml.in
84749 { ml_norecursion=; unset ml_norecursion;}
84750 ;;
84751 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84752 s!`test -f '$<' || echo '$(srcdir)/'`!!
84753 _EOF
84754 sed -f vpsed$$ $ac_file > tmp$$
84755 mv tmp$$ $ac_file
84756 rm vpsed$$
84757 echo 'MULTISUBDIR =' >> $ac_file
84758 ml_norecursion=yes
84759 . ${multi_basedir}/config-ml.in
84760 { ml_norecursion=; unset ml_norecursion;}
84761 ;;
84762 "po/Makefile":F) cat > vpsed$$ << \_EOF
84763 s!`test -f '$<' || echo '$(srcdir)/'`!!
84764 _EOF
84765 sed -f vpsed$$ $ac_file > tmp$$
84766 mv tmp$$ $ac_file
84767 rm vpsed$$
84768 echo 'MULTISUBDIR =' >> $ac_file
84769 ml_norecursion=yes
84770 . ${multi_basedir}/config-ml.in
84771 { ml_norecursion=; unset ml_norecursion;}
84772 ;;
84773 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84774 s!`test -f '$<' || echo '$(srcdir)/'`!!
84775 _EOF
84776 sed -f vpsed$$ $ac_file > tmp$$
84777 mv tmp$$ $ac_file
84778 rm vpsed$$
84779 echo 'MULTISUBDIR =' >> $ac_file
84780 ml_norecursion=yes
84781 . ${multi_basedir}/config-ml.in
84782 { ml_norecursion=; unset ml_norecursion;}
84783 ;;
84784 "python/Makefile":F) cat > vpsed$$ << \_EOF
84785 s!`test -f '$<' || echo '$(srcdir)/'`!!
84786 _EOF
84787 sed -f vpsed$$ $ac_file > tmp$$
84788 mv tmp$$ $ac_file
84789 rm vpsed$$
84790 echo 'MULTISUBDIR =' >> $ac_file
84791 ml_norecursion=yes
84792 . ${multi_basedir}/config-ml.in
84793 { ml_norecursion=; unset ml_norecursion;}
84794 ;;
84795 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84796
84797 esac
84798 done # for ac_tag
84799
84800
84801 as_fn_exit 0
84802 _ACEOF
84803 ac_clean_files=$ac_clean_files_save
84804
84805 test $ac_write_fail = 0 ||
84806 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84807
84808
84809 # configure is writing to config.log, and then calls config.status.
84810 # config.status does its own redirection, appending to config.log.
84811 # Unfortunately, on DOS this fails, as config.log is still kept open
84812 # by configure, so config.status won't be able to write to it; its
84813 # output is simply discarded. So we exec the FD to /dev/null,
84814 # effectively closing config.log, so it can be properly (re)opened and
84815 # appended to by config.status. When coming back to configure, we
84816 # need to make the FD available again.
84817 if test "$no_create" != yes; then
84818 ac_cs_success=:
84819 ac_config_status_args=
84820 test "$silent" = yes &&
84821 ac_config_status_args="$ac_config_status_args --quiet"
84822 exec 5>/dev/null
84823 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84824 exec 5>>config.log
84825 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84826 # would make configure fail if this is the last instruction.
84827 $ac_cs_success || as_fn_exit $?
84828 fi
84829 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84831 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
84832 fi
84833